Skip to content

bloqade.qasm2.noise.pauli_channel

← Module overview

functionpauli_channelsource

bloqade.qasm2.noise.pauli_channel

Signature
def pauli_channel(qargs: ilist.IList[Qubit, Any] | list, *, px: float, py: float, pz: float) -> None

Apply a Pauli channel to a list of qubits.

Parameters

NameTypeDescription
qargsilist.IList[Qubit, Any] | listList of qubits to apply the noise to.
pxfloatProbability of X error.
pyfloatProbability of Y error.
pzfloatProbability of Z error.
source