BPP
The class of decision problems solvable efficiently by randomized classical algorithms with a bounded probability of error. It supplies a natural comparison for bounded-error quantum algorithms.
Also called bounded-error probabilistic polynomial time
On this page
Plain-language explanation
Randomness is not unique to quantum computing. Classical programs can sample random choices and still provide reliable answers after repetition or concentration arguments. BPP captures this capability in a formal scaling model. A quantum advantage over deterministic exact queries may look different when compared with randomized bounded-error classical methods, so the comparator must be stated.
This concept protects beginners from a common unfair comparison. Quantum probabilistic outputs should usually be compared with appropriately capable classical probabilistic algorithms, not only deterministic ones.
Example
For a promised constant or balanced function, take eight independent uniformly chosen inputs and observe the output bits. If both values appear, the function is balanced under the promise. A balanced function produces eight identical outputs with probability 1/128, so the rule “identical means constant” errs on at most that fraction of trials.
Scope and limits
BPP is a theoretical class, not a measure of a particular computer's randomness quality or speed. Its definitions concern all inputs and asymptotic resource bounds.
BQP is a related idea. Both classes allow bounded error and polynomial resources. BPP uses classical random computation; BQP allows coherent quantum operations and measurements.
Sources
Verification scope
Recorded source check ·
Algorithms, complexity, simulation and mathematical background
Version observed dated August 27, 2026; educational synthesis, not experimental performance evidence.
Verification scope
Recorded source check ·
Query model, Deutsch, Deutsch-Jozsa and Simon
Query-model advantages are not automatically end-to-end practical speedups.