pub enum QuantumContextRange {
EmpiricalGroundTruth,
TheoreticalHypothesis(u16),
EpistemicEscrow,
FictionalConstruct(u16),
QuantumEigenstate(u32),
}Expand description
Five-band quantum context range (§2.1)
Variants§
EmpiricalGroundTruth
Empirical Ground Truth (q == 0)
TheoreticalHypothesis(u16)
Theoretical Hypothesis (q in 1..=998, branch ID)
EpistemicEscrow
Epistemic Escrow (q == 999, isolated quarantine / unverified LLM output)
FictionalConstruct(u16)
Fictional Construct (q in 1000..=65535, universe / world ID)
QuantumEigenstate(u32)
Quantum Eigenstate (q >= 65536, packed (n, l, m) or Fock state ID)
Implementations§
Source§impl QuantumContextRange
impl QuantumContextRange
Sourcepub fn from_q_value(q: f32) -> Self
pub fn from_q_value(q: f32) -> Self
Builds QuantumContextRange from continuous q value.
Sourcepub fn to_q_value(&self) -> f32
pub fn to_q_value(&self) -> f32
Converts to canonical continuous q value.
Sourcepub fn pack_hydrogenic_nlm(n: u8, l: u8, m: i8) -> Self
pub fn pack_hydrogenic_nlm(n: u8, l: u8, m: i8) -> Self
Pack hydrogenic quantum numbers (n, l, m) into QuantumEigenstate.
Principal quantum number n >= 1 (bits 16..23).
Orbital angular momentum 0 <= l < n (bits 8..15).
Magnetic quantum number -l <= m <= l (bits 0..7 as two’s-complement i8).
With n >= 1, the packed value is naturally >= 65536.
Trait Implementations§
Source§impl Clone for QuantumContextRange
impl Clone for QuantumContextRange
impl Copy for QuantumContextRange
Source§impl Debug for QuantumContextRange
impl Debug for QuantumContextRange
Source§impl Default for QuantumContextRange
impl Default for QuantumContextRange
Source§impl<'de> Deserialize<'de> for QuantumContextRange
impl<'de> Deserialize<'de> for QuantumContextRange
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
impl Eq for QuantumContextRange
Source§impl PartialEq for QuantumContextRange
impl PartialEq for QuantumContextRange
Source§impl Serialize for QuantumContextRange
impl Serialize for QuantumContextRange
impl StructuralPartialEq for QuantumContextRange
Auto Trait Implementations§
impl Freeze for QuantumContextRange
impl RefUnwindSafe for QuantumContextRange
impl Send for QuantumContextRange
impl Sync for QuantumContextRange
impl Unpin for QuantumContextRange
impl UnsafeUnpin for QuantumContextRange
impl UnwindSafe for QuantumContextRange
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.