|
Ran
|
Jobs
1
|
Files
131
|
Run time
1min
|
Badge
README BADGES
|
push
github
fix: place qDRIFT samples on the wires of the gate they replace (#433) (#436) QDriftTrotterization emitted every sampled Evolution on `out_dag.qubits`, the whole register, rather than on the `qargs` of the node it replaces. A gate that did not act on every mode of the circuit in order was therefore replaced by gates on the wrong modes (a 2-mode hop on modes (2,3) of a 4-mode circuit gave a fidelity of 0.585 against the exact state). With filtering, the support of a drawn term is in the gate's own mode indices, but it was compared with occupation sets indexed by the register, and the same local indices were then marked "uncertain". The pass could keep terms that cannot move a particle, or reject every term and raise a RuntimeError. The support is now mapped through the node's `qargs` first. (cherry picked from commit cd8224016) Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
4 of 4 new or added lines in 1 file covered. (100.0%)
14579 of 14836 relevant lines covered (98.27%)
295593.54 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 44492741607.1 | 131 |
98.27
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|