qilisdk.noise.depolarizing
Classes
Single-qubit depolarizing noise channel. |
Module Contents
- class Depolarizing(*, probability: float)[font]
Bases:
qilisdk.noise.pauli_channel.PauliChannelSingle-qubit depolarizing noise channel.
This channel mixes the state with the maximally mixed state by configuring pX = pY = pZ = p / 3, which implies pI = 1 - p.
- Paràmetres:
probability (
float) – Depolarizing probability in the range [0, 1].- Llença:
ValueError – If probability is outside [0, 1].
- property probability: float[font]
Return the depolarizing probability.
- Retorna:
The depolarizing probability.
- Tipus de retorn:
float