qilisdk.noise.bit_flip
Classes
Single-qubit Pauli channel configured with a Z-axis error. |
Module Contents
- class BitFlip(*, probability: float)[fuente]
Bases:
qilisdk.noise.pauli_channel.PauliChannel,qilisdk.noise.protocols.SupportsStaticKrausSingle-qubit Pauli channel configured with a Z-axis error.
Applies a Z error with the given probability and the identity otherwise.
- Parámetros:
probability (
float) – Probability of applying the Pauli-Z error.- Muestra:
ValueError – If probability is outside [0, 1].
- property probability: float[fuente]
Return the probability of applying the Pauli-Z error.
- Devuelve:
The error probability.
- Tipo del valor devuelto:
float