|
| def | test_circuit_to_cnot_basis_removes_non_cnot_multi_qubit_gates (self, gate_name) |
| |
| def | test_extract_parameters_wraps_out_of_range (self, gate_name) |
| |
| def | test_gate_apply_derivate_wrapper_smoke (self, gate_name) |
| |
| def | test_gate_apply_from_right_float32_float64_parity (self, gate_name) |
| |
| def | test_gate_apply_rectangular_sweep_paths (self, gate_name) |
| |
| def | test_gate_apply_to_combined_wrapper_smoke (self, gate_name) |
| |
| def | test_gate_apply_to_float32_float64_parity (self, gate_name) |
| |
| def | test_gate_apply_to_list_float32_float64_parity (self, gate_name) |
| |
| def | test_gate_constructor_and_base_methods (self, gate_name) |
| |
| def | test_gate_get_matrix_float32_float64_parity (self, gate_name) |
| |
| def | test_gate_matrix_matches_qiskit (self, gate_name) |
| |
| def | test_operation_block_add_operations (self) |
| |
| def | test_operation_block_creation (self) |
| |
| def | test_qiskit_io_roundtrip_per_gate (self, gate_name) |
| |
| def | test_squander_invert_circuit (self, gate_name) |
| |
Definition at line 219 of file test_gates.py.
◆ test_circuit_to_cnot_basis_removes_non_cnot_multi_qubit_gates()
| def tests.gates.test_gates.TestGates.test_circuit_to_cnot_basis_removes_non_cnot_multi_qubit_gates |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_extract_parameters_wraps_out_of_range()
| def tests.gates.test_gates.TestGates.test_extract_parameters_wraps_out_of_range |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
extract_parameters should normalise each parameter via fmod(m*p, m*2pi).
Values already inside [0, m*2pi) should be unchanged; values above should wrap.
Definition at line 902 of file test_gates.py.
◆ test_gate_apply_derivate_wrapper_smoke()
| def tests.gates.test_gates.TestGates.test_gate_apply_derivate_wrapper_smoke |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_apply_from_right_float32_float64_parity()
| def tests.gates.test_gates.TestGates.test_gate_apply_from_right_float32_float64_parity |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_apply_rectangular_sweep_paths()
| def tests.gates.test_gates.TestGates.test_gate_apply_rectangular_sweep_paths |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_apply_to_combined_wrapper_smoke()
| def tests.gates.test_gates.TestGates.test_gate_apply_to_combined_wrapper_smoke |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_apply_to_float32_float64_parity()
| def tests.gates.test_gates.TestGates.test_gate_apply_to_float32_float64_parity |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_apply_to_list_float32_float64_parity()
| def tests.gates.test_gates.TestGates.test_gate_apply_to_list_float32_float64_parity |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_constructor_and_base_methods()
| def tests.gates.test_gates.TestGates.test_gate_constructor_and_base_methods |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_get_matrix_float32_float64_parity()
| def tests.gates.test_gates.TestGates.test_gate_get_matrix_float32_float64_parity |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_gate_matrix_matches_qiskit()
| def tests.gates.test_gates.TestGates.test_gate_matrix_matches_qiskit |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_operation_block_add_operations()
| def tests.gates.test_gates.TestGates.test_operation_block_add_operations |
( |
|
self | ) |
|
◆ test_operation_block_creation()
| def tests.gates.test_gates.TestGates.test_operation_block_creation |
( |
|
self | ) |
|
◆ test_qiskit_io_roundtrip_per_gate()
| def tests.gates.test_gates.TestGates.test_qiskit_io_roundtrip_per_gate |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
◆ test_squander_invert_circuit()
| def tests.gates.test_gates.TestGates.test_squander_invert_circuit |
( |
|
self, |
|
|
|
gate_name |
|
) |
| |
The documentation for this class was generated from the following file: