Measuring in the Y Basis
|i+⟩ gives 0 with certainty in the Y basis and is fully random in Z and X.
Goal
Master the change of basis to $Y$ and understand complementary bases.
Approximate duration: 5 minutes
Steps
- Choose the state $|i+\rangle$ (r) and the $Y$ basis.
- Run 1000 shots.
- Measure the same state in $X$, then $Z$.
- Estimate $\langle X\rangle,\langle Y\rangle,\langle Z\rangle$ from the frequencies.
Theory predicts in $Y$: $P(0)=1$; in $X$ and $Z$: $P(0)=P(1)=0.5$, so the reconstructed Bloch vector is close to $(0,1,0)$.
To measure a qubit in the $Y$ basis we apply $S^\dagger$, then $H$, then measure in $Z$. The state $|i+\rangle=(|0\rangle+i|1\rangle)/\sqrt2$ is thereby turned into $|0\rangle$. The three bases $X,Y,Z$ are “complementary”: if the outcome in one is certain, the outcomes in the other two are completely random. Measuring all three bases on multiple copies of the state allows the Bloch vector $(\langle X\rangle,\langle Y\rangle,\langle Z\rangle)$ to be reconstructed; this is the idea behind State Tomography.
Test your understanding
The quiz needs JavaScript.
Related topics
References
- Michael A. Nielsen; Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press doi:10.1017/CBO9780511976667The standard reference for quantum computing; the Crossref record gives 2012 for the Cambridge Core online edition.
- Microsoft (2025). Pauli Measurements in Quantum Computing. Azure Quantum documentation learn.microsoft.com
