Skip to content

Distance algorithms: QEDist, dist-m4ri and benchmark citations; AGENTS.md how-to - #460

Merged
valbert4 merged 1 commit into
mainfrom
fix/qedist
Nov 16, 2026
Merged

valbert4 merged 1 commit into
mainfrom
fix/qedist

Conversation

@valbert4

Copy link
Copy Markdown
Member

Adds QEDist, the exact distance certifier by J. Y. Lee, and two related distance-algorithm papers to the Zoo. Also adds a how-to for agents on checking a code's distance.

  • qubit_stabilizer: the sentence on distance algorithms now also cites the connected-cluster distance verification of 1605.02410 (implemented in dist-m4ri), the 2603.22532 benchmark of distance-finding algorithms, App. A of 2610.06820, and the QEDist software.
  • qldpc: a QEDist software note next to sQetch.
  • AGENTS.md: a new section, "Computing code distances", on QEDist, dist-m4ri and QDistRnd. It covers installation, commands, and how to read the results. It recommends a two-step check: find a weight-d logical with dist-m4ri method=1, then rule out lighter ones with QEDist --cutoff d-1. A computed distance stays a check, not a citable source (rule 11).

The recommendation comes from a local comparison on 19 CSS codes from dist-m4ri's benchmark set, with n up to 560 and d up to 24. Runs used one laptop with 4 threads and covered both sectors. Every tool reproduced each known distance.

  • Proving d: QEDist was 1.5–12× faster than dist-m4ri method=2 once a proof took more than a few seconds, and 2.2–2.5× faster on one core. For example, the [[288,4,20]] 2BGA code took 22 s versus 4.4 min, and the [[360,12,24]] BB code (with symmetry) took 2.8 versus 12.3 min. On codes that finished within about a second, dist-m4ri was usually faster.
  • Finding a weight-d logical: dist-m4ri method=1 took under 0.1 s for every code. QDistRnd took up to 7 s, plus GAP startup.

Lee's methods manuscript, "QEDist: Practical Exact Distance Certification for Stabilizer Codes", is not on arXiv yet. Its ID can replace the App. A citation once it appears.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NyJvrRprUF7ohuENJJ84qp

…ing distances

- qubit_stabilizer: the sentence on distance algorithms also cites the
  connected-cluster distance verification of arXiv:1605.02410 (dist-m4ri),
  the arXiv:2603.22532 benchmark, App. A of arXiv:2610.06820, and the
  QEDist software.
- qldpc: QEDist software note.
- AGENTS.md: new "Computing code distances" section (QEDist, dist-m4ri,
  QDistRnd).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NyJvrRprUF7ohuENJJ84qp
@valbert4
valbert4 merged commit 7232947 into main Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant