pub struct SlidingWindowDecoder { /* private fields */ }Expand description
Streaming decoder for multi-round syndrome data.
Maintains a sliding window of w rounds and decodes each window
independently, stitching corrections via causal boundary conditions.
Per-round cost is O(w d^2) instead of O(T d^2) for T total rounds.
Implementations§
Trait Implementations§
Source§impl SurfaceCodeDecoder for SlidingWindowDecoder
impl SurfaceCodeDecoder for SlidingWindowDecoder
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 SlidingWindowDecoder
impl RefUnwindSafe for SlidingWindowDecoder
impl Send for SlidingWindowDecoder
impl Sync for SlidingWindowDecoder
impl Unpin for SlidingWindowDecoder
impl UnsafeUnpin for SlidingWindowDecoder
impl UnwindSafe for SlidingWindowDecoder
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