Skip to main content
QUICK REVIEW

[Paper Review] How to compute a 256-bit elliptic curve private key with only 50 million Toffoli gates

Daniel Litinski|arXiv (Cornell University)|Jun 14, 2023
Neural Networks and Reservoir ComputingComputer Science6 citations
TL;DR

This paper presents optimized resource estimates for factoring 256-bit elliptic curve cryptography (ECC) keys using Shor’s algorithm on a fault-tolerant surface-code quantum computer with an active-volume architecture featuring logarithmic non-local connections. By leveraging parallelization via non-local connections and algorithmic optimizations such as parallel modular inversion and shared state reuse, the authors reduce the Toffoli gate count per key to 50 million and cut key generation time from 38 hours (in 2D-local architecture) to just 10 minutes using 6,000 modules with 1,152 physical qubits each at a 10% physical error rate threshold.

ABSTRACT

We use Shor's algorithm for the computation of elliptic curve private keys as a case study for resource estimates in the silicon-photonics-inspired active-volume architecture. Here, a fault-tolerant surface-code quantum computer consists of modules with a logarithmic number of non-local inter-module connections, modifying the algorithmic cost function compared to 2D-local architectures. We find that the non-local connections reduce the cost per key by a factor of 300-700 depending on the operating regime. At 10% threshold, assuming a 10-$μ$s code cycle and non-local connections, one key can be generated every 10 minutes using 6000 modules with 1152 physical qubits each. By contrast, a device with strict 2D-local connectivity requires more qubits and produces one key every 38 hours. We also find simple architecture-independent algorithmic modifications that reduce the Toffoli count per key by up to a factor of 5. These modifications involve reusing the stored state for multiple keys and spreading the cost of the modular division operation over multiple parallel instances of the algorithm.

Motivation & Objective

  • To estimate the resource cost of factoring 256-bit elliptic curve private keys using Shor’s algorithm in a fault-tolerant quantum computing setting.
  • To evaluate the impact of non-local inter-module connections in the active-volume architecture on reducing computational cost and time per key.
  • To identify and implement algorithmic optimizations that reduce Toffoli gate count and improve parallelization efficiency.
  • To compare the performance and resource requirements of active-volume architectures against traditional 2D-local surface-code architectures.
  • To provide a comprehensive framework for active-volume resource estimation applicable to quantum cryptanalysis and algorithm design.

Proposed method

  • Adapting Shor’s algorithm for elliptic curve discrete logarithm problem (ECDLP) using modular arithmetic and quantum phase estimation.
  • Employing an active-volume architecture with logarithmic non-local connections to enable parallel execution of logical operations across multiple modules.
  • Using dynamic allocation of modules as memory or workspace to balance memory capacity and computational speed.
  • Implementing parallel modular inversion by reusing stored states across multiple key instances to reduce per-key Toffoli count.
  • Applying delay lines in photonic fusion-based quantum computing to increase effective memory and allow more operations per code cycle.
  • Optimizing subroutine costs by measuring computation in 'blocks' rather than qubit and gate counts, focusing on active volume as the key metric.

Experimental results

Research questions

  • RQ1How does the active-volume architecture with non-local connections reduce the resource cost of factoring 256-bit ECC keys compared to 2D-local architectures?
  • RQ2What is the minimal Toffoli gate count required to compute a single 256-bit ECC private key using optimized Shor’s algorithm?
  • RQ3How do algorithmic modifications such as parallel modular inversion and state reuse reduce the effective cost per key?
  • RQ4What is the impact of code cycle length and delay lines on performance and resource efficiency in photonic fusion-based quantum computers?
  • RQ5Can the active-volume model enable significant economies of scale in quantum algorithm design through parallel execution of subroutines?

Key findings

  • The active-volume architecture reduces the cost per 256-bit ECC key by a factor of 300–700 compared to 2D-local architectures, depending on the operating regime.
  • With 10% physical error rate, 6,000 modules each with 1,152 physical qubits can generate one key every 10 minutes using only 50 million Toffoli gates.
  • A 2D-local architecture requires 38 hours per key and a significantly larger footprint, despite similar logical qubit counts.
  • Algorithmic optimizations such as parallel modular inversion reduce the Toffoli count per key by up to a factor of 5 by spreading computation across multiple instances.
  • Photonic fusion-based quantum computers benefit most from long delay lines, which double memory and code cycle length while enabling more parallel operations.
  • The active volume per key is 100–300 times lower than for 2048-bit RSA keys, indicating that ECC is significantly more vulnerable to quantum attacks in terms of resource cost.

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.