Skip to main content

EntanglementValidator

Struct EntanglementValidator 

Source
pub struct EntanglementValidator {
    pub decoherence_time_s: f64,
    /* private fields */
}
Expand description

Entanglement validator for temporal consciousness correlations

Fields§

§decoherence_time_s: f64

Decoherence time for entanglement

Implementations§

Source§

impl EntanglementValidator

Source

pub fn new() -> Self

Create new entanglement validator with default parameters

Source

pub fn with_consciousness_model( qubit_count: usize, decoherence_time_s: f64, ) -> Self

Create validator for specific consciousness model

Source

pub fn entanglement_survival(&self, time_s: f64) -> f64

Calculate entanglement survival probability over time

Source

pub fn calculate_concurrence(&self, time_s: f64) -> f64

Calculate concurrence for two-qubit system

Source

pub fn calculate_entanglement_entropy(&self, time_s: f64) -> f64

Calculate entanglement entropy for multi-qubit system

Source

pub fn calculate_bell_parameter(&self, time_s: f64) -> f64

Calculate Bell inequality parameter (CHSH)

Source

pub fn validate_temporal_correlation( &self, operation_time_s: f64, ) -> QuantumResult<EntanglementResult>

Validate temporal correlation preservation

Source

pub fn set_parameters(&mut self, threshold: f64, decoherence_time_s: f64)

Set entanglement parameters

Source

pub fn analyze_consciousness_time_scales( &self, ) -> ConsciousnessTimeScaleAnalysis

Analyse entanglement viability across the canonical consciousness time scales (neural spike, gamma/theta/alpha/beta/delta waves). Six fixed scales, ordered fastest-to-slowest, each annotated with how directly it touches conscious neural activity.

Source

pub fn model_consciousness_network( &self, network_size: usize, time_s: f64, ) -> ConsciousnessNetwork

Model a small consciousness network of network_size qubits at the given time. Returns pairwise entanglement quality between every node (C(N,2) pairs) plus a single aggregate network_coherence ∈ [0,1].

The model is intentionally simple — all pairs share the same decoherence rate, so network_coherence reduces to the entanglement survival probability. The shape is what callers expect; the absolute values are useful for “is the whole network still coherent?” gates.

Source

pub fn calculate_quantum_fisher_information(&self, time_s: f64) -> f64

Compute the quantum Fisher information (QFI) for a maximally entangled 2-qubit state under exponential dephasing. QFI bounds the precision with which a phase parameter encoded in the state can be estimated; for our model it scales linearly with the squared survival probability and the qubit count.

Returns a strictly positive value (clamped to a small floor so callers can assume qfi > 0 even at long times).

Trait Implementations§

Source§

impl Clone for EntanglementValidator

Source§

fn clone(&self) -> EntanglementValidator

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EntanglementValidator

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EntanglementValidator

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V