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

Go to the source code of this file.

Namespaces

 example_SABRE
 

Variables

 example_SABRE.circuit_qiskit = QuantumCircuit.from_qasm_file(filename)
 
list example_SABRE.coupling_map = [[0,1],[0,2],[0,3],[0,4]]
 
tuple example_SABRE.decomposition_error = (np.real(np.trace(product_matrix)))/2
 
string example_SABRE.filename = 'benchmarks/qfast/5q/vqe.qasm'
 
 example_SABRE.final_pi
 
int example_SABRE.matrix_size = 1 << Squander_initial_circuit.get_Qbit_Num()
 
int example_SABRE.N = 5
 
 example_SABRE.parameters = np.array([])
 
 example_SABRE.parameters_initial
 
 example_SABRE.parameters_remapped_circuit
 
 example_SABRE.phase = np.angle(product_matrix[0,0])
 
 example_SABRE.pi
 
 example_SABRE.pi_map = list(np.array(sabre.get_inverse_pi(pi)))
 
 example_SABRE.product_matrix = np.dot(unitary_squander_initial.conj().T, unitary_squander_remapped_circuit)
 
 example_SABRE.Qiskit_circuit = QuantumCircuit(N)
 
 example_SABRE.qubits = list(range(N))
 
 example_SABRE.sabre = SABRE(Squander_initial_circuit, topology)
 
 example_SABRE.Squander_initial_circuit
 
 example_SABRE.Squander_remapped_circuit
 
 example_SABRE.swap_count
 
list example_SABRE.topology = [(0,1),(0,2),(0,3),(0,4)]
 
 example_SABRE.unitary_squander_initial = utils.get_unitary_from_qiskit_circuit_operator(circuit_qiskit)
 
 example_SABRE.unitary_squander_remapped_circuit = utils.get_unitary_from_qiskit_circuit_operator(Qiskit_circuit)