Skip to content

Conversation

tanujkhattar
Copy link
Collaborator

@tanujkhattar tanujkhattar commented Jun 29, 2022

#5546 was raised because the test diagram had to be changed from ─Z─ to ─[Z]^1─

This was caused because of precision issues caused by changing np.complex128 to np.complex64.

A recent PR (f904a09) rolled back the change and increased the precision back to np.complex128; thereby reverting the diagram to it's original form ─Z─.

We can remove the stale TODO and close the issue.

Fixes #5546

@tanujkhattar tanujkhattar requested review from a team, vtomole and cduck as code owners June 29, 2022 19:09
@tanujkhattar tanujkhattar requested a review from viathor June 29, 2022 19:09
@CirqBot CirqBot added the Size: XS <10 lines changed label Jun 29, 2022
Copy link
Collaborator

@viathor viathor left a comment

Choose a reason for hiding this comment

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

The test is already updated, so (assuming it runs) the code does the right thing.

@tanujkhattar tanujkhattar merged commit 9867093 into master Jun 29, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
@pavoljuhas pavoljuhas deleted the stale_todo branch January 22, 2025 07:14
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.

paulistring optimize_test.py: Changed Z gate string representation
4 participants