Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Public Member Functions | |
def | perform_gate_apply_to_testing (self, gate_obj) |
def | perform_gate_matrix_testing (self, gate_obj) |
def | test_gates (self) |
def | test_Operation_Block_add_block (self) |
def | test_Operation_Block_add_operations (self) |
def | test_Operation_Block_creation (self) |
def | test_SYC_creation (self) |
This is a test class of the python iterface to the gates of the QGD package
Definition at line 48 of file test_gates.py.
def tests.gates.test_gates.Test_operations.perform_gate_apply_to_testing | ( | self, | |
gate_obj | |||
) |
This method is called to test the individual gates Test by comparing the effect of a gate on an input state by squander gate to Qiskit implementation
Definition at line 280 of file test_gates.py.
def tests.gates.test_gates.Test_operations.perform_gate_matrix_testing | ( | self, | |
gate_obj | |||
) |
This method is called to test the individual gates Test by comparing the gate matrix of squander gate to Qiskit implementation
Definition at line 177 of file test_gates.py.
def tests.gates.test_gates.Test_operations.test_gates | ( | self | ) |
This method is called by pytest. Test by comparing all of the squander gates to Qiskit implementation
Definition at line 412 of file test_gates.py.
def tests.gates.test_gates.Test_operations.test_Operation_Block_add_block | ( | self | ) |
This method is called by pytest. Test to add operations to a block of gates
Definition at line 132 of file test_gates.py.
def tests.gates.test_gates.Test_operations.test_Operation_Block_add_operations | ( | self | ) |
This method is called by pytest. Test to add operations to a block of gates
Definition at line 94 of file test_gates.py.
def tests.gates.test_gates.Test_operations.test_Operation_Block_creation | ( | self | ) |
This method is called by pytest. Test to create an instance of Operation_Block class.
Definition at line 76 of file test_gates.py.
def tests.gates.test_gates.Test_operations.test_SYC_creation | ( | self | ) |
This method is called by pytest. Test to create an instance of CH gate.
Definition at line 53 of file test_gates.py.