|
Ran
|
Jobs
1
|
Files
950
|
Run time
3min
|
Badge
README BADGES
|
push
github
Fix add/sub optimizations including the same symbols (backport #16752) (#16759) * Fix add/sub optimizations including the same symbols (#16752) * Fix add and sub optimizations for same symbols Previously add/sub optimizations for binary expressions with that contain the same symbol and a value in the other slot, where the values evaluate to zero, would generically be set to 0. * Fix more cases - there's no valid (Pow, Pow) optimization - added missing cases for mul/div optimizations * Rm trailing prints * Simplify match statements --------- Co-authored-by: Alexander Ivrii <alexi@il.ibm.com> (cherry picked from commit 4b0b834dc) # Conflicts: # test/python/circuit/test_parameter_expression.py * Fix merge conflict --------- Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
30 of 36 new or added lines in 1 file covered. (83.33%)
17 existing lines in 2 files now uncovered.113104 of 128892 relevant lines covered (87.75%)
997196.47 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
77.27 |
0.71% | crates/circuit/src/parameter/symbol_expr.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 12 |
97.15 |
-0.95% | crates/qasm2/src/parse.rs |
| 5 |
91.52 |
-0.77% | crates/qasm2/src/lex.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 31709515303.1 | 950 |
87.75 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|