-
Notifications
You must be signed in to change notification settings - Fork 981
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
Structured Measurement Keys #4040
Comments
…in `MeasurementGate` (#4039) Phase 1 of the RFC at https://tinyurl.com/structured-measurement-keys#heading=h.7xjjz7p4hj9y Part of #4040
Is this done? |
I think there was still a remaining task to rename and deprecate some protocols. While doing that we may want to see if we can speed up the default case for these protocols where nothing is implemented, perhaps removing some magic method options, or just creating an |
@daxfohl, could you elaborate on the remaining work? IIRC, |
Oh, I thought you wanted to get rid of the objs suffix. If not then it
sounds like this is done.
…On Tue, Jun 7, 2022, 11:46 AM Orion Martin ***@***.***> wrote:
@daxfohl <https://github.com/daxfohl>, could you elaborate on the
remaining work? IIRC, measurement_key_(objs|names) was the intended end
state for the protocol renaming. I'm on board for optimizations, but those
can be a separate post-1.0 issue.
—
Reply to this email directly, view it on GitHub
<#4040 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG464NQJD2T6HLAEWRXHRLVN6KH3ANCNFSM43JOH5UQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Opened #5465 to track optimizations; closing this as complete. |
…in `MeasurementGate` (quantumlib#4039) Phase 1 of the RFC at https://tinyurl.com/structured-measurement-keys#heading=h.7xjjz7p4hj9y Part of quantumlib#4040
It was erroneously removed in quantumlib#4403 without deprecating. Part of quantumlib#4040.
A class that wraps the string measurement key, encapsulating any measurement key related logic and provides various utils for users. Phased rollout to eventually move away from manipulating strings to a well defined interface.
Is your design idea/issue related to a use case or problem? Please describe.
Currently, the measurement keys are plain strings. We need more structure and logic to the key itself to have a cleaner way to:
CircuitOperation
)Qubits
as special type. Remapping qubits for aMeasurementGate
should also remap these keys.CircuitOperation
and enable accessing different "levels" of a nestedCircuitOperation
more cleanly.Describe your design idea/issue
RFC: https://tinyurl.com/structured-measurement-keys
The initial part outlines potential approaches to go about this. The "Detailed Design" goes deeper into the preferred option (based on feedback from cirq-maintainers@) and the implementation/rollout plan for it.
The text was updated successfully, but these errors were encountered: