-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add separable_circuits method to DAGCircuit class #9471
Merged
jakelishman
merged 29 commits into
Qiskit:main
from
caleb-johnson:disconnected-components
Jul 19, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c7ef19b
Add decompose_dag method to DAGCircuit class
caleb-johnson e153363
Don't clean up idle wires within function
caleb-johnson 89633c7
Add tests for DAGCircuit.separable_circuits
caleb-johnson 8988448
Add ordering and QuantumCircuit equivalency tests. Add release note.
caleb-johnson 761a9e9
Code style changes
caleb-johnson 1e91faa
Update release note
caleb-johnson 6a1206e
Merge branch 'main' into disconnected-components
caleb-johnson 235d618
Clean up documentation
caleb-johnson 925481f
Return a DAG for any partition with at least one qubit, even if empty
caleb-johnson 2df57c3
Merge main into branch
caleb-johnson a890b11
Adjust tests to new flag
caleb-johnson af05ec5
merge main
caleb-johnson 0270c8d
peer review
caleb-johnson 71d33f7
peer review
caleb-johnson 0c60880
fix var name
caleb-johnson b331cff
test against dagcircuits
caleb-johnson 8330b3b
lint
caleb-johnson 6aa0a7d
test remove_idle_wires
caleb-johnson eeacdde
improve release note
caleb-johnson 89817bc
Update separable_circuits docstring
caleb-johnson 3696d2a
Sort the dag circuits in tests to prevent them breaking in future
caleb-johnson 6a8611d
minor cleanup
caleb-johnson 7cb417f
minor cleanup
caleb-johnson 919a42e
Fix sorting
caleb-johnson 55db180
Fix type-hint resolution
jakelishman e04fc8b
black
caleb-johnson 4596431
Merge branch 'disconnected-components' of github.com:caleb-johnson/qi…
caleb-johnson 1428b7f
Merge branch 'main' into disconnected-components
caleb-johnson c3dd9f1
unused import
caleb-johnson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is quite correct for the case of
remove_idle_qubits=True
, because it's going to take indices from the cut-down DAGs rather than the big dags, so the indices won't be the same. I think you'll want to get(or something like this - I just wrote that cold into GitHub)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again, this worked as-is :)