Intuition
A qubit is a quantum system with a two-dimensional state space. Its basis states |0⟩ and |1⟩ define one way to prepare and measure it. A pure qubit can be written as a coherent linear combination of those states.
The same two measurement probabilities can describe several different pure states. For example, |+⟩ and |−⟩ are both evenly distributed in the computational basis, but a Hadamard sends them to different basis states.
Learning objectives
- Identify the computational basis
- Prepare a superposition
- Connect polar angle to measurement
Interactive exploration
Use the controls to change the state and see its calculated readout. You can return to this experiment as you work through the derivation.
State geometry
Drag or use arrow keysQubit controls
|ψ⟩Mathematical foundation
Up to a common phase, a pure qubit can be written with θ between 0 and π and azimuth φ modulo 2π.
The Bloch vector has three real coordinates. The poles correspond to |0⟩ and |1⟩, and the equator has equal computational-basis probabilities.
Worked example
At θ = π/3, the half-angle is π/6, so the probabilities are 3/4 and 1/4. Rotating φ at fixed θ changes the relative phase while keeping these two probabilities fixed.
Guided experiment
Return to |0⟩ and apply H. Then apply Z. Compare the vector and computational-basis probabilities for both states.
Go to the controlsCompare with the expected result
The vector crosses from +x to −x while the computational probabilities stay equal.
Understanding check
Circuit challenge
Prepare |+⟩ from |0⟩. Any circuit that creates the target state up to global phase is accepted.
Next steps
Want to keep your results? Start your learning journey
Open Bloch Sphere