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

equivalent measurements evaluate as equal now #6234

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Gmontes01
Copy link

This should solve the issue displayed in problem #6093. It sets the default value of any inversion mask which does nothing to '()'

@google-cla
Copy link

google-cla bot commented Aug 8, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@CirqBot CirqBot added the Size: XS <10 lines changed label Aug 8, 2023
@Gmontes01 Gmontes01 marked this pull request as ready for review August 8, 2023 01:07
@Gmontes01 Gmontes01 requested review from vtomole, cduck and a team as code owners August 8, 2023 01:07
@Gmontes01 Gmontes01 requested a review from viathor August 8, 2023 01:07
Copy link
Collaborator

@tanujkhattar tanujkhattar left a comment

Choose a reason for hiding this comment

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

Gmontes01 - Thanks for opening the PR! I think the right thing to do here, as described in the original issue, is to use self.full_invert_mask() in MeasurementGate._value_equality_values_ method and add a corresponding test to make sure new and existing tests pass.

@github-actions github-actions bot added the Stale label Apr 20, 2024
@github-actions github-actions bot removed the Stale label May 6, 2024
@quantumlib quantumlib deleted a comment Jun 8, 2024
@github-actions github-actions bot added Stale and removed Stale labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants