Qiskit / qiskit-ibm-runtime

IBM Client for Qiskit Runtime
https://docs.quantum.ibm.com/api/qiskit-ibm-runtime
Apache License 2.0
161 stars 157 forks source link

Update `PadDynamicalDecoupling` pass to conform to Qiskit 1.3 data model #2047

Closed ElePT closed 1 week ago

ElePT commented 1 week ago

Summary

This PR updates the PadDynamicalDecoupling pass to work with the Qiskit 1.3 updates on the DAGCircuit class. In particular, before this PR, https://github.com/Qiskit/qiskit/pull/12550 would break the test_insert_midmeas_hahn test from test/unit/transpiler/passes/scheduling/test_dynamical_decoupling.py, which is now fixed.

If helpful, this PR can also be incorporated into #2041, but thought that it might make sense to separate it given that it's not only changing unit tests. In principle there should be no user-facing changes so no reno was added.

Details and comments

Fixes #