Work

Pohlig-Hellman and Shor's Algorithm: Crossover Conditions for Hybrid Quantum-Classical ECDLP

Year: 2026
Type: preprint
Abstract: The elliptic curve discrete logarithm problem (ECDLP) underpins ECDSA, ECDH, and deployed public-key infrastructure. Shor's quantum algorithm solves ECDLP in polynomial time, yet practical state-vector simulation on dual NVIDIA GB10 unified-memory nodes peaks at 35 qubits, corresponding to a 34-bit cyclic subgroup of order n = 17,179,869,143 solved in 1,549 s per attempt using f16 amplitudes with host scale tracking. Classically, Pohlig-Hellman (PH) decomposition reduces an ECDLP instance to prime-order subproblems solved by baby-step giant-step (BSGS) or Pollard's rho. A natural hybrid dispatches the largest prime-order subgroup to Shor's algorithm and resolves the remaining smooth cofactor classically. We evaluate empirically and analytically when this hybrid outperforms both pure classical and pure quantum solvers. Across 42 random curves over |p| in {8, 10, 12, 14, 16, 18, 20}-bit prime fields, PH+BSGS achieves a 1.57x mean speedup over plain BSGS on semi-smooth orders, while un-decomposed Pollard's rho fails on 24/42 composite-order instances due to non-invertible denominators. A controlled prime-order benchmark (n = l, bit-length |n| in {16, 18, 20, 22, 24}) with 100 trials per solver (400 runs total) confirms 100% recovery and textbook sqrt(n) operation constants for BSGS (1.43--1.52 sqrt(n)), Pollard's rho (r=3 partition and r=16 adding walk), and bounded-interval Pollard's kangaroo (1.99--2.54 sqrt(W)). On the exact 34-bit prime order n = 17,179,869,143, unoptimized single-core Python BSGS recovers k in 0.998 s (197,352 group operations), leaving simulated Shor 1,552x slower. Consequently, hybrid Shor+PH+BSGS never outperforms pure classical solvers within any reachable state-vector simulator budget; a genuine hybrid advantage requires fault-tolerant quantum hardware on composite-order curves whose largest prime factor is classically intractable (exceeding roughly 2^82 on a 64-core server), a condition that never holds for prime-order NIST curves (P-192, P-256, P-384, P-521). We conclude by refuting four intuitive but mathematically invalid hybrid constructions.
Author: Liu, Rui
Language: English
Open Access status: green
OpenAlex ID: W7238837086
Cites:
Cited by:
Related to: