Skip to content
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

Make with_measurement_key_mapping live up to its name #5610

Merged
merged 2 commits into from
Jun 25, 2022

Conversation

95-martin-orion
Copy link
Collaborator

Fixes #5552.

Since this change only* affects type annotations, it is non-breaking. Any breakages due to ParamResolver.param_dict becoming immutable should instead refer to #5548, where this change was applied.

*Okay, it also removes some dict calls, but those were added in #5548.

@95-martin-orion 95-martin-orion requested review from a team, vtomole and cduck as code owners June 24, 2022 21:58
@CirqBot CirqBot added the size: M 50< lines changed <250 label Jun 24, 2022
Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 24, 2022
@MichaelBroughton MichaelBroughton self-assigned this Jun 24, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 24, 2022
@CirqBot CirqBot merged commit 8f7ced7 into quantumlib:master Jun 25, 2022
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jun 25, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Fixes quantumlib#5552.

Since this change only* affects type annotations, it is non-breaking. Any breakages due to `ParamResolver.param_dict` becoming immutable should instead refer to quantumlib#5548, where this change was applied.

*Okay, it also removes some `dict` calls, but those were added in quantumlib#5548.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: M 50< lines changed <250
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert with_measurement_key_mapping to use Mapping
3 participants