|
N_Qubit_Decomposition_custom * | create_N_Qubit_Decomposition_custom (Matrix &Umtx, int qbit_num, bool optimize_layer_num, guess_type initial_guess, std::map< std::string, Config_Element > &config, int accelerator_num) |
| Creates an instance of class N_Qubit_Decomposition and return with a pointer pointing to the class instance (C++ linking is needed) More...
|
|
PyMODINIT_FUNC | PyInit_qgd_N_Qubit_Decomposition_custom_Wrapper (void) |
| Method called when the Python module is initialized. More...
|
|
static void | qgd_N_Qubit_Decomposition_custom_Wrapper_dealloc (qgd_N_Qubit_Decomposition_custom_Wrapper *self) |
| Method called when a python instance of the class qgd_N_Qubit_Decomposition_custom_Wrapper is destroyed. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_get_circuit (qgd_N_Qubit_Decomposition_custom_Wrapper *self) |
| Wrapper function to retrieve the circuit (Squander format) incorporated in the instance. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_get_gate_num (qgd_N_Qubit_Decomposition_custom_Wrapper *self) |
| Wrapper function to get the number of decomposing gates. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_get_Optimized_Parameters (qgd_N_Qubit_Decomposition_custom_Wrapper *self) |
| Extract the optimized parameters. More...
|
|
static int | qgd_N_Qubit_Decomposition_custom_Wrapper_init (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args, PyObject *kwds) |
| Method called when a python instance of the class qgd_N_Qubit_Decomposition_custom_Wrapper is initialized. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_List_Gates (qgd_N_Qubit_Decomposition_custom_Wrapper *self) |
| Lists the gates decomposing the initial unitary. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_new (PyTypeObject *type, PyObject *args, PyObject *kwds) |
| Method called when a python instance of the class qgd_N_Qubit_Decomposition_custom_Wrapper is allocated. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_Optimization_Problem (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper function to evaluate the cost function. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_Optimization_Problem_Combined (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper function to evaluate the cost function an dthe gradient components. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_Optimization_Problem_Grad (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper function to evaluate the cost function an dthe gradient components. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_Reorder_Qubits (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper method to reorder the qubits in the decomposition class. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Convergence_Threshold (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper method to set the threshold of convergence in the optimization processes. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Cost_Function_Variant (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args, PyObject *kwds) |
| Wrapper function to set a variant for the cost function. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Debugfile (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Set the debugfile name of the N_Qubit_Decomposition class. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Gate_Structure (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper function to set custom gate structure for the decomposition. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Iteration_Loops (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Set the number of iteration loops during the subdecomposition of the qbit-th qubit. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Max_Layer_Num (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Set the maximal number of layers used in the subdecomposition of the qbit-th qubit. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Optimization_Blocks (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper method to to set the number of gate blocks to be optimized in one shot. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Optimization_Tolerance (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Wrapper method to set the optimization tolerance of the optimization process during the decomposition. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Optimized_Parameters (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Extract the optimized parameters. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Optimizer (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args, PyObject *kwds) |
| Wrapper function to set custom gate structure for the decomposition. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_set_Verbose (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args) |
| Set the verbosity of the N_Qubit_Decomposition class. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_Start_Decomposition (qgd_N_Qubit_Decomposition_custom_Wrapper *self, PyObject *args, PyObject *kwds) |
| Wrapper function to call the start_decomposition method of C++ class N_Qubit_Decomposition. More...
|
|
static PyObject * | qgd_N_Qubit_Decomposition_custom_Wrapper_Upload_Umtx_to_DFE (qgd_N_Qubit_Decomposition_custom_Wrapper *self) |
| Call to upload the unitary to the DFE. More...
|
|
void | release_N_Qubit_Decomposition_custom (N_Qubit_Decomposition_custom *instance) |
| Call to deallocate an instance of N_Qubit_Decomposition_custom class. More...
|
|