|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Public Member Functions | |
| def | scalar_inputs (self) |
| def | test_apply_from_right_scalar_matches_matrix_and_f32_parity (self, gate_name, scalar_inputs) |
| def | test_apply_to_matrix_scalar_matches_matrix_and_f32_parity (self, gate_name, scalar_inputs) |
| def | test_apply_to_state_scalar_matches_matrix_and_f32_parity (self, gate_name, scalar_inputs) |
| def | test_get_matrix_scalar_f32_parity (self, gate_name) |
| def | test_get_matrix_scalar_f64_unitary (self, gate_name) |
Static Public Attributes | |
| scope | |
Direct in-process scalar-path checks for gate methods. The subprocess tests above are crash-isolation sweeps. These tests stay in-process so dtype mistakes and scalar dispatch regressions are reported at the failing call.
Definition at line 956 of file test_gates.py.
| def tests.gates.test_gates.TestGateScalarPaths.scalar_inputs | ( | self | ) |
Definition at line 964 of file test_gates.py.
| def tests.gates.test_gates.TestGateScalarPaths.test_apply_from_right_scalar_matches_matrix_and_f32_parity | ( | self, | |
| gate_name, | |||
| scalar_inputs | |||
| ) |
| def tests.gates.test_gates.TestGateScalarPaths.test_apply_to_matrix_scalar_matches_matrix_and_f32_parity | ( | self, | |
| gate_name, | |||
| scalar_inputs | |||
| ) |
| def tests.gates.test_gates.TestGateScalarPaths.test_apply_to_state_scalar_matches_matrix_and_f32_parity | ( | self, | |
| gate_name, | |||
| scalar_inputs | |||
| ) |
| def tests.gates.test_gates.TestGateScalarPaths.test_get_matrix_scalar_f32_parity | ( | self, | |
| gate_name | |||
| ) |
| def tests.gates.test_gates.TestGateScalarPaths.test_get_matrix_scalar_f64_unitary | ( | self, | |
| gate_name | |||
| ) |
|
static |
Definition at line 963 of file test_gates.py.
1.8.13