Repo Added
|
Files
867
|
Badge
README BADGES
|
push
github
Fix `ApplyLayout` with empty layout (backport #14606) (#14615) * Fix `ApplyLayout` with empty layout (#14606) It's unlikely to ever be useful, but strictly there still is a well-defined behaviour for `ApplyLayout` on a zero-qubit circuit and backend. Previously, the pass errored out falsely asserting user error. (cherry picked from commit d0630fd19) * Use PassManager for empty layout tests. * Use dummy pass for test_empty_post_layout. Co-authored-by: Jake Lishman <jake.lishman@ibm.com> * Ignore lint. --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> Co-authored-by: Kevin Hartman <kevin@hart.mn>
2 of 2 new or added lines in 1 file covered. (100.0%)
23 existing lines in 2 files now uncovered.77322 of 87367 relevant lines covered (88.5%)
353686.43 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|