-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Xa*Zb*Zb*Zb
works but Xa*Zb**3
raises error
#5715
Comments
Xa * Zb * Zb * Zb
works but Xa * Zb ** 3
raises error
Xa * Zb * Zb * Zb
works but Xa * Zb ** 3
raises error Xa*Zb*Zb*Zb
works but Xa*Zb**3
raises error
From cirq sync: Looks like a bug and should be fixed. Should not be categorized as a breaking change. |
Would this be a good first issue to look into. If so could this be assigned to me? |
Kinda think this is not possible. Presumably it should work for even exponents too. However to work for even exponents, the gate needs to transform to |
Well, it's possible, as I managed to get the linked PR to pass all tests. The changes are probably more breaking than desired though. And we need to add some extra handling and tests since It also leaves |
Nvm, different approach worked. |
Nvm again. The second approach had an issue with Would be a good issue though for someone with more time to contribute. |
Hi, I would like to try to work on this issue :-) |
Hey there, I am interested in this bounty. Could you assign it to me? |
@MZuhairKhan sorry, @rodolfocarobene is already working on this |
How to reproduce the issue
Cirq version:
0.16.0.dev
The text was updated successfully, but these errors were encountered: