|
Ran
|
Jobs
1
|
Files
950
|
Run time
2min
|
Badge
README BADGES
|
push
github
Parameter expression bugfixes (backport #16283) (#16714) * Parameter expression bugfixes (#16283) * Add failing tests * Fix the bug by removing the wrong optimization for division * Nested division fix * Change the nested div optimization to use `SymbolExpr::Value(lv / rv)` throughout * Fix the bugs in gradient() * Fix for add/sub of two powers * remove pow_opt that became dead code after removing a wrong optimization * Bugfixes for mul expansion and conjugation * Linting * Fixes according to PR review * Additional tests for chain rule * Linting * post merge linting (cherry picked from commit b4073b7ac) # Conflicts: # crates/circuit/src/parameter/symbol_expr.rs # test/python/circuit/test_parameter_expression.py * Fix merge conflicts * Downgrade to MSRV 1.87.0 --------- Co-authored-by: gadial <gadial@gmail.com> Co-authored-by: Julien Gacon <jules.gacon@googlemail.com> Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
38 of 41 new or added lines in 1 file covered. (92.68%)
10 existing lines in 3 files now uncovered.112889 of 128757 relevant lines covered (87.68%)
997855.92 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
76.16 |
2.22% | crates/circuit/src/parameter/symbol_expr.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
96.68 |
-0.47% | crates/qasm2/src/parse.rs |
| 3 |
92.29 |
0.51% | crates/qasm2/src/lex.rs |
| 1 |
90.36 |
0.0% | crates/circuit/src/parameter/parameter_expression.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 31193994522.1 | 950 |
87.68 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|