|
Ran
|
Jobs
1
|
Files
923
|
Run time
2min
|
Badge
README BADGES
|
push
github
Avoid triggering register/layout warning in `remove_final_measurements` (#16026) (#16037) `QuantumCircuit.remove_final_measurements` has always been a bit fragile because it attempts to do effectively in-place deletions of bits of metadata while leaving others intact. Since the "layout" warning is only about modifying the `qregs`, and those are untouched by `remove_final_measurements`, we know that the register modifications are at least safe here and can avoid the warning. (cherry picked from commit 1b0276a4c) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
2 of 2 new or added lines in 1 file covered. (100.0%)
31 existing lines in 5 files now uncovered.104076 of 118815 relevant lines covered (87.6%)
1011693.55 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 18 |
96.68 |
-0.95% | crates/qasm2/src/parse.rs |
| 6 |
74.17 |
-0.16% | crates/circuit/src/parameter/symbol_expr.rs |
| 5 |
91.77 |
-0.51% | crates/qasm2/src/lex.rs |
| 1 |
90.53 |
0.0% | crates/circuit/src/parameter/parameter_expression.rs |
| 1 |
93.82 |
-0.24% | crates/qasm2/src/expr.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 24444478556.1 | 923 |
87.6 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|