← Lab /Quantum

Space-efficient quantum algorithm solves ECDLP using only 835 logical qubits for 256-bit curves

The authors claim their algorithm solves ECDLP with 3n+6⌊log2 n⌋+O(1) logical qubits and 919n3/⌊log2 n⌋+O(n2) Toffoli gates, requiring 835 qubits for a 256-bit curve

Quantum arXiv 15 Jul 2026 Method Theory

Published as “Quantum Algorithm for Elliptic Curve Discrete Logarithms with Space-Efficient Point Addition”

Why it matters

The reduced qubit requirement makes quantum attacks on elliptic-curve cryptography more attainable on future fault-tolerant quantum processors.

Summary

The authors achieve a quantum ECDLP algorithm that uses only 3n + 6⌊log2 n⌋ + O(1) logical qubits and 919 n3/⌊log2 n⌋ + O(n2) Toffoli gates; for the 256-bit secp256k1 curve this means just 835 logical qubits, a substantial reduction from the prior best of 1098-1175 qubits. They obtain this by designing a new space-efficient reversible modular inversion circuit and by employing mid-circuit measurements in affine point addition. The paper provides asymptotic analyses and concrete gate-count estimates to support the claim, though it does not evaluate circuit depth.

What they found 1

  1. The modular inversion circuit can be implemented with 2n + 6⌊log2 n⌋ + O(1) logical qubits and 195 n2 + O(n log2 n) Toffoli gates.

    “resulting in a modular inversion circuit implemented by only 2n + 6⌊log2 n⌋+ O(1) logical qubits and 195n2 + O(n log2 n) Toffoli gates.”

Caveats 4

  • The overall Toffoli complexity remains high at 919 n3/ log2 n + O(n2), which may limit practical feasibility despite the qubit savings.
  • This paper focuses primarily on the number of logical qubits and Toffoli/CNOT gate counts, and does not provide a detailed analysis of circuit depth.
  • Our construction prioritizes logical-qubit efficiency and gives explicit reversible circuits for all arithmetic components. However, several building blocks, especially location-controlled arithmetic, length-register updates, and controlled modular operations, may still admit substantial improvements of their gate counts.
  • We focus exclusively on reducing the space complexity required for modular inversion, rather than exploring trade-offs among Toffoli count, circuit depth, and space complexity as previous works.

What’s new here 4

  • Introduces a reversible modular inversion circuit that needs only 2n + 6⌊log2 n⌋ + O(1) logical qubits and 195 n2 + O(n log2 n) Toffoli gates.
  • Uses mid-circuit measurements and classical feed-forward to implement affine point addition with just 3n + 6⌊log2 n⌋ + O(1) logical qubits.
  • Reduces the overall qubit count for Shor’s ECDLP algorithm on secp256k1 to 835 logical qubits and lowers the Toffoli count by two orders of magnitude compared to prior work.
  • Provides explicit reversible circuit constructions and a detailed resource-estimation pipeline using Qiskit.