Smooth Structured Prediction Using Quantum and Classical Gibbs Samplers

By Behrooz Sepehry, Ehsan Iranmanesh, Michael P. Friedlander, & Pooya Ronagh

We introduce a quantum algorithm for solving structured prediction problems with a runtime that scales with the square root of the size of the label space, but scales in O˜(ε2.5) with respect to the precision of the solution. In doing so, we analyze a stochastic gradient algorithm for convex optimization in the presence of an additive error in the calculation of the gradients, and show that its convergence rate does not deteriorate if the additive errors are of the order O(ε). Our algorithm uses quantum Gibbs sampling at temperature O(ε) as a subroutine. Numerical results using Monte Carlo simulations on an image tagging task demonstrate the benefit of the approach.