Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Namespaces | Variables
example_bfgs2.py File Reference

Go to the source code of this file.

Namespaces

 example_bfgs2
 

Variables

 example_bfgs2.cDecompose = N_Qubit_Decomposition_adaptive( Umtx.conj().T, config=config, level_limit_max=5, level_limit_min=1 )
 
dictionary example_bfgs2.config
 
 example_bfgs2.data = loadmat('examples/decomposition/Umtx.mat')
 load the unitary from file More...
 
 example_bfgs2.decomposed_matrix = utils.get_unitary_from_qiskit_circuit( quantum_circuit )
 the unitary matrix from the result object More...
 
tuple example_bfgs2.decomposition_error = (np.real(np.trace(product_matrix)))/2
 
dictionary example_bfgs2.iteration_loops = {4: 3, 3: 3, 2: 3}
 
 example_bfgs2.matrix_size = len(Umtx)
 [load Umtx] More...
 
string example_bfgs2.method = "basin_hopping"
 [create decomposition class] creating a class to decompose the unitary More...
 
 example_bfgs2.phase = np.angle(product_matrix[0,0])
 
 example_bfgs2.product_matrix = np.dot(Umtx,decomposed_matrix.conj().T)
 
 example_bfgs2.quantum_circuit = cDecompose.get_Qiskit_Circuit()
 [create decomposition class] More...
 
 example_bfgs2.Umtx = data['Umtx']
 The unitary to be decomposed. More...