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

Guard confusion_map usage #5534

Merged

Conversation

95-martin-orion
Copy link
Collaborator

Fixes the breakage created by #5480.

@95-martin-orion 95-martin-orion requested review from a team, vtomole and cduck as code owners June 16, 2022 17:13
@95-martin-orion 95-martin-orion requested a review from maffoo June 16, 2022 17:13
@CirqBot CirqBot added the size: M 50< lines changed <250 label Jun 16, 2022
@95-martin-orion 95-martin-orion added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 16, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 16, 2022
@CirqBot CirqBot merged commit 25388af into quantumlib:master Jun 16, 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 16, 2022
pavoljuhas added a commit to pavoljuhas/Cirq that referenced this pull request Jul 11, 2022
Assume SimulationState subclasses accept the confusion_map argument in
their `measure()` methods.  Remove work around for classes that do not.

This reverts commit 25388af.
CirqBot pushed a commit that referenced this pull request Jul 11, 2022
Revert "Guard confusion_map usage (#5534)"

Assume measure() methods of SimulationState subclasses accept the
`confusion_map` argument.  Remove temporary workaround for methods
not taking `confusion_map`.

Also disable pylint check on missing argument which is required
in the base class but unknown to subclasses actually called.

This reverts commit 25388af.
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Revert "Guard confusion_map usage (quantumlib#5534)"

Assume measure() methods of SimulationState subclasses accept the
`confusion_map` argument.  Remove temporary workaround for methods
not taking `confusion_map`.

Also disable pylint check on missing argument which is required
in the base class but unknown to subclasses actually called.

This reverts commit 25388af.
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Revert "Guard confusion_map usage (quantumlib#5534)"

Assume measure() methods of SimulationState subclasses accept the
`confusion_map` argument.  Remove temporary workaround for methods
not taking `confusion_map`.

Also disable pylint check on missing argument which is required
in the base class but unknown to subclasses actually called.

This reverts commit 25388af.
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.

3 participants