pub enum LdpcItem {
Column(usize),
Row(usize),
}Expand description
Whether an LDPC item is a column, one check, or a row, one qubit.
Variants§
Column(usize)
A check: its weight is the number of qubits it acts on.
Row(usize)
A qubit: its weight is the number of checks acting on it.
Trait Implementations§
impl Copy for LdpcItem
impl Eq for LdpcItem
impl StructuralPartialEq for LdpcItem
Auto Trait Implementations§
impl Freeze for LdpcItem
impl RefUnwindSafe for LdpcItem
impl Send for LdpcItem
impl Sync for LdpcItem
impl Unpin for LdpcItem
impl UnsafeUnpin for LdpcItem
impl UnwindSafe for LdpcItem
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