Papers
Topics
Authors
Recent
Search
2000 character limit reached

Fast quantum integer multiplication with zero ancillas

Published 26 Mar 2024 in quant-ph | (2403.18006v4)

Abstract: The multiplication of superpositions of numbers is a core operation in many quantum algorithms. The standard method for multiplication (both classical and quantum) has a runtime quadratic in the size of the inputs. Quantum circuits with asymptotically fewer gates have been developed, but generally exhibit large overheads, especially in the number of ancilla qubits. In this work, we introduce a new paradigm for sub-quadratic-time quantum multiplication with zero ancilla qubits -- the only qubits involved are the input and output registers themselves. Our algorithm achieves an asymptotic gate count of $\mathcal{O}(n{1+\epsilon})$ for any $\epsilon > 0$; with practical choices of parameters, we expect scalings as low as $\mathcal{O}(n{1.3})$. Used as a subroutine in Shor's algorithm, our technique immediately yields a factoring circuit with $\mathcal{O}(n{2+\epsilon})$ gates and only $2n + \mathcal{O}(\log n)$ qubits; to our knowledge, this is by far the best qubit count of any factoring circuit with a sub-cubic number of gates. Used in Regev's recent factoring algorithm, the gate count is $\mathcal{O}(n{1.5+\epsilon})$. Finally, we demonstrate that our algorithm has the potential to outperform previous proposals at problem sizes relevant in practice, including yielding the smallest circuits we know of for classically-verifiable quantum advantage.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (46)
  1. P. W. Shor. “Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer.” SIAM Journal on Computing, 26(5), 1484–1509, October 1997. ISSN 0097-5397. doi:10.1137/S0097539795293172.
  2. U. Mahadev. “Classical Verification of Quantum Computations.” In “2018 IEEE 59th Annual Symposium on Foundations of Computer Science (FOCS),” pp. 259–267. October 2018. ISSN 2575-8454. doi:10.1109/FOCS.2018.00033.
  3. A. Gheorghiu and T. Vidick. “Computationally-Secure and Composable Remote State Preparation.” In “2019 IEEE 60th Annual Symposium on Foundations of Computer Science (FOCS),” pp. 1024–1033. November 2019. ISSN 2575-8454. doi:10.1109/FOCS.2019.00066.
  4. “A Cryptographic Test of Quantumness and Certifiable Randomness from a Single Quantum Device.” Journal of the ACM (JACM), August 2021. doi:10.1145/3441309.
  5. “Simpler Proofs of Quantumness.” In S. T. Flammia (Editor), “15th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2020),” volume 158 of Leibniz International Proceedings in Informatics (LIPIcs), pp. 8:1–8:14. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2020. ISBN 978-3-95977-146-7. ISSN 1868-8969. doi:10.4230/LIPIcs.TQC.2020.8.
  6. “Classically-Verifiable Quantum Advantage from a Computational Bell Test.” Nature Physics, 18(8), 918–924, August 2022. ISSN 1745-2473, 1745-2481. doi:10.1038/s41567-022-01643-7.
  7. “Simple Tests of Quantumness Also Certify Qubits.” In H. Handschuh and A. Lysyanskaya (Editors), “Advances in Cryptology – CRYPTO 2023,” Lecture Notes in Computer Science, pp. 162–191. Springer Nature Switzerland, Cham, 2023. ISBN 978-3-031-38554-4. doi:10.1007/978-3-031-38554-4˙6.
  8. O. Regev. “An Efficient Quantum Factoring Algorithm.”, August 2023. doi:10.48550/arXiv.2308.06572.
  9. “Improved reversible and quantum circuits for Karatsuba-based integer multiplication.” In M. M. Wilde (Editor), “12th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2017),” volume 73 of Leibniz International Proceedings in Informatics (LIPIcs), pp. 7:1–7:15. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany, 2018. ISBN 978-3-95977-034-7. ISSN 1868-8969. doi:10.4230/LIPIcs.TQC.2017.7.
  10. “Quantum circuits for Toom-Cook multiplication.” Physical Review A, 98(1), 012311, July 2018. doi:10.1103/PhysRevA.98.012311.
  11. C. Gidney. “Asymptotically Efficient Quantum Karatsuba Multiplication.” arXiv:1904.07356 [quant-ph], April 2019.
  12. “Quantum Circuit Design of Toom 3-Way Multiplication.” Applied Sciences, 11(9), 3752, January 2021. ISSN 2076-3417. doi:10.3390/app11093752.
  13. “Reversible Karatsuba’s Algorithm.” J. UCS, 12, 499–511, January 2006.
  14. C. Gidney and M. Ekerå. “How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits.” Quantum, 5, 433, April 2021. doi:10.22331/q-2021-04-15-433.
  15. S. Ragavan and V. Vaikuntanathan. “Space-Efficient and Noise-Robust Quantum Factoring.”, February 2024. doi:10.48550/arXiv.2310.00899.
  16. M. Bodrato. “Towards Optimal Toom-Cook Multiplication for Univariate and Multivariate Polynomials in Characteristic 2 and 0.” In C. Carlet and B. Sunar (Editors), “Arithmetic of Finite Fields,” Lecture Notes in Computer Science, pp. 116–133. Springer, Berlin, Heidelberg, 2007. ISBN 978-3-540-73074-3. doi:10.1007/978-3-540-73074-3˙10.
  17. D. E. Knuth. The Art of Computer Programming, Volume II: Seminumerical Algorithms, 3rd Edition. Addison-Wesley, 1998. ISBN 0-201-89684-2.
  18. “Quantum networks for elementary arithmetic operations.” Physical Review A, 54(1), 147–153, July 1996. doi:10.1103/PhysRevA.54.147.
  19. C. Zalka. “Fast versions of Shor’s quantum factoring algorithm.” arXiv:quant-ph/9806084, June 1998.
  20. “A new quantum ripple-carry addition circuit.” arXiv:quant-ph/0410184, October 2004.
  21. “A logarithmic-depth quantum carry-lookahead adder.” Quantum Information & Computation, 6(4), 351–369, July 2006. ISSN 1533-7146.
  22. “Factoring using 2n + 2 qubits with Toffoli based modular multiplication.” Quantum Information & Computation, 17(7-8), 673–684, June 2017. ISSN 1533-7146.
  23. C. Gidney. “Factoring with n+2 clean qubits and n-1 dirty qubits.” arXiv:1706.07884 [quant-ph], January 2018.
  24. T. G. Draper. “Addition on a Quantum Computer.” arXiv:quant-ph/0008033, August 2000.
  25. Quantum Computation and Quantum Information: 10th Anniversary Edition. Cambridge University Press, USA, 10th anniversary ed edition, 2011. ISBN 978-1-107-00217-3.
  26. R. Cleve and J. Watrous. “Fast parallel circuits for the quantum Fourier transform.” In “Proceedings 41st Annual Symposium on Foundations of Computer Science,” pp. 526–536. November 2000. ISSN 0272-5428. doi:10.1109/SFCS.2000.892140.
  27. “Implementing a universal gate set on a logical qubit encoded in an oscillator.” Nature Communications, 8(1), 94, July 2017. ISSN 2041-1723. doi:10.1038/s41467-017-00045-1.
  28. “Suppressing quantum errors by scaling a surface code logical qubit.” Nature, 614(7949), 676–681, February 2023. ISSN 1476-4687. doi:10.1038/s41586-022-05434-1.
  29. “A quantum processor based on coherent transport of entangled atom arrays.” Nature, 604(7906), 451–456, April 2022. ISSN 1476-4687. doi:10.1038/s41586-022-04592-6.
  30. Classical and Quantum Computation, volume 47 of Graduate Studies in Mathematics. American Mathematical Society, May 2002. ISBN 978-0-8218-3229-5 978-1-4704-0927-2 978-1-4704-2011-6 978-1-4704-1800-7. doi:10.1090/gsm/047.
  31. C. Gidney. “Turning Gradients into Additions into QFTs.” https://algassert.com/post/1620, July 2016.
  32. C. Gidney. “Halving the cost of quantum addition.” Quantum, 2, 74, June 2018. doi:10.22331/q-2018-06-18-74.
  33. “Approximate quantum Fourier transform with O ( n log( n )) T gates.” npj Quantum Information, 6(1), 1–6, March 2020. ISSN 2056-6387. doi:10.1038/s41534-020-0257-5.
  34. P. L. Montgomery. “Modular multiplication without trial division.” Mathematics of Computation, 44(170), 519–521, 1985. ISSN 0025-5718, 1088-6842. doi:10.1090/S0025-5718-1985-0777282-X.
  35. C. Zalka. “Shor’s algorithm with fewer (pure) qubits.” arXiv:quant-ph/0601097, January 2006.
  36. C. Gidney. “Windowed quantum arithmetic.”, May 2019. doi:10.48550/arXiv.1905.07682.
  37. “Quantum supremacy using a programmable superconducting processor.” Nature, 574(7779), 505–510, October 2019. ISSN 1476-4687. doi:10.1038/s41586-019-1666-5.
  38. “Quantum computational advantage using photons.” Science, 370(6523), 1460–1463, December 2020. ISSN 0036-8075, 1095-9203. doi:10.1126/science.abe8770.
  39. “Strong Quantum Computational Advantage Using a Superconducting Quantum Processor.” Physical Review Letters, 127(18), 180501, October 2021. doi:10.1103/PhysRevLett.127.180501.
  40. “Quantum computational advantage via 60-qubit 24-cycle random circuit sampling.” Science Bulletin, 67(3), 240–245, February 2022. ISSN 2095-9273. doi:10.1016/j.scib.2021.10.017.
  41. “Phase transition in Random Circuit Sampling.”, December 2023. doi:10.48550/arXiv.2304.11119.
  42. A. Natarajan and T. Zhang. “Bounding the Quantum Value of Compiled Nonlocal Games: From CHSH to BQP Verification.” In “2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS),” pp. 1342–1348. November 2023. ISSN 2575-8454. doi:10.1109/FOCS57990.2023.00081.
  43. “The State of the Art in Integer Factoring and Breaking Public-Key Cryptography.” IEEE Security & Privacy, 20(2), 80–86, March 2022. ISSN 1558-4046. doi:10.1109/MSEC.2022.3141918.
  44. A. Schönhage and V. Strassen. “Schnelle Multiplikation großer Zahlen.” Computing, 7(3), 281–292, September 1971. ISSN 1436-5057. doi:10.1007/BF02242355.
  45. “Elementary gates for quantum computation.” Physical Review A, 52(5), 3457–3467, November 1995. doi:10.1103/PhysRevA.52.3457.
  46. S. Beauregard. “Circuit for Shor’s algorithm using 2n+3 qubits.” Quantum Information & Computation, 3(2), 175–185, March 2003. ISSN 1533-7146.
Citations (8)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.