cirq.CliffordTableau

class cirq.CliffordTableau(num_qubits, initial_state=0)[source]
Tableau representation of a stabilizer state
(based on Aaronson and Gottesman 2006).
The tableau stores the stabilizer generators of
the state using three binary arrays: xs, zs, and rs.
Each row of the arrays represents a Pauli string, P, that is
an eigenoperator of the wavefunction with eigenvalue one: P|psi> = |psi>.
__init__(num_qubits, initial_state=0)[source]

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

Methods

copy()

destabilizers()

Returns the destabilizer generators of the state. These

stabilizers()

Returns the stabilizer generators of the state. These