Skip to content
Back to skills

Pymatching Decoder

ASecurity

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

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill pymatching-decoder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pymatching Decoder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pymatching Decoder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-pymatching-decoder-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-pymatching-decoder-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pymatching-decoder
description: Minimum-weight perfect matching decoder skill for surface code error correction
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  specialization: quantum-computing
  domain: science
  category: error-management
  phase: 6
graph:
  domains: [domain:quantum-computing]
  specializations: [specialization:quantum-computing]
  skillAreas: [skill-area:graph-algorithms, skill-area:mathematical-reasoning, skill-area:np-hard-heuristics]
  workflows: [workflow:experiment-design]
  roles: [role:research-engineer, role:computational-scientist]
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.