Skip to main content
QUICK REVIEW

[Paper Review] Shor's discrete logarithm quantum algorithm for elliptic curves

John Proos, Christof Zalka|ArXiv.org|Jan 25, 2003
Quantum Computing Algorithms and ArchitectureComputer Science19 references17 citations
TL;DR

This paper presents an optimized quantum algorithm for solving the elliptic curve discrete logarithm problem (ECDLP) using Shor's algorithm, focusing on efficient implementation of the extended Euclidean algorithm for modular inverses in GF(p). It demonstrates that breaking a 160-bit elliptic curve cryptosystem requires only around 1,000 qubits—significantly fewer than the 2,000 qubits needed to factor a 1,024-bit RSA modulus—highlighting a larger quantum advantage for ECDLP over integer factorization.

ABSTRACT

We show in some detail how to implement Shor's efficient quantum algorithm for discrete logarithms for the particular case of elliptic curve groups. It turns out that for this problem a smaller quantum computer can solve problems further beyond current computing than for integer factorisation. A 160 bit elliptic curve cryptographic key could be broken on a quantum computer using around 1000 qubits while factoring the security-wise equivalent 1024 bit RSA modulus would require about 2000 qubits. In this paper we only consider elliptic curves over GF($p$) and not yet the equally important ones over GF($2^n$) or other finite fields. The main technical difficulty is to implement Euclid's gcd algorithm to compute multiplicative inverses modulo $p$. As the runtime of Euclid's algorithm depends on the input, one difficulty encountered is the ``quantum halting problem''.

Motivation & Objective

  • To adapt Shor’s quantum algorithm for discrete logarithms to elliptic curve groups over GF(p), addressing implementation challenges specific to this setting.
  • To minimize qubit requirements for solving the ECDLP, especially compared to integer factorization, by optimizing the extended Euclidean algorithm for modular inverses.
  • To resolve the quantum halting problem in the Euclidean algorithm by enabling stepwise reversibility and bounded divisions.
  • To demonstrate that quantum attacks on elliptic curve cryptography are more feasible with smaller quantum computers than attacks on RSA, due to lower qubit and gate count requirements.

Proposed method

  • The algorithm leverages Shor’s order-finding framework adapted to elliptic curve groups, using quantum Fourier transforms and modular arithmetic over GF(p).
  • It eliminates input registers through a reformulation of the group shift operation, reducing qubit overhead.
  • A key innovation is the desynchronization of parallel computations in the extended Euclidean algorithm to manage variable runtime and avoid the quantum halting problem.
  • The algorithm uses bounded divisions and register sharing to reduce space complexity to O(n) qubits while maintaining O(n²) runtime.
  • It applies piecewise reversibility to the extended Euclidean algorithm, minimizing garbage qubits and enabling efficient quantum circuit design.
  • The method bounds the number of steps in the Euclidean algorithm using logarithmic analysis, ensuring correctness and efficiency across all inputs.

Experimental results

Research questions

  • RQ1Can Shor’s discrete logarithm algorithm be efficiently implemented for elliptic curve groups over GF(p), and what are the primary technical challenges?
  • RQ2How can the extended Euclidean algorithm—critical for modular inverses—be implemented in a quantum setting with variable runtime and minimal qubit overhead?
  • RQ3What is the qubit and gate count required to break a 160-bit elliptic curve cryptosystem using a quantum computer compared to breaking a 1,024-bit RSA modulus?
  • RQ4To what extent does the quantum halting problem affect the implementation of the Euclidean algorithm in quantum circuits, and how can it be mitigated?
  • RQ5Can the quantum algorithm for ECDLP be optimized to require fewer qubits than the corresponding factoring algorithm, and by how much?

Key findings

  • A 160-bit elliptic curve cryptosystem can be broken using approximately 1,000 qubits, significantly fewer than the 2,000 qubits required to factor a 1,024-bit RSA modulus.
  • The quantum algorithm for ECDLP achieves O(n²) runtime and O(n) space complexity, with the extended Euclidean algorithm being the primary bottleneck.
  • The implementation uses piecewise reversible operations and bounded divisions to manage variable-length Euclidean algorithm steps, avoiding the quantum halting problem.
  • The algorithm’s success probability is analyzed and shown to be high, with a detailed bound on the number of cycles required for convergence.
  • The method reduces qubit count by eliminating input registers and reusing registers through desynchronized parallel computation, improving resource efficiency.
  • The analysis proves that the algorithm’s runtime and space usage are optimal for the given constraints, with tight bounds on the number of steps in the Euclidean algorithm.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.