Skip to content

bloqade.squin.stdlib.broadcast.noise.bit_flip

← Module overview

functionbit_flipsource

bloqade.squin.stdlib.broadcast.noise.bit_flip

def bit_flip(p: float, qubits: ilist.IList[Qubit, Any]) -> None

Apply a bit flip error channel to the qubits in the given list with probability p.

Parameters

NameTypeDescription
pfloatProbability of a bit flip error being applied.
qubitsilist.IList[Qubit, Any]The list of qubits to which the noise channel is applied.
source