pub enum Engine {
CompiledSampler,
NoisyCompiledSampler,
FrameSampler,
HomologicalSampler,
}Expand description
Sampler behind a result whose ResolvedBackend covers more than one.
ResolvedBackend::CompiledStabilizer is stamped by four samplers: the
noiseless compiled sampler, and three that the noisy shot entry point picks
between at run time on the shot count and the depth ratio. The backend alone
does not say which ran; each variant names the sampler that did.
Variants§
CompiledSampler
CompiledSampler: the noiseless parity map.
NoisyCompiledSampler
NoisyCompiledSampler: the parity map with the flip tables folded in.
FrameSampler
The Pauli frame sampler, which replays a reference record per batch.
HomologicalSampler
HomologicalSampler: syndrome classes precomputed, O(1) per shot.
Trait Implementations§
impl Copy for Engine
impl Eq for Engine
impl StructuralPartialEq for Engine
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more