pub struct QuantumReservoirConfig {Show 19 fields
pub num_qubits: usize,
pub architecture: QuantumReservoirArchitecture,
pub dynamics: ReservoirDynamics,
pub input_encoding: InputEncoding,
pub output_measurement: OutputMeasurement,
pub learning_config: AdvancedLearningConfig,
pub time_series_config: TimeSeriesConfig,
pub memory_config: MemoryAnalysisConfig,
pub time_step: f64,
pub evolution_steps: usize,
pub coupling_strength: f64,
pub noise_level: f64,
pub memory_capacity: usize,
pub adaptive_learning: bool,
pub learning_rate: f64,
pub washout_period: usize,
pub random_seed: Option<u64>,
pub enable_qec: bool,
pub precision: f64,
}Expand description
Enhanced quantum reservoir computing configuration
Fields§
§num_qubits: usizeNumber of qubits in the reservoir
architecture: QuantumReservoirArchitectureReservoir architecture type
dynamics: ReservoirDynamicsDynamics evolution type
input_encoding: InputEncodingInput encoding method
output_measurement: OutputMeasurementOutput measurement strategy
learning_config: AdvancedLearningConfigAdvanced learning algorithm configuration
time_series_config: TimeSeriesConfigTime series modeling configuration
memory_config: MemoryAnalysisConfigMemory analysis configuration
time_step: f64Time step for evolution
evolution_steps: usizeNumber of evolution steps per input
coupling_strength: f64Reservoir coupling strength
noise_level: f64Noise level (for NISQ dynamics)
memory_capacity: usizeMemory capacity (time steps to remember)
adaptive_learning: boolEnable real-time adaptation
learning_rate: f64Learning rate for adaptation
washout_period: usizeWashout period (initial time steps to ignore)
random_seed: Option<u64>Random seed for reproducibility
enable_qec: boolEnable quantum error correction
precision: f64Precision for calculations
Trait Implementations§
Source§impl Clone for QuantumReservoirConfig
impl Clone for QuantumReservoirConfig
Source§fn clone(&self) -> QuantumReservoirConfig
fn clone(&self) -> QuantumReservoirConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuantumReservoirConfig
impl Debug for QuantumReservoirConfig
Source§impl Default for QuantumReservoirConfig
impl Default for QuantumReservoirConfig
Source§impl<'de> Deserialize<'de> for QuantumReservoirConfig
impl<'de> Deserialize<'de> for QuantumReservoirConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QuantumReservoirConfig
impl RefUnwindSafe for QuantumReservoirConfig
impl Send for QuantumReservoirConfig
impl Sync for QuantumReservoirConfig
impl Unpin for QuantumReservoirConfig
impl UnwindSafe for QuantumReservoirConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.