|
Ran
|
Jobs
1
|
Files
954
|
Run time
2min
|
Badge
README BADGES
|
push
github
Sum VF2Layout average errors in a deterministic order (#16732) * Sum VF2Layout average errors in a deterministic order `build_average_error_map` summed per-qubit gate errors while iterating the `HashSet` returned by `Target::operation_names_for_qargs`, whose order is randomized per call. Floating-point addition is non-associative, so the averaged error -- and therefore the `VF2Layout` score of two symmetric layouts -- varied between runs. On a target with control-flow support and a symmetric coupling map this made the selected layout, and hence the 1q-gate count and depth of the output circuit, non-deterministic. Sort the operation names before summing so the result is reproducible. Fixes #16490. Signed-off-by: Sophia Wen <hfwen@us.ibm.com> (cherry picked from commit 8ea89abaa) * Update releasenotes/notes/fix-vf2layout-nondeterminism-error-sum-2b8d4e6f0a1c3d57.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update releasenotes/notes/fix-vf2layout-nondeterminism-error-sum-2b8d4e6f0a1c3d57.yaml --------- Signed-off-by: Sophia Wen <hfwen@us.ibm.com> Co-authored-by: Julien Gacon <gaconju@gmail.com>
5 of 5 new or added lines in 1 file covered. (100.0%)
14 existing lines in 3 files now uncovered.113693 of 129512 relevant lines covered (87.79%)
994262.01 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
91.77 |
-0.77% | crates/qasm2/src/lex.rs |
| 6 |
97.63 |
-0.47% | crates/qasm2/src/parse.rs |
| 2 |
78.16 |
-0.08% | crates/circuit/src/parameter/symbol_expr.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 31706586499.1 | 954 |
87.79 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|