deltakit.circuit.noise_channels.Depolarise1#
- class deltakit.circuit.noise_channels.Depolarise1(qubit: Qubit[T] | T, probability: float, *, tag: str | None = None)#
Bases:
OneQubitOneProbabilityNoiseChannel[T]The one-qubit depolarising channel. Applies a randomly chosen Pauli with a given probability.
- Parameters:
qubit (Qubit[T] | T) – The qubit to apply one-qubit depolarising noise to.
probability (float) – A single float specifying the depolarisation strength.
Notes
Pauli Mixture:1-p: Ip/3: Xp/3: Yp/3: Z
Methods#
Determine whether two noise channels are equal within a given tolerance. |
|
Return a classmethod that can be used to create a noise channel with a predetermined probability |
|
Return all the stim targets which specifies this noise channel. |
|
Transform this noise channel's qubits according to the id mapping. |