Quantum vs Classical Showdown
The honest map — for which problems does quantum actually win, by how much, and why? Complexity classes, quantum supremacy, and the challenge quiz that tests your quantum literacy.
Head-to-head
Sorting: no quantum advantage. Search: √N quantum speedup. Factoring: exponential quantum speedup. Simulation: exponential quantum speedup.
Complexity classes
P (classical poly-time), BQP (quantum poly-time), NP (verifiable), QMA (quantum verifiable). BQP contains Shor's and Grover's algorithms.
Quantum supremacy
Google's 2019 Sycamore: 200 seconds vs 10,000 classical years. Controversial but milestone. "Practical advantage" on useful problems is still ahead.
The honest truth
Quantum advantage is real but narrow. Most everyday computing stays classical. The problems that benefit are specific, important, and growing.
Classical vs Quantum — Time Scaling
Complexity Classes — Where Problems Live
P — Easy classically
Polynomial time on a classical computer. Always fast enough.
- Sorting, searching sorted data
- Matrix multiplication
- Shortest path (Dijkstra)
- Linear programming
NP — Hard to solve, easy to verify
No known polynomial-time solution, but answers are easy to check.
- Travelling Salesman (exact)
- Sudoku, protein folding
- Boolean satisfiability
BQP — Easy for quantum computers
Polynomial time on a quantum computer. This is where quantum wins.
- Factoring integers (Shor)
- Discrete logarithm
- Unstructured search (Grover — sort of)
- Quantum simulation
QMA — Hard even for quantum
The quantum equivalent of NP — problems a quantum computer can verify but not necessarily solve efficiently.
- Local Hamiltonian problem
- Quantum satisfiability
- Many-body quantum physics
Quantum Supremacy Timeline
Shor's Algorithm — Theoretical supremacy
Peter Shor proves quantum computers can factor integers exponentially faster. First proof that BQP contains problems outside known efficient classical algorithms.
China's Micius Satellite — QKD supremacy
First satellite-to-ground quantum key distribution. No classical equivalent possible — quantum communication milestone, not computing.
🔥 Google Sycamore — "Quantum Supremacy" claimed
Random circuit sampling in 200 seconds vs claimed 10,000 classical years. IBM disputed. Task has no practical application. But milestone hardware: 53 qubits, 0.1% gate errors.
China's Jiuzhang 2.0 — Photonic supremacy
Photonic boson sampling task. 10²⁴ faster than classical for that specific problem. Again, not practically useful — but demonstrates quantum hardware progress.
✅ Practical quantum advantage — still ahead
First time a quantum computer solves a real commercially useful problem faster than any classical computer. Most experts estimate 2028–2035, requiring fault-tolerant quantum hardware.
Quantum Advantage Challenge
🧠 What you actually learned today
- Quantum advantage is real but narrow: sorting (none), search (√N speedup), factoring (exponential), simulation (exponential). Most everyday computing stays classical.
- Complexity classes: P (classical poly-time), BQP (quantum poly-time), NP (hard to solve, easy to verify), QMA (hard even for quantum). P ⊆ BQP, BQP ≠ NP.
- Google's 2019 "supremacy" was real hardware progress but on a contrived problem with no practical use. True practical quantum advantage on useful problems is still ahead.
- The "killer" quantum applications are factoring (breaking RSA), quantum simulation (drug discovery), and specific optimisation problems — not general AI or sorting or database queries.
- A quantum scientist's key skill: given a problem, determine whether quantum hardware offers an algorithmic advantage — and if so, how much and under what conditions.
Quantum Realist Badge!
You can tell the difference between quantum hype and quantum reality!
Optional. Stays on this device only — not sent to WhizzStep.
Key Concepts from Q20
🎯 Narrow but real
Quantum advantage is proven for factoring (exponential), simulation (exponential), and search (quadratic). For most computing tasks — sorting, writing, image generation — classical remains optimal.
📊 P ⊆ BQP ⊆ PSPACE
Quantum computers are faster than classical for problems in BQP but not in P. The boundaries between these classes — especially whether BQP contains any NP-hard problems — are the central open questions.
🔬 Real milestone, wrong framing
Google 2019 proved quantum hardware is real and powerful. But the task was artificial. Practical advantage — on a problem someone actually needs solved — is the real finish line.
📖 Read headlines critically
"Quantum computers will solve all problems" — false. "Quantum computers will break all encryption" — eventually true for RSA, but post-quantum cryptography will replace it. Nuance is everything.
About this lab
Learning objective: Compare idealised algorithmic scaling for selected problems and identify where quantum methods do, and do not, offer an advantage.
What this simplifies: This is a local browser simulation, not access to real quantum hardware.
Privacy: No learner input leaves the device.
Teacher prompt: Ask the class why this simulation might mislead someone who takes it too literally.
Reflect: What is one thing this activity showed you that you did not expect?
← Back to all Labs