pub enum StabKind {
X,
Z,
}Expand description
Stabilizer species of a rotated-surface-code plaquette.
Variants§
X
X-type plaquette (product of X on its support); detects Z errors.
Z
Z-type plaquette (product of Z on its support); detects X errors.
Trait Implementations§
impl Copy for StabKind
impl Eq for StabKind
impl StructuralPartialEq for StabKind
Auto Trait Implementations§
impl Freeze for StabKind
impl RefUnwindSafe for StabKind
impl Send for StabKind
impl Sync for StabKind
impl Unpin for StabKind
impl UnsafeUnpin for StabKind
impl UnwindSafe for StabKind
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