QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
HomeLearnCatalogRanksPlaygroundDocs
06 · The Bloch sphere0%

You are reading without signing in. Sign in or continue as guest to take quizzes and climb the ranks.

Learn/QC 101Quantum Foundations·Lesson 6 of 7

The Bloch sphere

One qubit as a point on a sphere: angles, rotations and what entanglement does to the picture.

Beginner12 min read7 sections · 2 questions+45
By the end you will be able to
  1. 01Place |0⟩, |1⟩, |+⟩, |−⟩ on the sphere.
  2. 02Read RX, RY, RZ as rotations about the three axes.
  3. 03Explain why an entangled qubit's arrow is short.

Up to an overall phase, any single-qubit state is fixed by two angles: how far from |0⟩ (θ) and which way round (φ). Plot those angles on a sphere and every pure state is a point on its surface. |0⟩ is the north pole, |1⟩ the south pole, |+⟩ and |−⟩ sit on the equator.

∣ψ⟩=cos2θ​∣0⟩+eiφsin2θ​∣1⟩

01Gates are rotations

GateRotationExample
rx(θ)angle θ about the X axisrx(pi) = X (up to phase)
ry(θ)angle θ about the Y axisry(pi/2)|0⟩ = |+⟩
rz(θ)angle θ about the Z axis: changes phase onlyrz(pi/2) ≈ S, rz(pi/4) ≈ T
hhalf turn about the X+Z diagonalswaps the Z and X axes
Hands-on

Drag an angle

Select the RY gate in the composer and drag its angle slider while the State tab shows the Bloch view. The arrow sweeps from the north pole down through the equator.

OpenQASM 3
OPENQASM 3.0;
include "stdgates.inc";
qubit[1] q;
ry(pi/3) q[0];
Sign in to run (nothing is saved)
Open in the IDE Open in the Playground

02Short arrows: entanglement

The Bloch sphere describes one qubit on its own. When a qubit is entangled with another, its own state is mixed: no single point on the surface describes it, and QubitLab draws a shorter arrow inside the sphere. The length is the purity. A maximally entangled qubit sits at the centre: every measurement on it alone is a coin flip.

Hands-on

Watch the arrow shrink

State tab → Bloch. After H the first qubit has a full-length arrow on the equator; after CX both arrows collapse to the centre and are tagged 'entangled'.

OpenQASM 3
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] q;
h q[0];
cx q[0], q[1];
Sign in to run (nothing is saved)
Open in the IDE Open in the Playground
Knowledge check

2 questions · one try each counts

Question 1

Which gate moves a point along the equator without changing measurement probabilities in the Z basis?

Sign in to answer and climb the ranks; you will come back to this lesson.

Question 2

A qubit's Bloch arrow has length 0. What does that mean?

Sign in to answer and climb the ranks; you will come back to this lesson.

Key takeaway

One pure qubit is a point on the Bloch sphere; single-qubit gates are rotations of that point. A short arrow means the qubit is entangled and has no state of its own.

Finished reading?

Knowledge check: 2 questions waiting above. Questions are optional. Mark it complete, or press Next: moving on marks it complete too.

Up next
Lesson 7 · 12 min
Multi-Qubit Registers & Separability
Read |q1 q0⟩ labels the Qiskit way, build joint states with ⊗, and tell separable from entangled at a glance.
Further reading
  • Docs: Q-sphere and Bloch views
More in Quantum Foundations
  • Why quantum computing?
  • Bits, qubits and notation
  • Superposition and the Hadamard gate
Quantum Coin Game & InterferenceMulti-Qubit Registers & Separability
In this lesson0%
  1. Introduction
  2. Gates are rotations
  3. Try it: Drag an angle
  4. Short arrows: entanglement
  5. Try it: Watch the arrow shrink
  6. Knowledge check
  7. Key takeaway
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in