cirq.Pauli

class cirq.Pauli(*, _index: int, _name: str)[source]

Represents the X, Y, or Z axis of the Bloch sphere.

__init__(*, _index: int, _name: str) → None[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

commutes_with(other)
difference(second)
third(second)

Attributes

X
XYZ
Y
Z