Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Go to the source code of this file.
Namespaces | |
example_heavy_hex_general_unitary | |
Functions | |
def | example_heavy_hex_general_unitary.create_custom_gate_structure_heavy_hex_3 (qbit_num) |
def | example_heavy_hex_general_unitary.create_custom_gate_structure_heavy_hex_4 (qbit_num) |
Variables | |
example_heavy_hex_general_unitary.decomp = N_Qubit_Decomposition( Umtx.conj().T ) | |
example_heavy_hex_general_unitary.decomposed_matrix = utils.get_unitary_from_qiskit_circuit( quantum_circuit ) | |
tuple | example_heavy_hex_general_unitary.decomposition_error = (np.real(np.trace(product_matrix)))/2 |
dictionary | example_heavy_hex_general_unitary.gate_structure = { 4: create_custom_gate_structure_heavy_hex_4(4), 3: create_custom_gate_structure_heavy_hex_3(3)} |
example_heavy_hex_general_unitary.matrix_size = int(2**qbit_num) | |
example_heavy_hex_general_unitary.phase = np.angle(product_matrix[0,0]) | |
example_heavy_hex_general_unitary.product_matrix = np.dot(Umtx,decomposed_matrix.conj().T) | |
int | example_heavy_hex_general_unitary.qbit_num = 4 |
example_heavy_hex_general_unitary.quantum_circuit = decomp.get_Qiskit_Circuit() | |
example_heavy_hex_general_unitary.Umtx = unitary_group.rvs(matrix_size) | |