Ran
|
Jobs
1
|
Files
914
|
Run time
5min
|
Badge
Embed ▾
README BADGES
|
github
Fix process-based non-determinism in `SparsePauliOp.to_matrix` (#13439) * Fix process-based non-determinism in `SparsePauliOp.to_matrix` The simplification step of the summed Pauli terms in `SparsePauliOp.to_matrix` had introduced a non-determinism via hash-map iteration. In practice, the base hash seed was set per initialisation of the extension module, then stayed the same. This is hard to detect from within tests, but caused unexpected numerical behaviour on different invocations of the same script. * Use ahash::RandomState --------- Co-authored-by: Kevin Hartman <kevin@hart.mn> (cherry picked from commit 74b32c9d2)
5 of 5 new or added lines in 1 file covered. (100.0%)
8 existing lines in 4 files now uncovered.79066 of 88906 relevant lines covered (88.93%)
353318.09 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
92.12 |
-0.06% | crates/accelerate/src/two_qubit_decompose.rs |
1 |
92.2 |
0.0% | crates/accelerate/src/unitary_synthesis.rs |
1 |
94.02 |
-0.24% | crates/qasm2/src/expr.rs |
5 |
92.48 |
0.0% | crates/qasm2/src/lex.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11842219577.1 | 914 |
88.93 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|