Qubits · Circuits · Algorithms
Learn to think in superposition
From to Shor’s algorithm on real quantum hardware: 17 lectures and 2 projects, built from first principles in Python.
>>> qc = QuantumCircuit(2)
>>> qc.h(0); qc.cx(0, 1)
>>> Statevector(qc)
|Φ⁺⟩ = (|00⟩ + |11⟩) / √2
🗺️ Roadmap¶
🧮 Phase 1 · Mathematical Foundations¶
The complex numbers, linear algebra and notation every quantum computation is built on.
The vectors, matrices and complex amplitudes that quantum states are made of.
Bras, kets and the language physicists use to write quantum states.
Set up your lab: simulate qubits with NumPy, then with Qiskit.
⚛️ Phase 2 · Qubits & Gates¶
Meet the qubit: superposition, gates, measurement and entanglement.
One qubit, infinitely many states, and a sphere to picture them.
X, Y, Z, H, S, T: rotations that steer a qubit around the sphere.
Where quantum meets classical: probabilities, collapse and the Born rule.
Tensor products, CNOT, Bell states and correlations Einstein called spooky.
🔗 Phase 3 · Circuits & Protocols¶
Wire qubits into circuits and use them to communicate in ways classical bits can’t.
Draw, simulate and debug quantum circuits in code.
Move a quantum state with two classical bits, or send two bits with one qubit.
Why qubits can’t be copied, and how that makes communication secure.
🧠 Phase 4 · Quantum Algorithms¶
Interference as a computational resource: from oracles to factoring.
Your first quantum speed-ups, powered by phase kickback.
Find a needle in a haystack in √N steps with amplitude amplification.
The interference engine behind most famous quantum algorithms.
Factoring integers with period finding, and what that means for RSA.
🔬 Phase 5 · Real Hardware & NISQ¶
Leave the ideal world: noise, error correction, hybrid algorithms and real QPUs.
Real qubits are fragile. Learn how errors happen and how to fight back.
Hybrid quantum–classical algorithms for today’s noisy devices.
Transpile, submit and interpret jobs on a real quantum processor.
🚀 Phase 6 · Projects¶
Put everything together and run a real quantum experiment.
Build and analyse a quantum protocol end to end.
The capstone: design, run and report on a quantum experiment.
🧑🔬 How to use this course¶
Each lecture page hosts the slides for that session. Skim them before class and come back to them after.
Run every notebook and change the circuits. A qubit you have simulated yourself is much easier to understand.
Once a circuit works in simulation, run it on a real quantum processor and see what noise does to it.