Solving the Discrete Logarithm problem on the group of points of an elliptic curve is one of the major cryptographic applications of Shor's algorithm. However, current estimates for the number of qubits required remain relatively high, and notably, higher than the best recent estimates for factoring of RSA moduli. For example, recent work by Gidney (arXiv 2025) estimates 2043 logical qubits for breaking 3072-bit RSA, while previous work by Häner et al. (PQCrypto 2020) estimates a requirement of 2124 logical qubits for solving discrete logarithm instances on 256-bit elliptic curves over prime fields. Indeed, for an -bit elliptic curve, the most space-optimized optimized implementation by Proos and Zalka (Quant. Inf. Comput. 2003) gives qubits, as more additional space is required to store the coordinates of points and compute the addition law.
In this paper, we propose an alternative approach to the computation of point multiplication in Shor's algorithm (on input , computing where is a fixed point). Instead of computing the point multiplication explicitly, we use a Residue Number System to compute directly the projective coordinates of with low space usage. Then, to avoid performing any modular inversion, we compress the result to a single bit using a Legendre symbol.
This strategy allows us to obtain the most space-efficient polynomial-time algorithm for the ECDLP to date, with only qubits, at the expense of an increase in gate count, from to . For we estimate that 1098 qubits would be necessary, with 22 independent runs, using Toffoli gates each. This represents a much higher gate count than the previous estimate by Häner et al. (roughly ), but half of the corresponding number of qubits (2124).