pub struct VerifyReport {
pub shots: usize,
pub discarded: usize,
pub detectors: Vec<DetectorReport>,
pub observables: Vec<ObservableReport>,
pub max_rank: usize,
pub frame_pairs: Vec<FramePairReport>,
pub branch_selectors: Vec<bool>,
}Expand description
The outcome of a verification batch.
Fields§
§shots: usizeNumber of shots run.
discarded: usizeNumber of shots rejected by a Discard node (excluded from the detector
and observable statistics).
detectors: Vec<DetectorReport>One entry per input detector, in order.
observables: Vec<ObservableReport>One entry per input observable, in order.
max_rank: usizeThe largest stabilizer rank reached in any shot, sampled once per
replayed instruction, so an Op carrying
several T targets does not hide the intermediate ranks it passed
through.
frame_pairs: Vec<FramePairReport>Terminal Pauli-frame signs per output — the correction channel for raw observables.
branch_selectors: Vec<bool>Every stamped selector outcome across the run, in evaluation order. Lets a caller confirm feedforward exercised both arms across seeds.
Implementations§
Source§impl VerifyReport
impl VerifyReport
Sourcepub fn all_detectors_constant(&self) -> bool
pub fn all_detectors_constant(&self) -> bool
Whether every detector was constant across shots (the pass condition).
Trait Implementations§
Source§impl Clone for VerifyReport
impl Clone for VerifyReport
Source§fn clone(&self) -> VerifyReport
fn clone(&self) -> VerifyReport
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 VerifyReport
impl Debug for VerifyReport
impl Eq for VerifyReport
Source§impl PartialEq for VerifyReport
impl PartialEq for VerifyReport
impl StructuralPartialEq for VerifyReport
Auto Trait Implementations§
impl Freeze for VerifyReport
impl RefUnwindSafe for VerifyReport
impl Send for VerifyReport
impl Sync for VerifyReport
impl Unpin for VerifyReport
impl UnsafeUnpin for VerifyReport
impl UnwindSafe for VerifyReport
Blanket Implementations§
§impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
fn assign_index(&mut self, index: usize, to: bool)
fn negate_index(&mut self, index: usize)
fn clear_bits(&mut self)
fn assign_random(
&mut self,
bit_count: usize,
random_number_generator: &mut impl RngExt,
)where
BorrowedSelf: BitLength,
§impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
fn assign(&mut self, other: &Other)
fn bitxor_assign(&mut self, other: &Other)
fn bitand_assign(&mut self, other: &Other)
fn bitor_assign(&mut self, other: &Other)
§impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
§impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
fn index(&self, index: usize) -> bool
fn weight(&self) -> usize
fn parity(&self) -> bool
fn is_zero(&self) -> bool
fn is_unit(&self, index: usize) -> bool
fn support<'a>(&'a self) -> impl SortedIteratorwhere
BorrowedSelf: 'a,
fn max_support(&self) -> Option<usize>
fn min_support(&self) -> Option<usize>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.