Project: State Tomography (Intro)
Every qubit state corresponds to a point on the Bloch sphere: a unit sphere where the north pole is , the south pole is , and every other point is a superposition. Knowing where a state lives on that sphere means knowing its Bloch vector , the triple of expectation values of the three Pauli operators.
A single measurement cannot reveal all three components — each measurement collapses the state and gives only a single bit. State tomography gets around this by repeating the preparation many times and measuring in three different bases, extracting one component per basis.
The three basis measurements
Z basis (the default)
Measure the qubit as-is. The Born rule gives
so
For this yields (north pole); for it yields (south pole); for it gives (equator).
X basis
Applying a Hadamard before measuring rotates the axis onto the axis:
The measurement outcome then encodes the component:
For , applying gives , so the outcome is always and . The Bloch vector tip is on the axis — exactly as expected.
Y basis
To extract , first apply (the inverse phase gate) and then . Together the two gates satisfy , so the composite rotation maps for measurement purposes. The protocol is identical in structure:
Together the three measurements reconstruct completely. For a pure state ; for a mixed state .
Try it
Measure in the X basis. Prepare the state with a Hadamard, rotate to the Z basis with a second Hadamard, then measure. The grader checks the output distribution: because , the result should be with probability , confirming .
After running, open the Probabilities panel. The bar for outcome 0 should be at and the
bar for 1 at . That single number — — tells you the Bloch
vector is exactly on the axis, which is the definition of .
Sign in on the full site to ask questions and join the discussion.