A globe for one qubit

A qubit can be drawn as an arrow inside a globe, called the Bloch sphere. When the arrow points to the north pole, |0⟩, the qubit will read 0 every time. At the south pole, |1⟩, it reads 1 every time.

Anywhere between, the height of the arrow sets the odds. On the equator the qubit reads 0 half the time and 1 half the time. How far round the equator the arrow points is the phase, which the odds cannot show but the next gate can use.

|+⟩

Press a gate to turn the arrow.

The arrow starts on the equator at |+⟩, an even mix of 0 and 1. |−⟩ sits on the far side of the equator with the same odds, and |+i⟩ and |−i⟩ sit a quarter of the way round. The dots trace each turn. Drag the globe to look round it, and Reset brings the arrow back to |+⟩.

Every gate turns the arrow. Some flip it between the poles and change the odds, and some swing it round the equator and change only the phase.

GateWhat it does to the arrow
XSwaps north and south, so a qubit that read 0 now reads 1
YAlso swaps north and south, turning about a different axis
ZSwings the arrow halfway round the equator and leaves the odds alone
HTips the north pole down to the equator, turning a sure 0 into a coin toss
SSwings the arrow a quarter of the way round the equator

Two qubits do not fit on one sphere, which is the subject of the note where both readings are written on the same line. The dictionary entry says what the sphere is for, and the puzzles ask you to land on a named state from the gates alone.