English

Quantum algorithms for matrix scaling and matrix balancing

Quantum Physics 2020-11-26 v1 Computational Complexity Data Structures and Algorithms Optimization and Control

Abstract

Matrix scaling and matrix balancing are two basic linear-algebraic problems with a wide variety of applications, such as approximating the permanent, and pre-conditioning linear systems to make them more numerically stable. We study the power and limitations of quantum algorithms for these problems. We provide quantum implementations of two classical (in both senses of the word) methods: Sinkhorn's algorithm for matrix scaling and Osborne's algorithm for matrix balancing. Using amplitude estimation as our main tool, our quantum implementations both run in time O~(mn/ε4)\tilde O(\sqrt{mn}/\varepsilon^4) for scaling or balancing an n×nn \times n matrix (given by an oracle) with mm non-zero entries to within 1\ell_1-error ε\varepsilon. Their classical analogs use time O~(m/ε2)\tilde O(m/\varepsilon^2), and every classical algorithm for scaling or balancing with small constant ε\varepsilon requires Ω(m)\Omega(m) queries to the entries of the input matrix. We thus achieve a polynomial speed-up in terms of nn, at the expense of a worse polynomial dependence on the obtained 1\ell_1-error ε\varepsilon. We emphasize that even for constant ε\varepsilon these problems are already non-trivial (and relevant in applications). Along the way, we extend the classical analysis of Sinkhorn's and Osborne's algorithm to allow for errors in the computation of marginals. We also adapt an improved analysis of Sinkhorn's algorithm for entrywise-positive matrices to the 1\ell_1-setting, leading to an O~(n1.5/ε3)\tilde O(n^{1.5}/\varepsilon^3)-time quantum algorithm for ε\varepsilon-1\ell_1-scaling in this case. We also prove a lower bound, showing that our quantum algorithm for matrix scaling is essentially optimal for constant ε\varepsilon: every quantum algorithm for matrix scaling that achieves a constant 1\ell_1-error with respect to uniform marginals needs to make at least Ω(mn)\Omega(\sqrt{mn}) queries.

Keywords

Cite

@article{arxiv.2011.12823,
  title  = {Quantum algorithms for matrix scaling and matrix balancing},
  author = {Joran van Apeldoorn and Sander Gribling and Yinan Li and Harold Nieuwboer and Michael Walter and Ronald de Wolf},
  journal= {arXiv preprint arXiv:2011.12823},
  year   = {2020}
}

Comments

62 pages

R2 v1 2026-06-23T20:30:27.540Z