Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Counting problem

A task that asks how many objects satisfy a specified condition, rather than asking for one example or merely whether an example exists. Exact and approximate counting are distinct requirements.

Edition released Entry updated Coverage: Overview
On this page

Plain-language explanation

Counting can be computationally difficult even when checking one candidate is easy. Quantum amplitude-estimation and counting techniques can estimate solution fractions under appropriate oracle assumptions. The desired precision and confidence matter: estimating a broad proportion is different from determining an exact integer count. A procedure should not be credited with a stronger output guarantee than it provides.

This helps readers understand estimation-focused quantum algorithms. It also shows why defining the output carefully matters as much as describing the input.

Example

Finding one satisfying assignment establishes that at least one exists. It does not tell whether there are ten or ten million. Estimating the fraction of successful candidates can support an approximate count, provided the candidate-space size and estimation error are known.

Scope and limits

Approximate counting is not exact counting. Small relative errors can still correspond to many objects, and rare-event cases may require different resources.

Search problem is a related idea. Search returns a candidate. Counting returns a number or estimate; access to one successful sample generally does not solve the counting task.

Sources

  • Gilles Brassard; Peter Hoyer; Michele Mosca; Alain Tapp · · Research paper · Publication status unspecified · arXiv
    Verification scope

    Selected source text checked ·

    Theoretical oracle model; independent examples do not constitute end-to-end hardware demonstrations.

  • Ronald de Wolf, CWI, QuSoft and University of Amsterdam · Reference · homepages.cwi.nl
    Verification scope

    Recorded source check ·

    Algorithms, complexity, simulation and mathematical background

    Version observed dated August 27, 2026; educational synthesis, not experimental performance evidence.