pub trait SyndromeDecoder {
// Required method
fn decode(&self, syndrome: &[bool]) -> QuantRS2Result<PauliString>;
}Expand description
Trait for syndrome decoders
Required Methods§
Sourcefn decode(&self, syndrome: &[bool]) -> QuantRS2Result<PauliString>
fn decode(&self, syndrome: &[bool]) -> QuantRS2Result<PauliString>
Decode a syndrome to find the most likely error