pub struct StabilizerMeasurement {
pub x: u32,
pub y: u32,
pub round: u32,
pub value: bool,
}Expand description
A single stabilizer measurement from the surface code lattice.
Fields§
§x: u32X coordinate on the surface code lattice.
y: u32Y coordinate on the surface code lattice.
round: u32Syndrome extraction round index.
value: boolMeasurement outcome (true = eigenvalue -1 = defect detected).
Trait Implementations§
Source§impl Clone for StabilizerMeasurement
impl Clone for StabilizerMeasurement
Source§fn clone(&self) -> StabilizerMeasurement
fn clone(&self) -> StabilizerMeasurement
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 StabilizerMeasurement
impl Debug for StabilizerMeasurement
Source§impl PartialEq for StabilizerMeasurement
impl PartialEq for StabilizerMeasurement
impl StructuralPartialEq for StabilizerMeasurement
Auto Trait Implementations§
impl Freeze for StabilizerMeasurement
impl RefUnwindSafe for StabilizerMeasurement
impl Send for StabilizerMeasurement
impl Sync for StabilizerMeasurement
impl Unpin for StabilizerMeasurement
impl UnsafeUnpin for StabilizerMeasurement
impl UnwindSafe for StabilizerMeasurement
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