|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Public Member Functions | |
| def | test_apply_from_right_rectangular_subset_consistency_f32 (self) |
| def | test_apply_from_right_rectangular_subset_consistency_f64 (self) |
| def | test_apply_to_rectangular_subset_consistency_f32 (self) |
| def | test_apply_to_rectangular_subset_consistency_f64 (self) |
Private Member Functions | |
| def | _build_circuit_q4 (self) |
Static Private Member Functions | |
| def | _max_subset_err_apply_from_right (circ, params, full_input, is_f32=False) |
| def | _max_subset_err_apply_to (circ, params, full_input, is_f32=False) |
4-qubit rectangular matrix coverage for all apply* methods. For apply_to routes, the matrix shape is 16xN (N=1..32). For apply_from_right routes, the matrix shape is Nx16 (N=1..32), since the right-multiply path requires the number of columns to be 16.
Definition at line 317 of file test_circuit.py.
|
private |
|
staticprivate |
|
staticprivate |
| def tests.gates.test_circuit.TestRectangularApplyRoutes.test_apply_from_right_rectangular_subset_consistency_f32 | ( | self | ) |
| def tests.gates.test_circuit.TestRectangularApplyRoutes.test_apply_from_right_rectangular_subset_consistency_f64 | ( | self | ) |
| def tests.gates.test_circuit.TestRectangularApplyRoutes.test_apply_to_rectangular_subset_consistency_f32 | ( | self | ) |
| def tests.gates.test_circuit.TestRectangularApplyRoutes.test_apply_to_rectangular_subset_consistency_f64 | ( | self | ) |
1.8.13