deltakit.circuit.PauliProduct#
- class deltakit.circuit.PauliProduct(pauli_gates: PauliX[T] | PauliY[T] | PauliZ[T] | Iterable[PauliX[T] | PauliY[T] | PauliZ[T]])#
Bases:
MeasurementPauliProduct[T]A collection of Pauli gates which together make up a Pauli product. This is required for the correlated errors.
- Parameters:
pauli_gates (_PauliGate | Iterable[_PauliGate]) – Single Pauli gate or iterable of Pauli gates which are in this product. This must use the Pauli gates defined in this module and not those defined in the gates package.
Examples
>>> PauliProduct(PauliX(Qubit(0))) [PauliX(Qubit(0))] >>> PauliProduct(PauliX(i) for i in range(3)) [PauliX(Qubit(0)), PauliX(Qubit(1)), PauliX(Qubit(2))]
Methods#
Return all stim targets which specify this Pauli product. |
|
Transform this noise channel's qubits according to the id mapping. |