pub enum ZneMethod {
Linear,
Richardson,
}Expand description
Which extrapolator to fit to the noise-scaled expectation table.
Variants§
Linear
Least-squares straight line E(λ)=a+bλ, extrapolated to λ=0. Robust to
shot noise, biased when the true decay is curved.
Richardson
Exact polynomial through all points (Lagrange at x=0) — classic
Richardson extrapolation. Unbiased for a polynomial decay, noisier.
Trait Implementations§
impl Copy for ZneMethod
impl Eq for ZneMethod
impl StructuralPartialEq for ZneMethod
Auto Trait Implementations§
impl Freeze for ZneMethod
impl RefUnwindSafe for ZneMethod
impl Send for ZneMethod
impl Sync for ZneMethod
impl Unpin for ZneMethod
impl UnsafeUnpin for ZneMethod
impl UnwindSafe for ZneMethod
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.