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
Description of the issue
If you create a PauliString
p = cirq.PauliString({q2: cirq.Z, q1: cirq.Y, q0: cirq.X})
and round trip it via its repr, the qubit order does not match.
eval(repr(p)).qubits == p.qubits >>> False
PauliString having ordered qubits was introduced in #4270
The text was updated successfully, but these errors were encountered:
#5565 will fix this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description of the issue
If you create a PauliString
and round trip it via its repr, the qubit order does not match.
PauliString having ordered qubits was introduced in #4270
The text was updated successfully, but these errors were encountered: