Quil-T
API Reference
PauliTerm.
operations_as_set
Return a frozenset of operations in this term.
Use this in place of id() if the order of operations in the term does not matter.
id()
FrozenSet[Tuple[Union[int, FormalArgument, QubitPlaceholder], str]]
FrozenSet
Tuple
Union
int
FormalArgument
QubitPlaceholder
str
frozenset of (qubit, op_str) representing Pauli operations