/ advanced / 3d lab Back to 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 select

Open the 3D Lab. Drag with one finger or the mouse to orbit, and pinch or scroll to zoom. Tap a sphere to select that qubit; the selected sphere turns green. The arrow shows the Bloch vector: straight up is |0⟩, straight down is |1⟩, and equal superpositions lie on the equator.

DERIVATION 2

Step 2 · Apply single-qubit gates

Press H on q0 and the arrow swings from the north pole down to the equator: P(0)=P(1)=50%. Press Z and it turns half a revolution about the vertical axis, yet the bars still read 50/50. The angle slider with Rx, Ry or Rz rotates by any angle you like; Ry(θ) tilts the arrow by θ away from the pole.

DERIVATION 3

Step 3 · Create entanglement

Choose the Bell pair preset. A violet tube links 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 the mark of entanglement, not of a lost state. Next try GHZ with three qubits, then Toffoli and Fredkin.

Assessment

0 / 2 answered · 0 saved attempts

1. Once the Bell pair preset has run, why does each qubit's Bloch arrow shrink to the centre?
2. In the 3D Lab, what does Z do to a qubit on the equator?

Sign in to save your assessment

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.