|q⟩ Bad Qubits

advanced · Physics · Measurement-Based Quantum Computation

Computing by Measurement

We now make precise the central mechanism of the one-way model: how measuring one qubit performs a unitary gate on another. The elementary unit is a two-qubit gadget called one-bit teleportation, and understanding it once is enough to understand the whole model.

The elementary gadget

Take an input qubit in an unknown state ψ=α0+β1|\psi\rangle = \alpha|0\rangle + \beta|1\rangle on wire 11, and an ancilla prepared in +|+\rangle on wire 22. Entangle them with a controlled-ZZ — exactly the cluster-state construction on a single edge — and then measure wire 11 in the XX basis, i.e. in the basis {+,}\{|+\rangle, |-\rangle\}. We claim wire 22 is left holding a Hadamard-rotated copy of the input.

Track the state. After the controlled-ZZ,

CZ(ψ+)=12(α0(0+1)+β1(01)).CZ\,\big(|\psi\rangle \otimes |+\rangle\big) = \tfrac{1}{\sqrt2}\big(\alpha|0\rangle(|0\rangle + |1\rangle) + \beta|1\rangle(|0\rangle - |1\rangle)\big).

Now expand wire 11 in the XX basis using 0=12(++)|0\rangle = \tfrac{1}{\sqrt2}(|+\rangle + |-\rangle) and 1=12(+)|1\rangle = \tfrac{1}{\sqrt2}(|+\rangle - |-\rangle). Collecting terms,

=12(+1Hψ  +  1XHψ),= \tfrac{1}{\sqrt2}\Big( |+\rangle_1 \otimes H|\psi\rangle \;+\; |-\rangle_1 \otimes XH|\psi\rangle \Big),

where HH is the Hadamard gate. (Verifying this collection of terms by hand is the best possible exercise for building intuition.)

Reading the gadget

The displayed form says everything:

So a single XX-basis measurement teleports ψ|\psi\rangle from wire 11 to wire 22 and applies a Hadamard along the way. No unitary gate was ever applied to wire 22 — only an entangling step and a measurement on wire 11.

Tilting the basis chooses the gate

Measuring in the plain XX basis gives a Hadamard. Measuring in a tilted basis dials in a rotation first. Define the angle-ξ\xi basis

±ξ=12(0±eiξ1),|{\pm}_\xi\rangle = \tfrac{1}{\sqrt2}\big(|0\rangle \pm e^{i\xi}|1\rangle\big),

which is the XX basis pre-rotated by Rz(ξ)=diag(1,eiξ)R_z(\xi) = \mathrm{diag}(1, e^{i\xi}). Repeating the calculation with this basis, the gadget now leaves wire 22 in

XsHRz(ξ)ψ.X^{s}\, H\, R_z(\xi)\, |\psi\rangle .

The measurement angle ξ\xi is a programmable gate parameter. Sweeping ξ\xi over [0,2π)[0, 2\pi) realises the whole one-parameter family HRz(ξ)H R_z(\xi), and chaining gadgets along a cluster composes them. Since HH and Rz(ξ)R_z(\xi) together generate all single-qubit unitaries, a short chain of measurements suffices to apply any one-qubit gate to the teleported information.

From one gadget to a computation

A linear cluster is a sequence of these gadgets sharing wires: the output of one is the input of the next. Each measured qubit applies its HRz(ξk)H R_z(\xi_k) and hands the state to its successor, so after nn measurements the surviving qubit holds

(Pauli byproduct)HRz(ξn)HRz(ξ1)ψ.(\text{Pauli byproduct}) \cdot H R_z(\xi_n) \cdots H R_z(\xi_1)\,|\psi\rangle .

Two-qubit gates between different logical wires come from the cross-edges of a 2D cluster, where a shared controlled-ZZ couples two chains. The full algorithm is therefore nothing but a list of measurement angles {ξk}\{\xi_k\} on a fixed cluster — which is exactly the measurement pattern of the next lesson.

What we have established

The next lessons formalise these gadgets into reusable measurement patterns and then show precisely how the byproducts are managed.

Sign in on the full site to ask questions and join the discussion.