Skip to main content

Module error_correction

Module error_correction 

Source
Expand description

Quantum error correction codes and decoders

This module provides comprehensive quantum error correction functionality including:

  • Pauli operators and strings
  • Stabilizer codes (repetition, 5-qubit, Steane)
  • Surface codes and topological codes
  • Syndrome decoders (lookup table, MWPM, ML)
  • Color codes and concatenated codes
  • LDPC and hypergraph product codes
  • Real-time error correction
  • Logical gate synthesis
  • Adaptive threshold estimation

Modules§

lookup
Lookup table decoder for stabilizer codes.
min_matching
Minimum-weight perfect matching via bitmask dynamic programming.
mwpm
MWPM (Minimum-Weight Perfect Matching) decoder for the rotated surface code.
real_time
Real-time error correction with hardware integration
union_find
Union-Find decoder for the rotated surface code.

Structs§

AdaptiveConfig
Configuration for adaptive threshold estimation
AdaptiveThresholdEstimator
Adaptive threshold estimator for error correction
ColorCode
Color code
ConcatenatedCode
Concatenated quantum error correction codes
EnvironmentSensitivity
Sensitivity to environmental factors
EnvironmentalConditions
Environmental conditions affecting error rates
ErrorObservation
Observation of an error and correction attempt
ErrorPropagationAnalysis
Analysis of how errors propagate through logical gates
ErrorPropagationPath
Path of error propagation through a logical gate
HypergraphProductCode
Hypergraph product codes for quantum LDPC
LogicalCircuitResources
Resource requirements for a logical circuit
LogicalCircuitSynthesizer
Logical circuit synthesis for fault-tolerant quantum computing
LogicalGateOp
Logical gate operation that can be applied to encoded quantum states
LogicalGateSynthesizer
Logical gate synthesis engine
LookupDecoder
Lookup table decoder.
MLDecoder
Machine learning decoder for quantum error correction
MWPMDecoder
Minimum Weight Perfect Matching decoder for surface codes (legacy).
MwpmSurfaceDecoder
MWPM decoder for the rotated planar surface code.
NoiseModel
Noise model for quantum errors
PauliFrame
Classical Pauli frame tracker for fault-tolerant circuits.
PauliString
Multi-qubit Pauli operator
PerformanceTracker
Performance tracking for adaptive threshold
PhysicalGateSequence
Sequence of physical gates that implement part of a logical gate
QuantumLDPCCode
Quantum Low-Density Parity-Check (LDPC) codes
RotatedSurfaceCode
A rotated planar surface code of distance d.
StabilizerCode
Stabilizer code definition
SurfaceCode
Surface code lattice
ThresholdRecommendation
Threshold recommendation result
TimingConstraints
Timing constraints for fault-tolerant gate implementation
ToricCode
Toric code (generalization of surface code on torus)
UnionFindDecoder
Union-Find decoder for the rotated planar surface code.

Enums§

Color
Color enumeration for face coloring
MLModelType
Machine learning model types
OptimizationPass
Optimization pass for logical circuits
Pauli
Pauli operator representation
SynthesisStrategy
Strategy for synthesizing logical gates
ThresholdEstimationAlgorithm
Algorithm for threshold estimation

Traits§

SyndromeDecoder
Trait for syndrome decoders

Functions§

min_weight_perfect_matching
Compute a minimum-weight perfect matching on n labeled vertices using bitmask DP.