Quantum Experiments

Quantum Experiments · III · Control and reconstruction · Chapter 15

Reconstructing a Quantum State

How can several incompatible measurements describe one preparation?

In this chapter
  1. Measuring fresh copies across Pauli bases
  2. Bloch vector inversion, positivity, and purity
  3. Detector calibration and ensemble ambiguity
  4. Interactive experiment
  5. Problems and solutions

15.1 Measuring fresh copies across Pauli bases

15.1.1 Why a single measurement basis leaves relative phases hidden

Measuring a qubit solely in the computational basis \(\{|0\rangle, |1\rangle\}\) yields only the diagonal entries \(\rho_{00} = P(+Z)\) and \(\rho_{11} = P(-Z) = 1 - \rho_{00}\) of its density matrix \(\rho\). Every state of the form \((|0\rangle + e^{i\phi}|1\rangle)/\sqrt{2}\)—as well as the incoherent fifty-fifty mixture \(\frac{1}{2}|0\rangle\langle 0| + \frac{1}{2}|1\rangle\langle 1|\)—produces the exact same \(Z\)-basis statistics \(P(+Z) = P(-Z) = 1/2\). Reconstructing the off-diagonal coherence \(\rho_{01} = \frac{1}{2}(\langle X\rangle - i\langle Y\rangle)\) requires rotating the measurement axis into at least two complementary equatorial bases before projective readout.

15.1.2 Consuming identically prepared copies across orthogonal settings

Because a projective measurement collapses an individual copy and the no-cloning theorem forbids duplicating an unknown quantum state, quantum state tomography is inherently an ensemble protocol. The source must prepare \(N\) independent, identically prepared copies of \(\rho\), partitioned into three sub-ensembles that are measured along the Pauli axes \(X\), \(Y\), and \(Z\). In architectures where only \(Z\)-basis readout is hardware-native, measuring \(X\) is implemented by applying a pre-readout rotation \(R_Y(-\pi/2)\) (or Hadamard gate \(H\)), and measuring \(Y\) is implemented by applying \(R_X(+\pi/2)\) prior to \(Z\) readout.

15.1.3 Bloch-plane visualization of purity and orientation

The three measured expectation values \(\vec{r} = (r_x, r_y, r_z) = (\langle X\rangle, \langle Y\rangle, \langle Z\rangle)\) specify a point inside or on the unit Bloch ball. The direction of \(\vec{r}\) fixes the eigenbasis of \(\rho\), while its Euclidean length \(r = \|\vec{r}\| = \sqrt{r_x^2 + r_y^2 + r_z^2}\) determines the state’s purity: pure states lie on the spherical surface (\(r = 1\)), partially mixed states lie in the interior (\(0 < r < 1\)), and the maximally mixed state \(\frac{1}{2}I\) sits at the origin (\(r = 0\)).

Visual animation · Section 15.1

Measuring fresh copies across Pauli bases

Measuring fresh copies across Pauli basesSchematic apparatus; geometry and moving indicators are explanatory, not measured trajectories.
\(|0\rangle\)
\(|1\rangle\)
\(+x\)
\(+y\)
\(X\)-basis analyzer
measure \(P(+X) \to r_x\)
\(Y\)-basis analyzer
measure \(P(+Y) \to r_y\)
\(Z\)-basis analyzer
measure \(P(+Z) \to r_z\)
Section 15.1 Live State:
\(\rho = \frac{1}{2}(I + r_x X + r_y Y + r_z Z), \quad \mathrm{Tr}(\rho^2) = \frac{1 + \|\vec{r}\|^2}{2}\)
Stage 1 (15.1.1): Why a single measurement basis leaves relative phases hiddReady

Interactive visual model for 15.1 Measuring fresh copies across Pauli bases (Why a single measurement basis leaves relative phases hidden · Consuming identically prepared copies across orthogonal settings · Bloch-plane visualization of purity and orientation). Use Animate or Step to follow the physical state evolution and quantitative predictions.

15.2 Bloch vector inversion, positivity, and purity

15.2.1 Expanding the qubit density matrix in the Pauli basis

Because the four operators \(\{I, X, Y, Z\}\) form an orthogonal basis for \(2\times 2\) Hermitian matrices with \(\mathrm{Tr}(\sigma_j\sigma_k) = 2\delta_{jk}\), any unit-trace Hermitian matrix \(\rho\) has the unique linear tomographic expansion

