|
Ran
|
Jobs
1
|
Files
923
|
Run time
3min
|
Badge
README BADGES
|
push
github
Fix `CommutationChecker` for controlled rotation gates (backport #16337) (#16395) * Fix `CommutationChecker` for controlled rotation gates (#16337) * remove incorrect generator for CRX, CRY, CRZ * add a commutation test of CRX/CRY/CRZ with Swap * fix build_standard_commutations.py. add matrix_max_num_qubits=4. add generators for CRX, CRY, CRZ * update CRX, CRY, CRZ in standard_gate_commutations * add release notes * fix standard_gates_commutation file * add test for standard gates commutation * replace CRX, CRY, CRZ generators by some parameter * fix the generators of CRX, CRY, CRZ in tools * formatting * reduce number of qubsits in test to prevent CI arm tests failing * reduce number of qubits in test * improve test running time * limit the number of qubits in test to 3 * update build_supported_rotation docstring * update reno following review * update test following review * update build tool following review * add C API pass to reno * update test for CRZ and Swap/iSwap * add CRX, CRY, CRZ to build_supported_ops * add a test for parametrized controlled rotation gates (cherry picked from commit 592c1de00) # Conflicts: # test/python/circuit/test_commutation_checker.py * fix merge conflict --------- Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com> Co-authored-by: Alexander Ivrii <alexi@il.ibm.com>
843 of 849 new or added lines in 2 files covered. (99.29%)
30 existing lines in 3 files now uncovered.105195 of 119706 relevant lines covered (87.88%)
1007561.73 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
89.7 |
-0.36% | crates/transpiler/src/commutation_checker.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 24 |
96.21 |
-1.9% | crates/qasm2/src/parse.rs |
| 5 |
90.75 |
-1.03% | crates/qasm2/src/lex.rs |
| 1 |
89.7 |
-0.36% | crates/transpiler/src/commutation_checker.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 27190929652.1 | 923 |
87.88 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|