Start here
Quantum computing for beginners
To start learning quantum computing, learn what a qubit holds, then what reading it does, then how gates make its numbers add and cancel, and only after that move on to noise and to two qubits. This page lays out that path through the free notes, glossary entries, qubit page, puzzle and quizzes on Quantum Nerds, with a sentence on what each one teaches.
You do not need physics or code. You need school arithmetic and some patience with negative numbers. If you would like a one-page overview before the path, read What is quantum computing? first.
How much maths do you need?
Less than people fear. To follow the first notes you need to square a number, add two numbers that may be negative, and accept that 0.71 is short for one over the square root of 2. Later puzzles bring in complex numbers, which carry a size and an angle, and the complex number entry explains them from scratch when you get there. Matrices help with some of the quizzes, but the notes never need them.
The one sum to learn first
Almost everything on this site comes back to one step. A qubit carries two amplitudes, one for 0 and one for 1, and the chance of each reading is the square of its amplitude's size.
Say a qubit holds 0.6 for 0 and 0.8 for 1. The chance of reading 0 is 0.6 × 0.6 = 0.36, and the chance of reading 1 is 0.8 × 0.8 = 0.64. They add to 1. Run 1,000 fresh copies and expect about 360 zeros. Now make the second number −0.8. The chances do not change, but the qubit is in a different state, and the right gate will show it. If that last line makes you curious, you are ready for the path.
The path, in order
Each stage names one note to read and the glossary entries to keep open beside it, and some add a tool to try. The notes are short, and each ends with a check you can run. Follow the stages in order the first time through.
1. Bits and qubits
Read A bit is a switch. It sets a classical bit beside a qubit and shows how the squares of the amplitudes give the chances. Keep bit, qubit and probability open. The superposition entry is where the site drops the line that a qubit is 0 and 1 at once, and it shows a test that rules out a hidden 0 or 1.
2. Measurement
Read Measurement replaces the amplitudes. It teaches that a reading gives one bit and leaves the qubit in the state you read, so you learn the odds only by running fresh copies. Keep measurement, shot and collapse beside it.
3. Gates and interference
Read The sign is what cancels, the note the rest of the site leans on. It shows how two H gates in a row cancel back to a certain 0, and how a hidden minus from Z turns that into a certain 1. Keep Hadamard gate, Z gate, interference and phase open. Then turn a qubit yourself on the qubit page, which draws it as an arrow on the Bloch sphere. Keep Quantum gates explained to hand as a reference card.
4. Noise
Read Noise scrambles the sign. It explains why real machines are hard to build, since the surroundings wipe out the sign that interference needs. Keep decoherence, coherence time and error correction beside it. The mixed state and logical qubit entries take the idea further.
5. Circuits and gate order
Read The left-hand gate runs first. It teaches how to read a circuit and why the same gates in another order finish somewhere else. Then play the puzzle, ten one-qubit challenges in which you reach a target state in the fewest gates. The later puzzles bring in the S gate and the Y gate, and the relative phase and global phase entries explain which differences count.
6. Two qubits and entanglement
Read Both readings were written on the same line. It builds an entangled pair from H and a controlled NOT, and shows why the pair still cannot carry a message. Keep product state, entanglement and Bell state open. For the same circuit told as one story, read How does a quantum computer work?
7. Test yourself
The quizzes in the arcade assume you can read kets and know the gates, so leave them until the six notes feel easy. A good order is Which Gate to name a gate from the Bloch sphere, Which Outcome to work out odds, Which State to sort product, entangled and mixed states, Which Measurement to pick a basis, Which Matrix to multiply gates, and Which Algorithm to name algorithms such as Grover's search from their spec sheets.
Tips that save time
- Do the sums on paper. Each note keeps the numbers small enough to square by hand, and the squares are where the ideas stick.
- Keep the sign. Dropping a minus is an easy slip to make. The chances ignore it, but the next gate does not.
- Drop the slogans. A qubit is not 0 and 1 at once, and a quantum computer does not try every answer at once.
- Look words up as you go. The Nerdictionary defines each term the way the notes use it, and each entry has a section on what the word is not.
What comes after this path?
Once the six notes and the quizzes feel easy, you are ready for a full course with matrices, more qubits and real algorithms. The longer courses are on Quantum Computing Courses. The Learn shelf lists the notes in order if you want to come back to one.
Questions people ask
Can I learn quantum computing without a physics degree?
Yes. The core ideas need squaring, adding and negative numbers, not physics. This site starts from a classical bit and builds up one step at a time.
How much maths do I need for quantum computing?
To begin, school arithmetic is enough. You square amplitudes, add signed numbers and use the square root of 2. Complex numbers and matrices come later, and they help most once you move on to longer courses.
Do I need to code to learn quantum computing?
No. You can learn how qubits, gates and measurement work with pencil and paper. Code helps once you want to run larger circuits, and it is easier to pick up after the ideas make sense.
What should I learn first in quantum computing?
Learn what a qubit holds and how its two amplitudes set the chances of reading 0 or 1. Then learn what a measurement does, and then how gates make amplitudes add and cancel.
Is quantum computing hard to learn?
The first ideas are easier than their reputation. The hard part is letting go of slogans, such as a qubit being 0 and 1 at once, and trusting the arithmetic instead.