\[\rho = \frac{1}{2}\left(I + r_x X + r_y Y + r_z Z\right) = \frac{1}{2}\begin{pmatrix} 1 + r_z & r_x - i r_y \\ r_x + i r_y & 1 - r_z \end{pmatrix},\]

where \(r_k = \mathrm{Tr}(\rho\sigma_k) = P(+\sigma_k) - P(-\sigma_k) = 2P(+\sigma_k) - 1\) for \(k \in \{x,y,z\}\).

15.2.2 Eigenvalue positivity and purity from Bloch-vector length

A valid physical density matrix must be positive semidefinite (\(\rho \succeq 0\)). Since the eigenvalues of \(\frac{1}{2}(I + \vec{r}\cdot\vec{\sigma})\) are

\[\lambda_{\pm} = \frac{1 \pm \|\vec{r}\|}{2}, \qquad \|\vec{r}\| = \sqrt{r_x^2 + r_y^2 + r_z^2},\]

positivity \(\lambda_- \ge 0\) is equivalent to the Bloch-ball condition \(\|\vec{r}\| \le 1\). The purity of the reconstructed state is directly

\[\gamma = \mathrm{Tr}(\rho^2) = \lambda_+^2 + \lambda_-^2 = \frac{1 + \|\vec{r}\|^2}{2} \in \left[\frac{1}{2},\, 1\right].\]

15.2.3 Finite-sample overstepping of the Bloch sphere boundary

In an experiment with \(N_k\) shots along axis \(k\) and \(n_{k+}\) positive outcomes, the empirical estimator \(\hat{r}_k = (2n_{k+}/N_k) - 1\) has binomial variance \(\mathrm{Var}(\hat{r}_k) = (1 - r_k^2)/N_k\). When the true state lies on or very near the boundary (\(\|\vec{r}\| \approx 1\)), statistical fluctuations in the bases where \(r_k \approx 0\) add positively in quadrature:

\[\mathbb{E}\!\left[\|\hat{\vec{r}}\|^2\right] = \|\vec{r}\|^2 + \sum_{k\in\{x,y,z\}} \frac{1 - r_k^2}{N_k}.\]

Consequently, direct linear inversion of a high-purity state frequently produces \(\|\hat{\vec{r}}\| > 1\) and a slightly negative eigenvalue \(\hat{\lambda}_- < 0\). Constrained maximum-likelihood estimation (MLE) or least-squares projection onto the positive semidefinite cone \(\{\rho \succeq 0, \mathrm{Tr}\,\rho = 1\}\) restores physicality while reporting bootstrap or Bayesian confidence regions.

Visual animation · Section 15.2

Bloch vector inversion, positivity, and purity

15.2 Bloch vector inversion, positivity, and purityInteractive geometric state/phasor dial and quantitative prediction curve for Bloch vector inversion, positivity, and purity.1. State / Amplitude GeometryAmplitude / Bloch projection
Value \(= \) 0.500
2. Quantitative Law (15.2)
\(\rho = \frac{1}{2}(I + r_x X + r_y Y + r_z Z), \quad \mathrm{Tr}(\rho^2) = \frac{1 + \|\vec{r}\|^2}{2}\)

Interactive visual model for 15.2 Bloch vector inversion, positivity, and purity (Expanding the qubit density matrix in the Pauli basis · Eigenvalue positivity and purity from Bloch-vector length · Finite-sample overstepping of the Bloch sphere boundary). Use Animate or Step to follow the physical state evolution and quantitative predictions.

15.3 Detector calibration and ensemble ambiguity

15.3.1 Systematic axis miscalibration and cross-validation

Statistical uncertainty decreases as \(1/\sqrt{N}\), but systematic errors in the pre-readout rotations \(R_Y(-\pi/2)\) and \(R_X(+\pi/2)\) do not average away with more shots. If the \(X\) and \(Y\) analysis pulses suffer from an under-rotation angle \(\epsilon\) or an axis tilt, linear inversion maps a pure state into a distorted ellipsoid and misreports both its Bloch angles and its purity. Overcomplete measurement sets—such as measuring along all six Pauli eigenstates \(\{\pm X, \pm Y, \pm Z\}\)—combined with detector tomography or gate-set tomography cross-check the measurement axes independently of state preparation.

15.3.2 Why identical density matrices hide distinct mixing histories

