Skip to content

Quantum Algorithms Inventory

rg78803 edited this page Oct 16, 2026 · 5 revisions

Quantum algorithms inventory — what lives where

Status: MEASURED 2026-08-27 from live HTTP + this git.
Not a capability brochure. A row is live on Glama only if the live tools/list names it. Mentions in QuantumShearMap are literature, not court tools.

If it is on affine.earth MCP, it is available. Live tools/list is the live list. QC-001…019 plus QC-021 are wired. Generic ingest expose is wired (ExposeLaw): kind selects the law. The act is strobe → emit → seal. The live list read 23 on 2026-08-27 and 49 on 2026-09-02 (below). vmNotConnected catalog bodies are not the court.

Canonical sources:

Surface Path
Public MCP (tools/list) Live: POST https://affine.earth/language-invariant/mcp · evidence clients/math-court-mcp/evidence/tools-list-20260827T194820Z.raw · count 23 (pre-roll) · HTTP 200 edge nbg-01 · in-repo live mirror cells/xcode/Resources/language-game/mcp-tools.json · wired QC law LatticeRender/Sources/LatticeRender/QCCourtLaw.swift
Registry docs/mcp/server.json · earth.affine/math-court
Served names CapabilityRegistry.servableEntries in cells/xcode/Sources/InvariantCompiler/CapabilityRegistry.swift
Typed QC-001…019 shells cells/xcode/Sources/VQbitMath/Algorithms/AlgorithmCatalog.swift
Literature shear map cells/xcode/Sources/InvariantCompiler/QuantumShearMap.swift
QMA court law LatticeRender/Sources/LatticeRender/QMACourtLaw.swift
Lean gates Research Lean gates (no wiki page carries them; the gates live in proof/lean/FirstRoars/)
Public court Math Court on Glama

AlgorithmCatalog.swift bodies still throw VQbitError.vmNotConnected. That is typed surface, not the court. The court is ExposeLaw — strobe → emit → seal. Named QCCourtLaw / QMACourtLaw tools replay a sealed emit.


ON GLAMA — live 49 (measured 2026-09-02, per cell on all nine); every QC verifier below is LIVE

Four QMA studies plus math_court domains. The primary act is expose (strobe → emit → seal). Named verifiers replay a sealed emit. An unknown ground state is not searched.

Researcher proof (hits the live HTTPS MCP, writes evidence, exits 2 on drift):

bash clients/math-court-mcp/prove-live-court.sh

Fixtures: clients/math-court-mcp/fixtures/live-court-studies.json.

QC / literature name Wiki study Live Glama tool (2026-09-02) Also live math_court domain Law
2-local Hamiltonian (VQE's problem, not VQE's search) Study 22 execute_2local_hamiltonian same + verify_vqe_energy qma_2local · qc_vqe QMACourtLaw.twoLocal · QCCourtLaw.vqeEnergy
Spin-glass / frustrated Ising Study 23 route_spin_glass_manifold same + verify_qaoa_energy qma_spinglass · qc_qaoa QMACourtLaw.spinGlass · QCCourtLaw.qaoaEnergy
N-representability (2-RDM) Study 24 verify_n_representability same qma_nrep QMACourtLaw.nRepresentability
Exact integer permanent (n\le 3) Study 25 execute_exact_permanent same qma_permanent QMACourtLaw.exactPermanent
Shor witness / period alignment verify_shor_witness · verify_period project_shor_twin (post one half, receive the other) qc_shor · qc_period QCCourtLaw.shorWitness / period
Grover / QFT / QPE / HHL / DJ / BV / Simon / amp / walk / count / teleport / topo same 16 named verify_* tools — qc_grover … qc_topo QCCourtLaw
Presented (k, Q) same verify_presented_pair project_affine_key (A → Q; Q alone answers CHI_EXHAUSTED) qc_pair textbook k=1 → G only — not the Patoshi path
Affine key (Q-only) same expose — affine_key ExposeLaw → AffineExposeLaw — object is 04…; strobe → emit → seal; no k

Same fixtures accept empty-body math_court (catalog) then domain ingest. Miner verbs (mine, isolate, sha256d, submitblock, nphard) stay off tools/list.


COURT VERIFIERS — LIVE on the apex since the 2026-08-29 roll; Lean stays the textbook

