Sampling task
A sampling task asks a computer to produce outcomes according to a specified probability distribution, so success concerns the distribution of many outputs rather than one fixed correct answer.
Also called Quantum sampling benchmark
On this page
Plain-language explanation
Quantum circuits naturally generate probabilistic measurement outcomes, making sampling a useful setting for studying computational capability. Some distributions are designed to be difficult for classical methods to reproduce under stated assumptions. Evaluating the quality of samples can itself be challenging, especially when exact probabilities are expensive to compute. A sampling benchmark must therefore explain its validation method, error tolerance, and classical comparison. Practical value is a separate question from computational difficulty.
This helps beginners understand why a famous quantum result might consist of bitstrings rather than a recognizable answer such as a molecule's energy. The achievement may concern producing a hard distribution, not solving an everyday task.
Example
Rolling a fair die is an ordinary sampling task: one roll is not right or wrong simply because it shows six. What matters is the distribution over many rolls. Quantum benchmarks use far more structured distributions, and checking their quality requires more sophisticated methods than counting six faces.
Scope and limits
A device producing random-looking strings has not automatically solved a hard sampling problem. Uniform randomness can be easy to generate. The target distribution, closeness criterion, validation evidence, and classical difficulty assumptions are essential parts of the claim.
Optimization task is a related idea. Sampling produces outcomes from a distribution. Optimization seeks a solution with a good objective value under constraints. A hard sampling demonstration does not automatically prove an advantage for optimization, even when both tasks use similar hardware.
Sources
Verification scope
Recorded source check ·
Random-circuit sampling and cross-entropy benchmarking
Historical task-specific result; classical comparison has evolved since publication.
Verification scope
Recorded source check ·
NISQ terminology and opportunities/limits
Historical perspective; no contemporary performance forecast should be inferred.