Fast quantum subroutines for the simplex method
Giacomo Nannicini IBM T.J. Watson research center, Yorktown Heights, NY nannicini@us.ibm.com Last updated: November 12, 2019.
Abstract We propose quantum subroutines for the simplex method that avoid classical computa- tion of the basis inverse. For a well-conditioned m × n constraint matrix with at most dc nonzero elements per column, at most d nonzero elements per column or row of the basis, and
- ptimality tolerance ǫ, we show that pricing can be performed in time ˜
O( 1
ǫ
√n(dcn + d2m)), where the ˜ O notation hides polylogarithmic factors. If the ratio n/m is larger than a certain threshold, the running time of the quantum subroutine can be reduced to ˜ O( 1
ǫ d√dcn√m).
Classically, pricing would require O(d0.7
c m1.9 + m2+o(1) + dcn) in the worst case using the
fastest known algorithm for sparse matrix multiplication. We also show that the ratio test can be performed in time ˜ O( t
δd2m1.5), where t, δ determine a feasibility tolerance; classically,
this requires O(m2) in the worst case. For well-conditioned sparse problems the quantum subroutines scale better in m and n, and may therefore have a worst-case asymptotic advan-
- tage. An important feature of our paper is that this asymptotic speedup does not depend on
the data being available in some “quantum form”: the input of our quantum subroutines is the natural classical description of the problem, and the output is the index of the variables that should leave or enter the basis.
1 Introduction
The simplex method is one of the most impactful algorithms of the past century; to this day, it is widely used in a variety of applications. This paper studies some opportunities for quantum computers to accelerate the simplex method. The use of quantum computers for optimization is a central research question that has attracted significant attention in recent years. It is known that a quadratic speedup for un- structured search problems can be obtained using Grover’s algorithm [Grover, 1996]. Thanks to exponential speedups in the solution of linear systems [Harrow et al., 2009, Childs et al., 2017], it seems natural to try to translate those speedups into faster optimization algorithms, since lin- ear systems appear as a building block in many optimization procedures. However, few results in this direction are known. This is likely due to the difficulties encountered when applying a quantum algorithm to a problem whose data is classically described, and a classical description
- f the solution is required. We provide a simple example to illustrate these difficulties.