/ quantum course Back to lab
PATHWAY PROGRESS0/27 passed

04 / Mathematical toolkit · LESSON 8 / 27 · 14 MIN

Rotating on the Bloch sphere.

Connect rotation angles, phases and measurement probabilities.

Mind the half angles

Up to a global phase, a pure qubit is cos(θ/2)|0⟩ + eⁱφ sin(θ/2)|1⟩, with Bloch vector (sin θ cos φ, sin θ sin φ, cos θ). At θ=π/2 the two computational-basis probabilities are equal.

Travelling over the sphere

Ry alters the polar angle of |0⟩. Rz shifts the relative phase by its rotation angle and leaves computational-basis probabilities as they were. The simulator takes angles in radians, so π equals 180 degrees.

Reading the poles

|0⟩ is the north pole and |1⟩ the south pole. A pure qubit has a Bloch vector of length one, while a mixed local state sits inside the sphere; rotations alone can never bring its purity back.

LIVE EXPERIMENT / 1 OF 3

q0|0⟩HS

Initialize the register

Every qubit starts in zero.

BasisAmplitudeProbability
|0⟩1.000100.0%

TEST YOURSELF

Lesson quiz

Get all 2 questions right to pass. Retry as often as you like.

0/2 answered

1. Ry(π) acts on |0⟩. What is P(1)?
2. What does Rz change directly?

Sign in with email or a wallet to check your answers and keep your lesson progress in sync.

Your account

Sign in to pick up your progress on any device.

or

Wallet sign-in uses a free signature (EIP-4361) on whatever EVM network your wallet is on. No gas, no transaction.