|q⟩ Bad Qubits

intermediate · Physics · The Postulates of Quantum Mechanics

State Update After Measurement

The second half of Postulate 3 is the projection postulate: after a measurement that returns outcome aka_k, the state collapses to the normalized projection of the old state onto the eigenspace of aka_k. This lesson makes that update concrete and shows how it generates conditional probabilities for later measurements.

The update rule

If a measurement of A^=∑kakP^k\hat{A} = \sum_k a_k\hat{P}_k on ∣ψ⟩|\psi\rangle returns aka_k, the new state is

∣ψ′⟩=P^k∣ψ⟩⟨ψ∣P^k∣ψ⟩=P^k∣ψ⟩p(ak).|\psi'\rangle = \frac{\hat{P}_k|\psi\rangle}{\sqrt{\langle\psi|\hat{P}_k|\psi\rangle}} = \frac{\hat{P}_k|\psi\rangle}{\sqrt{p(a_k)}}.

The numerator P^k∣ψ⟩\hat{P}_k|\psi\rangle keeps only the part of ∣ψ⟩|\psi\rangle lying in the eigenspace; the denominator p(ak)\sqrt{p(a_k)} restores unit norm so ∣ψ′⟩|\psi'\rangle is a legitimate state. Notice that ∣ψ′⟩|\psi'\rangle is an eigenstate of A^\hat{A} with eigenvalue aka_k, which is why re-measuring gives aka_k again with certainty.

Partial measurement on a composite system

A frequent situation is measuring one qubit of a multi-qubit register. Measuring qubit 0 in the ZZ basis uses the two projectors

P^0(0)=∣0⟩⟨0∣⊗I^,P^0(1)=∣1⟩⟨1∣⊗I^,\hat{P}_0^{(0)} = |0\rangle\langle 0| \otimes \hat{I}, \qquad \hat{P}_0^{(1)} = |1\rangle\langle 1| \otimes \hat{I},

which act only on qubit 0 and leave qubit 1 untouched. The projector keeps every term of the state whose qubit-0 label matches the outcome, then we renormalize.

Worked example

Consider the normalized two-qubit state

∣ψ⟩=110(∣00⟩+2∣01⟩+2∣10⟩+∣11⟩),|\psi\rangle = \frac{1}{\sqrt{10}}\big(|00\rangle + 2|01\rangle + 2|10\rangle + |11\rangle\big),

with 12+22+22+12=101^2 + 2^2 + 2^2 + 1^2 = 10 confirming normalization. Suppose we measure qubit 0 in the ZZ basis and obtain 00. Apply P^0(0)=∣0⟩⟨0∣⊗I^\hat{P}_0^{(0)} = |0\rangle\langle 0|\otimes\hat{I}: only the terms with qubit 0 equal to ∣0⟩|0\rangle survive,

P^0(0)∣ψ⟩=110(∣00⟩+2∣01⟩).\hat{P}_0^{(0)}|\psi\rangle = \frac{1}{\sqrt{10}}\big(|00\rangle + 2|01\rangle\big).

The probability of this outcome is the squared norm of what survives:

p(q0=0)=12+2210=510=12.p(q_0 = 0) = \frac{1^2 + 2^2}{10} = \frac{5}{10} = \frac12.

Renormalizing by p=1/2\sqrt{p} = \sqrt{1/2} gives the collapsed state

∣ψ′⟩=15(∣00⟩+2∣01⟩).|\psi'\rangle = \frac{1}{\sqrt5}\big(|00\rangle + 2|01\rangle\big).

Now ask: in this collapsed state, what is the probability that qubit 1 reads 11? The amplitude of ∣01⟩|01\rangle (qubit 1 = 1) is 2/52/\sqrt5, so

p(q1=1∣q0=0)=∣25∣2=45=0.8.p(q_1 = 1 \mid q_0 = 0) = \left|\frac{2}{\sqrt5}\right|^2 = \frac{4}{5} = 0.8.

This is a genuine conditional probability: the first measurement reshaped the state, and the second probability is computed from the updated state, not the original.

Try it

Starting from ∣ψ⟩=110(∣00⟩+2∣01⟩+2∣10⟩+∣11⟩)|\psi\rangle = \tfrac{1}{\sqrt{10}}(|00\rangle + 2|01\rangle + 2|10\rangle + |11\rangle), measure qubit 0 and condition on the outcome 00. Project, renormalize, and return the conditional probability p(q1=1∣q0=0)p(q_1 = 1 \mid q_0 = 0).

Run your code to see the quantum state.

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