|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
#!/usr/bin/env python3 -*- coding: utf-8 -*- More...
Go to the source code of this file.
Classes | |
| class | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.qgd_Generative_Quantum_Machine_Learning_Base |
| A QGD Python interface class for solvin generative quantum machine learning problems. More... | |
Namespaces | |
| squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base | |
Functions | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.__init__ (self, x_bitstrings, p_stars, sigma, qbit_num, use_lookup_table, cliques, use_exact, config) |
| Constructor of the class. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.apply_to (self, parameters_mtx, state_to_be_transformed) |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.Generate_Circuit (self, layers, inner_blocks=1) |
| Call to generate the circuit ansatz. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.get_Circuit (self) |
| Call to retrieve the incorporated quantum circuit (Squander format) More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.get_Optimized_Parameters (self) |
| Call to get the optimized parameters set in numpy array. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.get_Parameter_Num (self) |
| Call to get the number of free parameters in the gate structure used for the decomposition. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.get_Qbit_Num (self) |
| Call to get the number of qubits in the circuit. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.get_Qiskit_Circuit (self) |
| Export the unitary decomposition into Qiskit format. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.get_Second_Renyi_Entropy (self, parameters=None, input_state=None, qubit_list=None) |
| Call to get the second Rényi entropy. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.Optimization_Problem (self, parameters) |
| Call to evaluate the MMD between our and the goal distribution. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Ansatz (self, ansatz_new) |
| Call to set the ansatz type. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Gate_Structure (self, Gate_structure) |
| Call to set custom gate structure to used in the decomposition. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Gate_Structure_from_Binary (self, filename) |
| Call to set custom layers to the gate structure that are intended to be used in the decomposition from a binary file created from SQUANDER. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Initial_State (self, initial_state) |
| Call to get the number of free parameters in the gate structure used for the decomposition. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Optimization_Tolerance (self, tolerance) |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Optimized_Parameters (self, new_params) |
| Call to set the parameters which are used as a starting point in the optimization. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Optimizer (self, alg) |
| Call to set the optimizer used in the GQML process. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.set_Project_Name (self, project_name) |
| Call to set the name of the SQUANDER project. More... | |
| def | squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.Start_Optimization (self) |
| Call to start solving the GQML problem. More... | |
Variables | |
| squander.VQA.qgd_Generative_Quantum_Machine_Learning_Base.qbit_num | |
#!/usr/bin/env python3 -*- coding: utf-8 -*-
A QGD Python interface class for solvin generative quantum machine learning problems.
Definition in file qgd_Generative_Quantum_Machine_Learning_Base.py.
1.8.13