Repo Added
|
Files
868
|
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%)
7 existing lines in 4 files now uncovered.72711 of 82543 relevant lines covered (88.09%)
356155.34 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|