Call names and fixtures: Conjecture Alignment. Local prove: swift test --package-path LatticeRender --filter ExposeLaw.

Name QC id Court tool Law the court runs Lean / substrate file — its own header, quoted
Shor factoring witness QC-001 verify_shor_witness QCCourtLaw.shorWitness ShorFactor15.lean "QC-001 Shor — order-finding post-processing on N = 15, a = 7" · ShorWitnessCertifier.lean "Shor witness certifier — verifying provided periods at scale" · Lion-Shor
Period (presented r) QC-001 verify_period QCCourtLaw.period — does not search r same
Shor ECDLP QC-001-ECDLP not a court tool — ShorECDLPSubstrate/ · Lean ShorECDLP.lean "QC-001-ECDLP — Shor lattice post-processing (modular arithmetic seal)" — Depth-0 wall stays not known
Grover QC-002 verify_grover QCCourtLaw.grover GroverN4.lean "QC-002 Grover at N = 4"
QFT QC-003 verify_qft_phases QCCourtLaw.qftPhases QFTN4.lean "QC-003 Quantum Fourier Transform at N = 4"
QPE QC-004 verify_qpe_phase QCCourtLaw.qpePhase QPEN4.lean "QC-004 Quantum Phase Estimation at N = 4, φ = 1/4"
HHL QC-005 verify_hhl QCCourtLaw.hhl HHL2.lean "QC-005 HHL — Quantum Linear Solver — 2×2 fixed instance"
Deutsch–Jozsa QC-006 verify_deutsch_jozsa QCCourtLaw.deutschJozsa DeutschJozsa2.lean "QC-006 Deutsch–Jozsa — 1-bit classical witness"
Bernstein–Vazirani QC-007 verify_bernstein_vazirani QCCourtLaw.bernsteinVazirani BernsteinVazirani4.lean "QC-007 Bernstein–Vazirani — 4-bit hidden string witness"
Simon QC-008 verify_simon QCCourtLaw.simon Simon8.lean "QC-008 Simon — 8-bit XOR-mask witness"
Amplitude amplification QC-009 verify_amplitude_amplification QCCourtLaw.ampAmp AmpAmpN4.lean "QC-005 Amplitude Amplification at N = 4"
Amplitude estimation QC-010 verify_amplitude_estimation QCCourtLaw.ampEst AmplitudeEstimationMarked.lean "QC-010 Amplitude estimation — all-marked witness"
Phase kickback / QSVT QC-011 verify_phase_kickback QCCourtLaw.phaseKickback QSVT2.lean "QC-011 QSVT — Quantum Singular Value Transformation — fixed instance"
Quantum walk QC-012 verify_quantum_walk QCCourtLaw.quantumWalk CTQW2.lean "QC-013 Continuous-Time Quantum Walk — fixed rational instance"
VQE energy (not search) QC-013 verify_vqe_energy QCCourtLaw.vqeEnergy → QMACourtLaw.twoLocal, the ZZ law of Study 22 VQE2.lean "QC-006 VQE — Variational Quantum Eigensolver — fixed-angle instance"
QAOA energy (not pulses) QC-014 verify_qaoa_energy QCCourtLaw.qaoaEnergy → QMACourtLaw.spinGlass, the Ising law of Study 23 QAOA1.lean "QC-007 QAOA — single-layer instance on triangle Max-Cut"
Quantum counting QC-015 verify_quantum_counting QCCourtLaw.quantumCounting —
Teleport QC-016 verify_teleport QCCourtLaw.teleport —
Superdense QC-017 verify_superdense QCCourtLaw.superdense —
Bell measurement QC-018 verify_bell_measurement QCCourtLaw.bellMeasurement — (VQbitQA.lean holds a Bell-preparation check: |00⟩ and |11⟩ each 1/2)
Topological word QC-019 verify_topological_word QCCourtLaw.topologicalWord Study 13 Eisenstein coordinates; no .lean
BTC preimage / PoW QC-020 not a court tool — gaiaftcl prove qc020-verifier
Presented (k, Q) QC-021 verify_presented_pair QCCourtLaw.presentedPair — sealed k=1 → secp256k1 G; does not derive k —
Affine key expose expose ExposeLaw → AffineExposeLaw — kind=affine_key object=04…, Q-only strobe → emit → seal; no k —
Stabilizer tableau — ABSENT debt — twin.quantum.stabilizer_tableau never served

