# cirq.PAULI_STRING_LIKE¶

cirq.PAULI_STRING_LIKE = typing.Union[complex, _ForwardRef('cirq.OP_TREE'), typing.Iterable]

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 recrusively multiplied into a single
Pauli string.