-
Notifications
You must be signed in to change notification settings - Fork 368
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
Snapshot statevector and stabilizer extensions #355
Snapshot statevector and stabilizer extensions #355
Conversation
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.
Looks good so far.
Waiting for the tests :)
b79af38
to
d4b16c4
Compare
* fix snapshot signatures * fix stabilizer method parallelization setting
* return the stabilizer portion of the clifford table rather than both stabilizer and destabilizer
d4b16c4
to
6713f31
Compare
@atilag will break up into a couple of PRs. This one is ready for review and merging |
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.
Nice addition, with a lot of tests! Thanks.
I asked some questions just to have a better understanding of some of the concepts, and to double check that everything is ok.
self.compare_counts(result, | ||
circuits, | ||
counts_targets, | ||
delta=0.2 * shots) |
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.
Does delta
need to grow with the number of shots?
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.
Delta needs to grow as number of shots gets smaller
One of the test failed because of a timeout in MacOS provisioning... I'm rerunning the Job again |
Summary
**EDIT: ** breaking PR up into multiple smaller ones. This now just covers statevector and stabilizer snapshots.
Fixes signatures of state snapshots:
Close #301, #302, #369
Details and comments