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
Consider trying to create the following Pauli on 100 qubits: Z0 or in product form IIIII...IIIIZ with 99 I's. If you do the following
Z0
IIIII...IIIIZ
I
Pauli("Z0")
you will get simply Z0 on one qubit. Instead, add the optional parameter num_qubits and do the following:
Pauli("Z_0", num_qubits = 100)
or
Pauli("Z", num_qubits = 100)
For Z_5 on 8 qubits the the code
Z_5
Pauli("Z5", num_qubits = 8)
should produce the Pauli "IIZIIIII"
"IIZIIIII"
Note that you can do this in a Hack way by first creating
PauliList(["IIIIIIII", "Z5"])
and then extracting the Pauli of interest.
We should also add this functionality to PauliList.
PauliList
The text was updated successfully, but these errors were encountered:
Hey @dsvandet i would like to work on it
Sorry, something went wrong.
If you're still interested, that's great. Please feel free to let us know if you have any questions!
No branches or pull requests
Consider trying to create the following Pauli on 100 qubits:
Z0
or in product formIIIII...IIIIZ
with 99I
's. If you do the followingyou will get simply
Z0
on one qubit. Instead, add the optional parameter num_qubits and do the following:or
For
Z_5
on 8 qubits the the codeshould produce the Pauli
"IIZIIIII"
Note that you can do this in a Hack way by first creating
and then extracting the Pauli of interest.
We should also add this functionality to
PauliList
.The text was updated successfully, but these errors were encountered: