pauli_tracker.pauli.PauliTuple
- class pauli_tracker.pauli.PauliTuple
Bases:
object
- __init__(z=False, x=False)
Create a new PauliTuple from a tableau encoding.
- Parameters:
z (bool) – The Z component
x (bool) – The X component
- Return type:
Methods
__init__
([z, x])Create a new PauliTuple from a tableau encoding.
Get the according Python tuple.
tableau_encoding
()- into_py_tuple()
Get the according Python tuple.
- Return type:
tuple[bool, bool]