|
Ran
|
Jobs
1
|
Files
789
|
Run time
2min
|
Badge
README BADGES
|
push
github
Allow circuits using only SI units to pass through TimeUnitConversion (#14027) (#14050) * Allow circuits using only SI units to pass through TimeUnitConversion In f0576fa64, the `TimeUnitConversion` pass was modified so that it raises an exception if a circuit has only SI unit delays with no `dt` value set, but the intent seemed to be catch cases where SI units were used alongside instructions with `dt` units. Here the conditions for raising an exception are modified to allow circuits with all SI unit delays (which usually only happens when working with a backend like `AerSimulator`) to pass through. Closes https://github.com/Qiskit/qiskit/issues/14016 * Add TimeUnitConverion tests * Update test description * Remove comment * lint test file * Refactor TimeUnitConversion for readability * Move time unit converison tests to test_transpiler * lint * lint (cherry picked from commit 740a9dc50) Co-authored-by: Will Shanks <willshanks@us.ibm.com>
7 of 7 new or added lines in 1 file covered. (100.0%)
4 existing lines in 2 files now uncovered.72714 of 82543 relevant lines covered (88.09%)
357819.55 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
92.31 |
0.13% | qiskit/transpiler/passes/scheduling/time_unit_conversion.py |
| 3 |
93.23 |
0.75% | crates/qasm2/src/lex.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 13938038081.1 | 789 |
88.09 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|