Cheat sheet

Quantum computing cheat sheet

28 October 2026.

This sheet fits the core ideas of quantum computing on one page. It is built for quick reference and prints on a single side of paper. Each line links to a longer explanation, in case you want the reasoning behind it.

The five rules

  1. State. A qubit holds two numbers, called amplitudes, one for the reading 0 and one for the reading 1. Write it a|0⟩ + b|1⟩.
  2. Chances. The chance of each reading is the squared size of its amplitude. The two chances always add to 1.
  3. Gates. A gate rewrites the amplitudes by a fixed rule and reads nothing. Every gate can be run backwards.
  4. Interference. Amplitudes can be negative or complex, so two routes to one outcome can cancel. Chances alone never could.
  5. Measurement. Reading a qubit returns one bit, 0 or 1, with the chances above. It then leaves the qubit in the state you read.

Key numbers

QuantityValue
Amplitudes for n qubits2 to the power n. That is 2, 4, 8, 16 for one to four qubits, 1,024 for ten, and about 1.1 quadrillion for fifty.
Bits you get on reading n qubitsn
Even splitBoth amplitudes are 1 ÷ √2, about 0.71, so each chance is ½
Chance from an amplitudeAmplitude × amplitude, or the squared size if it is complex
Repeat runsEach run of a circuit is a shot. A few thousand shots give the chances to about one percent

Most-used gates

GateOne line
HTurns |0⟩ into an even split. Adds and subtracts the two amplitudes, then divides by √2.
XSwaps the two amplitudes. The quantum NOT.
ZFlips the sign of the amplitude for 1.
CNOTFlips a second qubit wherever the first reads 1. H then CNOT makes a Bell state.

The full list, with matrices, is on the quantum gates cheat sheet.

What quantum computers are good for

TaskMethodGain over an ordinary computer
Factoring large numbersShor's algorithmFar fewer steps than any known ordinary method. Needs a large, error-corrected machine.
Searching an unsorted listGrover's searchSquare-root saving only. A list 100 times longer needs about 10 times the rounds.
Modelling molecules and materialsQuantum simulationLikely, and an active research area
Everyday computingNoneNo gain. An ordinary computer is faster and cheaper.

See Can quantum computers break encryption? for what Shor's algorithm threatens and what replaces the affected locks.

Hardware at a glance

Kind of qubitMade fromKept at
SuperconductingTiny electrical circuits on a chipClose to absolute zero
Trapped ionSingle charged atoms held by electric fieldsA vacuum, with laser control
OthersPhotons, neutral atoms, electron spins in siliconVaries

The hard part is errors

  • Decoherence is the fading of the tidy numbers when heat or stray fields leak in. A device has a coherence time, and a circuit must finish well inside it.
  • Error correction spreads one protected logical qubit across many physical ones so slips can be found and repaired.
  • Fidelity scores how close a real state or gate is to the one intended. Higher is better.

Mistakes to avoid

  • A qubit is not 0 and 1 at the same time. It is one state with two numbers, and a reading gives one bit.
  • A quantum computer does not try every answer and hand you the best. It helps only when a circuit makes the wrong answers cancel before the reading.
  • Entanglement does not send messages. Each qubit read alone is a fair toss.
  • Quantum computers will not replace ordinary ones. They are tools for a few particular jobs.

Go deeper

Start with What is quantum computing? or follow the reading order in Quantum computing for beginners. The Nerdictionary defines every term on this sheet, and Quantum vs classical computing compares the two kinds of machine side by side.

Questions people ask

What are the key rules of quantum computing?

A qubit holds two amplitudes. The chances of the readings are their squared sizes and add to 1. Gates rewrite the amplitudes without reading them. A measurement returns one bit per qubit and ends the superposition.

How many numbers does it take to describe n qubits?

It takes 2 to the power n amplitudes. That is 4 for two qubits, 1,024 for ten and about 1.1 quadrillion for fifty. Reading them still gives only n bits.

What are the main quantum algorithms?

Shor's algorithm factors large numbers, Grover's search finds a marked item in an unsorted list with a square-root saving, and quantum simulation models molecules and materials.

What are the main kinds of qubit?

The two most common are superconducting circuits, cooled near absolute zero, and trapped ions, held in a vacuum. Others use photons, neutral atoms and electron spins in silicon.

What is the most common beginner mistake?

Saying a qubit is 0 and 1 at the same time. A qubit holds two numbers, and each reading gives one bit.