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

Collect and collapse functions should support DAGDependency inputs #39

Open
caleb-johnson opened this issue Sep 18, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@caleb-johnson
Copy link
Collaborator

caleb-johnson commented Sep 18, 2024

https://docs.quantum.ibm.com/api/qiskit/0.41/qiskit.transpiler.passes.CollectAndCollapse

As explained in docs for CollectAndCollapse, when commutative analysis is performed, a different DAG structure will be used internally, and this currently causes our collect function to fail, due to DAGDependency not having a find_bit method.

@caleb-johnson caleb-johnson added the bug Something isn't working label Sep 18, 2024
@caleb-johnson
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant