Skip to main content
QUICK REVIEW

[Paper Review] Opening the Black Box Inside Grover's Algorithm

E. Miles Stoudenmire, Xavier Waintal|arXiv (Cornell University)|Mar 20, 2023
Quantum Computing Algorithms and ArchitectureComputer Science12 citations
TL;DR

The authors construct a quantum-inspired classical algorithm (QiGA) that solves Grover’s search in O(log N) oracle calls, show it explicitly for 3-SAT, and argue Grover’s algorithm offers no practical quantum advantage due to entanglement and noise scaling.

ABSTRACT

Grover's algorithm is a primary algorithm offered as evidence that quantum computers can provide an advantage over classical computers. It involves an "oracle" specified for a given application whose structure is not part of the formal scaling of the quadratic speedup guaranteed by the algorithm. Grover's algorithm also requires exponentially many calls to the quantum oracle to succeed (about $\sqrt{2^n}$ calls for $n$ qubits), raising the question of its implementation on both noisy and error-corrected quantum computers. In this work, we construct a quantum-inspired algorithm, executable on a classical computer, that performs Grover's task in a linear number of calls to (simulations of) the oracle - an exponentially smaller number than Grover's algorithm - and demonstrate this algorithm explicitly for Boolean satisfiability problems. The complexity of our algorithm depends on the cost to simulate the oracle once which may or may not be exponential. Indeed, Grover's algorithm does not have an a priori quantum speedup as soon as one is given access to the "source code" of the oracle. Our findings illustrate this point explicitly as our algorithm exploits the structure of the quantum circuit used to program the quantum computer to speed up the search. There remain problems where Grover's algorithm would provide an asymptotic speedup if it could be run accurately for large enough sizes. Our quantum-inspired algorithm provides lower bounds, in terms of circuit complexity, for quantum hardware to beat classical approaches for these problems. These estimates, combined with the unfavorable scaling of the success probability of Grover's algorithm - which in the presence of noise decays as a double exponential in the number of qubits - makes a practical speedup unrealistic even under extremely optimistic assumptions of the evolution of both hardware quality and availability.

Motivation & Objective

  • Motivate the question of whether Grover’s algorithm provides a genuine quantum speedup in practice.
  • Develop a quantum-inspired classical algorithm that mimics Grover’s oracle with far fewer calls.
  • Explicitly demonstrate the approach on 3-SAT instances to illustrate practical implications.
  • Analyze the role of entanglement and noise in limiting Grover-based quantum advantage.

Proposed method

  • Represent Grover’s oracle as a rank-2 matrix product operator (MPO).
  • Compose the post-oracle state as a rank-2 matrix product state (MPS) and extract solutions by subtracting the initial superposition.
  • Use tensor network techniques and tensor cross interpolation to construct the MPS of the post-oracle state from a small number of amplitudes.
  • Show that a single call to the oracle suffices to complete Grover’s search in QiGA under favorable conditions.
  • Demonstrate the approach on random and quasi-one-dimensional 3-SAT instances to measure entanglement and runtime.
Figure 1: Schematic showing the main implications of our quantum-inspired Grover’s algorithm (QiGA) for the possibility of Grover’s algorithm offering a genuine quantum advantage.
Figure 1: Schematic showing the main implications of our quantum-inspired Grover’s algorithm (QiGA) for the possibility of Grover’s algorithm offering a genuine quantum advantage.

Experimental results

Research questions

  • RQ1Can a classical algorithm leverage the internal structure of Grover’s oracle to beat the standard √N oracle-call count?
  • RQ2How does the entanglement barrier within Grover’s circuit affect the practicality of quantum advantage?
  • RQ3Is it possible to construct the post-oracle state efficiently via tensor networks for NP-complete problems like 3-SAT?
  • RQ4What are the implications of noise for Grover’s algorithm when implemented on near-term quantum hardware?

Key findings

  • QiGA achieves Grover’s task in at most O(log N) oracle calls on a classical computer under the presented framework.
  • The post-oracle state |Psi_w angle is an MPS of bond dimension 1+S (or S+1 for multiple solutions), enabling efficient classical extraction of solutions.
  • The entanglement barrier within Grover’s algorithm is limited between iterations (max entropy ~ log 2), but intra-oracle entanglement depends on the circuit depth and problem instance.
  • Noise causes success probability to decay as an exponential of an exponential with the number of gates, challenging near-term quantum advantage claims.
  • For 3-SAT instances, the authors explicitly construct the oracle with O_C MPOs and simulate up to n=40 qubits, with final MPS ranks reaching thousands.
  • The existence of a quantum advantage would depend on the oracle’s circuit structure and depth, implying that P vs NP considerations relate to entanglement scaling in the oracle.
Figure 2: Entanglement entropy, in units of $\log(2)$ , of the quantum state during a simulation of Grover’s algorithm for $n=10$ qubits for the optimal number $r=25$ of iterations. Substeps between each complete iteration show the properties of the state after each layer of the quantum circuits des
Figure 2: Entanglement entropy, in units of $\log(2)$ , of the quantum state during a simulation of Grover’s algorithm for $n=10$ qubits for the optimal number $r=25$ of iterations. Substeps between each complete iteration show the properties of the state after each layer of the quantum circuits des

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.