Observable terms (qiskit_addon_cutting.utils.observable_terms
)¶
Utilities for working with the unique terms of a collection of SparsePauliOp
s.
- gather_unique_observable_terms(observables)[source]¶
Inspect the contents of each observable to find and return the unique Pauli terms.
- Return type:
PauliList
- Parameters:
observables (Sequence[Pauli | SparsePauliOp] | PauliList)