QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
HomeLearnCatalogRanksPlaygroundDocs
01 · Why quantum computing?0%

You are reading without signing in. Sign in or continue as guest to take quizzes and climb the ranks.

Learn/QC 101Quantum Foundations·Lesson 1 of 7

Why quantum computing?

What kind of problems a quantum computer is for, and what it is not.

Beginner10 min read7 sections · 2 questions+45
By the end you will be able to
  1. 01Name two problem families where quantum algorithms scale better than the best known classical ones.
  2. 02Explain why 'faster' is the wrong word and 'scales differently' is the right one.
  3. 03Recognise the three ingredients every quantum algorithm uses: superposition, interference, entanglement.

Your laptop is not slow. For almost everything you do with a computer, a classical processor is the right tool and will stay the right tool. A quantum computer is a different machine built for a narrow set of problems whose difficulty grows explosively with their size: the number of possibilities doubles every time you add one more variable, and a classical machine has to look at those possibilities one group at a time.

01Two problems that motivate the field

  • Factoring and discrete logarithms. Much of today's public-key cryptography rests on the belief that factoring a 600-digit number is hopeless. Shor's algorithm factors in polynomial time on a large, error-corrected quantum computer, which is why post-quantum cryptography exists.
  • Simulating nature. Molecules, magnets and new materials are quantum systems. Writing down the state of 50 interacting electrons exactly needs more numbers than there are atoms on Earth; a quantum computer stores that state in 50 qubits.

Notice what both have in common: the size of the problem is small (a number, a molecule) but the space of possibilities is enormous. That is the shape of a problem that fits a quantum computer. Sorting a list, serving a web page or training a spreadsheet do not have that shape.

02Scaling, not speed

classical search: O(2n)Grover: O(2n​)=O(2n/2)
Searching 2^n unsorted candidates. For n = 10 the difference is 1024 against 32 steps; for n = 60 it is 10^18 against 10^9. Each quantum step is slower than a classical one, so the advantage only appears at scale.

03The three ingredients

IngredientWhat it gives youWhere you will meet it
SuperpositionA register of n qubits carries amplitudes for all 2^n bit strings at once.Lesson 3 and the Hadamard gate
InterferenceAmplitudes add like waves: wrong answers can cancel, right answers can reinforce.Deutsch–Jozsa and Grover
EntanglementCorrelations between qubits that no classical description of each qubit alone can reproduce.The Bell state in Gates and Circuits
Hands-on

A first look

Open this two-qubit circuit and press Simulate. Only 00 and 11 come out. Nothing classical built from two independent coins behaves like this; the rest of the course explains why.

OpenQASM 3
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] q;
bit[2] c;
h q[0];
cx q[0], q[1];
c = measure q;
Sign in to run (nothing is saved)
Open in the IDE Open in the Playground
Knowledge check

2 questions · one try each counts

Question 1

Which statement about quantum computers is accurate?

Sign in to answer and climb the ranks; you will come back to this lesson.

Question 2

Why does Shor's algorithm matter for security?

Sign in to answer and climb the ranks; you will come back to this lesson.

Key takeaway

A quantum computer is not a faster laptop. It is a different machine whose cost grows differently on problems with the right structure: factoring, search with structure, and simulating quantum nature itself.

Finished reading?

Knowledge check: 2 questions waiting above. Questions are optional. Mark it complete, or press Next: moving on marks it complete too.

Up next
Lesson 2 · 12 min
Bits, qubits and notation
Kets, amplitudes and how a register of qubits is written down.
Further reading
  • Docs: how the field got here
More in Quantum Foundations
  • Superposition and the Hadamard gate
  • Measurement
  • Quantum Coin Game & Interference
Bits, qubits and notation
In this lesson0%
  1. Introduction
  2. Two problems that motivate the field
  3. Scaling, not speed
  4. The three ingredients
  5. Try it: A first look
  6. Knowledge check
  7. Key takeaway
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in