Tomography reconstructs the density operator \(\rho\), which encodes the probabilities of all possible measurements on the system, but it cannot recover the specific preparation ensemble that produced a mixed state. For instance, an equal classical mixture of \(|0\rangle\) and \(|1\rangle\), an equal mixture of \(|+\rangle\) and \(|-\rangle\), and one half of a maximally entangled Bell pair \((|00\rangle + |11\rangle)/\sqrt{2}\) traced over its partner all yield the exact same reduced density matrix \(\rho = \frac{1}{2}I\) (\(\vec{r} = \vec{0}\)). No local measurement in any basis can distinguish those preparations.

15.3.3 Reporting raw counts, positivity constraints, and confidence regions

Rigorous tomographic reporting never publishes a constrained MLE state alone without the raw count pairs \((n_{k+}, N_k)\) and the unconstrained linear-inversion vector \(\hat{\vec{r}}\). When \(\|\hat{\vec{r}}\| \gg 1\) beyond what binomial sampling noise \(\sim \sqrt{2/N}\) can explain, clamping the vector onto the unit sphere masks a calibration drift (such as dark-count subtraction bias or pulse-area error) that should instead be diagnosed and corrected at the hardware level.

Visual animation · Section 15.3

Detector calibration and ensemble ambiguity

15.3 Detector calibration and ensemble ambiguityCompares ideal prediction against finite efficiency/coherence and audits the experimental assumptions for Detector calibration and ensemble ambiguity.1. Ideal Model vs. Imperfect Apparatus
\(\|\hat{\vec{r}}\| \le 1 \;\Longleftrightarrow\; \hat{\lambda}_{\pm} = \frac{1 \pm \|\hat{\vec{r}}\|}{2} \ge 0\)
2. Audit Ledger (15.3)
Fidelity / efficiency \(\eta = \) 0.85
15.3.1 CheckSystematic axis miscalibration and cro15.3.2 CheckWhy identical density matrices hide di15.3.3 ScopeReporting raw counts, positivity const
Ideal \(= \) 1.00 \(\;\mid\;\) Obs. \(= \) 0.85
Audit status: calibrated

Interactive visual model for 15.3 Detector calibration and ensemble ambiguity (Systematic axis miscalibration and cross-validation · Why identical density matrices hide distinct mixing histories · Reporting raw counts, positivity constraints, and confidence regions). Use Animate or Step to follow the physical state evolution and quantitative predictions.

Explore the Apparatus

Set the target Bloch vector components \((r_x, r_y, r_z)\) and the number of shots \(N\) per Pauli basis, then compare the true density matrix against the empirical linear-inversion estimate \(\hat{\rho}_{\mathrm{lin}}\) and the positivity-projected physical estimate \(\hat{\rho}_{\mathrm{phys}}\). Observe how near-pure states frequently produce \(\|\hat{\vec{r}}\| > 1\) at small \(N\).

Interactive model · Idealized predictions

Measure along three axes

Measure along three axesSchematic apparatus; geometry and moving indicators are explanatory, not measured trajectories.
\(|0\rangle\)
\(|1\rangle\)
\(+x\)
\(+y\)
\(X\)-basis analyzer
measure \(P(+X) \to r_x\)
\(Y\)-basis analyzer
measure \(P(+Y) \to r_y\)
\(Z\)-basis analyzer
measure \(P(+Z) \to r_z\)

On a small screen, swipe the diagram to inspect its components. Moving marks illustrate the model; they are not measured trajectories.

How can several incompatible measurements describe one preparation? The text and worked examples remain available without JavaScript. Animation starts only when requested; Step gives a motion-free way to follow the model.

Worked Check

Problem: A qubit ensemble is measured with \(N = 500\) shots in each Pauli basis, yielding positive-outcome counts \(n_{x+} = 400\), \(n_{y+} = 150\), and \(n_{z+} = 250\). Compute the linear-inversion Bloch vector \(\hat{\vec{r}}\), the reconstructed density matrix \(\hat{\rho}\), its eigenvalues \(\hat{\lambda}_{\pm}\), and its purity \(\hat{\gamma}\).

Solution:

1. Convert counts into empirical expectations \(\hat{r}_k = 2(n_{k+}/N) - 1\):

\[\hat{r}_x = 2\left(\frac{400}{500}\right) - 1 = +0.60, \qquad \hat{r}_y = 2\left(\frac{150}{500}\right) - 1 = -0.40, \qquad \hat{r}_z = 2\left(\frac{250}{500}\right) - 1 = 0.00.\]

