Expand description
Quantum error-correction codes and decoders.
surface_code— distance-drotated surface code (Fowler 2012) with a minimum-weight perfect-matching decoder, in the classical Pauli-frame picture used by surface-code threshold studies.
The simpler 3-qubit repetition codes (bit-flip / phase-flip) live in
crate::algorithm::error_correction.
Re-exports§
pub use surface_code::PauliError;pub use surface_code::StabKind;pub use surface_code::Stabilizer;pub use surface_code::SurfaceCode;pub use surface_code::SurfaceCodeConfig;pub use surface_code::Syndrome;
Modules§
- surface_
code - Rotated surface code with a minimum-weight perfect-matching (MWPM) decoder.