# PauliTerm.operations_as_set¶

PauliTerm.operations_as_set()[source]

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.

Return type: FrozenSet[Tuple[int, str]] frozenset of (qubit, op_str) representing Pauli operations