|
Ran
|
Files
789
|
Run time
20s
|
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>
72714 of 82543 relevant lines covered (88.09%)
357819.55 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|