-
-
Notifications
You must be signed in to change notification settings - Fork 39
Support any two qubit gates #235
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
Draft
JoachimMarin
wants to merge
32
commits into
munich-quantum-toolkit:main
Choose a base branch
from
JoachimMarin:support-any-two-qubit-gates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 5 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c845d37
🔥 Remove assert in countGates
JoachimMarin d526398
✨ Preserve operation type for two qubit gates
JoachimMarin 27b1b20
🚧 Generalize naming for two-qubit gates
JoachimMarin 7002c93
🎨 Rename cnots to twoQubitGates
JoachimMarin 03f4214
🎨 pre-commit fixes
pre-commit-ci[bot] 5f49023
:sparkles: Case distinction for flipping gates
JoachimMarin 4e8648a
🎨 pre-commit fixes
pre-commit-ci[bot] 6d33c87
✨ Function for gate reversal cost
JoachimMarin 3b05b62
:rewind: Assume cnot gates in distance table
JoachimMarin 7b38085
:white_check_mark: Add direction reverse python tests
JoachimMarin e7127dd
:bulb: Add python test descriptions
JoachimMarin 6dfbb94
🚨 Fix ruff warnings for python tests
JoachimMarin 4016c86
Merge remote-tracking branch 'upstream/main' into support-any-two-qub…
JoachimMarin ff3929c
🚨 Fix missing return on unexpected enum value
JoachimMarin 91b7969
✅ Remove InstructionSet import
JoachimMarin 219eda2
✅ Use gate objects for python tests
JoachimMarin 2bd795e
🩹 fix Python typing
burgholzer 88a82ee
🩹 silence an external Qiskit warning from the tests
burgholzer 90764c3
Merge remote-tracking branch 'origin/main' into support-any-two-qubit…
burgholzer f0f19e3
♻️ restructure tests
burgholzer e71fb87
🐛 Prevent reversals with swaps in exact mapper
JoachimMarin 45deaab
Update include/Mapper.hpp
burgholzer e43c357
🚨 some `const`
burgholzer 3c982bc
🚚 rename `insertFlippedGate` method
burgholzer 80609be
♻️ refactor condition to simplify code
burgholzer 44d81c8
⚡ add missing conditional skip statement
burgholzer 31e73b3
🚸 add additional sanity check
burgholzer a33e1d1
🚸 add `const` version of the mapped circuit getter
burgholzer 12ab7fa
♻️ simplify tests
burgholzer 0aec519
🐛 fix coupling limit computation for directed architectures
burgholzer 8897aa4
🧪 Add direction reverse tests for heuristic mapper
JoachimMarin 34cc4bd
✨ Update heuristic algorithm for direction reverse
JoachimMarin 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 hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.