pub struct SyndromeData {
pub stabilizers: Vec<StabilizerMeasurement>,
pub code_distance: u32,
pub num_rounds: u32,
}Expand description
Syndrome data from one or more rounds of stabilizer measurements.
Fields§
§stabilizers: Vec<StabilizerMeasurement>All stabilizer measurement outcomes.
code_distance: u32Code distance of the surface code.
num_rounds: u32Number of syndrome extraction rounds performed.
Trait Implementations§
Source§impl Clone for SyndromeData
impl Clone for SyndromeData
Source§fn clone(&self) -> SyndromeData
fn clone(&self) -> SyndromeData
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 moreAuto Trait Implementations§
impl Freeze for SyndromeData
impl RefUnwindSafe for SyndromeData
impl Send for SyndromeData
impl Sync for SyndromeData
impl Unpin for SyndromeData
impl UnsafeUnpin for SyndromeData
impl UnwindSafe for SyndromeData
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