![]() |
Tableau representation of a stabilizer state
cirq.sim.CliffordTableau(
num_qubits,
initial_state: int = 0
)
(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 state vector with eigenvalue one: P|psi> = |psi>.
Args | |
---|---|
num_qubits
|
The number of qubits in the system. |
initial_state
|
The computational basis representation of the state as a big endian int. |
Methods
copy
copy() -> "CliffordTableau"
destabilizers
destabilizers() -> List[cirq.ops.DensePauliString
]
Returns the destabilizer generators of the state. These are n operators {S_1,S_2,...,S_n} such that along with the stabilizer generators above generate the full Pauli group on n qubits.
stabilizers
stabilizers() -> List[cirq.ops.DensePauliString
]
Returns the stabilizer generators of the state. These are n operators {S_1,S_2,...,S_n} such that S_i |psi> = |psi>
__eq__
__eq__(
other
)
Return self==value.