Checkpoint: Measure to Compute
This checkpoint pulls the module together. You will build the smallest genuinely two-dimensional cluster state — the graph state on a four-cycle — the resource whose cross-links make measurement-based computation universal. A one-dimensional chain can only teleport single-qubit gates; closing the chain into a loop introduces the connectivity that, with single-qubit measurements, yields entangling gates and hence universal logic.
The resource we are building
The four-qubit ring cluster state is the graph state on the cycle with vertices and edges
By the graph-state recipe, prepare every qubit in and apply a controlled- on each edge:
All four gates commute (each is diagonal), so the order in which you lay the edges does not matter.
What the amplitudes look like
Start from the uniform superposition,
with every amplitude . Each multiplies a basis string by — a minus sign exactly when both endpoints of that edge are . Over the four edges the total sign on the string is
So is real, every amplitude has magnitude , and the sign of each is set by the parity of the cycle's edges that the string "lights up." For instance () acquires one minus sign from edge ; has on all four edges, an even number, so it stays positive. The grader checks all sixteen amplitudes against the simulator's derived values — there is nothing to memorise, only the construction to get right.
Why this is the right capstone
Everything in the module converges here. The state is assembled by the cluster-state recipe (Lesson 2), described by the graph-state stabilizers (Lesson 8) — for the ring each vertex has exactly two neighbours — and it is the resource on which measurement patterns (Lesson 4) run gates by measurement and feed-forward (Lessons 3, 5, 6). The square is the unit cell from which large 2D clusters, and thus universal MBQC and its fault-tolerant 3D extension (Lessons 7, 9), are tiled. Build the ring correctly and you have built, in miniature, the substrate of the entire one-way model.
Try it
Construct the four-qubit ring cluster state: a Hadamard on each qubit, then a controlled- on each of the four cycle edges . The grader verifies the full 16-amplitude state vector against the simulator's own derivation.
Sign in on the full site to ask questions and join the discussion.