pub struct RenormalizationDecoder { /* private fields */ }Expand description
Renormalization-group inspired decoder.
At scale k, the syndrome lattice is partitioned into blocks of 2^k x 2^k sites. Error chains fully contained within a block are contracted (decoded locally), and only residual boundary defects propagate to scale k+1. After log_2(d) scales only global-spanning chains remain, which occur with probability exp(-c d).
Implementations§
Trait Implementations§
Source§impl SurfaceCodeDecoder for RenormalizationDecoder
impl SurfaceCodeDecoder for RenormalizationDecoder
Source§fn decode(&self, syndrome: &SyndromeData) -> Correction
fn decode(&self, syndrome: &SyndromeData) -> Correction
Decode a syndrome and return the inferred correction.
Auto Trait Implementations§
impl Freeze for RenormalizationDecoder
impl RefUnwindSafe for RenormalizationDecoder
impl Send for RenormalizationDecoder
impl Sync for RenormalizationDecoder
impl Unpin for RenormalizationDecoder
impl UnsafeUnpin for RenormalizationDecoder
impl UnwindSafe for RenormalizationDecoder
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