pub struct AdvancedQuantumAnalyzer<F> { /* private fields */ }Expand description
Advanced-advanced quantum-inspired statistical analyzer
Implementations§
Source§impl<F> AdvancedQuantumAnalyzer<F>
impl<F> AdvancedQuantumAnalyzer<F>
Sourcepub fn new(config: QuantumConfig<F>) -> Self
pub fn new(config: QuantumConfig<F>) -> Self
Create new quantum-inspired statistical analyzer
Sourcepub fn analyze_quantum(
&mut self,
data: &ArrayView2<'_, F>,
) -> StatsResult<QuantumResults<F>>
pub fn analyze_quantum( &mut self, data: &ArrayView2<'_, F>, ) -> StatsResult<QuantumResults<F>>
Comprehensive quantum-inspired statistical analysis
Sourcepub fn quantum_kernel(
&self,
x1: &ArrayView1<'_, F>,
x2: &ArrayView1<'_, F>,
kernel_type: QuantumKernelType,
) -> StatsResult<F>
pub fn quantum_kernel( &self, x1: &ArrayView1<'_, F>, x2: &ArrayView1<'_, F>, kernel_type: QuantumKernelType, ) -> StatsResult<F>
Evaluate quantum kernel between two data points
Sourcepub fn quantum_annealing(
&mut self,
objective_function: &dyn Fn(&ArrayView1<'_, F>) -> F,
initial_state: &ArrayView1<'_, F>,
) -> StatsResult<Array1<F>>
pub fn quantum_annealing( &mut self, objective_function: &dyn Fn(&ArrayView1<'_, F>) -> F, initial_state: &ArrayView1<'_, F>, ) -> StatsResult<Array1<F>>
Simulate quantum annealing for optimization
Source§impl<F> AdvancedQuantumAnalyzer<F>where
F: Float + NumCast + SimdUnifiedOps + One + Zero + PartialOrd + Copy + Send + Sync + Display + Sum<F> + ScalarOperand,
Advanced-advanced quantum-inspired methods extension
impl<F> AdvancedQuantumAnalyzer<F>where
F: Float + NumCast + SimdUnifiedOps + One + Zero + PartialOrd + Copy + Send + Sync + Display + Sum<F> + ScalarOperand,
Advanced-advanced quantum-inspired methods extension
Sourcepub fn quantum_monte_carlo_integration(
&mut self,
function: impl Fn(&[F]) -> F + Sync,
bounds: &[(F, F)],
num_samples: usize,
) -> StatsResult<QuantumMonteCarloResult<F>>
pub fn quantum_monte_carlo_integration( &mut self, function: impl Fn(&[F]) -> F + Sync, bounds: &[(F, F)], num_samples: usize, ) -> StatsResult<QuantumMonteCarloResult<F>>
Quantum-inspired Monte Carlo with variance reduction
Sourcepub fn quantum_variational_inference(
&mut self,
data: &ArrayView2<'_, F>,
num_latent_variables: usize,
) -> StatsResult<QuantumVariationalResult<F>>
pub fn quantum_variational_inference( &mut self, data: &ArrayView2<'_, F>, num_latent_variables: usize, ) -> StatsResult<QuantumVariationalResult<F>>
Quantum-inspired variational inference
Sourcepub fn quantum_ensemble_learning(
&mut self,
data: &ArrayView2<'_, F>,
labels: &ArrayView1<'_, F>,
num_quantum_models: usize,
) -> StatsResult<QuantumEnsembleResult<F>>
pub fn quantum_ensemble_learning( &mut self, data: &ArrayView2<'_, F>, labels: &ArrayView1<'_, F>, num_quantum_models: usize, ) -> StatsResult<QuantumEnsembleResult<F>>
Quantum-inspired ensemble learning
Sourcepub fn get_performance_metrics(&self) -> &QuantumPerformanceMetrics
pub fn get_performance_metrics(&self) -> &QuantumPerformanceMetrics
Get performance metrics
Sourcepub fn update_config(&mut self, config: QuantumConfig<F>)
pub fn update_config(&mut self, config: QuantumConfig<F>)
Update quantum configuration
Source§impl<F: Float + NumCast + Display> AdvancedQuantumAnalyzer<F>
impl<F: Float + NumCast + Display> AdvancedQuantumAnalyzer<F>
Sourcepub fn quantum_teleportation_transfer(
&mut self,
sourcedata: &ArrayView2<'_, F>,
_target_encoding: QuantumFeatureEncoding,
) -> StatsResult<Array2<F>>
pub fn quantum_teleportation_transfer( &mut self, sourcedata: &ArrayView2<'_, F>, _target_encoding: QuantumFeatureEncoding, ) -> StatsResult<Array2<F>>
Advanced quantum teleportation-based data transfer
Sourcepub fn quantum_entanglement_correlation(
&mut self,
data: &ArrayView2<'_, F>,
) -> StatsResult<Array2<F>>
pub fn quantum_entanglement_correlation( &mut self, data: &ArrayView2<'_, F>, ) -> StatsResult<Array2<F>>
Quantum entanglement-based correlation analysis
Sourcepub fn quantum_error_correction(
&mut self,
noisy_results: &ArrayView1<'_, F>,
syndrome_measurements: &ArrayView1<'_, F>,
) -> StatsResult<Array1<F>>
pub fn quantum_error_correction( &mut self, noisy_results: &ArrayView1<'_, F>, syndrome_measurements: &ArrayView1<'_, F>, ) -> StatsResult<Array1<F>>
Quantum error correction for statistical computations
Auto Trait Implementations§
impl<F> Freeze for AdvancedQuantumAnalyzer<F>where
F: Freeze,
impl<F> RefUnwindSafe for AdvancedQuantumAnalyzer<F>where
F: RefUnwindSafe,
impl<F> Send for AdvancedQuantumAnalyzer<F>where
F: Send,
impl<F> Sync for AdvancedQuantumAnalyzer<F>where
F: Sync,
impl<F> Unpin for AdvancedQuantumAnalyzer<F>where
F: Unpin,
impl<F> UnwindSafe for AdvancedQuantumAnalyzer<F>where
F: UnwindSafe + RefUnwindSafe,
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> 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<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.