Foundational Algorithms — Deutsch, Grover, QFT
You'll be able to:
You can explain the Deutsch-Jozsa, Grover, and Quantum Fourier Transform algorithms — what problem each solves, its speedup vs classical, and why the speedups do NOT generalise to arbitrary problems.
A team evaluates whether quantum computing could accelerate their optimisation workload, finds a paper describing a quadratic speedup for search, and estimates the payoff by squaring their current runtime improvement. The estimate is wrong by a wide margin, because a quadratic asymptotic speedup on a machine with enormous per-operation overhead does not translate into a practical gain at any problem size they will encounter.
Deutsch-Jozsa: existence, not utility
Given a black-box function promised to be either constant or balanced, Deutsch-Jozsa determines which with a single query where a deterministic classical algorithm needs exponentially many in the worst case (a randomised one can be right with high probability after a few queries). The problem is contrived and nobody needs it solved.
Its importance is historical and conceptual: it was the first clear demonstration that quantum computation can be provably faster for some task, and it shows the mechanism plainly — a single query places the function's structure into phase, and interference makes the global property observable in one measurement.
Grover: quadratic, and often not enough
Grover's algorithm searches an unstructured space of N items in about the square root of N steps rather than N. It applies broadly, which makes it the most frequently over-claimed result in the field.
Two limitations matter more than the speedup. First, quadratic is modest: a problem taking a trillion classical operations still needs a million quantum operations, and each is far slower and error-prone. Second, the speedup is provably optimal for unstructured search, so no cleverness improves it — and real problems usually have structure that classical algorithms already exploit, frequently beating Grover in practice.
The honest summary is that Grover applies almost everywhere and helps almost nowhere at realistic scales.
Quantum Fourier Transform: the engine underneath
The QFT computes a Fourier transform over amplitudes exponentially faster than the classical FFT computes one over data. This is the primitive behind the algorithms that do offer dramatic speedups, because it detects periodicity in a superposition.
The critical caveat, and the reason QFT is not a general accelerator for signal processing: the result lives in amplitudes and cannot be read out. You obtain a single measurement sample, not the transform. It is useful only when the thing you need is a global property such as a period, which is precisely the situation factoring presents.
Why speedups do not generalise
Each of these exploits specific structure — a promise, unstructured symmetry, or periodicity. The interference pattern that produces the answer is constructed from that structure. Absent it, there is nothing to build from, which is why exponential speedups remain confined to a small set of problems rather than expanding steadily.
Failure modes
Quadratic over-extrapolation — Grover assumed to make intractable problems tractable. Signal: feasibility estimates ignoring per-operation overhead.
QFT as accelerated FFT — expecting to read out a transform. Signal: a signal-processing proposal requiring full output.
Baseline unexamined — quantum compared against naive rather than best classical algorithms. Signal: no mention of the state-of-the-art classical approach.
Speedup assumed transferable — structure-dependent results applied to unstructured problems. Signal: a claimed speedup with no identified structure.
Explaining this to stakeholders
On Grover: it turns a trillion steps into a million, which sounds excellent until you learn each step is far slower and less reliable. It rarely wins at sizes that matter.
On why the exciting results are narrow: each depends on a specific mathematical property. Factoring has it. Most business problems do not, and no amount of hardware progress creates it.
On comparing fairly: the honest comparison is against the best classical method available, not the obvious one. That comparison removes most claimed advantages.
Curated Materials
1.8hThe deep work happens here — the lesson is your briefing.
Live on aiqbench
This lesson's subject on the rest of the site, today.
In the news, last 30 days
- Improved quantum algorithm for factoring integers with Jacobi symbolarXiv ·
- Harness or Fine-Tuning? Execution-Verified Agents for Qiskit-to-CUDA-Q PortingarXiv ·
- Classiq Partners with Carahsoft to Distribute Quantum Software Across U.S. Public Sector ContractsQuantum Computing Report ·
Test your knowledge
5 questions in 100 seconds, on a page of its own. Read everything above first.
Test your knowledge →Module Mission
30–40 minTrace Grover's algorithm for a 4-item search (2 qubits, 1 marked item). Show the state after each iteration and explain why one iteration is enough for this size.
Loading your work…