|
Ran
|
Jobs
1
|
Files
923
|
Run time
2min
|
Badge
README BADGES
|
push
github
Correctly enforce matrix size check in `CommutationChecker` (#15933) (#15936) * Fixed the matrix size check for non-cachable gates in the commutation checker. A typo in the matrix size check allowed to sneak into a matrix-based check even if the operations exceeded the maximum matrix size. The operations `first_..` and `second_..` are sorted, but `..1` and `..2` are not! The wrong one was used here. * Reduce test size This test now doesn't rely on the internal path panicking, but still tests the right behavior since the results with and without a matrix check differ. (cherry picked from commit b43a2f33d) Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
1 of 1 new or added line in 1 file covered. (100.0%)
25 existing lines in 6 files now uncovered.103944 of 118710 relevant lines covered (87.56%)
997887.7 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 12 |
97.15 |
-0.95% | crates/qasm2/src/parse.rs |
| 5 |
74.22 |
-0.16% | crates/circuit/src/parameter/symbol_expr.rs |
| 5 |
92.54 |
0.77% | crates/qasm2/src/lex.rs |
| 1 |
86.99 |
0.0% | crates/circuit/src/parameter/parameter_expression.rs |
| 1 |
93.82 |
-0.24% | crates/qasm2/src/expr.rs |
| 1 |
89.8 |
-0.14% | crates/transpiler/src/commutation_checker.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23895846592.1 | 923 |
87.56 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|