Decoding with fusion blossom

From AndyLiuin/QEC-Autoresearch-Skills · View interactive version

Decoding with fusion blossom is an AI agent skill from the GitHub repository AndyLiuin/QEC-Autoresearch-Skills. Guides exact-MWPM graphlike decoding with fusion-blossom, including erasure-aware matching updates, while keeping clear boundaries with PyMatching and non-graphlike decoder lanes.

How to use this skill

Skill file

Decoding With fusion-blossom

What This Skill Is For

Use this skill when the task is still a matching-graph problem but you want the

fusion-blossom lane specifically:

represented as matching-weight updates,

fusion-blossom as "just another matching decoder",

When To Use It Versus Alternatives

Use this skill when the workload is:

executable baseline.

Prefer CODE0 when

the goal is the repo's current integrated matching lane.

Prefer CODE0 when the

main question is whether the problem should stay in the matching lane at all.

Do not use this skill to flatten hypergraph, color-code-specialized, or

full-circuit heralded-erasure workloads that belong to mwpf, chromobius, or

other richer lanes.

Current Repo Boundary

This repo does not yet ship a fusion-blossom adapter or smoke test.

The correct current use is:

service lane are added.

Required Artifacts And Assumptions

Expected future repo inputs:

matching-graph update.

Assumptions to make explicit:

full parent circuit.

Standard Workflow Checklist

  1. Read CODE0 for the current

decoder-roadmap assumptions.

  1. Check CODE0

and CODE0.

  1. Record why PyMatching is insufficient for the task.
  2. Record whether the target study is exact-MWPM comparison, erasure-aware

matching, or tutorial/visualization work.

  1. Keep the summary explicit that this is a planned lane, not an integrated

repo backend.

Validation Loop

Before closing work:

  1. confirm the problem remains graphlike,
  2. confirm erasure information does not require a richer full-circuit decoder,
  3. confirm the writeup says "planned fusion-blossom lane" instead of implying

executable repo support,

  1. confirm the claimed value is exact MWPM or matching-graph ergonomics, not

universal decoding scope.

Common Issues And Fixes

Treating exact MWPM as universal decoding

Problem: fusion-blossom is proposed for a workload whose main difficulty is

hypergraph structure or full-circuit heralding, not exact matching.

Fix: route back through

CODE0 and check whether

the problem should leave the matching lane entirely.

Confusing erasure-aware matching with general erasure decoding

Problem: a heralded-erasure workflow is described as matching-compatible without

checking whether the side information survives as edge-weight updates.

Fix: say explicitly whether the erasure model is matching-representable. If it

is not, move toward mwpf or a protocol-specific erasure lane.

Overclaiming repo support

Problem: a user-facing answer sounds like the repo can already run

fusion-blossom.

Fix: keep the language narrow. This skill distills the upstream lane and how to

adopt it; it does not mean the adapter already exists here.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.