/ advanced / 3d labBack to lab
Advanced studiesOpen the 3D Lab

3D LAB / 30 MIN

3D Lab tutorial: seeing qubits in space

|ψ⟩ = cos(θ/2)|0⟩ + e^{iφ} sin(θ/2)|1⟩
r = (⟨X⟩, ⟨Y⟩, ⟨Z⟩)

DERIVATION 1

Step 1 · Orbit and target

Open the 3D Lab. Drag with one finger or the mouse to orbit, pinch or scroll to zoom. Tap a sphere to target that qubit; the targeted sphere tints green. The arrow points to the Bloch vector: straight up is |0⟩, straight down is |1⟩, the equator holds equal superpositions.

DERIVATION 2

Step 2 · Fire single-qubit gates

Press H on q0 and watch its arrow swing from the north pole to the equator: P(0)=P(1)=50%. Press Z and the arrow turns half a revolution around the vertical axis, yet the bars stay 50/50. Use the angle slider with Rx, Ry or Rz to rotate by any angle; Ry(θ) tilts the arrow by θ from the pole.

DERIVATION 3

Step 3 · Build entanglement

Press the Bell pair preset. A red tube joins q0 and q1 and both arrows shrink to the centre: each qubit alone is now maximally mixed (purity 0.5) although the pair is pure. A short arrow is a signature of entanglement, not of a lost state. Try GHZ with three qubits, then Toffoli and Fredkin.

Assessment

0 / 2 answered · 0 saved attempts

1. After the Bell pair preset, why does each Bloch arrow shrink to the centre?
2. Applying Z to a qubit on the equator in the 3D Lab…

Sign in to save your assessment

Sign in to sync your saved circuits across devices.