qilisdk.noise.dephasing
Classes
Pure dephasing (Tphi) noise model for single qubits. |
Module Contents
- class Dephasing(*, t_phi: float)[source]
Bases:
qilisdk.noise.noise.Noise,qilisdk.noise.protocols.SupportsTimeDerivedKraus,qilisdk.noise.protocols.SupportsStaticLindblad,qilisdk.noise.protocols.HasAllowedScopesPure dephasing (Tphi) noise model for single qubits.
This model supports both Lindblad and time-derived Kraus forms, with coherences decaying as exp(-t / Tphi).
- Parameters:
t_phi (
float) – Dephasing time constant (must be > 0).- Raises:
ValueError – If t_phi is not positive.
- property t_phi: float[source]
Return the dephasing time constant.
- Returns:
The t_phi value.
- as_lindblad() qilisdk.noise.representations.LindbladGenerator[source]
Return the Lindblad generator for this noise.
- Returns:
The Lindblad generator representation.
- as_kraus_from_duration(*, duration: float) qilisdk.noise.representations.KrausChannel[source]
Return a Kraus channel derived for a specific duration.
- Parameters:
duration (
float) – Duration over which the noise acts.- Returns:
The Kraus channel for the given duration.
- classmethod allowed_scopes() frozenset[qilisdk.noise.protocols.AttachmentScope][source]
Return the attachment scopes supported by this noise type.
- Returns:
The set of scopes where this noise can be attached.