English

Asymptotically Efficient Quantum Karatsuba Multiplication

Quantum Physics 2019-04-17 v1

Abstract

We improve the space complexity of Karatsuba multiplication on a quantum computer from O(n1.427)O(n^{1.427}) to O(n)O(n) while maintaining O(nlg3)O(n^{\lg 3}) gate complexity. We achieve this by ensuring recursive calls can add their outputs directly into subsections of the output register. This avoids the need to store, and uncompute, intermediate results. This optimization, which is analogous to classical tail-call optimization, should be applicable to a wide range of recursive quantum algorithms.

Keywords

Cite

@article{arxiv.1904.07356,
  title  = {Asymptotically Efficient Quantum Karatsuba Multiplication},
  author = {Craig Gidney},
  journal= {arXiv preprint arXiv:1904.07356},
  year   = {2019}
}

Comments

10 pages, 2 figures, code in ancillary files

R2 v1 2026-06-23T08:40:32.497Z