|
Ran
|
Jobs
1
|
Files
950
|
Run time
4min
|
Badge
README BADGES
|
push
github
Fix spurious clone on `SparsePauliOp.to_matrix(sparse=False)` (#16828) (#16831) * Fix spurious clone on `SparsePauliOp.to_matrix(sparse=False)` We always own the array; there was never a need to clone out to Python space. The actual performance improvement varies a lot depending on the workload, the parallelism in the algorithm, and performance of the memory allocator. The clone was always done single-threaded previously, so speedups in excess of 2x are quite reasonable. * Reframe as bugfix This isn't a longstanding issue; it was introduced accidentally in the v2.5 cycle[^1]. [^1]: 230a09281b: Add `PauliProductRotation.matrix` (#15975) (cherry picked from commit da7fd7f38) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
1 of 1 new or added line in 1 file covered. (100.0%)
11 existing lines in 4 files now uncovered.113132 of 128925 relevant lines covered (87.75%)
998246.06 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
97.63 |
0.47% | crates/qasm2/src/parse.rs |
| 2 |
76.84 |
-0.08% | crates/circuit/src/parameter/symbol_expr.rs |
| 2 |
91.77 |
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 | 32867951093.1 | 950 |
87.75 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|