quantrs2_ml/quantum_self_supervised_learning/decoherencemodel_traits.rs
1//! # DecoherenceModel - Trait Implementations
2//!
3//! This module contains trait implementations for `DecoherenceModel`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use scirs2_core::random::prelude::*;
12
13use super::types::DecoherenceModel;
14
15impl Default for DecoherenceModel {
16 fn default() -> Self {
17 Self {
18 t1_time: 100.0,
19 t2_time: 50.0,
20 gate_error_rate: 0.001,
21 measurement_error_rate: 0.01,
22 }
23 }
24}