-
Notifications
You must be signed in to change notification settings - Fork 714
[Capture] default.qubit defer_measurements finite shots execution
#6961
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
88 commits
Select commit
Hold shift + click to select a range
ae67a0b
Non-functioning first draft of plxpr defer_measurements
mudit2812 50e62b4
conditions work.. kinda?
mudit2812 a5a33ea
Classical control works
mudit2812 5196be3
MCM statistics work
mudit2812 4b4a741
Remove commented code
mudit2812 0127f81
Merge branch 'master' into capture-defer-measurements
mudit2812 6878f38
Add template tests
mudit2812 8c35f86
Add unit tests
mudit2812 12ddca5
Add gate parameter support; make items public method
mudit2812 db7621f
PlxprInterpreter custom registrations handle constants correctly
mudit2812 8561866
Add changelog entry
mudit2812 6bdf7b2
Update usage of state
mudit2812 1c16f1f
Finish adding tests
mudit2812 ffdb278
Add link to changelog entry
mudit2812 9eaa4d9
Add program capture usage details to defer_measurements docs
mudit2812 bc7a504
Merge branch 'master' into capture-defer-measurements
mudit2812 efffcb9
Update base interpreter custom registrations
mudit2812 432d0db
Linting
mudit2812 511f1fe
Linting
mudit2812 5ddab87
Coverage
mudit2812 0c84693
Merge branch 'master' into capture-defer-measurements
mudit2812 cdb161f
Minor warning fix
mudit2812 c33e387
Merge branch 'master' into capture-defer-measurements
mudit2812 aca613b
Address code review
mudit2812 6653763
Merge branch 'master' into capture-defer-measurements
mudit2812 1c3141e
Merge branch 'master' into capture-defer-measurements
mudit2812 2e60440
Merge branch 'master' into capture-defer-measurements
mudit2812 fc2bee5
Move `get_mcm_predicates` to mid_measure.py and expand docstring
mudit2812 18b13d9
Improve structure and add doc comments to `resolve_mcm_values`
mudit2812 798b4a6
Update docstring with constraints about control flow
mudit2812 baa24c8
Address code review
mudit2812 e5cdf80
Merge branch 'master' into capture-defer-measurements
mudit2812 704079a
[skip ci] Skip CI
mudit2812 2c69a4a
Use dict.get instead of pop
mudit2812 52f60ed
Fix changelog entry
mudit2812 6503f79
Merge branch 'master' into capture-defer-measurements
mudit2812 d4e3ad5
Add note about mcms as gate params
mudit2812 4ad7cb8
Update pennylane/transforms/defer_measurements.py
mudit2812 74d5ed7
Merge branch 'master' into capture-defer-measurements
mudit2812 6ba6ca9
Update pennylane/transforms/defer_measurements.py
mudit2812 54540a8
Add error for multiple MCM parameters
mudit2812 65d4a1a
Merge branch 'master' into capture-defer-measurements
mudit2812 9c2d881
Merge branch 'master' into capture-defer-measurements
mudit2812 d066d05
Fix changelog
mudit2812 8160a05
DQ works with defer_measurements
mudit2812 b2f9f13
Fix use of plxpr fixture in dq_interpreter tests
mudit2812 fff52ab
Add skeleton for tests
mudit2812 182b383
Add tests for custom registrations
mudit2812 78700e4
Remove test class
mudit2812 f70ae01
Add execution tests
mudit2812 982d1a3
Update changelog
mudit2812 a73fbb3
Update changelog
mudit2812 c00d10f
Merge branch 'master' into dq-capture-deferred
mudit2812 972f053
Fix test merge conflicts
mudit2812 37f4121
[skip ci] Remove xfails
mudit2812 19bb7e4
Add skeleton for shots support with defer_measurements on default.qubit
mudit2812 c6a6b9b
Added support for hw-like postselect_mode
mudit2812 08bc35b
Partial changes to rework `defer_measurements`; not integrated new ar…
mudit2812 02cf0ba
switch from qnode_kwargs to execution_config
albi3ro d879b06
Merge branch 'master' into qnode-prim-execution-config
albi3ro 73e27fc
Apply suggestions from code review
albi3ro 11ba2a9
null qubit and pylint
albi3ro 28e1146
Merge branch 'qnode-prim-execution-config' of https://github.com/Penn…
albi3ro 93d8548
Merge branch 'master' into dq-defer-measurements-shots
mudit2812 9823ee1
Merge branch 'qnode-prim-execution-config' into dq-defer-measurements…
mudit2812 c1e946a
use construct_execution_config
albi3ro 103be57
Apply suggestions from code review
albi3ro 6602aa3
Merge branch 'master' into qnode-prim-execution-config
albi3ro a85f7ad
Finish num_wires support; add reduce_postselected argument
mudit2812 7d5ff2a
Merge branch 'qnode-prim-execution-config' into dq-defer-measurements…
mudit2812 0952ae3
Add hw-like support; TODO: figure out how to handle control flow
mudit2812 c314885
Update mcm_method integration with qnode_prim.impl
mudit2812 7ced640
Fix tests
mudit2812 fc07a29
Merge branch 'master' into dq-defer-measurements-shots
mudit2812 550728d
Remove qnode processing of mcms
mudit2812 db01d78
Move execution tests to new file
mudit2812 2aea17a
Add test skeleton
mudit2812 308b4d8
Add tests
mudit2812 89ad52a
Merge branch 'master' into dq-defer-measurements-shots
mudit2812 4406d51
Update defer_measurements for program capture sharp bits
mudit2812 3e403cf
Add link to changelog entry
mudit2812 c58c792
Fix tests; add more unit tests
mudit2812 a7f828a
Merge branch 'master' into dq-defer-measurements-shots
mudit2812 3905b7d
Add tests that use mocking for checking sampling behaviour
mudit2812 905f444
Merge branch 'master' into dq-defer-measurements-shots
mudit2812 f296322
Add tests for coverage
mudit2812 58e40ca
Merge branch 'master' into dq-defer-measurements-shots
mudit2812 e4141ab
Linting
mudit2812 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.
Uh oh!
There was an error while loading. Please reload this page.