Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Member Functions
tests.decomposition.test_fmo.Test_Decomposition Class Reference

Public Member Functions

def create_custom_gate_structure_finalyzing (self, qbit_num, Circuit_ret=None)
 
def create_custom_gate_structure_lin_2qubit (self, layer_num=1, Circuit_ret=None)
 
def create_custom_gate_structure_lin_3qubit (self, layer_num=2)
 
def get_Unitary (self, H)
 
def test_N_Qubit_Decomposition_3qubit (self)
 

Detailed Description

This is a test class of the python iterface to the decompsition classes of the QGD package

Definition at line 39 of file test_fmo.py.

Member Function Documentation

◆ create_custom_gate_structure_finalyzing()

def tests.decomposition.test_fmo.Test_Decomposition.create_custom_gate_structure_finalyzing (   self,
  qbit_num,
  Circuit_ret = None 
)
Rotating qubits into state |0>

Definition at line 169 of file test_fmo.py.

Here is the caller graph for this function:

◆ create_custom_gate_structure_lin_2qubit()

def tests.decomposition.test_fmo.Test_Decomposition.create_custom_gate_structure_lin_2qubit (   self,
  layer_num = 1,
  Circuit_ret = None 
)
Add layers to disentangle the final 2 qubits
linear chain with IBM native operations

Definition at line 119 of file test_fmo.py.

Here is the caller graph for this function:

◆ create_custom_gate_structure_lin_3qubit()

def tests.decomposition.test_fmo.Test_Decomposition.create_custom_gate_structure_lin_3qubit (   self,
  layer_num = 2 
)
Add layers to disentangle the 3rd qubit from the others
linear chain with IBM native operations

Definition at line 43 of file test_fmo.py.

Here is the caller graph for this function:

◆ get_Unitary()

def tests.decomposition.test_fmo.Test_Decomposition.get_Unitary (   self,
  H 
)

Definition at line 207 of file test_fmo.py.

Here is the caller graph for this function:

◆ test_N_Qubit_Decomposition_3qubit()

def tests.decomposition.test_fmo.Test_Decomposition.test_N_Qubit_Decomposition_3qubit (   self)

Definition at line 218 of file test_fmo.py.

Here is the call graph for this function:

The documentation for this class was generated from the following file: