pub struct Stabilizer {
pub kind: StabKind,
pub support: Vec<usize>,
}Expand description
A single stabilizer generator: its species and the data qubits it acts on.
Fields§
§kind: StabKindX- or Z-type.
support: Vec<usize>Indices (r·d + c) of the data qubits in the plaquette support.
Trait Implementations§
Source§impl Clone for Stabilizer
impl Clone for Stabilizer
Auto Trait Implementations§
impl Freeze for Stabilizer
impl RefUnwindSafe for Stabilizer
impl Send for Stabilizer
impl Sync for Stabilizer
impl Unpin for Stabilizer
impl UnsafeUnpin for Stabilizer
impl UnwindSafe for Stabilizer
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