2. Assemble \(\hat{\rho} = \frac{1}{2}(I + \hat{\vec{r}}\cdot\vec{\sigma})\):

\[\hat{\rho} = \frac{1}{2}\begin{pmatrix} 1 & 0.60 + 0.40i \\ 0.60 - 0.40i & 1 \end{pmatrix} = \begin{pmatrix} 0.50 & 0.30 + 0.20i \\ 0.30 - 0.20i & 0.50 \end{pmatrix}.\]

3. Compute the Bloch length, eigenvalues, and purity:

\[\|\hat{\vec{r}}\| = \sqrt{0.60^2 + (-0.40)^2 + 0^2} = \sqrt{0.52} \approx 0.721 \le 1,\] \[\hat{\lambda}_{\pm} = \frac{1 \pm 0.721}{2} \approx \{0.861,\, 0.139\}, \qquad \hat{\gamma} = \frac{1 + 0.52}{2} = 0.760.\]

Because \(\|\hat{\vec{r}}\| \le 1\), Both eigenvalues are non-negative and \(\hat{\rho}\) is already a valid physical density matrix.

Summary

Practice Problems

Problem 15.1: Detecting an unphysical linear reconstruction

Finite-sample counts yield \(\hat{\vec{r}} = (0.80, 0.50, -0.40)\). Determine whether the linear-inversion matrix \(\hat{\rho}_{\mathrm{lin}}\) is positive semidefinite, find its eigenvalues, and compute the radially projected physical Bloch vector \(\hat{\vec{r}}_{\mathrm{phys}} = \hat{\vec{r}}/\|\hat{\vec{r}}\|\).

Hint

Evaluate \(\|\hat{\vec{r}}\| = \sqrt{0.80^2 + 0.50^2 + (-0.40)^2}\).

Solution

Here \(\|\hat{\vec{r}}\| = \sqrt{0.64 + 0.25 + 0.16} = \sqrt{1.05} \approx 1.0247 > 1\). Thus \(\hat{\lambda}_{\pm} = (1 \pm 1.0247)/2 = \{+1.0123, -0.0123\}\), so \(\hat{\rho}_{\mathrm{lin}}\) has a negative eigenvalue. Rescaling onto the unit sphere gives \(\hat{\vec{r}}_{\mathrm{phys}} = \hat{\vec{r}}/\sqrt{1.05} \approx (0.781, 0.488, -0.390)\).

Problem 15.2: Expected boundary overshoot for a pure state

Suppose a qubit is prepared in the exact pure state \(|+Z\rangle = |0\rangle\) with \(\vec{r} = (0, 0, 1)\) and measured with \(N = 200\) shots in each of the \(X\), \(Y\), and \(Z\) bases using ideal detectors. What is the expected value \(\mathbb{E}[\|\hat{\vec{r}}\|^2]\) of the squared empirical Bloch length?

Hint

Use \(\mathrm{Var}(\hat{r}_k) = (1 - r_k^2)/N\) for each basis \(k \in \{x,y,z\}\).

Solution

For \(\vec{r} = (0,0,1)\), \(\mathrm{Var}(\hat{r}_z) = 0\) while \(\mathrm{Var}(\hat{r}_x) = \mathrm{Var}(\hat{r}_y) = 1/N = 1/200\). Therefore \(\mathbb{E}[\|\hat{\vec{r}}\|^2] = 1 + 1/200 + 1/200 = 1.010\), showing that statistical noise along the two unbiased equatorial axes systematically pushes \(\|\hat{\vec{r}}\|^2\) above \(1\).

Problem 15.3: Scaling of tomographic parameters with qubit number

How many real independent parameters specify an \(n\)-qubit unit-trace density matrix, and how many \(n\)-fold non-identity Pauli product expectation values are required for full multi-qubit state tomography of \(n = 3\) qubits?

Hint

A \(d\times d\) Hermitian matrix has \(d^2\) real parameters before imposing \(\mathrm{Tr}(\rho) = 1\), with \(d = 2^n\).

Solution

An \(n\)-qubit state has dimension \(d = 2^n\) and requires \(d^2 - 1 = 4^n - 1\) real Pauli-string expectation values. For \(n = 3\) qubits (\(d = 8\)), full state tomography requires \(4^3 - 1 = 63\) independent Pauli expectation values measured across \(3^3 = 27\) local Pauli basis settings.

Key Takeaways

Sources and Further Reading

Search Quantum Experiments

Search all 24 chapters.