Skip to content
DAH

Learning With Errors: a polynomial-time quantum algorithm at polynomial modulus-to-noise ratio?

OpenTo verify: Expert reviewPosed by Oded Regev, 2005 (definition of LWE and the quantum worst-case reduction); quantum algorithms for the underlying dihedral coset problem studied since Kuperberg (2003)
AI-reviewed
On this page17 sections
Difficulty
79/100Major open
How far from a resolution. P vs NP = 100
Application value
80/100Transformative
Realistic practical impact if resolved. P vs NP = 100
Leverage
82/100Foundational
How much other knowledge hinges on it. P vs NP = 100

Difficulty 79: unconditional hardness is out of reach (it would imply NP ⊄ BQP), and quantum attacks have failed since 2002, including Chen's retracted 2024 claim; Simon's 2026 DCP claim is unrefereed and contested by a no-go preprint, so it does not lower the number. Placed just below the ω problem (82) and classical factoring (84) because it is a concrete algorithmic question rather than a landmark of mathematics. Application value 80: a yes would break mandated post-quantum standards and FHE, but only once large quantum computers exist, so it ranks below classical factoring (85), which needs no new hardware. Leverage 82: the NIST lattice standards, FHE and much of modern cryptographic theory rest on it, the highest outside P vs NP and RH.

The problem

Is there a fast quantum algorithm to solve noisy secret-recovery equations, the puzzle behind new internet encryption?

  1. 1Secret hidden in noisy equations
  2. 2No fast attack known
  3. 3Shor's method threatens older locks
  4. 4Is there a quantum attack here?
  5. 5New standards bet that there is not

The problem. Let nn be the dimension, qq a modulus polynomial in nn, and χ\chi a discrete Gaussian error distribution of width αq\alpha q (with αq≳2n\alpha q\gtrsim2\sqrt n). An LWE instance is (A, b=As+e mod q)(A,\,b=As+e \bmod q) with AA a uniformly random matrix, ss a uniform secret vector and ee a vector of small errors drawn from χ\chi. The question: is there a polynomial-time quantum algorithm that, with non-negligible probability, recovers ss (search) or distinguishes bb from uniform (decision)?

Why a yes would be a big deal. Regev's reduction (2005) shows that an efficient algorithm for LWE would give an efficient quantum algorithm for worst-case approximate lattice problems (GapSVP and SIVP) with polynomial approximation factor. These have resisted algorithms for decades. Classical reductions exist for some parameter ranges.

