This symbol is a type alias.

A cirq.PauliString or a value that can easily be converted into one.


Complex numbers turn into the coefficient of an empty Pauli string.

Dictionaries from qubit to Pauli operation are wrapped into a Pauli string. Each Pauli operation can be specified as a cirq object (e.g. cirq.X) or as a string (e.g. "X") or as an integer where 0=I, 1=X, 2=Y, 3=Z.

Collections of Pauli operations are recursively multiplied into a single Pauli string.