Ran
|
Jobs
1
|
Files
855
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Don't run ElidePermutation if routing is disabled (#13184) (#13194) * Don't run ElidePermutation if routing is disabled We have a routing plugin named "none" which is used to assert that no routing should be performed (it errors if there is routing required). We were previously running the ElidePermutations pass in this case which is not the expected or correct behavior because it causes the same kind of permutation as routing and would eliminate and swap gates in the circuit. As the typical use case for routing_method='none' is when you've already routed a circuit (or constructed it by hand to match the connectivity constraints) we shouldn't be doing this. This commit fixes this behavior so if the routing_method is set to "none" we no longer run the ElidePermutations pass. Fixes #13144 * Move release note to the correct location (cherry picked from commit 9a896d3ae) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2 of 2 new or added lines in 1 file covered. (100.0%)
2 existing lines in 1 file now uncovered.66893 of 74508 relevant lines covered (89.78%)
219237.45 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
92.73 |
0.5% | crates/qasm2/src/lex.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10950496885.1 | 855 |
89.78 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|