cirq.PauliString¶
-
class
cirq.PauliString(qubit_pauli_map: Mapping[cirq.ops.raw_types.QubitId, cirq.ops.pauli.Pauli], negated: bool = False)[source]¶ -
__init__(qubit_pauli_map: Mapping[cirq.ops.raw_types.QubitId, cirq.ops.pauli.Pauli], negated: bool = False) → None[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
commutes_with(other)equal_up_to_sign(other)from_single(qubit, pauli)Creates a PauliString with a single qubit. get(key[, default])items()keys()map_qubits(qubit_map, …)negate()pass_operations_over(ops, after_to_before)Determines how the Pauli string changes when conjugated by Cliffords. qubits()to_z_basis_ops()Returns operations to convert the qubits to the computational basis. values()zip_items(other)zip_paulis(other)-