Quantum × AI

Why AI fixes quantum errors, and whether quantum will repay it.

12 lessons, 41 course topics, about 389 min at Plain. Opened pages are remembered in this browser only.

Start here

What is a qubit?about 8 min at Plain

The lessons, in reading order

  1. What is a qubit?

    You'll be able to say what a qubit, a gate and a measurement are, and build and run a two-qubit entangling circuit.

    about 8 min at Plain Plain, Working or Formal

  2. How does AI fix quantum errors?

    You'll be able to say why a quantum computer needs constant error correction, and what an AI decoder adds.

    about 4 min at Plain Plain, Working or Formal After: What is a qubit?

  3. What is inside the machine?

    You'll be able to point to the main parts of a quantum computer and say what each is for.

    about 9 min at Plain One depth After: What is a qubit?

  4. What is a qubit made of?

    You'll be able to name the parts of a transmon qubit and say what each one does.

    about 4 min at Plain Plain, Working or Formal After: What is a qubit? Optional: nothing later needs it

  5. Is quantum computing just quantum mechanics?

    You'll be able to say what separates quantum computing from quantum mechanics, and track a qubit on the Bloch sphere.

    about 8 min at Plain Plain, Working or Formal After: What is a qubit?

  6. What is quantum error correction?

    You'll be able to explain how a surface code finds an error without reading the data, and why a threshold matters.

    about 4 min at Plain Plain, Working or Formal After: What is a qubit?

  7. What is a logical qubit?

    You'll be able to work out how many physical qubits one logical qubit costs at a given error rate.

    about 4 min at Plain Plain, Working or Formal After: What is quantum error correction?

  8. Why do the algorithms work?

    You'll be able to say why one mechanism, phase kickback, runs Deutsch-Jozsa, Simon and Shor.

    about 4 min at Plain Plain, Working or Formal After: What is a qubit?

  9. Will quantum boost AI?

    You'll be able to rank the four ways quantum might help AI, and say which survive the data-loading toll.

    about 4 min at Plain Plain, Working or Formal After: What is quantum error correction?

  10. How do the companies compare?

    You'll be able to compare the four qubit technologies on speed, error rate and scale, and say why none wins on all three.

    about 9 min at Plain Plain, Working or Formal After: What is a logical qubit?

  11. Where might quantum earn its keep?

    You'll be able to say which proposed uses of a quantum computer have a real case and which are still hype.

    about 4 min at Plain Plain, Working or Formal After: What is a qubit?

  12. Do quantum sensors and networks matter sooner?

    You'll be able to explain why quantum sensors already ship, and what quantum key distribution does and does not do.

    about 4 min at Plain Plain, Working or Formal After: What is a qubit?

The course: The Machinery

The mathematics underneath, topic by topic, with every claim proved or marked as not. Open the course page.

The Formal Framework Four topics, each taught four ways4 topics, about 17 min at Plain
  1. Postulates of quantum mechanics, explained

    about 5 min at Plain One depth After: Is quantum computing just quantum mechanics?

  2. Density matrix and mixed states explained

    about 4 min at Plain One depth After: Postulates of quantum mechanics, explained

  3. Quantum measurement: projective vs POVM

    about 4 min at Plain One depth After: Density matrix and mixed states explained

  4. The no-cloning theorem, explained

    about 4 min at Plain One depth After: Quantum measurement: projective vs POVM

Protocols Three topics, the postulates turned into something you can do3 topics, about 15 min at Plain
  1. Quantum teleportation, step by step

    about 5 min at Plain One depth After: The no-cloning theorem, explained

  2. Superdense coding, explained

    about 5 min at Plain One depth After: Quantum teleportation, step by step

  3. Schmidt decomposition and entanglement

    about 5 min at Plain One depth After: Superdense coding, explained

Building-block algorithms Three topics, the first speedups you can actually prove3 topics, about 18 min at Plain
  1. Deutsch's algorithm, explained

    about 6 min at Plain One depth After: Schmidt decomposition and entanglement

  2. The Deutsch-Jozsa algorithm, explained

    about 6 min at Plain One depth After: Deutsch's algorithm, explained

  3. Simon's algorithm, explained

    about 6 min at Plain One depth After: The Deutsch-Jozsa algorithm, explained

The Fourier transform Three topics: the machinery Shor's algorithm is actually built from3 topics, about 17 min at Plain
  1. The quantum Fourier transform, explained

    about 5 min at Plain One depth After: Simon's algorithm, explained

  2. Quantum phase estimation, explained

    about 5 min at Plain One depth After: The quantum Fourier transform, explained

  3. Period finding and continued fractions

    about 7 min at Plain One depth After: Quantum phase estimation, explained

Information theory Two topics: putting a number on uncertainty, classical and quantum2 topics, about 11 min at Plain
  1. Shannon entropy, explained

    about 5 min at Plain One depth After: Period finding and continued fractions

  2. Von Neumann entropy and the Holevo bound

    about 6 min at Plain One depth After: Shannon entropy, explained

Quantum algorithms for optimization & simulation Two topics: the near-term half of the zoo, with no speedup proof to its name2 topics, about 12 min at Plain
  1. QAOA and VQE, explained

    about 6 min at Plain One depth After: Von Neumann entropy and the Holevo bound

  2. Quantum simulation and chemistry, explained

    about 6 min at Plain One depth After: QAOA and VQE, explained

