State Tomography
Quantum state tomography estimates a density operator from measurements on many systems prepared by the same procedure. For a qubit, measurements along three independent axes determine its Bloch vector. For a general system, the measurements must distinguish every state in the chosen model.
The reconstruction is conditional on the assumed Hilbert space and calibrated detectors. Finite counts introduce uncertainty; drift and detector errors can invalidate the model even when the fitted density matrix is positive.
Required background. Density operators supply positivity and trace normalization; POVMs supply the Born probabilities for a general detector. Helpful background. Singular-value decomposition explains inversion and conditioning, and Fisher information explains local uncertainty estimates.
Reconstructing a qubit from three measurements
Section titled “Reconstructing a qubit from three measurements”Write the state in the computational basis as
The components are the Pauli expectations , , and . A measurement of axis returns or , with
Measure different copies along each axis. If trials give positive outcomes, linear inversion replaces by the frequency .
For shots on each axis, suppose the counts are
| Axis | Positive outcomes | Estimated component |
|---|---|---|
Then
Here . Its eigenvalues are about and , so this estimate is physical. Its plug-in purity is
A physical estimate is still an estimate. For independent binary trials,
Replacing the unknown by gives approximate standard errors , , and . These omit calibration uncertainty and drift. Near a deterministic outcome, the plug-in error can vanish even though finite data do not prove exact certainty; the confidence region below avoids that problem. Nonlinear quantities such as purity also have sampling bias, even when the Bloch-vector estimate is unbiased (Exercise 2).
Which measurements determine a state?
Section titled “Which measurements determine a state?”For setting and outcome , a known POVM effect predicts
A design is informationally complete if distinct allowed states cannot give the same collection of probabilities. Measuring only leaves and undetermined: for example, and both give equal outcomes.
For dimension , choose Hermitian operators with
A trace-one Hermitian matrix has coordinates
Consequently the probabilities have the affine form
For unrestricted states, informational completeness is equivalent to . A single POVM needs at least outcomes, because its normalized probabilities contain at most one fewer independent number than its outcome count. Having enough outcomes is necessary, but their effects must also span the required directions.
Rank alone does not guarantee accuracy. Linear inversion gives , so a small singular value amplifies noise. If two measurement axes are almost parallel, they distinguish the missing perpendicular component only weakly. Tight, symmetric designs distribute sensitivity more evenly (Scott, 2006); tetrahedral qubit tomography is an example in Exercise 4.
For randomly chosen settings with known probabilities , the joint effects form one POVM. A dual frame satisfies
Replacing the joint probabilities by gives an unbiased linear estimate. For a fixed allocation of shots to settings, use the actual allocation weights or conditional frequencies; do not insert unrelated nominal random-setting weights. Data-dependent selection requires its own sampling model.
Enforcing positivity changes the estimator
Section titled “Enforcing positivity changes the estimator”Frequency fluctuations can give , hence a negative eigenvalue. That does not describe a new kind of state. It means the observed frequencies do not correspond exactly to any state in the assumed model.
In the slice , take . Its length is , with a negative eigenvalue about . The nearest point in the Bloch ball under ordinary Euclidean distance is the radial projection
If deviations in receive four times the weight of deviations in , the nearest point instead becomes approximately . Both estimates are physical; they solve different optimization problems.
For , physical states lie inside the unit disk. Radial projection minimizes equal-weight squared error. Giving the coordinate more weight moves the solution toward the measured value. Enforcing positivity does not select a unique statistical method.
Least squares and likelihood
Section titled “Least squares and likelihood”A constrained least-squares estimate minimizes a quadratic residual over , . With fixed positive weights this is convex. Multinomial frequencies within one setting are correlated, so a general weighted fit should use their covariance on the independent probability coordinates.
For independent repetitions of a stationary preparation, fixed setting counts give the log-likelihood
up to an irrelevant constant. Zero counts contribute zero; a positive count assigned zero probability gives log-likelihood .
Maximum likelihood maximizes over the state set. The log-likelihood is concave in (Exercise 5), so this is a convex optimization problem in the matrix variable. It is not generally a linear or unbiased estimator. A parameterization enforces positivity but makes the objective nonlinear in . A generic semidefinite program with a linear objective is also different from this logarithmic likelihood problem.
For incomplete measurements, several states can maximize the likelihood. An additional maximum-entropy choice resolves that ambiguity by adding a criterion, not by extracting new measured information. Clipping negative eigenvalues and renormalizing is another possible rule, but it is generally neither maximum likelihood nor the closest state in a specified norm.
Bayesian estimation
Section titled “Bayesian estimation”With a specified prior measure, the posterior is proportional to likelihood times prior:
The posterior mean is a physical density matrix. It minimizes posterior mean squared Hilbert–Schmidt error, but need not minimize a different loss. “Uniform over states” requires a measure, and priors can strongly affect small datasets or nearly pure states (Blume-Kohout, 2010).
No estimator is best for every reported quantity. The relevant choice depends on the sampling model and loss; positivity by itself does not guarantee an accurate fidelity or entanglement estimate (Schwemmer and colleagues, 2015).
A confidence region you can calculate
Section titled “A confidence region you can calculate”A point estimate says little about which nearby states remain plausible. For the three Pauli measurements, a simple finite-sample region follows from Hoeffding’s inequality for outcomes in :
Choose
A union bound then gives simultaneous coverage at least for all three components. The region contains the Bloch vectors satisfying
for each : the intersection of the three coordinate intervals with the Bloch ball.
For and , . The region is deliberately conservative, but it is valid for every qubit state under the independent, calibrated measurement model, including pure states. It does not absorb unknown detector errors.
This guarantee concerns repeated datasets: at least 95% of regions produced by the procedure contain the fixed true state. A Bayesian 95% credible region instead contains 95% of posterior mass under its prior and likelihood. Tighter tomographic confidence regions can be constructed from binomial bounds (Wang, Scholz, and Renner, 2019).
For a derived quantity, minimize and maximize that quantity over . For example, the squared-fidelity convention for the target gives . The worked data yield the conservative interval
An empty intersection is possible: it signals data incompatible with the assumed model at this confidence level, although such an event can also occur through the allowed statistical failure probability.
For regular interior states, inverse Fisher information gives an asymptotic covariance estimate. Near the positivity boundary, Gaussian approximations and standard likelihood-ratio thresholds may fail. A bootstrap reruns the estimator on resampled data; its reliability depends on the model and resampling unit. It does not automatically repair boundary effects, calibration errors, or correlations.
What detector errors and drift can conceal
Section titled “What detector errors and drift can conceal”With symmetric binary readout flips of probability ,
An observed contrast is consistent with or . No amount of repeating this measurement separates the two unknowns. A calibrated permits inversion but amplifies statistical uncertainty. SPAM errors and measurement tomography explain the additional assumptions needed.
Drift also requires care. If every setting samples the same mixture of preparations, Born-rule linearity makes their average probabilities consistent with the same average state. For example, equal sampling of and in every setting reproduces .
If different settings sample different preparations, there need not be one common average state. Preparing during the block, during the block, and during the block gives all three contrasts equal to one. Each block is physical, but combining them gives an impossible Bloch vector . Interleave settings independently of the source, keep acquisition times, and compare repeated blocks (van Enk and Blume-Kohout, 2013).
Similarly, discarding outcomes can create setting-dependent accepted ensembles. Include losses in the measurement model unless the conditioning genuinely defines the same state before each setting choice. More shots shrink sampling error; they do not remove such bias.
Withheld or redundant measurements test whether a fitted state predicts new data. Residuals versus time and setting can reveal failures concealed by one average goodness-of-fit number. A positive matrix and small in-sample residuals alone cannot establish that detectors, preparation, and Hilbert-space truncation are correct.
Many qubits and narrower questions
Section titled “Many qubits and narrower questions”For qubits,
Normalization fixes the all-identity coefficient. There are remaining real parameters. Standard local Pauli tomography uses basis settings, each with possible bit strings. One setting estimates several commuting Pauli products from the same outcomes, with correlated errors.
| Resource for eight qubits | Amount |
|---|---|
| Unrestricted state parameters | |
| Local Pauli basis settings | |
| Shots at per setting |
Settings, outcomes, copies, and classical processing are different costs. Low rank and collective measurements can reduce copy requirements: Haah and colleagues (2016) give a theoretical bound of order for trace-distance error and rank at most . This assumes a measurement scheme acting collectively on copies; it is not the cost of ordinary local Pauli acquisition.
Structured reconstruction can exploit a justified low-rank or tensor-network model. If the question is only , one setting already suffices. Classical shadows estimate many selected properties; process tomography reconstructs transformations. Neither should be confused with a uniformly accurate full density matrix.
Exercises
Section titled “Exercises”1. Count independent directions
Section titled “1. Count independent directions”Why does an arbitrary -dimensional state have real parameters, and why are outcomes necessary for one informationally complete POVM?
Solution
A Hermitian matrix has real diagonal entries and complex off-diagonal entries, hence real parameters. Trace one removes one. Positivity bounds the region but does not reduce its interior dimension. An -outcome normalized distribution has at most independent probabilities, so is necessary. Linear independence of the measurement directions is still required.
2. Purity has a bias even without positivity constraints
Section titled “2. Purity has a bias even without positivity constraints”For independent Pauli measurements with , show that overestimates purity on average. Construct an unbiased scalar estimate.
Solution
Since ,
Thus the purity bias is . An unbiased estimate of is
Therefore is unbiased and equals about for the worked counts. It need not lie within the physical purity interval for every finite sample. Constraining a scalar estimate to that interval changes its bias.
3. Why weighting changes the projected state
Section titled “3. Why weighting changes the projected state”In the slice, minimize subject to . Compare with radial projection.
Solution
The unconstrained minimum lies outside the disk, so the constraint is active. A Lagrange multiplier gives
Imposing gives , hence . Radial projection gives . The weighted fit stays closer to the measured coordinate because moving it incurs a larger cost. Neither construction is automatically the binomial maximum-likelihood estimate.
4. Tetrahedral qubit tomography
Section titled “4. Tetrahedral qubit tomography”Four unit vectors obey and for . Show that is an informationally complete POVM.
Solution
Each effect has eigenvalues , and the effects sum to . Their probabilities satisfy
The tetrahedral vectors span three dimensions and obey . Consequently
All three Bloch coordinates are determined.
5. Concavity of likelihood
Section titled “5. Concavity of likelihood”For a trace-zero Hermitian direction , compute the second derivative of where every positive-count event has positive probability.
Solution
Writing gives
The objective is concave. Strict concavity can fail when positive-count effects do not constrain a direction, so informational completeness of the intended design does not by itself guarantee uniqueness for every observed dataset.
6. Readout correction
Section titled “6. Readout correction”A known symmetric readout error has . Find the corrected contrast and its variance when the measured contrast is from trials. Explain why a plug-in Gaussian interval can be misleading.
Solution
The corrected estimate is . Using the observed contrast in the binomial variance gives
The approximate standard error is . A symmetric interval around one extends outside the allowed state range; truncating that interval does not automatically preserve a desired coverage. Finite-sample probability intervals can instead be transformed through the calibrated measurement model and intersected with the state set. Unknown calibration error requires additional uncertainty treatment.
7. Alternation and setting order
Section titled “7. Alternation and setting order”A source alternates between and . Under what sampling condition do aggregate probabilities equal those of ? Does tomography establish independence between shots?
Solution
Each setting must sample equal numbers of the two states (or equal fractions in the corresponding expectation). Then its average probabilities equal those of . Merely balancing the total dataset across states is insufficient if a setting is synchronized with the alternation. The sequence remains correlated even when all one-shot marginals match ; timestamps and odd/even comparisons can expose this.
8. A direct correlator
Section titled “8. A direct correlator”For eight qubits, compare full Pauli tomography with shots devoted to . Find a worst-case standard error for the latter.
Solution
Full acquisition at shots per setting uses shots. One -basis setting suffices for the correlator: multiply the outcomes of qubits 1 and 2 and ignore the other outcomes. The product is , so its sample mean has variance at most and standard error at most . This answers a narrower question without reconstructing other coherences.
9. Simultaneous confidence and target fidelity
Section titled “9. Simultaneous confidence and target fidelity”Derive the component half-width for the 95% region with , and use to bound . Must the three axes’ failure events be independent?
Solution
Give each component failure probability at most . Solving yields
The fidelity half-width is and its center is , giving . A union bound needs no independence between failure events. The individual Hoeffding bounds still require their stated shot-sampling assumptions.
References
Section titled “References”- Blume-Kohout, R. “Optimal, reliable estimation of quantum states.” New Journal of Physics 12, 043034 (2010). doi:10.1088/1367-2630/12/4/043034.
- Haah, J., A. W. Harrow, Z. Ji, X. Wu, and N. Yu. “Sample-optimal tomography of quantum states.” Proceedings of the 48th Annual ACM Symposium on Theory of Computing, 913–925 (2016). doi:10.1145/2897518.2897585.
- Schwemmer, C., L. Knips, D. Richart, H. Weinfurter, T. Moroder, M. Kleinmann, and O. Gühne. “Systematic errors in current quantum state tomography tools.” Physical Review Letters 114, 080403 (2015). doi:10.1103/PhysRevLett.114.080403.
- Scott, A. J. “Tight informationally complete quantum measurements.” Journal of Physics A: Mathematical and General 39, 13507–13530 (2006). doi:10.1088/0305-4470/39/43/009.
- van Enk, S. J., and R. Blume-Kohout. “When quantum tomography goes wrong: drift of quantum sources and other errors.” New Journal of Physics 15, 025024 (2013). doi:10.1088/1367-2630/15/2/025024.
- Wang, J., V. B. Scholz, and R. Renner. “Confidence polytopes in quantum state tomography.” Physical Review Letters 122, 190401 (2019). doi:10.1103/PhysRevLett.122.190401.