-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Avoid copying unnecessary buffers between simulation iterations #4789
Merged
Merged
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
993cf0c
Add a with_buffer parameter to ActOnArgs.copy
yjt98765 6abb2b9
Fix mypy error
yjt98765 9fa2bed
Merge branch 'master' into actonarg
yjt98765 a865b7e
Change copy's parameter to reuse_buffer
yjt98765 3af3ec4
Change the semantics of reuse_buffer parameter
yjt98765 2a556e4
Merge branch 'master' into actonarg
yjt98765 df67918
Add docstring and deprecation warning
yjt98765 2d53c76
Support default buffer parameters in ActOnArgs
yjt98765 4f10146
Fix CI errors
yjt98765 280ad3e
Fix test_state_vector_trial_result_repr
yjt98765 5f821e4
Add test for deprecation warnings
yjt98765 5edf97f
Fix CI errors
yjt98765 7bc4908
Merge branch 'master' into actonarg
yjt98765 412c1bc
Use assert_deprecated for deprecation test
yjt98765 0480241
Add a test case for the deprecation warning in _run
yjt98765 b2fda13
Fix coverage and type errors
yjt98765 a006a39
Fix a coverage error
yjt98765 49cb93d
Merge branch 'master' into actonarg
yjt98765 67141cb
Merge branch 'master' into actonarg
yjt98765 8e8076b
Raise a ValueError when qid_shape cannot be inferred
yjt98765 3369294
Fix type hint and deprecation deadline problems
yjt98765 7f7ff17
Rename reuse_buffer to deep_copy_buffers
yjt98765 195b802
Merge branch 'master' into actonarg
yjt98765 62addd1
Add shallow copy logic to copy method
yjt98765 2b948a9
Merge branch 'master' into actonarg
yjt98765 5d260b1
Merge branch 'master' into actonarg
CirqBot 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
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
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
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
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
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
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
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
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
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
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
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
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.
Update the docstring here too since it's the base interface.
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.
Updated.