pub struct State {
pub psi: Vec<Complex64>,
pub z: Vec<f64>,
pub g: Graph,
pub t: u64,
pub prev_res: f64,
pub energy_0: f64,
}Expand description
Full Aria state — the discrete Spec variables.
Observable core: ⟨ψ, z, G, t⟩. prev_res is auxiliary history for Inv2 only (TLA prevRes).
Fields§
§psi: Vec<Complex64>Optical field amplitudes ψ ∈ C^N — 𝔸1
z: Vec<f64>JEPA latent z ∈ Z — 𝔸2
g: GraphExperience/thought graph G — 𝔸3
t: u64Discrete step counter t ∈ N
prev_res: f64Auxiliary: previous residual for Inv2
energy_0: f64Initial field energy ‖ψ₀‖₂ — cached for Inv1
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
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 State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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