pub struct Syndrome {
pub bits: Vec<bool>,
}Expand description
The measured syndrome: one bit per stabilizer (true = defect / fired).
Fields§
§bits: Vec<bool>Indexed by stabilizer index (matching SurfaceCode::stabilizers).
Implementations§
Trait Implementations§
impl Eq for Syndrome
impl StructuralPartialEq for Syndrome
Auto Trait Implementations§
impl Freeze for Syndrome
impl RefUnwindSafe for Syndrome
impl Send for Syndrome
impl Sync for Syndrome
impl Unpin for Syndrome
impl UnsafeUnpin for Syndrome
impl UnwindSafe for Syndrome
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