The state of a qubit corresponds to a point on a sphere, represented in this video by a point on the earth. Each time the mouse button is pressed, a measurement of the qubit is made in the direction given by the position of the mouse. The new state of the qubit after measurement is given by the position of the green disc if the outcome of the measurement is +, and the position of the red disc if the outcome of the measurement is -.