Skip to main content
QUICK REVIEW

[Paper Review] Quantum Approximate Counting, Simplified

Scott Aaronson, Patrick Rall|arXiv (Cornell University)|Aug 28, 2019
Quantum Computing Algorithms and ArchitectureComputer Science26 citations
TL;DR

This paper presents a simplified, QFT-free quantum approximate counting algorithm that achieves the optimal query complexity of $O(\varepsilon^{-1}\sqrt{N/K})$ using only Grover iterations, matching the performance of the original BHMT algorithm. The method relies on Grover's diffusion operator and classical estimation techniques to estimate the marked item count $K$ with multiplicative error $\varepsilon$, while maintaining a computational overhead of only $O(\log N)$, making it more suitable for near-term quantum devices.

ABSTRACT

In 1998, Brassard, Hoyer, Mosca, and Tapp (BHMT) gave a quantum algorithm for approximate counting. Given a list of $N$ items, $K$ of them marked, their algorithm estimates $K$ to within relative error $\varepsilon$ by making only $O\left( \frac{1}{\varepsilon}\sqrt{\frac{N}{K}} ight) $ queries. Although this speedup is of "Grover" type, the BHMT algorithm has the curious feature of relying on the Quantum Fourier Transform (QFT), more commonly associated with Shor's algorithm. Is this necessary? This paper presents a simplified algorithm, which we prove achieves the same query complexity using Grover iterations only. We also generalize this to a QFT-free algorithm for amplitude estimation. Related approaches to approximate counting were sketched previously by Grover, Abrams and Williams, Suzuki et al., and Wie (the latter two as we were writing this paper), but in all cases without rigorous analysis.

Motivation & Objective

  • To eliminate the need for the Quantum Fourier Transform (QFT) in quantum approximate counting while preserving optimal query complexity.
  • To provide a rigorous analysis of a Grover-based algorithm for approximate counting, addressing gaps in prior heuristic approaches by Grover, Abrams and Williams, and others.
  • To generalize the simplified counting algorithm to amplitude estimation, enabling estimation of inner product magnitudes between quantum states.
  • To improve practicality for near-term quantum hardware by reducing quantum depth and reliance on complex quantum operations like controlled-Grover.
  • To establish a clear, analytically sound alternative to the BHMT algorithm that uses only standard Grover operations and classical statistical estimation.

Proposed method

  • The algorithm uses repeated Grover iterations on a system initialized to a uniform superposition, with marked states defined as those where the last two qubits are |00⟩.
  • It estimates the Grover angle $\theta = \arcsin(\sqrt{K/N})$ by measuring the probability of observing the marked state after $r$ iterations, which is $\sin^2(r\theta)$.
  • A classical estimation procedure identifies the maximum observed probability to estimate $r\theta$, which is then used to infer $\theta$ and thus $K$.
  • The algorithm applies a modified Grover diffusion operator that acts on an extended Hilbert space, incorporating an ancilla qubit to define the marked state via a controlled phase flip.
  • The estimation process uses a confidence interval approach to ensure the final estimate $\hat{K}$ satisfies $|\hat{K} - K| \leq \varepsilon K$ with high probability.
  • The method generalizes to amplitude estimation by redefining $\theta = \arcsin(a)$, where $a = |\langle\psi|\phi\rangle|$, and estimating $a$ via the same iterative Grover process.

Experimental results

Research questions

  • RQ1Can the quantum approximate counting algorithm be implemented without the Quantum Fourier Transform while maintaining optimal query complexity?
  • RQ2Is it possible to achieve a rigorous, QFT-free analysis of Grover-based amplitude estimation with multiplicative error guarantees?
  • RQ3How does the performance of a Grover-only algorithm compare to the original BHMT algorithm in terms of query count and computational overhead?
  • RQ4Can the algorithm be adapted to work efficiently under depth-limited quantum computation, where qubits are measured after limited operations?
  • RQ5Can parallelized Grover invocations be used in a QFT-free framework to maintain optimal query complexity while improving circuit depth?

Key findings

  • The proposed algorithm achieves the optimal query complexity of $O(\varepsilon^{-1}\sqrt{N/K})$ without using the Quantum Fourier Transform, matching the BHMT algorithm's performance.
  • The computational complexity exceeds the query complexity by only an $O(\log N)$ factor, making it efficient and practical for near-term quantum devices.
  • The algorithm is rigorously analyzed using classical statistical techniques, unlike prior heuristic approaches by Grover, Abrams and Williams, and Wie.
  • The method generalizes to amplitude estimation, providing an estimate $\hat{a}$ of $a = |\langle\psi|\phi\rangle|$ with multiplicative error $\varepsilon$ using $O(a^{-1}\varepsilon^{-1}\log(\delta^{-1}))$ queries with probability at least $1-\delta$.
  • The analysis corrects an algebraic error in the original version and improves the proof structure, enhancing clarity and correctness.
  • The algorithm is simpler and more amenable to implementation than BHMT, as it avoids controlled-unitary operations and QFT, relying only on standard Grover iterations and classical post-processing.

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.