Complexity theory Three topics: how hard the general versions of this page's own problems actually are3 topics, about 20 min at Plain
  1. QMA and the local Hamiltonian problem

    about 7 min at Plain One depth After: Quantum simulation and chemistry, explained

  2. QMA-completeness, worked on a small circuit

    about 6 min at Plain One depth After: QMA and the local Hamiltonian problem

  3. Adiabatic universality and quantum PCP

    about 7 min at Plain One depth After: QMA-completeness, worked on a small circuit

Stabilizers One topic: the language error correction is written in1 topic, about 9 min at Plain
  1. Stabilizers and the Clifford group

    about 9 min at Plain One depth After: Adiabatic universality and quantum PCP

The two landmark algorithms Two topics: search in about √N steps, and factoring in polynomial time2 topics, about 23 min at Plain
  1. Grover's algorithm and amplitude amplification

    about 11 min at Plain One depth After: Stabilizers and the Clifford group

  2. Shor's algorithm, assembled

    about 12 min at Plain One depth After: Grover's algorithm and amplitude amplification

The Workbench: before the tools Three topics: the arrays, the equation of motion and the oscillator that every circuit simulation is made of3 topics, about 27 min at Plain
  1. Vectors, matrices and Kronecker products

    about 10 min at Plain One depth After: Shor's algorithm, assembled

  2. The Hamiltonian and time evolution

    about 9 min at Plain One depth After: Vectors, matrices and Kronecker products

  3. The harmonic oscillator and Fock space

    about 8 min at Plain One depth After: The Hamiltonian and time evolution

The Workbench: a qubit in the lab Two topics: driving a qubit with a microwave tone, and what its environment does to it2 topics, about 19 min at Plain
  1. A driven qubit: Rabi oscillations and the rotating frame

    about 10 min at Plain One depth After: The harmonic oscillator and Fock space

  2. Open systems: T1, T2 and the Lindblad equation

    about 9 min at Plain One depth After: A driven qubit: Rabi oscillations and the rotating frame

The Workbench: the circuits Four topics: the transmon, the fluxonium, a qubit with its resonator, and two qubits together4 topics, about 36 min at Plain
  1. From a circuit to a qubit: the transmon in numbers

    about 10 min at Plain One depth After: Open systems: T1, T2 and the Lindblad equation

  2. Beyond the transmon: flux sweeps and the fluxonium

    about 9 min at Plain One depth After: From a circuit to a qubit: the transmon in numbers

  3. Circuit QED: a qubit and a resonator

    about 9 min at Plain One depth After: Beyond the transmon: flux sweeps and the fluxonium

  4. Two coupled qubits: ZZ and frequency collisions

    about 8 min at Plain One depth After: Circuit QED: a qubit and a resonator

The Workbench: the two programs Five topics: set up the bench, then QuTiP and scqubits, two topics each5 topics, about 46 min at Plain
  1. Set up your bench: install, first run, and where to look

    about 9 min at Plain One depth After: Two coupled qubits: ZZ and frequency collisions

  2. QuTiP, part one: quantum objects

    about 8 min at Plain One depth After: Set up your bench: install, first run, and where to look

  3. QuTiP, part two: how a state changes in time

    about 10 min at Plain One depth After: QuTiP, part one: quantum objects

  4. scqubits, part one: a qubit in five lines

    about 9 min at Plain One depth After: QuTiP, part two: how a state changes in time

  5. scqubits, part two: coupled systems and the bridge to QuTiP

    about 10 min at Plain One depth After: scqubits, part one: a qubit in five lines

The Workbench: from a chip to a number Two topics: where the numbers come from, and fitting a chip to a measurement2 topics, about 22 min at Plain
  1. From a chip layout to a number, and the other tools in the field

    about 12 min at Plain One depth After: scqubits, part two: coupled systems and the bridge to QuTiP

  2. Fit a chip to a measurement

    about 10 min at Plain One depth After: From a chip layout to a number, and the other tools in the field

The Workbench: circuits in code Two topics: Qiskit and Cirq side by side, then from a circuit to a chip with noise2 topics, about 31 min at Plain
  1. Circuits in code: Qiskit and Cirq side by side

    about 13 min at Plain One depth After: Fit a chip to a measurement

  2. From circuit to chip: native gates, compilation and noise

    about 18 min at Plain One depth After: Circuits in code: Qiskit and Cirq side by side

How this track counts toward your rank349 points in all

Your rank is a code distance, d3 up to d25. Points come from questions you answer correctly and game levels you finish, never from opening a page, and each point belongs to one track. Your overall rank is set by your weakest track, and the top rank needs 80% of every track. This track holds 349 points: 33 lesson check questions, 1 point each (33); 41 course topic checks, 2 points each (82); 78 game levels, up to 3 points each for gold (234). Its games: Circuit Golf (13), Grover's Escape (9), chsh (9), duel (9), calibration (9), qttt (9), Surface Code Survival (4), Classical Strikes Back (6), Agent Lab (5), Magic State Factory (5).

Points needed on this track, when it is your weakest, for each rank
RankPoints
d30
d526
d751
d977
d11102
d13127
d15153
d17178
d19204
d21229
d23254
d25280

Two broken geniuses, fixing each other

AI decodersand calibration Better qubits Quantumsimulation New datafor AI shipping now mostly ahead

AI already reads the errors inside quantum computers, which makes better qubits. Better qubits will make data AI cannot get elsewhere; that half is mostly ahead.

The four routes, ranked honestly →

Prove itThe Decoder Duel: you are the AI Judge a claimWhich labs are below threshold? Keep goingNext track: Optimisation