qilisdk.noise.readout_assignment
Classes
Classical readout assignment error model for measurement outcomes. |
Module Contents
- class ReadoutAssignment(*, p01: float, p10: float)[font]
Bases:
qilisdk.noise.noise.Noise,qilisdk.noise.protocols.HasAllowedScopesClassical readout assignment error model for measurement outcomes.
- Paràmetres:
- Llença:
ValueError – If any probability is outside [0, 1].
- property p01: float[font]
Return the probability of reporting «1» for a |0> state.
- Retorna:
The p01 probability.
- property p10: float[font]
Return the probability of reporting «0» for a |1> state.
- Retorna:
The p10 probability.
- classmethod allowed_scopes() frozenset[qilisdk.noise.protocols.AttachmentScope][font]
Return the attachment scopes supported by this perturbation type.
- Retorna:
The set of scopes where this perturbation can be attached.