pymatching-decoder

Solid

Minimum-weight perfect matching decoder skill for surface code error correction

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
44
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# PyMatching Decoder ## Purpose Provides expert guidance on minimum-weight perfect matching decoding for surface codes and other topological quantum error correction codes. ## Capabilities - MWPM decoding for surface codes - Weighted edge matching - Detector error model processing - Logical error rate calculation - Integration with Stim simulations - Custom graph construction - Belief propagation integration - Parallelized decoding ## Usage Guidelines 1. **Graph Construction**: Build matching graph from detector error model 2. **Weight Assignment**: Configure edge weights based on error probabilities 3. **Decoding Execution**: Run MWPM algorithm on syndrome data 4. **Error Analysis**: Calculate logical error rates from decoding results 5. **Optimization**: Tune decoder parameters for specific code structures ## Tools/Libraries - PyMatching - NetworkX - Stim - NumPy

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills