Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
#!/usr/bin/env python3 -*- coding: utf-8 -*- More...
Go to the source code of this file.
Classes | |
class | squander.decomposition.qgd_N_Qubit_Decomposition.qgd_N_Qubit_Decomposition |
A QGD Python interface class for the decomposition of N-qubit unitaries into U3 and CNOT gates. More... | |
Namespaces | |
squander.decomposition.qgd_N_Qubit_Decomposition | |
Functions | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.__init__ (self, Umtx, optimize_layer_num=False, initial_guess="RANDOM") |
Constructor of the class. More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.get_Circuit (self) |
Call to retrieve the incorporated quantum circuit (Squander format) More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.get_Cirq_Circuit (self) |
Export the unitary decomposition into Qiskit format. More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.get_Qiskit_Circuit (self) |
Export the unitary decomposition into Qiskit format. More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.List_Gates (self) |
Call to print the gates decomposing the initial unitary. More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.Reorder_Qubits (self, qbit_list) |
Call to reorder the qubits in the matrix of the gate. More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.set_Gate_Structure (self, gate_structure_dict) |
Call to set the gate structure to be used in the decomposition. More... | |
def | squander.decomposition.qgd_N_Qubit_Decomposition.Start_Decomposition (self) |
Wrapper function to call the start_decomposition method of C++ class N_Qubit_Decomposition. More... | |
Variables | |
squander.decomposition.qgd_N_Qubit_Decomposition.qbit_num | |
the number of qubits 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.py.