The course
You measure one qubit and read the counts. X and Hadamard come next. Leave the measurement out and the same listing shows the amplitudes, including the sign Z writes. You then add a second qubit. Qubit 0 is the bit on the right. You finish with a Bell pair: Hadamard on qubit 0, qc.cx(0, 1), and a measurement of both. Twelve sections, about 1 hour 45 minutes in all. Each run is a simulation of that circuit in Qiskit.
How a section works
- The line under the title is the task. The listing is already in the editor.
- Press Run, or Ctrl+Enter. Then answer from the bars. Three choices sit under the task, and the explanation stays shut until your choice matches.
- Once the explanation opens, change a gate and run again. Hover a word in the listing, or a bar, and the page names that piece.
- Next section moves you on. A section you have answered stays marked in this browser.
Why
Ln 1, Col 1
Qiskit
Run it.
Amplitudes and counts
Ctrl+Enter runs the listing on Qiskit.