How to compute a 256-bit elliptic curve private key with only 50 million Toffoli gates
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-$\mu$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.
- P. Shor, Algorithms for quantum computation: discrete logarithms and factoring, Proceedings 35th Annual Symposium on Foundations of Computer Science , 124 (1994).
- P. W. Shor, Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer, SIAM Journal on Computing 26, 1484 (1997).
- J. Proos and C. Zalka, Shor’s discrete logarithm quantum algorithm for elliptic curves, arXiv:quant-ph/0301141 (2003).
- B. M. Terhal, Quantum error correction for quantum memories, Rev. Mod. Phys. 87, 307 (2015).
- A. Y. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. 303, 2 (2003).
- S. B. Bravyi and A. Y. Kitaev, Quantum codes on a lattice with boundary, arXiv:quant-ph/9811052 (1998).
- D. Litinski, A game of surface codes: Large-scale quantum computing with lattice surgery, Quantum 3, 128 (2019).
- A. G. Fowler and C. Gidney, Low overhead quantum computation using lattice surgery, arXiv:1808.06709 (2018).
- C. Chamberland and E. T. Campbell, Universal quantum computing with twist-free and temporally encoded lattice surgery, PRX Quantum 3, 010331 (2022).
- D. Litinski and N. Nickerson, Active volume: An architecture for efficient fault-tolerant quantum computers with limited non-local connections, arXiv:2211.15465 (2022).
- R. P. Brent and P. Zimmermann, Modern computer arithmetic, Vol. 18 (Cambridge University Press, 2010) pp. 67–68.
- C. Gidney, Windowed quantum arithmetic, arXiv:1905.07682 (2019a).
- C. Gidney and M. Ekerå, How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits, Quantum 5, 433 (2021).
- P. L. Montgomery, Modular multiplication without trial division, Mathematics of computation 44, 519 (1985).
- C. Gidney, Halving the cost of quantum addition, Quantum 2, 74 (2018).
- B. S. Kaliski, The montgomery inverse and its applications, IEEE transactions on computers 44, 1064 (1995).
- A. G. Fowler, Time-optimal quantum computation, arXiv:1210.4626 (2012).
- R. Rines and I. Chuang, High performance quantum modular multipliers, arXiv:1801.01081 (2018).
- C. Gidney, Quantum block lookahead adders and the wait for magic states, arXiv:2012.01624 (2020).
- C. Gidney, Approximate encoded permutations and piecewise quantum adders, arXiv:1905.08488 (2019b).
- C. Gidney and A. G. Fowler, Flexible layout of surface code computations using AutoCCZ states, arXiv:1905.08916 (2018).
Paper Prompts
Sign up for free to create and run prompts on this paper.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.