Promise problem
A computational problem whose guarantee applies only to inputs satisfying a stated promise. Inputs outside the promised set need not receive a meaningful or correct answer.
On this page
Plain-language explanation
Promises can isolate useful structure and make theoretical algorithms easier to analyze. Deutsch-Jozsa assumes a function is either constant or exactly balanced; Simon's problem assumes a specific collision pattern. The promise is part of the task, not a minor technical footnote. If real data violates it, the theorem's interpretation may no longer apply.
This is one of the most useful concepts for reading algorithm demonstrations. It reveals when a dramatic result depends on carefully restricted inputs.
Example
An algorithm distinguishes a constant function from a balanced one. A function that is one on only a quarter of its inputs satisfies neither condition. Running the circuit on that function does not justify labeling its output using the original constant-or-balanced guarantee.
Scope and limits
Do not silently assume a promise holds in an application. Establishing or checking it can itself require work and may change the value of the algorithm.
Decision problem is a related idea. A standard decision problem specifies an answer for every valid encoded input. A promise problem only requires the guarantee within a designated subset.
Sources
Verification scope
Recorded source check ·
Query model, Deutsch, Deutsch-Jozsa and Simon
Query-model advantages are not automatically end-to-end practical speedups.
Verification scope
Recorded source check ·
Algorithms, complexity, simulation and mathematical background
Version observed dated August 27, 2026; educational synthesis, not experimental performance evidence.