|
| Generative_Quantum_Machine_Learning_Base * | create_qgd_Generative_Quantum_Machine_Learning_Base (std::vector< int > x_vectors, std::vector< std::vector< int >> x_bitstrings, Matrix_real P_star, Matrix_real sigma, int qbit_num, bool use_lookup_table, std::vector< std::vector< int >> cliques, bool use_exact, std::map< std::string, Config_Element > &config) |
| | Creates an instance of class Generative_Quantum_Machine_Learning_Base and return with a pointer pointing to the class instance (C++ linking is needed) More...
|
| |
| PyMODINIT_FUNC | PyInit_qgd_Generative_Quantum_Machine_Learning_Base_Wrapper (void) |
| | Method called when the Python module is initialized. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_apply_to (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| |
| static void | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_dealloc (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self) |
| | Method called when a python instance of the class qgd_Generative_Quantum_Machine_Learning_Base_Wrapper is destroyed. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_Generate_Circuit (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_get_circuit (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self) |
| | Wrapper function to retrieve the circuit (Squander format) incorporated in the instance. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_get_Optimized_Parameters (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self) |
| | Extract the optimized parameters. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_get_Parameter_Num (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self) |
| | Get the number of free parameters in the gate structure used for the decomposition. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_get_Qbit_Num (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self) |
| | Call to retrieve the number of qubits in the circuit. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_get_Second_Renyi_Entropy (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| | Wrapper function to evaluate the second Rényi entropy of a quantum circuit at a specific parameter set. More...
|
| |
| static int | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_init (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args, PyObject *kwds) |
| | Method called when a python instance of the class qgd_Generative_Quantum_Machine_Learning_Base_Wrapper is initialized. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_new (PyTypeObject *type, PyObject *args, PyObject *kwds) |
| | Method called when a python instance of the class qgd_Generative_Quantum_Machine_Learning_Base_Wrapper is allocated. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_Optimization_Problem (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Ansatz (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args, PyObject *kwds) |
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Gate_Structure (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| | Wrapper function to set custom gate structure for the decomposition. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Gate_Structure_From_Binary (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| | Wrapper function to set custom layers to the gate structure that are intended to be used in the decomposition. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Initial_State (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| | Set the initial state used in the VQE process. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Optimization_Tolerance (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Optimized_Parameters (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| | Set parameters for the solver. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Optimizer (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args, PyObject *kwds) |
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_set_Project_Name (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self, PyObject *args) |
| | Call to set a project name. More...
|
| |
| static PyObject * | qgd_Generative_Quantum_Machine_Learning_Base_Wrapper_Start_Optimization (qgd_Generative_Quantum_Machine_Learning_Base_Wrapper *self) |
| |
| void | release_Generative_Quantum_Machine_Learning_Base (Generative_Quantum_Machine_Learning_Base *instance) |
| | Call to deallocate an instance of Generative_Quantum_Machine_Learning_Base class. More...
|
| |