EE608 · Simulation 1 · Lectures 2 and 8
Qubit States and Measurement
Drag to rotate the view. The green arrow is the state; the dashed red line is the measurement axis.
1. Choose a state
Pure states have \(\lVert\vec r\rVert = 1\) and lie on the sphere. Mixed states have \(\lVert\vec r\rVert < 1\).
Question
Choose a value of \(\lVert\vec r\rVert < 1\), now change the polar and azimuth angle. The state changes correspondingly. Do the eigenvalues change? What can you conclude from this observation?
Current state
2. Apply a gate
\(R_X(\phi) = e^{iX\phi/2} = \cos(\phi/2)\, I + i\sin(\phi/2)\, X\), and similarly for \(R_Y\) and \(R_Z\). This rotates the Bloch vector by \(-\phi\) about the axis.
3. Measure
Observable:
Single measurement
Repeated measurement
Each copy is prepared in the current state, so the arrow stays where it is.
4. Three measurements in a row
1000 copies of the current state are measured in \(Z\), then \(X\), then \(Z\) again.
Exercises
- Prepare \(\ket{0}\) and run \(Z \to X \to Z\). In what fraction of the copies does the outcome of step 3 equal that of step 1? What would the fraction be without step 2?
- Compute \(R_Z(\pi/2)\ket{+}\) by hand. Then apply \(R_Z(90^\circ)\) to \(\ket{+}\) and compare.
- Prepare \(\ket{+}\) and measure 1000 copies in \(Z\), then 1000 copies in \(X\). Explain the difference between the two histograms.
- For \(\cos(\pi/8)\ket{0} + \sin(\pi/8)\ket{1}\), find the axis \(\hat n\) for which the outcome \(+1\) is certain.
- Select \(\tfrac34\ket{0}\!\bra{0} + \tfrac14\ket{+}\!\bra{+}\) and compare \(\rho\), \(\vec r\), and \(P(\rho)\) with your answer to the Lecture 8 question.
Dr. Junaid ur Rehman (KFUPM)EE608: Quantum CommunicationsSimulation 1 / 5