#[non_exhaustive]pub struct FloquetSpectrumOptions {
pub eigenpairs: usize,
pub target_quasienergy: f64,
pub search_dimension: Option<usize>,
pub krylov_dimension: Option<usize>,
pub tolerance: f64,
pub max_iterations: usize,
pub seed: u64,
}Expand description
Controls a matrix-free Floquet eigensolve near one target quasienergy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.eigenpairs: usizeNumber of returned Floquet eigenpairs.
target_quasienergy: f64Target quasienergy on the principal branch.
search_dimension: Option<usize>Candidate phase-filter subspace size before projected unitary diagonalization.
krylov_dimension: Option<usize>Optional Lanczos restart window used by the Hermitian phase filter.
tolerance: f64Required Hermitian-filter residual tolerance.
max_iterations: usizeMaximum eigensolver iteration budget.
seed: u64Deterministic initial-vector seed.
Implementations§
Source§impl FloquetSpectrumOptions
impl FloquetSpectrumOptions
Sourcepub fn new(eigenpairs: usize, target_quasienergy: f64) -> Self
pub fn new(eigenpairs: usize, target_quasienergy: f64) -> Self
Construct controls for eigenpairs nearest target_quasienergy.
Sourcepub fn with_search_dimension(self, dimension: usize) -> Self
pub fn with_search_dimension(self, dimension: usize) -> Self
Set the number of phase-filter candidates retained for projected unitary diagonalization.
Sourcepub fn with_krylov_dimension(self, dimension: usize) -> Self
pub fn with_krylov_dimension(self, dimension: usize) -> Self
Set the optional Lanczos/restart window.
Sourcepub fn with_tolerance(self, tolerance: f64) -> Self
pub fn with_tolerance(self, tolerance: f64) -> Self
Set the required phase-filter tolerance.
Sourcepub fn with_max_iterations(self, iterations: usize) -> Self
pub fn with_max_iterations(self, iterations: usize) -> Self
Set the maximum eigensolver iteration budget.
Trait Implementations§
Source§impl Clone for FloquetSpectrumOptions
impl Clone for FloquetSpectrumOptions
Source§fn clone(&self) -> FloquetSpectrumOptions
fn clone(&self) -> FloquetSpectrumOptions
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 FloquetSpectrumOptions
impl Debug for FloquetSpectrumOptions
Source§impl PartialEq for FloquetSpectrumOptions
impl PartialEq for FloquetSpectrumOptions
Source§fn eq(&self, other: &FloquetSpectrumOptions) -> bool
fn eq(&self, other: &FloquetSpectrumOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FloquetSpectrumOptions
Auto Trait Implementations§
impl Freeze for FloquetSpectrumOptions
impl RefUnwindSafe for FloquetSpectrumOptions
impl Send for FloquetSpectrumOptions
impl Sync for FloquetSpectrumOptions
impl Unpin for FloquetSpectrumOptions
impl UnsafeUnpin for FloquetSpectrumOptions
impl UnwindSafe for FloquetSpectrumOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.