Resource analysis of Shor's elliptic curve algorithm with an improved quantum adder on a two-dimensional lattice
Proposes a carry-lookahead quantum adder with O(n) ancillas and log n depth, then estimates Shor's ECDLP resources on 2D nearest-neighbor lattices, including about 4300 logical qubits for P-256.
Schemes: Shor's elliptic curve algorithm, Draper carry-lookahead adder, Wang Sklansky-tree adder, NIST P-256, secp256k1
Findings (quotes checked against the source text)
-
Breaking NIST P-256 is estimated to require about 4300 logical qubits and logical Toffoli fidelity about 1e-9 under the paper's 2D lattice model.
breaking the NIST P-256 curve, which underlies most modern public-key infrastructures and the security of Bitcoin, requires about 4300 logical qubits and logical Toffoli fidelity about 10−9 .
-
The proposed adder achieves Toffoli depth log n + log log n + O(1) with only O(n) ancillas, avoiding the O(n log n) ancillas of the Sklansky-based approach.
we propose a carry-lookahead quantum adder that achieves Toffoli depth log n+log log n+O(1) with only O(n) ancillas, matching state-of-the-art performance in depth while avoiding the prohibitive O(n log n) space overhead of existing approaches.
-
The circuit uses dynamic circuits with mid-circuit measurements and classically controlled operations to trade polynomial long-range gate overhead for constant spatial overhead.
Dynamic circuits, incorporating mid-circuit measurements, feedforward, and classically controlled operations, enable polynomial overheads for long-range gates to be traded for constant spatial overhead.
-
The point-addition circuit needs 17n qubits, with division identified as the dominant cost and the most promising target for optimization.
The dominant contribution arises from division.
-
The windowed method with quantum lookup tables and a signed trick reduces the number of point additions, with optimal window size about log n.
the optimal window size is l = log n + o(log n) for sufficiently large n.
Numbers (as extracted, not quote-checked)
- Logical qubits to break NIST P-256: about 4300
- Logical Toffoli fidelity required for P-256: about 1e-9
- Qubits per point-addition circuit: 17n
- Adder Toffoli depth (proposed): log n + log log n + O(1) carry depth; 2 log n + 2 log log n + O(1) in-place
For builders
Use this as an architecture-constrained cost baseline for ECDLP (secp256k1/P-256) on 2D hardware when judging how many logical qubits a quantum attacker on Bitcoin would need, rather than as a PQ scheme.
Limits
Resource estimates only, no experiments; assumes a 2D nearest-neighbor dynamic-circuit model and logical qubits with fidelity 1e-9; the paper is about attacking ECC, not a PQ replacement.