oai-math-revised beta

Browse › Mathematical physics › 279 Exact quantum factoring over a fixed finite gate set

Exact quantum factoring over a fixed finite gate set

OpenAI · September 25, 2026

Lean

Open PDFCite Report a problem Add a reference or comment Interested in working on this Start a discussion

Edit NOTES.md · Existing issues · Source on GitHub

Abstract

We give a polynomial-time uniform quantum circuit family that outputs the complete prime factorization of every integer N ≥ 2 with probability one. A fixed finite set of bounded-arity gates suffices, and both the gate count and the number of qubits have polynomial worst-case bounds in the input length.

If the PDF does not display here, open it directly: Open PDF.

Notes

No notes yet. Add a reference, a comment or your name with the buttons above, or edit NOTES.md on GitHub.

Automatically collected notes (unreviewed)

work in progress

Collected automatically by AI tools (Claude Opus 5.5 and GPT-6 Astra, 2026-10-21) and not checked by a person. May be wrong or incomplete. Report an error.

Formalization

  • OpenAI math release / oai-math-revised, Lean scope notes for family 279 (lean/docs/279.md, 2026). The release's scope document describes the formalization as a uniform circuit family over a fixed finite gate set that outputs the complete prime factorization with probability exactly one, with polynomial-time uniformity and polynomial worst-case gate and qubit bounds.
  • OpenAI, ExactQuantumFactoring.lean (comparator challenge statement) (github.com/openai/math, 2026). Lean statement exact_quantum_factoring : MainTheorem with 20 fixed gate names (NOT, CNOT, Toffoli, Hadamard, phase, with inverse and single-control flags), TM2-based polynomial-time uniformity, polynomial qubit and instruction bounds, and success probability exactly 1; the proof in this challenge file is sorry by design.
  • OpenAI, OAI/Computability/QuantumFactoring/Main.lean (solution module) (github.com/openai/math, 2026). Proves exact_quantum_factoring by assembling PhysicalTree.finalCircuit with its uniformity, resource and correctness lemmas from imported files.

Possibly relevant literature (found by the agent, not checked)

Digests and expositions

Elsewhere

Independent sites; their content is not reviewed here.

Cite

@misc{OAI:Exact-quantum-factoring-over-a-fixed-finite-gate-set-September-25-2026,
  author = {{OpenAI}},
  title = {{Exact quantum factoring over a fixed finite gate set}},
  howpublished = {OpenAI Math Release preprint
                  \href{https://github.com/openai/math/blob/main/preprints/Exact-quantum-factoring-over-a-fixed-finite-gate-set-September-25-2026/main.pdf}{OAI:Exact-quantum-factoring-over-a-fixed-finite-gate-set-September-25-2026}},
  year = {2026}
}

Lean formalization

OpenAI provides Lean files for this family: lean/docs/279.md. The Lean statements have not been checked by people against the paper's claims.

Family 279: Exact quantum factoring over a fixed finite gate set

Gives a polynomial-time uniform quantum circuit family that outputs the complete prime factorization of every integer with probability one. Both gate count and qubit count are polynomial in the input length, and one fixed finite gate set suffices.

This is the only paper in this family.