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
dict[int, int | str]
dict[str, int | Iterable[int]]
stim.PauliString.__init__
For example
assert stim.PauliString({5: "X", 7: "Y"}) == stim.PauliString("_____X_Y") assert stim.PauliString({"X": 5, "Y": [6, 7]}) == stim.PauliString("_____XYY") with pytest.raises(ValueError, match="qubit specified twice"): stim.PauliString({"X": 0, "Y": 0})
Could also accept stim.GateTarget lists.
stim.GateTarget
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example
Could also accept
stim.GateTarget
lists.The text was updated successfully, but these errors were encountered: