Skip to the content
Kets & Gates homeOpen the app

Math toolkit

Angles on a sphere

Spherical coordinates, and why the Bloch sphere uses θ/2

about 10 min

Practise this in the app

In the app every question checks your answer and explains a wrong one.

Two angles name a point

A point on a sphere of radius 1 is fixed by two angles. The polar angle θ\theta is measured down from the north pole, so 0≤θ≤π0 \le \theta \le \pi: θ=0\theta = 0 is the north pole, θ=π/2\theta = \pi/2 the equator, θ=π\theta = \pi the south pole. The azimuth φ\varphi is measured around the equator, counter-clockwise from the +x+x axis, so 0≤φ<2π0 \le \varphi < 2\pi. The point's coordinates are

x=sin⁡θcos⁡φ,y=sin⁡θsin⁡φ,z=cos⁡θx = \sin\theta\cos\varphi, \quad y = \sin\theta\sin\varphi, \quad z = \cos\theta

The height z=cos⁡θz = \cos\theta depends on θ\theta alone, so a fixed θ\theta is a circle of latitude.

Check yourself

Which point has θ=π/2\theta = \pi/2 and φ=π/2\varphi = \pi/2?

  1. A(1,0,0)(1, 0, 0), on the equator at +x+x
  2. B(0,0,−1)(0, 0, -1), the south pole
  3. C(0,0,1)(0, 0, 1), the north pole
  4. D(0,1,0)(0, 1, 0), on the equator at +y+y
Show the answer

Answer: D. (0,1,0)(0, 1, 0), on the equator at +y+y

(sin⁡π2cos⁡π2, sin⁡π2sin⁡π2, cos⁡π2)=(0,1,0)(\sin\tfrac{\pi}{2}\cos\tfrac{\pi}{2},\ \sin\tfrac{\pi}{2}\sin\tfrac{\pi}{2},\ \cos\tfrac{\pi}{2}) = (0, 1, 0).

Why not the others

  • A. +x+x is φ=0\varphi = 0. A quarter turn counter-clockwise, φ=π/2\varphi = \pi/2, reaches +y+y.
  • B. The south pole has θ=π\theta = \pi. Here sin⁡θ=1\sin\theta = 1 and cos⁡θ=0\cos\theta = 0, so the point is on the equator.
  • C. The north pole has θ=0\theta = 0. With θ=π/2\theta = \pi/2 the point is on the equator, and φ=π/2\varphi = \pi/2 turns it a quarter turn from +x+x to +y+y.

Check yourself

What is the height zz of the point with θ=2π/3\theta = 2\pi/3 (any φ\varphi)?

z=  ?z = \;?

Hint
  1. z=cos⁡θz = \cos\theta.
Show the answer

Answer: z=−12z = -\frac{1}{2}

z=cos⁡(2π/3)=−1/2z = \cos(2\pi/3) = -1/2: 120° from the north pole is 30° below the equator.

Common slips

  • 12\frac{1}{2}: cos⁡(2π/3)\cos(2\pi/3) is negative: θ=120°\theta = 120° is past the equator, in the southern half. z=−1/2z = -1/2.

The 2:1 angle mapping

The Bloch sphere writes a qubit state as cos⁡θ2∣0⟩+eiφsin⁡θ2∣1⟩\cos\frac{\theta}{2}\ket0 + e^{i\varphi}\sin\frac{\theta}{2}\ket1. Why half the polar angle? The two sizes are non-negative and their squares add to 1, so they are the cosine and sine of one angle between 0 and 90°: 0 for ∣0⟩\ket0, 90° for ∣1⟩\ket1. A polar angle runs from 0 to 180°, pole to pole. Calling the amplitude angle θ/2\theta/2 stretches the first range onto the second, so ∣0⟩\ket0 and ∣1⟩\ket1 land on opposite poles and every state gets a point on the whole sphere. The price: every angle between states doubles on the sphere. That is why orthogonal states end up at opposite points.

Check yourself

A state is cos⁡45°∣0⟩+sin⁡45°∣1⟩\cos 45°\ket0 + \sin 45°\ket1. What is its polar angle θ\theta on the Bloch sphere?

  1. A22.5°22.5°
  2. B90°90°: it sits on the equator
  3. C45°45°
