Ran
|
Jobs
1
|
Files
914
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
github
Fix typing of inserted UnitaryGates in quantum_volume (#13479) There was a small typing issue in the quantum_volume implementation where there was a mismatch in the Python type and the rust type. The UnitaryGate were being added to the circuit as a rust space PyInstruction instead of a PyGate. This was incorrect as UnitaryGate is unitary and a gate type in python, this mismatch was causing subsequent transpilation or anything working with the unitaries in the quantum volume circuit from rust to mischaracterize the operations as non-unitary so things like getting the matrix would fail. This commit corrects the typing so the gates are added as a unitary operation in the rust typing. This will get much simpler and less error prone when #13272 is implemented and we have a rust native UnitaryGate type. (cherry picked from commit 4bb143275)
3 of 3 new or added lines in 1 file covered. (100.0%)
8 existing lines in 2 files now uncovered.79065 of 88909 relevant lines covered (88.93%)
359911.58 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
92.98 |
1.0% | crates/qasm2/src/lex.rs |
6 |
97.62 |
0.0% | crates/qasm2/src/parse.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11977739916.1 | 914 |
88.93 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|