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.gates.test_depemdency_graph.Test_Decomposition Class Reference

Public Member Functions

def create_circuit (self, qbit_num, layer_num=2)
 
def create_flat_circuit (self, qbit_num, layer_num=2)
 
def test_children (self)
 
def test_dependency_graph (self)
 
def test_flat_conversion (self)
 
def test_parents (self)
 

Detailed Description

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

Definition at line 34 of file test_depemdency_graph.py.

Member Function Documentation

◆ create_circuit()

def tests.gates.test_depemdency_graph.Test_Decomposition.create_circuit (   self,
  qbit_num,
  layer_num = 2 
)
Add layers to disentangle the 3rd qubit from the others
linear chain with IBM native operations

Definition at line 84 of file test_depemdency_graph.py.

Here is the caller graph for this function:

◆ create_flat_circuit()

def tests.gates.test_depemdency_graph.Test_Decomposition.create_flat_circuit (   self,
  qbit_num,
  layer_num = 2 
)
Add layers to disentangle the 3rd qubit from the others
linear chain with IBM native operations

Definition at line 38 of file test_depemdency_graph.py.

Here is the caller graph for this function:

◆ test_children()

def tests.gates.test_depemdency_graph.Test_Decomposition.test_children (   self)

Definition at line 220 of file test_depemdency_graph.py.

Here is the call graph for this function:

◆ test_dependency_graph()

def tests.gates.test_depemdency_graph.Test_Decomposition.test_dependency_graph (   self)

Definition at line 138 of file test_depemdency_graph.py.

Here is the call graph for this function:

◆ test_flat_conversion()

def tests.gates.test_depemdency_graph.Test_Decomposition.test_flat_conversion (   self)

Definition at line 165 of file test_depemdency_graph.py.

Here is the call graph for this function:

◆ test_parents()

def tests.gates.test_depemdency_graph.Test_Decomposition.test_parents (   self)

Definition at line 193 of file test_depemdency_graph.py.

Here is the call graph for this function:

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