pub struct LayerwiseResult {
pub params: Vec<f32>,
pub energy: f32,
pub stage_energies: Vec<f32>,
}Expand description
Result of a layer-wise warm-start training run.
Fields§
§params: Vec<f32>Final optimized parameters for the full target-depth ansatz.
energy: f32Final energy ⟨ψ(params)|H|ψ(params)⟩.
stage_energies: Vec<f32>Energy after each depth stage, energies[d] = energy at depth d.
Trait Implementations§
Source§impl Clone for LayerwiseResult
impl Clone for LayerwiseResult
Auto Trait Implementations§
impl Freeze for LayerwiseResult
impl RefUnwindSafe for LayerwiseResult
impl Send for LayerwiseResult
impl Sync for LayerwiseResult
impl Unpin for LayerwiseResult
impl UnsafeUnpin for LayerwiseResult
impl UnwindSafe for LayerwiseResult
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