pub enum VerificationPolicy {
ExactCliffordCheck,
DownscaledStateVector(u32),
StatisticalSampling(u32),
None,
}Expand description
Policy for verifying simulation results.
Higher-confidence plans may skip verification entirely, while lower confidence triggers cross-checks against a different backend or sampling.
Variants§
ExactCliffordCheck
Pure Clifford circuit: verify by running the stabilizer backend and comparing results exactly.
DownscaledStateVector(u32)
Run a reduced-qubit version of the circuit on state-vector for a spot
check. The u32 is the number of qubits in the downscaled version.
StatisticalSampling(u32)
Compare a subset of observables between backends. The u32 is the
number of observables to sample.
None
No verification needed (high confidence in the result).
Trait Implementations§
Source§impl Clone for VerificationPolicy
impl Clone for VerificationPolicy
Source§fn clone(&self) -> VerificationPolicy
fn clone(&self) -> VerificationPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 VerificationPolicy
impl Debug for VerificationPolicy
Source§impl PartialEq for VerificationPolicy
impl PartialEq for VerificationPolicy
impl StructuralPartialEq for VerificationPolicy
Auto Trait Implementations§
impl Freeze for VerificationPolicy
impl RefUnwindSafe for VerificationPolicy
impl Send for VerificationPolicy
impl Sync for VerificationPolicy
impl Unpin for VerificationPolicy
impl UnsafeUnpin for VerificationPolicy
impl UnwindSafe for VerificationPolicy
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