Has it been Pwned
Quantum

Photonic experiment factors 21 using qubit recycling

Martin-Lopez, O'Brien and colleagues at the University of Bristol factored 21 = 3 x 7 with a two-photon experiment that recycled a single control qubit, published in Nature Photonics (2012). It remains the largest number factored by a genuine (if compiled) Shor-style period-finding circuit.

A separate source-review date has not been recorded for this historical entry. Corrections.

Background

Like the 2001 NMR experiment, the circuit was compiled for the specific modulus and base, so the modular-exponentiation step that dominates real Shor costs was largely precomputed. Factoring 21 honestly requires far more two-qubit gates than factoring 15 (Craig Gidney's 2025 count: roughly 2,400 entangling gates versus 21) because 15's arithmetic collapses into multiplications by one and cyclic shifts, which is why no larger honest Shor demonstration has followed.

It is a useful calibration point: more than a decade later, the honest Shor record is still 21. Claims of factoring much larger numbers since then have used non-Shor methods (annealing, variational optimisation, or problem-specific shortcuts) with no demonstrated scaling advantage.

Sources

  1. paperExperimental realisation of Shor's quantum factoring algorithm using qubit recycling (Nature Photonics 6, 773-776)arXiv / Nature Photonics, arxiv.org
  2. blogWhy haven't quantum computers factored 21 yet?Craig Gidney (Algorithmic Assertions), algassert.com