Module: cirq.protocols.pauli_expansion_protocol

Protocol for obtaining expansion of linear operators in Pauli basis.

Classes

class SupportsPauliExpansion: An object that knows its expansion in the Pauli basis.

Functions

pauli_expansion(...): Returns coefficients of the expansion of val in the Pauli basis.

RaiseTypeErrorIfNotProvided Instance of cirq.value.LinearDict
TDefault Instance of typing.TypeVar