|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Functions | |
| def | _apply (gate, matrix, params, is_f32) |
| def | _has_avx2 () |
| def | _make_cnot () |
| def | _make_inputs () |
| def | _make_u3 () |
| def | _parameters (gate, dtype) |
| def | _time_apply (gate, dtype) |
| def | test_float32_apply_to_hot_path_has_expected_speed (gate_factory, gate_name, min_speedup) |
Variables | |
| COLS | |
| MIN_CNOT_SPEEDUP | |
| MIN_FLOAT32_SPEEDUP | |
| QUBIT_NUM | |
| REPEATS | |
| TRIALS | |
| WARMUP | |
|
private |
Definition at line 57 of file test_float32_performance.py.

|
private |
Return True if the CPU supports AVX2 (needed for efficient float32 SIMD).
Definition at line 14 of file test_float32_performance.py.

|
private |
Definition at line 32 of file test_float32_performance.py.
|
private |
Definition at line 47 of file test_float32_performance.py.

|
private |
Definition at line 36 of file test_float32_performance.py.
|
private |
Definition at line 40 of file test_float32_performance.py.

|
private |
Definition at line 64 of file test_float32_performance.py.


| def tests.gates.test_float32_performance.test_float32_apply_to_hot_path_has_expected_speed | ( | gate_factory, | |
| gate_name, | |||
| min_speedup | |||
| ) |
Float32 should be a real HPC path, not just accepted at the API boundary.
Definition at line 86 of file test_float32_performance.py.

| tests.gates.test_float32_performance.COLS |
Definition at line 24 of file test_float32_performance.py.
| tests.gates.test_float32_performance.MIN_CNOT_SPEEDUP |
Definition at line 29 of file test_float32_performance.py.
| tests.gates.test_float32_performance.MIN_FLOAT32_SPEEDUP |
Definition at line 28 of file test_float32_performance.py.
| tests.gates.test_float32_performance.QUBIT_NUM |
Definition at line 23 of file test_float32_performance.py.
| tests.gates.test_float32_performance.REPEATS |
Definition at line 26 of file test_float32_performance.py.
| tests.gates.test_float32_performance.TRIALS |
Definition at line 27 of file test_float32_performance.py.
| tests.gates.test_float32_performance.WARMUP |
Definition at line 25 of file test_float32_performance.py.
1.8.13