pub enum ModelSpecification {
Tfim {
fields: Vec<f64>,
},
Heisenberg,
Rydberg {
omega: Vec<f64>,
detuning: Vec<f64>,
},
J1J2 {
geometry: RectangularGeometry,
j1: Vec<f64>,
j2: Vec<f64>,
},
}Expand description
The original typed physical specification retained by a resolved model.
Variants§
Tfim
Inhomogeneous transverse fields for TFIM, in site order.
Heisenberg
Isotropic pair exchange with resolved weighted interactions.
Rydberg
Driven Rydberg fields, in site order.
J1J2
J1 and J2 shell coefficients, in canonical shell order.
Trait Implementations§
Source§impl Clone for ModelSpecification
impl Clone for ModelSpecification
Source§fn clone(&self) -> ModelSpecification
fn clone(&self) -> ModelSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelSpecification
impl Debug for ModelSpecification
Source§impl PartialEq for ModelSpecification
impl PartialEq for ModelSpecification
impl StructuralPartialEq for ModelSpecification
Auto Trait Implementations§
impl Freeze for ModelSpecification
impl RefUnwindSafe for ModelSpecification
impl Send for ModelSpecification
impl Sync for ModelSpecification
impl Unpin for ModelSpecification
impl UnsafeUnpin for ModelSpecification
impl UnwindSafe for ModelSpecification
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