State of the art. No efficient quantum algorithm is known. The best attacks, classical and quantum, are lattice-reduction and sieving algorithms with exponential running time. For heuristic sieving the cost is about 20.292n2^{0.292n} classically (Becker, Ducas, Gama, Laarhoven, 2016) and about 20.257n2^{0.257n} quantumly (Chailloux and Loyer, 2021, improving Laarhoven's 20.265n2^{0.265n}). So known quantum speedups only reduce the constant in the exponent.

Deployed standards. NIST published ML-KEM (FIPS 203) and ML-DSA (FIPS 204) in August 2024. Their concrete parameters are set from the estimated cost of these attacks, with margins. The FIPS 203 page carries a November 2025 note about potential errata, but no cryptanalytic break of the standardised parameters has been reported.

Approaches to a positive or negative answer.

  • A positive answer needs a new quantum algorithm for the lattice or LWE problem, perhaps via a hidden subgroup-style structure. A natural route is the dihedral coset problem (DCP): an efficient quantum algorithm for it would solve related lattice problems. Past attempts have not succeeded: Chen's April 2024 claimed algorithm for LWE was withdrawn after a bug was found; a 2025 quasi-polynomial algorithm for an extrapolated DCP needs too many samples to affect standard LWE; and Simon's August 2026 preprint claiming polynomial-time DCP is disputed by a rebuttal preprint, with no accepted resolution.
  • A negative answer, a proof of hardness, would be a major advance: it would separate complexity classes in ways no one knows how to do. More realistically, the problem is studied by cryptanalysis, and confidence grows with time.

Unknowns. How much do the structured variants used in practice (Ring-LWE, Module-LWE) differ in hardness from plain LWE? Do dedicated quantum algorithms for the noisy-equation structure exist that do not pass through lattice reduction?

Go deeper

The full technical text.

Let nn be the dimension, q=poly(n)q=\mathrm{poly}(n) a modulus and χ\chi a discrete Gaussian of width αq\alpha q with αq≥2n\alpha q\ge 2\sqrt n and α=1/poly(n)\alpha=1/\mathrm{poly}(n). An LWE instance is (A, b=As+e mod q)(A,\ b=As+e \bmod q) with A∈Zqm×nA\in\mathbb Z_q^{m\times n} uniform, s∈Zqns\in\mathbb Z_q^n uniform and e←χme\leftarrow\chi^m, m=poly(n)m=\mathrm{poly}(n). Is there a quantum algorithm running in time poly(n)\mathrm{poly}(n) that, with non-negligible probability over (A,s,e)(A,s,e), recovers ss (or distinguishes bb from uniform)? By Regev's reduction a yes would put GapSVPγ\mathrm{GapSVP}_\gamma and SIVP with γ=poly(n)\gamma=\mathrm{poly}(n) in BQP\mathsf{BQP}. The conjecture underlying lattice-based cryptography is that the answer is no. The same question can be asked for the structured (ring and module) variants used in standards, whose worst-case reductions refer to ideal and module lattices, a more structured and less-studied class.

Words on this page (12)
Words on this page
Learning With Errors (LWE)
The puzzle of recovering a secret from many equations that each carry a small random error.
lattice
A regular grid of points made by adding whole-number multiples of a few basic arrows.
shortest vector problem
Finding the shortest nonzero arrow from the origin to a point of a lattice.
post-quantum cryptography
Encryption designed to remain secure against attackers with large quantum computers.
Shor's algorithm
A quantum method that factors big numbers quickly, breaking widely used older encryption.
lattice reduction
Algorithms that look for a short, nearly perpendicular set of arrows describing a lattice; the main attack on LWE.
modulus
The number at which values wrap around, like hours on a 12-hour clock.
worst-case to average-case reduction
A proof that breaking typical random instances would let you solve the hardest instances too.
quantum algorithm
A step-by-step method designed to run on a quantum computer.
dihedral coset problem
A quantum problem about hidden shifts; a fast quantum algorithm for it would give fast quantum algorithms for some lattice problems.
lattice sieving
The fastest known way to find short lattice vectors: generate many vectors and repeatedly combine pairs into shorter ones; it takes exponential time.
discrete Gaussian
A bell-curve-shaped probability distribution over whole numbers, used to draw the small LWE errors.
New to this? Read first (3)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Then
    • Learning With Errors: a polynomial-time quantum algorithm at polynomial modulus-to-noise ratio?The problem

State of the art

No efficient quantum algorithm is known. The best attacks, classical and quantum, are lattice-reduction algorithms with exponential cost; for heuristic sieving the running time is about 20.292n2^{0.292n} classically (Becker, Ducas, Gama and Laarhoven, 2016) and about 20.257n2^{0.257n} quantumly (Chailloux and Loyer, 2021, improving Laarhoven's 20.265n2^{0.265n}), so known quantum speedups only shrink the constant in the exponent. Concrete parameters of ML-KEM (FIPS 203) and ML-DSA (FIPS 204), published 13 August 2024, are set from these costs. The FIPS 203 page carries a November 2025 note about potential errata; no cryptanalytic break of the standardised parameter sets has been reported.

Quantum routes. Regev (FOCS 2002) showed that an efficient quantum algorithm for the dihedral coset problem (DCP) that tolerates some failure probability would solve unique-SVP for polynomial factors; Kuperberg's subexponential algorithm is the best general DCP algorithm. Brakerski, Kirshanova, Stehlé and Wen (2018) connected LWE to extrapolated DCP (EDCP). Bai, Jangir, Kirshanova, Ngo and Youmans (ePrint 2025/1046, June 2025; CRYPTO 2025) gave a quasi-polynomial quantum algorithm for EDCP over power-of-two moduli using quasi-polynomially many samples; they state that it does not affect LWE with standard parameters because the reduction from LWE supplies only polynomially many samples.

Chen 2024. Yilei Chen's ePrint 2024/555 (10 April 2024) claimed a polynomial-time quantum algorithm for LWE with certain polynomial modulus-to-noise ratios, which would have given quantum algorithms for GapSVP and SIVP at approximation factors Ω~(n4.5)\tilde\Omega(n^{4.5}). On 18 April the author reported that Step 9 contained a bug he could not fix, found by Hongxun Wu and, independently, Thomas Vidick, and stated that the polynomial-time claim does not hold.

Simon 2026 (unrefereed, disputed). Daniel Simon (AWS) posted ePrint 2026/1591 on 3 August 2026, claiming a polynomial-time quantum algorithm for DCP and hence, via known reductions, for approximate SVP within a factor n⋅polylog(n)\sqrt n\cdot\mathrm{polylog}(n) and for LWE in a corresponding parameter regime. The ePrint record shows six revisions through 8 October 2026, including a corrected proof of Lemma 3. Gupte, Ragavan and Zhandry (ePrint 2026/1693, 15 August 2026, revised 1 September) argue that the algorithm cannot recover the least-significant bit of the DCP secret with non-negligible advantage, hence does not solve DCP, and prove a broader no-go result for algorithms following Regev's template, with Lean code. Simon's revision of 7 October 2026 responds to that note and to comments by Sam Jaques. Guo and Yang (ePrint 2026/1714, 17 August 2026) give rigorous proofs of three of the four lemmas that Simon's preprint stated with only sketches, but identify a remaining unproven hypothesis about how the algorithm chooses its partition, and conclude that the lemmas alone do not establish correctness. All three are preprints; there is no accepted resolution, and none of them is a demonstrated attack on any standardised parameter set.

Realistic applications

A polynomial-time quantum algorithm for LWE at standard parameters would break ML-KEM, ML-DSA, most lattice-based fully homomorphic encryption and many protocols built on them, forcing another migration of public-key cryptography to a non-lattice basis such as code-based HQC (selected by NIST in March 2025) or hash-based signatures. A proof, or strong new evidence, of quantum hardness would justify continued deployment at the current parameters and smaller margins. Partial progress, such as algorithms that work only for unusual parameter regimes (very small modulus, special noise distributions), directly tells designers which regimes to avoid.

What counts as solved

Either (a) a quantum algorithm with a complete proof or heuristic analysis that is verified by independent experts and, ideally, run on small instances, solving LWE (or DCP together with an accepted reduction) for the parameters above; or (b) a convincing hardness result. Unconditional hardness is out of reach (it would prove NP⊈BQP\mathsf{NP}\not\subseteq\mathsf{BQP}, and in particular P≠NP\mathsf P\ne\mathsf{NP}), so in practice (b) means a reduction from a well-studied problem or a proved limitation on large algorithm families, such as the Gupte–Ragavan–Zhandry no-go note for Regev-template DCP algorithms. Expert acceptance of a claim requires scrutiny of the full proof; a preprint alone, as the 2024 episode showed, is not enough.

How it gets verified

To verify: Expert review

Only expert review of the argument is possible today.

The claim is an algorithm plus an analysis (or a heuristic argument) for LWE at polynomial modulus-to-noise ratio, and unconditional hardness is out of reach. Independent experts check the analysis, and small-instance runs can support but not prove it. No Lean statement is realistic because Mathlib has no quantum complexity or lattice-problem framework.

Claims

Where the work is

Theory
87%
New mathematical or conceptual ideas
Engineering
3%
Building instruments, chips, systems, software, formal proofs
Compute
10%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

Either a new quantum algorithm or new evidence for hardness is a theory question; a proof of hardness is out of reach with current complexity theory. Compute is used for concrete cryptanalysis that sets parameters.

Connected problems

Progress

  1. Aug 15, 2026
    No-go note against Simon's algorithm

    Gupte, Ragavan and Zhandry argued that the algorithm cannot extract the least-significant bit of the DCP secret and proved a broader no-go result for algorithms following Regev's template, with Lean 4 code; Simon revised his preprint on 7 October in response. Unresolved.

    source
  2. Aug 3, 2026
    Simon's DCP preprint

    Simon (AWS) claimed a polynomial-time quantum algorithm for the dihedral coset problem, which via known reductions would give quantum approximate SVP within about √n·polylog n and attacks on LWE in a corresponding regime; unrefereed and contested.

    source
  3. Jun 4, 2025
    Quasi-polynomial quantum algorithm for EDCP over power-of-two moduli

    Bai et al. solved the extrapolated dihedral coset problem for power-of-two moduli in quasi-polynomial time; the authors state it does not affect standard LWE.

    source
  4. Apr 10, 2024
    Chen's quantum LWE claim and its withdrawal

    ePrint 2024/555 claimed polynomial-time quantum LWE algorithms; on 18 April the author reported an unrepairable bug in Step 9 and withdrew the claim.

    source