bloqade.qasm2.noise.pauli_channel
← Module overview
function
source
functionpauli_channel¶source
bloqade.qasm2.noise.pauli_channel
Signature
def pauli_channel(qargs: ilist.IList[Qubit, Any] | list, *, px: float, py: float, pz: float) -> NoneApply a Pauli channel to a list of qubits.
Parameters
| Name | Type | Description |
|---|---|---|
qargs | ilist.IList[Qubit, Any] | list | List of qubits to apply the noise to. |
px | float | Probability of X error. |
py | float | Probability of Y error. |
pz | float | Probability of Z error. |