generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 139
feature: add barrier instruction #1118
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
162e759
add the barrier instruction
nilsquet cb08560
adjust both diagram printer
nilsquet 5216984
added respective tests
nilsquet 7c2109d
improved diagram tests
nilsquet dec4c31
removed unnecessary comments
nilsquet b8eb1d3
improved the formatting through linter
nilsquet 563b8ff
removed the equivalence checking function
nilsquet 6b6ce7e
adjusted the qubit range handling in moments
nilsquet 1859ea6
Merge branch 'main' into feature/barrier-instruction
nilsquet e696ffd
removed unnecessary comments
nilsquet 85d5f8d
refactored the circuit diagram drawer
nilsquet 3149693
refactored the circuit diagram drawer
nilsquet a8cf258
refactored the circuit diagram drawer
nilsquet 541af99
refactored the circuit diagram drawer
nilsquet d2f635a
refactored the circuit diagram drawer
nilsquet 57bdcec
refactored the circuit diagram drawer
nilsquet 9b0f12b
Merge branch 'main' into feature/barrier-instruction
nilsquet 29dfa62
feat: removed unnecessary method
nilsquet c372558
feat: changed the ascii symbol handling
nilsquet dc3213d
feat: adjusted the moments to be able to handle the different barrier…
nilsquet 8999bb0
feat: went back to the initial ascii during init
nilsquet 6c3dc58
feat: adjusted both the ASCII and unicode drawer to be able to work w…
nilsquet e9d8b99
feat: adjusted the group handling for the drawers
nilsquet cedd3ab
test: adjusted test to changed ASCII init
nilsquet 98326aa
feature: added more comprehensive tests
nilsquet d182c12
fix: linting
nilsquet d1ea852
fix: removed unnecessary string prefix
nilsquet 8db5a31
fix: refactoring due to linter warnings
nilsquet 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
Oops, something went wrong.
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.
because
self.qubitscan be None?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.
The motivation was to not have any effect when adding a barrier to an empty circuit.