Abstract
Numerous conceptually important quantum algorithms rely on a blackbox device known as an oracle, which is typically difficult to construct without knowing the answer to the problem that the algorithm is intended to solve. A notable example is Grover’s search algorithm. Here we propose a Grover search for solutions to a class of NP-complete decision problems known as subset sum problems, including the special case of number partitioning. Each problem instance is encoded in the couplings of a set of qubits to a central spin or boson, which enables a realization of the oracle without knowledge of the solution. The algorithm provides a quantum speedup across a known phase transition in the computational complexity of the partition problem, and we identify signatures of the phase transition in the simulated performance. Whereas the naive implementation of our algorithm requires a spectral resolution that scales exponentially with system size for NP-complete problems, we also present a recursive algorithm that enables scalability. We propose and analyze implementation schemes with cold atoms, including Rydberg-atom and cavity-QED platforms.
6 More- Received 11 September 2020
- Revised 23 February 2021
- Accepted 23 March 2021
DOI:https://doi.org/10.1103/PRXQuantum.2.020319
Published by the American Physical Society under the terms of the Creative Commons Attribution 4.0 International license. Further distribution of this work must maintain attribution to the author(s) and the published article's title, journal citation, and DOI.
Published by the American Physical Society
Physics Subject Headings (PhySH)
Popular Summary
Grover’s algorithm—a textbook result in the field of quantum information—theoretically allows a quantum computer to search through an unstructured list in a time scaling as the square root of the number of entries, a speedup over the best classical counterpart. A challenge in applying the algorithm is that it relies on a blackbox subroutine known as an oracle that is typically difficult to construct without knowing the answer to the search problem. Here we propose an application of Grover’s algorithm to speed up the search for solutions to the hard computational problem of number partitioning: given a set of objects with integer weights, is there a way of partitioning the objects into two subsets whose weights are perfectly balanced? Our proposal offers a natural way of encoding the problem—without knowing the solution—in the interactions of a set of spins representing the objects with one central spin that acts as the oracle. Such central spin models can be realized in several experimental platforms, for example, in systems of laser-cooled atoms.
Previous studies of number partitioning using concepts of statistical mechanics have shown that the problem exhibits a phase transition in computational complexity, being either easy or hard depending on the dynamic range of the integer weights. We calculate the quantum speedup attainable throughout this phase diagram and find that it peaks at the phase transition. Our analysis sheds light on the physical manifestations of computational complexity.