Show the answer

Answer: B. 90°90°: it sits on the equator

θ/2=45°\theta/2 = 45°, so θ=90°\theta = 90°. Equal amplitudes put the state on the equator, as P(0)=1/2P(0) = 1/2 requires.

Why not the others

  • A. That halves instead of doubling. The amplitudes contain θ/2=45°\theta/2 = 45°, so θ=90°\theta = 90°.
  • C. 45° is the angle in the amplitudes, which is θ/2\theta/2. Double it: θ=90°\theta = 90°. The state is ∣+⟩\ket{+}, on the equator.

Two identities connect the half-angle to the sphere:

cos⁡2θ2=1+cos⁡θ2\cos^2\frac{\theta}{2} = \frac{1 + \cos\theta}{2}
sin⁡2θ2=1−cos⁡θ2\sin^2\frac{\theta}{2} = \frac{1 - \cos\theta}{2}

Since the height is z=cos⁡θz = \cos\theta, P(0)=(1+z)/2{P(0) = (1 + z)/2}: the north pole (z=1z = 1) gives P(0)=1P(0) = 1, the equator gives 1/21/2 and the south pole gives 0.

Worked example

From amplitudes to a point

Locate cos⁡π8∣0⟩+sin⁡π8∣1⟩\cos\tfrac{\pi}{8}\ket0 + \sin\tfrac{\pi}{8}\ket1 on the sphere.

  1. Step 1

    Match it to cos⁡θ2∣0⟩+eiφsin⁡θ2∣1⟩\cos\frac{\theta}{2}\ket0 + e^{i\varphi}\sin\frac{\theta}{2}\ket1: θ/2=π/8\theta/2 = \pi/8, so θ=π/4\theta = \pi/4. There is no phase factor, so φ=0\varphi = 0.

  2. Step 2

    Coordinates: (sin⁡π4,0,cos⁡π4)=(22,0,22)(\sin\tfrac{\pi}{4}, 0, \cos\tfrac{\pi}{4}) = (\tfrac{\sqrt2}{2}, 0, \tfrac{\sqrt2}{2}), halfway between the north pole and +x+x.

  3. Your turn

    Use P(0)=(1+z)/2{P(0) = (1 + z)/2} to find P(0)P(0) for this state.

    P(0)=  ?P(0) = \;?

    Hint
    1. Here z=2/2z = \sqrt2/2.
    Show the answer

    Answer: P(0)=0.854P(0) = 0.854

    (1+22)/2=2+24≈0.854(1 + \tfrac{\sqrt2}{2})/2 = \tfrac{2+\sqrt2}{4} \approx 0.854, which equals cos⁡2(π/8)\cos^2(\pi/8).

    Common slips

    • 1.7071.707: That is 1+z1 + z, which is more than 1. Divide by 2: 2+24\tfrac{2 + \sqrt2}{4}.
    • 12\frac{1}{\sqrt{2}}: That is zz itself. Use P(0)=(1+z)/2{P(0) = (1 + z)/2}.

Check yourself

A state's point has height z=−12z = -\tfrac12. What is P(0)P(0)?

P(0)=  ?P(0) = \;?

Hint
  1. P(0)=cos⁡2(θ/2)=(1+cos⁡θ)/2P(0) = \cos^2(\theta/2) = (1 + \cos\theta)/2, and z=cos⁡θz = \cos\theta.
Show the answer

Answer: P(0)=14P(0) = \frac{1}{4}

P(0)=(1+z)/2=(1−12)/2=14P(0) = (1 + z)/2 = (1 - \tfrac12)/2 = \tfrac14.

Common slips

  • −12-\frac{1}{2}: zz is a coordinate, not a probability. Use P(0)=(1+z)/2{P(0) = (1 + z)/2}.
  • 34\frac{3}{4}: That is (1−z)/2=P(1)(1 - z)/2 = P(1). For P(0)P(0) use (1+z)/2(1 + z)/2.

Go further

Free resources for when you want more than this refresher covers.

Lessons that use it

Practise this in the appAll refreshers