Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Classes | Functions | Variables
squander.gates.qgd_CROT Namespace Reference

Classes

class  qgd_CROT
 A QGD Python interface class for the qgd_CROT. More...
 

Functions

def __init__ (self, qbit_num, target_qbit, control_qbit, subtype_in)
 Constructor of the class. More...
 
def apply_to (self, parameters_mtx, unitary_mtx)
 
def Extract_Parameters (self, parameters_circuit)
 
def get_Control_Qbit (self)
 
def get_Parameter_Num (self)
 
def get_Parameter_Start_Index (self)
 
def get_Target_Qbit (self)
 
def set_Control_Qbit (self, control_qbit_in)
 
def set_Target_Qbit (self, target_qbit_in)
 

Variables

 subtype
 
 type
 

Function Documentation

◆ __init__()

def squander.gates.qgd_CROT.__init__ (   self,
  qbit_num,
  target_qbit,
  control_qbit,
  subtype_in 
)

Constructor of the class.

Parameters
selfA pointer pointing to an instance of the class qgd_CROT.
argsA tuple of the input arguments: qbit_num (integer) qbit_num: the number of qubits spanning the operations
kwdsA tuple of keywords
Returns
An instance of the class

Definition at line 48 of file qgd_CROT.py.

◆ apply_to()

def squander.gates.qgd_CROT.apply_to (   self,
  parameters_mtx,
  unitary_mtx 
)

Definition at line 59 of file qgd_CROT.py.

◆ Extract_Parameters()

def squander.gates.qgd_CROT.Extract_Parameters (   self,
  parameters_circuit 
)

Definition at line 107 of file qgd_CROT.py.

◆ get_Control_Qbit()

def squander.gates.qgd_CROT.get_Control_Qbit (   self)

Definition at line 87 of file qgd_CROT.py.

Here is the caller graph for this function:

◆ get_Parameter_Num()

def squander.gates.qgd_CROT.get_Parameter_Num (   self)

Definition at line 66 of file qgd_CROT.py.

◆ get_Parameter_Start_Index()

def squander.gates.qgd_CROT.get_Parameter_Start_Index (   self)

Definition at line 73 of file qgd_CROT.py.

◆ get_Target_Qbit()

def squander.gates.qgd_CROT.get_Target_Qbit (   self)

Definition at line 80 of file qgd_CROT.py.

Here is the caller graph for this function:

◆ set_Control_Qbit()

def squander.gates.qgd_CROT.set_Control_Qbit (   self,
  control_qbit_in 
)

Definition at line 100 of file qgd_CROT.py.

◆ set_Target_Qbit()

def squander.gates.qgd_CROT.set_Target_Qbit (   self,
  target_qbit_in 
)

Definition at line 93 of file qgd_CROT.py.

Variable Documentation

◆ subtype

squander.gates.qgd_CROT.subtype

Definition at line 50 of file qgd_CROT.py.

◆ type

squander.gates.qgd_CROT.type

Definition at line 49 of file qgd_CROT.py.