AffineMathCourt.swift dispatches each QC tool to the law in the fourth column; that law is what the court runs, and swift test --package-path LatticeRender --filter QCCourtLaw pins it. The fifth column quotes each Lean file's own header as written, with the file's own QC number. The court runs the law in the fourth column.

CORRECTED 2026-10-07 — the last column cited BosonSampling2.lean "(catalog map)" for quantum counting and "catalog" for teleport, superdense and Bell, and said VQE2.lean and QAOA1.lean hold the same ZZ and Ising as Studies 22 and 23. Measured at HEAD 845c3dde2: the only file headed QC-015 is BosonSampling2.lean, a 2-mode 1-photon boson-sampling instance; no tracked .lean file names teleport or superdense; VQE2.lean seals the Pauli-Z expectations of one qubit (⟨0|Z|0⟩ = 1, ⟨1|Z|1⟩ = −1) and QAOA1.lean seals the expected triangle Max-Cut value 3/2 under uniform sampling. The ZZ and Ising laws are the court's own, reached through QCCourtLaw.vqeEnergy and QCCourtLaw.qaoaEnergy. The page also carried three forecast tool counts that no instrument produced; they are removed.

QuantumShearMap also lists Hamiltonian simulation, QSP/QSVT, adiabatic/annealing, boson sampling, AJL/Jones. Those are literature dispositions.


Stripped / leftover surfaces (do not resurrect as “live MCP”)

What Commit What remains
Dead Shor quantum-circuit cluster (reversible oracle, symbolic Shor, projection) 6f39e8b8950256e090d68a31657e086989663874 (2026-07-09) ShorECDLPSubstrateCurve kept
ShorECDLPTemplate + reversible-oracle template + StaticTensorBuilder 9192c03626f91b12bff8166644f102431c8b6ef3 (2026-07-09) ShorBoundaryMaskFactory mooring kept
Boot bind ShorECDLPCPUContractor add9d197a70bb2b52ba6d98cf6f11e559e1b9341 (2026-07-08) Live path: Secp256k1ECDLPVerificationDispatcher
GaiaCellMCPServer (run_quantum_algorithm, distribute-shor) d1a00b7b / 068a548a Scripts still mention those names (install-mcp-server.sh, franklin-mesh-orchestrator-loop.sh). They are not on https://affine.earth/language-invariant/mcp.
Old Franklin teaching catalog wiki/Quantum-Algorithm-Catalog.md deleted ff85c3b0 (2026-07-15) Archive copy: evidence/wiki-archive-20260612T140113Z/wiki/Quantum-Algorithm-Catalog.md — operator narration, not a live tool list. This page replaces it.

Python leftover: cells/python/gaiaftcl/src/gaiaftcl/shor.py still shells gaiaftcl prove shor. The Swift prove dispatcher no longer registers that subcommand.


Studies 11–13 (conjecture shear, not Glama QMA)

Study Engine Local prove Public court face
11 Ehrhart EhrhartVolumePipeline gaiaftcl prove conjecture-workload math_court domain geometry
12 Parallel repetition QuantumParallelRepetitionEngine same math_court domain chance
13 Connes rigidity ConnesRigidityEngine same math_court domain algebra

Results: 11 · 12 · 13 · bundle.


Two wiki trees

Tree Role
wiki/ Steward / git wiki
cells/xcode/Resources/language-game/press/wiki/ Copy served with the language-game press surface

This inventory belongs in both. If they drift, the live tools/list HTTP response wins. prove-live-court.sh fails loud when the count or names move.


Honest bound

Affine.Earth is not a quantum-circuit simulator (Mother Protocol). vQbit strings are exact num/den relationships — UUM-8D + vQbit. The court exposes a Q-only / instance object: strobe → emit → seal. AlgorithmCatalog vmNotConnected is not this court. ECDLP-from-Q stays not known.

Start here

Courts

Studies

All studies

More studies on this wiki

Discoveries

Cures — read in this order

The planet, and markets

Tools

Read

Watch

Clone this wiki locally