Studying qldpc codes with qldpc

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

Studying qldpc codes with qldpc is an AI agent skill from the GitHub repository AndyLiuin/QEC-Autoresearch-Skills. Guides construction, inspection, and experiment planning for quantum LDPC codes using the qLDPC package, while keeping a clear boundary between code-design analysis and later executable circuit or decoder workflows.

How to use this skill

Skill file

Studying QLDPC Codes With qLDPC

What This Skill Is For

Use this skill when the main task is code construction or inspection around quantum LDPC families:

When To Use It Versus Alternatives

Use this skill when the work starts from a code family or parity-check description.

Use CODE0 when the task is already about executable stabilizer circuits and detector-model artifacts.

Use CODE0 when registered detector-model or trajectory artifacts already exist and the task is decoder execution rather than code construction.

Do not present this skill as proof that the repo already ships a qLDPC adapter. The current lane is documentation-first.

Required Artifacts And Assumptions

Expected inputs:

Expected outputs:

Assumptions to make explicit:

Standard Workflow Checklist

  1. Read CODE0 to confirm the current repo phase and toolkit assumptions.
  2. Read CODE0 before choosing qLDPC.
  3. State the target code family, parameter regime, and downstream research question.
  4. Separate code-design outputs from later execution outputs so the plan does not blur construction with benchmarking.
  5. Record any environment caveat, especially Python-version or optional-tooling requirements, before recommending implementation work.
  6. If the request actually centers on graphlike detector-model decoding, route to a decoder-oriented package instead of forcing qLDPC.

Validation Loop

Before closing work:

  1. confirm the code family and parameter regime are explicit,
  2. confirm qLDPC is being used for a construction or analysis task it actually fits,
  3. confirm any downstream circuit or decoder step is labeled as planned rather than already integrated,
  4. confirm environment caveats are visible if they affect installability or reproducibility.

Common Issues And Fixes

Construction-execution blur

Problem: a plan jumps from parity checks to executable benchmark claims without defining the intermediate artifacts.

Fix: add the missing artifact handoff explicitly, such as code summary, circuit synthesis plan, or decoder task specification.

Package mismatch

Problem: qLDPC gets chosen for a task that is really graph matching, threshold sweeping, or topological-code simulation.

Fix: reroute using the package-selection notes in CODE0.

Hidden environment constraints

Problem: the repo starts to imply qLDPC is available in the current baseline even when the environment does not satisfy its packaging requirements.

Fix: keep the lane documentation-first until an adapter and health-check story exist.

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.