Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Variables
example_tabu_search_decomposition Namespace Reference

Variables

 cDecompose = N_Qubit_Decomposition_Tabu_Search( Umtx.conj().T)
 [create decomposition class] creating a class to decompose the unitary More...
 
 data = loadmat('Umtx.mat')
 load the unitary from file More...
 
 decomposed_matrix = utils.get_unitary_from_qiskit_circuit( quantum_circuit )
 the unitary matrix from the result object More...
 
tuple decomposition_error = (np.real(np.trace(product_matrix)))/2
 
 matrix_size = len(Umtx)
 [load Umtx] More...
 
 phase = np.angle(product_matrix[0,0])
 
 product_matrix = np.dot(Umtx,decomposed_matrix.conj().T)
 
 quantum_circuit = cDecompose.get_Qiskit_Circuit()
 [create decomposition class] More...
 
 Umtx = data['Umtx']
 The unitary to be decomposed. More...
 

Variable Documentation

◆ cDecompose

example_tabu_search_decomposition.cDecompose = N_Qubit_Decomposition_Tabu_Search( Umtx.conj().T)

[create decomposition class] creating a class to decompose the unitary

Definition at line 59 of file example_tabu_search_decomposition.py.

◆ data

example_tabu_search_decomposition.data = loadmat('Umtx.mat')

load the unitary from file

Definition at line 48 of file example_tabu_search_decomposition.py.

◆ decomposed_matrix

example_tabu_search_decomposition.decomposed_matrix = utils.get_unitary_from_qiskit_circuit( quantum_circuit )

the unitary matrix from the result object

Definition at line 87 of file example_tabu_search_decomposition.py.

◆ decomposition_error

tuple example_tabu_search_decomposition.decomposition_error = (np.real(np.trace(product_matrix)))/2

Definition at line 94 of file example_tabu_search_decomposition.py.

◆ matrix_size

example_tabu_search_decomposition.matrix_size = len(Umtx)

[load Umtx]

Definition at line 55 of file example_tabu_search_decomposition.py.

◆ phase

example_tabu_search_decomposition.phase = np.angle(product_matrix[0,0])

Definition at line 89 of file example_tabu_search_decomposition.py.

◆ product_matrix

int example_tabu_search_decomposition.product_matrix = np.dot(Umtx,decomposed_matrix.conj().T)

Definition at line 88 of file example_tabu_search_decomposition.py.

◆ quantum_circuit

example_tabu_search_decomposition.quantum_circuit = cDecompose.get_Qiskit_Circuit()

[create decomposition class]

[start decomposition] starting the decomposition [start decomposition] [qiskit] Qiskit quantum circuit

Definition at line 80 of file example_tabu_search_decomposition.py.

◆ Umtx

example_tabu_search_decomposition.Umtx = data['Umtx']

The unitary to be decomposed.

Definition at line 50 of file example_tabu_search_decomposition.py.