-
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
Perform CliffordState measurements via method dispatch #3503
Conversation
|
||
for i, qid in enumerate(qids): | ||
state.ch_form.project_Z(qid, measurements[key][i]) | ||
|
||
@deprecated_parameter( |
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.
Given that the whole function is deprecated now, should I remove the param deprecation annotation?
Friendly Ping! |
Holding off on this PR for now |
Ping! |
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.
LGTM, thank you!
And deprecate the old
perform_measurement
method that called the_measure
method directly.Also deprecate all uses of
CliffordTableau
inside theCliffordState
. Full clean up will follow.#2948 #2423