We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cirq.X**1
_PauliX
XPowGate
Description of the issue
As @ybc1991 pointed out - the type of cirq.X**1 should be _PauliX instead of XPowGate. Context: https://github.com/quantumlib/Cirq/pull/4165/files#r646844399.
Discussed on Cirq Cynque on June 9th 2021:
How to reproduce the issue
print(type(cirq.X), type(cirq.X**1)) # Prints: # <class 'cirq.ops.pauli_gates._PauliX'> <class 'cirq.ops.common_gates.XPowGate'>
The text was updated successfully, but these errors were encountered:
Fix quantumlib#4328
213668c
Make (cirq.X, cirq.Y, cirq.Z)**1 returned type as _Pauli{X,Y,Z} inste…
b92f379
…ad of {X,Y,Z}PowGate (#4330) Fix #4328
Remove TODO markers for fixed issues (#5871)
a4942d3
Clean up TODO-s for fixed issues #4328 and #4532
1cc8039
…ad of {X,Y,Z}PowGate (quantumlib#4330) Fix quantumlib#4328
Remove TODO markers for fixed issues (quantumlib#5871)
03d1a44
Clean up TODO-s for fixed issues quantumlib#4328 and quantumlib#4532
Successfully merging a pull request may close this issue.
Description of the issue
As @ybc1991 pointed out - the type of
cirq.X**1
should be_PauliX
instead ofXPowGate
. Context: https://github.com/quantumlib/Cirq/pull/4165/files#r646844399.Discussed on Cirq Cynque on June 9th 2021:
How to reproduce the issue
The text was updated successfully, but these errors were encountered: