|
Ran
|
Files
923
|
Run time
45s
|
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>
104076 of 118815 relevant lines covered (87.6%)
1011693.55 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|