04 / Mathematical toolkit · LESSON 8 / 27 · 14 MIN
Rotating on the Bloch sphere.
Connect rotation angles, phases and measurement probabilities.
Ry(θ)|0⟩ = cos(θ/2)|0⟩ + sin(θ/2)|1⟩
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
Initialize the register
Every qubit starts in zero.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.