Ran
|
Jobs
1
|
Files
874
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Oxidize commutation checker (#12870) * init * up * lint * . * up * before cache * with cache * correct * cleaned up * lint reno * Update Cargo.lock * . * up * . * revert op * . * . * . * . * Delete Cargo.lock * . * corrected string comparison * removed Operator class from operation.rs * . * Apply suggestions from code review Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> * comments from code review * Apply suggestions from code review Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> * code review * remove with_gil in favor of passing python tokens as params * Apply suggestions from code review Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> * fmt * python serialization * deprecation * Update commutation_checker.py * heh * let Pytuple collect * lint * First set of comments - use Qubit/Clbit - more info on unsafe - update reno - use LazySet less - use OperationRef, avoid CircuitInstruction creation * Second part - clippy - no BigInt - more comments * Matrix speed & fix string sort -- could not use op.name() directly since sorted differently than Python, hence it's back to BigInt * have the Python implementation use Rust * lint & tools * remove unsafe blocks * One more try to avoid segfaulty windows -- if that doesn't work maybe revert the change the the Py CommChecker uses Rust * Debug: disable cache trying to figure out why the windows CI fails (after being unable to locally reproduce we're using CI with a reduced set of tests) * ... second try * Update crates/accelerate/src/commutation_checker.rs Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> * Restore azure config * Remove unused import * Revert "Debug: disable cache" This reverts commit c564b806c. * Don't overallocate cache We were allocating a the cache hashmap with a capacity for max cache s... (continued)
689 of 741 new or added lines in 6 files covered. (92.98%)
4 existing lines in 1 file now uncovered.72443 of 81230 relevant lines covered (89.18%)
406848.14 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
94.44 |
-2.54% | qiskit/circuit/commutation_checker.py |
19 |
96.61 |
crates/accelerate/src/commutation_checker.rs | |
32 |
81.18 |
crates/accelerate/src/unitary_compose.rs |
Lines | Coverage | ∆ | File |
---|---|---|---|
4 |
92.48 |
-0.25% | crates/qasm2/src/lex.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10685173188.1 | 874 |
89.18 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|