Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

ElePT
Copy link
Collaborator

@ElePT ElePT commented Nov 20, 2024

Summary

This PR updates the PadDynamicalDecoupling pass to work with the Qiskit 1.3 updates on the DAGCircuit class. In particular, before this PR, Qiskit/qiskit#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 #

ElePT and others added 2 commits November 20, 2024 17:08
…ictions.

From Qiskit 1.3 DAGNode objects will no longer return references to the same underlying objects, they will be created on the fly.
For this reason we need to change the re-parametrization and node id tracking code.

Co-authored-by: Raynel Sanchez <raynelfss@hotmail.com>
@kt474 kt474 added this to the 0.34.0 milestone Nov 20, 2024
@kt474 kt474 merged commit 790262d into Qiskit:main Nov 20, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants