quantrs2_ml/quantum_self_supervised_learning/ssloptimizerstate_traits.rs
1//! # SSLOptimizerState - Trait Implementations
2//!
3//! This module contains trait implementations for `SSLOptimizerState`.
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::SSLOptimizerState;
14
15impl Default for SSLOptimizerState {
16 fn default() -> Self {
17 Self {
18 learning_rate: 3e-4,
19 momentum: 0.9,
20 weight_decay: 1e-4,
21 quantum_parameter_lr: 1e-5,
22 entanglement_preservation_weight: 0.1,
23 }
24 }
25}