|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.__init__ (self, Umtx, level_limit_max=8, topology=None, config={}, accelerator_num=0) |
| Constructor of the class. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.apply_Global_Phase_Factor (self) |
| Call to apply global phase on Unitary matrix. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.export_Unitary (self, filename) |
| Call to export unitary matrix to binary file. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Decomposition_Error (self) |
| Call to get the error of the decomposition. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Global_Phase (self) |
| Call to get global phase. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Matrix (self, parameters=None) |
| Call to retrieve the unitary of the circuit. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Num_of_Iters (self) |
| Call to get the number of iterations. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Optimized_Parameters (self) |
| Call to get the optimized parameters set in numpy array. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Parameter_Num (self) |
| Call to get the number of free parameters in the gate structure used for the decomposition. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Project_Name (self) |
| Call to get the name of the SQUANDER project. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Qbit_Num (self) |
| Call to get the number of qubits in the circuit. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Qiskit_Circuit (self) |
| Export the unitary decomposition into Qiskit format. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Second_Renyi_Entropy (self, parameters=None, input_state=None, qubit_list=None) |
| Call to get the second Rényi entropy. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Trace_Offset (self) |
| Call to get the trace offset used in the cost function. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.get_Unitary (self) |
| Call to get unitary matrix. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.List_Gates (self) |
| Call to print the gates decomposing the initial unitary. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.Optimization_Problem (self, parameters=None) |
| Call to evaluate the cost function. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.Optimization_Problem_Combined (self, parameters=None) |
| Call to evaluate the cost function and the gradient components. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.Optimization_Problem_Grad (self, parameters=None) |
| Call to evaluate the gradient components. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.Reorder_Qubits (self, qbit_list) |
| Call to reorder the qubits in the matrix of the gate. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Cost_Function_Variant (self, costfnc=0) |
| Call to set the optimizer used in the gate synthesis process. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Global_Phase (self, new_global_phase) |
| Call to set global phase. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Max_Iterations (self, max_iters) |
| Call to set the maximum number of iterations for each optimization loop. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Optimization_Tolerance (self, tolerance) |
| Call to set the error tolerance of the decomposition. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Optimized_Parameters (self, new_params) |
| Call to set the parameters which are used as a starting point in the optimization. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Optimizer (self, optimizer="BFGS") |
| Call to set the optimizer used in the gate synthesis process. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Project_Name (self, project_name_new) |
| Call to set the name of the SQUANDER project. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Trace_Offset (self, trace_offset=0) |
| Call to set the trace offset used in the cost function. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.set_Unitary (self, Umtx_arr) |
| Call to set unitary matrix from a numpy array. More...
|
|
def | squander.decomposition.qgd_N_Qubit_Decomposition_Tree_Search.Start_Decomposition (self) |
| Wrapper function to call the start_decomposition method of C++ class. More...
|
|
#!/usr/bin/env python3 -*- coding: utf-8 -*-
A QGD Python interface class for the decomposition of N-qubit unitaries into a set of two-qubit and one-qubit gates.
Definition in file qgd_N_Qubit_Decomposition_Tree_Search.py.