|
Ran
|
Jobs
1
|
Files
923
|
Run time
3min
|
Badge
README BADGES
|
push
github
Fix `InverseCancellation` for symmetric pairs (#16153) (#16211) * Fix `InverseCancellation` for symmetric pairs. Symmetric gates should get cancelled irrespective of the qubit order. This did not happen in InverseCancellation, which didn't consistently cancel CS and CSdg gates in the default setup since their qubit argument were out of order. Coincidentally _it did_ cancel these gates in a specific order as a by product since the boolean logic was not grouped correctly, as reported in #15855. This commit fixes this behavior. This commit does not more generally enable handling of symmetric, user-supplied gates. * Better inverse pair structure * More precise wording in reno --------- (cherry picked from commit 26d7f00c1) Co-authored-by: Julien Gacon <jules.gacon@googlemail.com> Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
17 of 17 new or added lines in 1 file covered. (100.0%)
11 existing lines in 3 files now uncovered.104224 of 118861 relevant lines covered (87.69%)
1009036.73 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
97.63 |
-0.47% | crates/qasm2/src/parse.rs |
| 4 |
92.54 |
0.0% | crates/qasm2/src/lex.rs |
| 1 |
90.53 |
0.0% | crates/circuit/src/parameter/parameter_expression.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26095337901.1 | 923 |
87.69 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|