Module 4: State Tomography I: Linear Inversion and Practical Estimators
Goal
After this module you can reconstruct an -qubit state from Pauli-basis or random-basis measurements by linear inversion, compute the covariance and the expected error of the estimate, state and prove how many copies give a target error in max, Frobenius and trace distance, turn an unphysical estimate into a state by projected least squares or maximum likelihood, and say what each choice costs.
Module 1 ended with a recipe: measure an informationally complete POVM, replace outcome probabilities by frequencies, and combine the dual frame with these frequencies (Proposition 1.5). That recipe is linear-inversion tomography. This module, which opens the part of the course on tomography, makes it concrete for the measurements that quantum computers actually perform, analyses it, and repairs its main defect.
The questions are statistical. How noisy is the estimate, and in which norm? How many copies make the trace distance small, and how does that number grow with the number of qubits? The answer depends on the distance (Definition 1.9): the same data give error bars that differ by powers of in the max norm on Pauli coefficients, the Frobenius norm and the trace norm. We prove clean bounds for Pauli-basis measurements and for random-basis (uniform POVM) measurements, and quote the sharpest known ones.
The defect is physical. Linear inversion does not know that a state is positive semidefinite, and for nearly pure states it almost always returns a matrix with a negative eigenvalue. Two fixes are standard. Projected least squares replaces the estimate by the nearest state, at the cost of one eigendecomposition, and comes with a rank-dependent error guarantee (1). Maximum likelihood searches for the state that makes the data most probable (2,3). Both are single-copy, non-adaptive methods in the sense of Definition 1.17; entangled measurements, which do better, are the subject of Module 5. We follow Chen and Cotler (4) (Chapter 4, Lectures 5 and 6) for the uniform POVM and the passage from operator norm to trace norm.
Pauli-basis tomography
How do we estimate all Pauli coefficients of an -qubit state with local measurements? Measuring the Pauli string by itself would need settings. A single local basis does better: measuring every qubit in the , or basis reveals all Pauli strings whose non-identity factors agree with that choice.
Definition 4.1 (Pauli-basis tomography and the pooled linear-inversion estimator).
A setting is a string ; measuring it means measuring qubit in the eigenbasis of . The outcome is a sign string with projector . We measure each of the settings times, for copies in total.
A setting covers a Pauli label if on the support ; exactly settings cover . For an outcome write . The pooled estimate of averages over all shots of all covering settings,
and the linear-inversion estimate is the Pauli expansion with these coefficients,
Each shot is used for Pauli strings at once (all strings supported inside the measured basis), and a weight- string is estimated from shots. Low-weight strings are therefore estimated much more precisely than high-weight ones. This weight dependence is the key to everything that follows.
Proposition 4.2 (Moments of Pauli-basis linear inversion).
If and agree on , let be the label of (a Pauli string without phase). Then
and the covariance is if they disagree somewhere on the common support. In particular .
The expected squared Frobenius error is
, the average over all shots of products of the single-qubit canonical duals of Example 1.6. Hence is canonical-dual inversion for the POVM “pick a uniformly random setting”, and by Proposition 1.5 it is the least-squares fit to the observed frequencies.
Proof
(1) On the support of , ; off the support, . Multiplying out, for every covering setting , so a shot in such a setting has . Averages of unbiased terms are unbiased, and by the Pauli expansion. Hermiticity and unit trace hold because the are real, the are Hermitian, and only has nonzero trace.
(2) Shots are independent, so only shots used by both estimates contribute. These are the shots of settings that cover both and ; such settings exist only if and agree on their common support, and then there are such shots. For one of them (signs on the overlap square to one), and the setting also covers , so . Dividing by the numbers of shots behind and , which are and , gives the factor . For , and .
(3) By orthogonality, ; take expectations and use (2). There are strings of weight , so , and .
(4) Expanding the product gives . Summed over shots, the coefficient of a fixed collects exactly the shots of settings covering , each contributing ; there are of them, so the coefficient is . The frame operator of a product POVM is the tensor product of the single-qubit frame operators, so its canonical dual is the product of the single-qubit canonical duals, here the of Example 1.6; the frequencies of the balanced design are the outcome frequencies of the random-setting POVM.
Intuition: where the five to the n comes from
Every Pauli coefficient is a average, so its variance is at most one over the number of shots behind it. A weight- string sees only one in of the shots, so its variance is . There are such strings, and the Frobenius error adds all their variances with weight : . The count is dominated by the strings of weight about , which are both numerous and poorly sampled. The snapshot form (4) gives the same bound in one line: each product snapshot has , because each single-qubit factor has eigenvalues and , and the variance of a shot is at most its second moment. Drawing the settings at random instead gives exactly , strictly more than for every state other than (Problem 4.2).
The snippet builds the Pauli strings and the outcome projectors, simulates Pauli-basis data, implements and , and checks by Monte Carlo on a noisy Bell state.
import numpy as npfrom itertools import productS1 = {"I": np.eye(2), "X": np.array([[0, 1], [1, 0]]), "Y": np.array([[0, -1j], [1j, 0]]), "Z": np.diag([1.0, -1.0])}n, d = 2, 4labels = ["".join(t) for t in product("IXYZ", repeat=n)] # 4^n Paulissettings = ["".join(t) for t in product("XYZ", repeat=n)] # 3^n settingssigns = np.array(list(product([1, -1], repeat=n))) # outcomes sdef kron_all(mats): out = np.eye(1) for M in mats: out = np.kron(out, M) return outpauli = {a: kron_all([S1[ch] for ch in a]) for a in labels}def proj(b, s): # projector of outcome s in setting b return kron_all([(np.eye(2) + sj * S1[bj]) / 2 for bj, sj in zip(b, s)])def simulate(rho, m, rng): # m shots per setting: counts (3^n, 2^n) probs = [[np.trace(proj(b, s) @ rho).real for s in signs] for b in settings] return np.array([rng.multinomial(m, p) for p in probs])
def lin_inv(counts): # pooled estimates (4.1), then (4.2) rho_hat = np.zeros((d, d), dtype=complex) for a in labels: supp = [j for j, ch in enumerate(a) if ch != "I"] s_a = signs[:, supp].prod(axis=1) # s_a for each outcome use = np.array([all(b[j] == a[j] for j in supp) for b in settings]) c_hat = (counts[use] @ s_a).sum() / counts[use].sum() rho_hat += c_hat * pauli[a] / d return rho_hatphi = np.array([1, 0, 0, 1]) / np.sqrt(2)rho = 0.9 * np.outer(phi, phi) + 0.1 * np.eye(d) / d # noisy Bell, p = 0.1c = {a: np.trace(pauli[a] @ rho).real for a in labels}wt = {a: sum(ch != "I" for ch in a) for a in labels}m = 100risk = sum(3**wt[a] * (1 - c[a]**2) for a in labels[1:]) / (d * 9 * m)rng = np.random.default_rng(2)errs = [np.linalg.norm(lin_inv(simulate(rho, m, rng)) - rho)**2 for _ in range(500)]print(round(risk, 5), round(np.mean(errs), 5)) # 0.02143 0.02186
How many copies?
How large must be for to be -close to ? We need a high-probability statement (Definition 1.1), and the answer depends on the norm. Hoeffding’s inequality applied to each Pauli coefficient, with a union bound over all of them, gives all three at once.
Theorem 4.3 (Sample complexity of Pauli-basis linear inversion).
Let and . With probability at least , simultaneously for every Pauli label ,
On this event:
max norm: every Pauli coefficient of weight at most is within , so makes all coefficients -accurate;
Frobenius norm:;
trace distance:, so copies give .
Proof
The estimate is the mean of independent outcomes with mean (Proposition 4.2). Hoeffding’s inequality (Theorem 1.14, range ) gives . With the right side is , and the union bound over the labels gives total failure probability below ; this proves . Part 1 follows by taking the largest weight. For part 2, use and . For part 3, (Cauchy–Schwarz on the singular values), so .
In powers of : the max norm costs , the Frobenius norm , and the trace distance , each times . These are honest upper bounds for this estimator, not the end of the story. Among all single-copy protocols, trace distance for a general -dimensional state costs copies, adaptive or not. Haah et al. (5) proved the lower bound for non-adaptive measurements up to a factor , and Chen, Huang, Li, Liu and Sellke (6) proved the tight even for adaptively chosen measurements; random-basis measurements attain this rate (Theorem 4.9). Local Pauli bases lose a factor in this argument, a modest price for measurements that need no entangling gates. Chen and Cotler run the same Hoeffding-plus-union argument on matrix entries instead of Pauli coefficients and arrive at for Frobenius accuracy in their Theorem 48 and Corollary 50 (4).
The rank of the error. The conversion in part 3 is where a factor is lost, and it is tight only when the error is spread over all eigen-directions. When both matrices are states and one of them has low rank, the error cannot spread like that.
Lemma 4.4 (Differences of states have low effective rank).
Let be states and . Then has at most negative (or at most positive) eigenvalues, is twice the sum of their absolute values, and
Proof
Suppose (otherwise exchange the roles of and , which flips the sign of ). If had negative eigenvalues, the span of their eigenvectors would have dimension and would meet the kernel of , of dimension , in a unit vector . Then because , but because ; a contradiction. Since , the positive and negative eigenvalues have equal total size, so . A sum of at most numbers is at most times the largest, which is at most , and at most times their Euclidean norm, which is at most (Cauchy–Schwarz).
The lemma needs to be a state. The linear-inversion estimate is not one in general, which is the next topic.
Unphysical estimates and projected least squares
Why does linear inversion return non-states, and what is the cheapest fix? The estimate is Hermitian with unit trace, but its eigenvalues are those of perturbed by noise of total Frobenius size about (by ), spread over all eigen-directions. If has an eigenvalue smaller than that noise (in particular, any zero eigenvalue), the corresponding eigenvalue of is negative about half the time. For a pure state, eigenvalues are zero, and the probability that some estimated eigenvalue is negative does not vanish as grows: it tends to about one half for a qubit in a generic pure state, and it is close to one already for pure two-qubit states; Figure 4.2 (right) shows this for the Bell state. A negative eigenvalue is not just ugly: the “fidelity” can exceed one, entropies are undefined, and Lemma 4.4 does not apply.
The fix is to replace by the closest state. Closeness in Frobenius norm makes the problem solvable in closed form, by projecting the eigenvalues onto the probability simplex, as Smolin, Gambetta and Smith proposed for tomography (7).
Proposition 4.5 (The nearest state in Frobenius norm).
Let be Hermitian. The unique state minimizing over has the same eigenvectors and eigenvalues projected onto the probability simplex:
where and the threshold is unique. To compute it, sort (the in decreasing order), let be the largest index with , and set (the sorting algorithm for the simplex projection (8)). If then , with exactly when .
Proof
For a state with eigenvalues , von Neumann’s trace inequality gives , so , with equality when is diagonal in the eigenbasis of with matching order. So the problem reduces to the Euclidean projection of the vector onto the simplex , a strictly convex problem with a unique solution. Its optimality (KKT) conditions with a multiplier for the constraint read ; the minimizer is again sorted, so it is achieved by a state with the eigenvectors of . The function is continuous and strictly decreasing wherever it is positive, so has one solution; if exactly the top entries survive, gives the formula for , and the condition singles out the largest such . If , then , so , with equality exactly when no is negative.
Theorem 4.6 (Projected least squares).
Let be a state of rank , let be Hermitian with (for example a linear-inversion estimate), and let be its projection . Then
: projecting never increases the Frobenius error;
;
if , then and .
Proof
(1) minimizes the convex function over the convex set of states, so moving from towards any state cannot decrease it: . With ,
.
(3) by Proposition 4.5. By Weyl’s inequality the ordered eigenvalues satisfy . If , then , strictly whenever , and summing gives . So . Next, , hence : every negative eigenvalue of is at least . By Lemma 4.4 there are at most of them, and is twice their total size, so .
Part 3 is Proposition 1 of Guta, Kahn, Kueng and Tropp (1); part 1 is Remark 51 of Chen and Cotler (4). Note what the theorem does not say: projection can make the error smaller by a large factor, but the guarantee in trace norm is paid for by a rank factor, and it uses only that has low rank, not that is close to low rank.
Hermitian, trace onestatesrhorho_LIrho_PLSrho_MLEprojectlinear inversion (LI)unbiased, may leave the setprojected least squaresnearest state, Frobenius normmaximum likelihood (MLE)most likely state for the dataFigure 4.1. Three estimators in one picture. Linear inversion lands anywhere in the affine space of Hermitian unit-trace matrices; projected least squares moves it to the nearest state, which often lies on the boundary (low rank); maximum likelihood optimizes over the states directly and also tends to return boundary points.
Corollary 4.7 (Pauli tomography with projection for low-rank states).
If has rank , then with probability at least the projected Pauli-basis estimate satisfies , with . Hence copies give .
Compared with part 3 of Theorem 4.3 the copy count improves by the factor : from to . Guta et al. (1) go further with the operator-norm route of Theorem 4.6(3). Matrix concentration (the matrix Bernstein inequality (9)) bounds by about for Pauli bases; with this gives , their Theorem 1 with , which, up to constants, is better than our corollary whenever .
def simplex(v): # Euclidean projection onto the simplex u = np.sort(v)[::-1] css = np.cumsum(u) - 1 k = np.nonzero(u - css / np.arange(1, len(v) + 1) > 0)[0][-1] return np.maximum(v - css[k] / (k + 1), 0)def pls(Y): # nearest state in Frobenius norm (4.5) w, V = np.linalg.eigh(Y) return V @ np.diag(simplex(w)) @ V.conj().Tprint(simplex(np.array([0.6, 0.5, -0.1]))) # [0.55 0.45 0. ], x0 = 0.05
Random bases: the uniform POVM
Can a different single-copy measurement do better than local Pauli bases? Measure each copy in a basis drawn uniformly at random (Haar measure) and record the observed basis vector . The outcome then has density with respect to the Haar measure on unit vectors: this is the uniform POVM, the continuous version of the POVMs of Definition 1.4.
Proposition 4.8 (Linear inversion for the uniform POVM).
The frame operator of the uniform POVM is , and its canonical dual is .
From outcomes the linear-inversion estimate
is unbiased, and .
For a traceless observable , the single-shot estimate has . For a Pauli string this is , so .
Parts 1 and 2 hold for every POVM of the form whose weighted vectors form a 2-design, for instance the qubit SIC of Example 1.7, where . Part 3 holds for every weighted 3-design (Haar-random vectors, or the stabilizer states of qubits); for a 2-design that is not a 3-design, such as the qubit SIC, is a different function of .
Proof
The Haar moments are , where projects onto the symmetric subspace and permutes the tensor factors: the integral commutes with every and is supported on the symmetric subspace, which is irreducible, so it is proportional to its projector, and its trace is one. For this gives , and (Lemmas 56 and 57 of Chen and Cotler (4)).
(1) . Its inverse is (check: ), and .
(2) The same second moment gives , so . Since for every , , and averaging independent snapshots divides by .
(3) because , so . Of the six permutations, the three that leave an in a cycle of its own give , the transposition of the two factors gives , and the two -cycles give each. For , and .
Part 3 compares the two measurements observable by observable. With copies, Pauli bases estimate a weight- Pauli string with variance (Proposition 4.2), random bases with variance . Local strings favour Pauli bases and global strings favour random bases. This trade-off is the heart of classical shadows (Module 7), which use exactly these snapshots, for random Pauli bases and for random Clifford bases (the multiqubit Clifford group is a 3-design (10,11)), to predict many observables without ever writing down (12,13).
Theorem 4.9 (Uniform-POVM tomography reaches the single-copy rate).
Let be the estimate from copies and .
In expectation:, and for of rank , . So , respectively , copies give expected trace distance at most .
With high probability: there is a universal constant such that with probability at least ,
Consequently copies give with probability at least ; for full rank this is .
Proof sketch
(1) By Jensen’s inequality and , ; insert Proposition 4.8(2). For the projected estimate use from Theorem 4.6(2) instead.
(2) This is Theorem 55 of Chen and Cotler (4), proved by the epsilon-net argument below. Guta et al. (1) prove operator-norm bounds of the same kind for linear inversion with uniform and Pauli measurements by matrix concentration, and Kueng, Rauhut and Terstiege (14) obtained the first single-copy trace-norm guarantee, for a constrained least-squares estimator with 4-design measurements. Fix a unit vector . The numbers are independent, centred, bounded by , and have variance at most by the third moment above. Bernstein’s inequality bounds the probability that their mean exceeds by . A union bound over a -net of the unit sphere, which has at most points, and the estimate for Hermitian , give the bound. Finally Theorem 4.6(3) with gives .
The full-rank rate matches the single-copy lower bounds cited after Theorem 4.3, so random-basis measurements followed by projection are optimal up to constants among single-copy protocols, adaptive or not. Entangled measurements on many copies reduce this to (Module 5). The snippet samples the uniform POVM by measuring each copy in a fresh Haar-random basis and checks part 2 of Proposition 4.8.
def haar_bases(k, dim, rng): # k Haar-random unitaries G = rng.normal(size=(k, dim, dim)) + 1j * rng.normal(size=(k, dim, dim)) Q, R = np.linalg.qr(G) ph = np.diagonal(R, axis1=1, axis2=2) return Q * (ph / np.abs(ph))[:, None, :]def uniform_li(rho, N, rng): # one random basis per copy, then (4.6) dim = len(rho) U = haar_bases(N, dim, rng) p = np.einsum("kji,jl,kli->ki", U.conj(), rho, U).real # Born rule idx = (p.cumsum(axis=1) < rng.random((N, 1))).sum(axis=1) psi = U[np.arange(N), :, np.minimum(idx, dim - 1)] # observed vector mean = np.einsum("ki,kj->ij", psi, psi.conj()) / N return (dim + 1) * mean - np.eye(dim)rng = np.random.default_rng(4)N = 900 # same budget as 100 shots x 9 settingserrs = N * np.array([np.linalg.norm(uniform_li(rho, N, rng) - rho)**2 for _ in range(1000)])se = errs.std(ddof=1) / np.sqrt(len(errs)) # Monte Carlo errorexact = d**2 + d - 1 - np.trace(rho @ rho).realprint(round(errs.mean(), 2), round(se, 2), round(exact, 4)) # 17.99 0.22 18.1425
Maximum likelihood
Projection fixes physicality after the fact. Can we instead pick, among all states, the one that best explains the data? Maximum likelihood estimation (MLE) does this, and it is what most experiments report.
Definition 4.10 (Maximum-likelihood state estimate).
Let a POVM be measured on copies, with outcome counts and frequencies . The log-likelihood of a state is , and a maximum-likelihood estimate is any state maximizing over . For Pauli-basis data take ; the likelihood of the balanced design differs from this one by a constant. Write
Proposition 4.11 (Optimality conditions and the R rho R iteration).
is concave on the states, so its maximizers form a convex set, and every local maximum is global.
A state with whenever is a maximum-likelihood estimate if and only if the operator satisfies . In that case .
The map sends states to states, and every maximum-likelihood estimate as in part 2 is a fixed point of it.
Proof
(1) is linear and is concave, so each term, and the nonnegative combination , is concave.
(2) Only outcomes with enter and . For a state , the one-sided derivative of at in the direction is , using . A concave function on a convex set is maximal at exactly when no direction increases it, that is when for every state , which is . Then and , so is positive with zero trace, hence zero; this forces and so .
(3) is a positive combination of effects, so , and by Cauchy–Schwarz for the inner product . If , then and .
Intuition: reweight by observed over predicted
compares data with prediction outcome by outcome: an outcome seen more often than predicts gets a weight above one, one seen less often a weight below one. The update inflates in the directions of the over-represented effects and shrinks it in the others, then renormalizes, much like a multiplicative-weights or expectation-maximization step. When prediction and data agree, and nothing moves. When the data are not consistent with any state (the usual case near the boundary), the best one can do is with equality on the support of : directions outside the support are those the data would push to negative weight, and MLE sets them to exactly zero.
Hradil derived the extremal equation of part 2 (2); the symmetric iteration of part 3 was developed by Řeháček, Hradil and Ježek (15) and, for homodyne tomography, by Lvovsky (3). The plain version is not guaranteed to increase the likelihood at every step or to converge. Replacing by (the “diluted” iteration) makes the likelihood increase at every step when the step is small enough or chosen by a line search, and the iterates then converge to the maximum-likelihood state (16). In practice the plain version converges in a few hundred steps for a few qubits, as in the worked example below.
Pros and cons. MLE always returns a state, uses every outcome with its proper statistical weight, works for any POVM (informationally complete or not), and for many shots and full-rank states attains the asymptotically smallest covariance, as maximum likelihood does in classical statistics. But it is iterative, each step costs a sum over all outcomes ( for Pauli bases), and it has no closed form for its error. It returns rank-deficient estimates even when the truth is full rank, which makes predicted probabilities exactly zero and quantities such as relative entropies infinite, and it is biased in a way that is hard to quantify. In the numerical studies of Guta et al. (1) the trace-distance error of projected least squares is comparable to that of MLE, at a fraction of the cost, and only projected least squares comes with the non-asymptotic guarantees above.
def mle(counts, iters=20000, tol=1e-10): # R rho R iteration, (4.7) E = np.array([proj(b, s) / len(settings) for b in settings for s in signs]) f = counts.ravel() / counts.sum() E, f = E[f > 0], f[f > 0] sigma = np.eye(d) / d for _ in range(iters): p = np.einsum("kij,ji->k", E, sigma).real R = np.einsum("k,kij->ij", f / p, E) new = R @ sigma @ R new /= np.trace(new).real if np.linalg.norm(new - sigma) < tol: break sigma = new return new
Remark 4.12 (Fewer settings for low-rank states).
Pauli-basis tomography always uses all settings. If the state is known to have rank , far fewer measurements determine it. Gross, Liu, Flammia, Becker and Eisert (17) show that the expectation values of randomly chosen Pauli strings suffice, with high probability, to recover a given rank- state by a convex program: minimize the trace norm over Hermitian consistent with the data (the trace norm plays the role for rank that the norm plays for sparsity), with stable recovery when the data are noisy. Guarantees that hold uniformly for all rank- states at once need Pauli strings (18). This replaces the observables by about . Each Pauli string needs its own local Pauli setting, so the number of settings beats the of balanced Pauli tomography only once , and each expectation value must still be estimated from many shots. This is compressed-sensing tomography; we return to structured states in later modules.
Worked example: a noisy Bell state from 900 shots
We tomograph two qubits with the estimators of this module. Every number below is checked in code/tests/test_04_tomography.py.
Example 4.13 (Two-qubit Pauli tomography of a noisy Bell state).
State. with . Its nonzero Pauli coefficients are , and ; its eigenvalues are and (three times); its fidelity with is .
Data. Each of the settings is measured times, copies. The setting gave the counts for the outcomes , so ; similarly and .
Prediction. By the expected squared Frobenius error is , a root-mean-square error of about ; 500 simulated repetitions give . Random bases with the same budget would give with , about (the snippet above simulates times this risk as with Monte Carlo standard error , in agreement with ).
Linear inversion. The eigenvalues of are : not a state. Its trace distance to is and its Frobenius distance . Its overlap is an unbiased estimate of the fidelity, but here it lies above the true value .
Projected least squares. The threshold is , which removes the two smallest eigenvalues: has eigenvalues , trace distance (Frobenius ), and fidelity with .
Maximum likelihood. The iteration from converges to eigenvalues , trace distance (Frobenius ), fidelity with .
Guarantees. For , and Theorem 4.3 guarantees only , more than four times the observed error: worst-case bounds with union bounds are loose. To guarantee the same theorem asks for , that is shots per setting ( copies). Our state has full rank , so Corollary 4.7 asks for , that is copies, four times more; only for the pure Bell state (, so ) does it give the same . Its advantage appears only for more qubits.
One run can mislead, so Figure 4.2 repeats the experiment. Both physical estimators beat linear inversion when there are few shots; as grows the smallest eigenvalue of is resolved, becomes a state, and the three curves merge. For the pure Bell state the projected estimate keeps a constant-factor advantage at every , because Theorem 4.6 profits from rank one.
Figure 4.2. Two-qubit Pauli-basis tomography over 150 simulated runs per point. Left: median trace distance between the estimate and the true state against the number m of shots per setting, for linear inversion, projected least squares and maximum likelihood on the noisy Bell state with p = 0.1 (solid), and for linear inversion and projected least squares on the pure Bell state (dashed); the dotted line has slope minus one half. Right: fraction of 400 runs in which linear inversion has a negative eigenvalue, for noise p = 0, 0.1 and 0.3. All errors fall as one over the square root of m; a negative eigenvalue persists until m resolves the smallest eigenvalue p/4 of the state, and forever for the pure state.
What breaks
Exponentially many settings and outcomes. Pauli-basis tomography needs settings, coefficients, and to copies; random-basis tomography needs copies and a fresh global random unitary per copy. Beyond roughly ten qubits full tomography is out of reach on any hardware. If only a few properties are wanted, estimate them directly: fidelities with a known target by direct fidelity estimation (19), many observables by classical shadows (Module 7).
SPAM errors. Every estimator here assumes the measurement is exactly the one we wrote down. Readout errors and imperfect basis rotations change the effects , and the reconstructed state absorbs the error as a bias that no number of shots removes. Characterizing state preparation and measurement together with the gates is the job of gate set tomography (Module 6).
Non-identical copies. Drift during a long acquisition, or correlations between shots, violate the i.i.d. assumption behind every bound.
The physical estimators are biased. Projection and maximum likelihood trade bias for physicality. Their estimates sit on the boundary of the state set more often than the truth does, and error bars computed as if they were unbiased (for instance by naive bootstrapping) can undercover.
Adaptivity and entanglement. All protocols here are non-adaptive and single-copy. For trace distance, adaptivity does not improve the rate; for infidelity it does, and entangled measurements improve both (5,6,20) (Module 5).
Why it matters
Linear inversion is the template of every estimator in the course: a frame, its dual, and averages of single-shot snapshots. The Pauli snapshot and the uniform snapshot return in Module 7 as classical shadows, now used to predict observables instead of whole states, and the trade-off between local and global measurements seen in Proposition 4.8(3) becomes the shadow norm. The rank-dependent error analysis of projected least squares is the single-copy baseline that the entangled protocols of Module 5 beat, and the lower bounds there explain why cannot be improved without entanglement. The same inversion, applied to inputs and outputs of a channel, is process tomography in Module 6, where SPAM errors force the self-consistent approach of gate set tomography.
Further reading
Guta, Kahn, Kueng and Tropp (1): projected least squares with non-asymptotic trace-distance guarantees for 2-designs, Pauli observables and Pauli bases, and numerical comparisons with maximum likelihood and compressed sensing.
Chen and Cotler (4), Chapter 4 (Lectures 5 and 6): entrywise tomography with Hoeffding bounds, and the uniform POVM with an operator-norm bound by an epsilon-net argument.
Kueng, Rauhut and Terstiege (14): low-rank recovery by positive-semidefinite least squares or trace-norm minimization from Gaussian or 4-design rank-one measurements, which gave the first single-copy trace-norm guarantee.
Hradil (2), Řeháček, Hradil and Ježek (15) and Lvovsky (3): maximum-likelihood tomography and the iteration.
Gross, Liu, Flammia, Becker and Eisert (17): compressed-sensing tomography of low-rank states.
Haah, Harrow, Ji, Wu and Yu (5) and Chen, Huang, Li, Liu and Sellke (6): what single-copy measurements cannot do.
Guta M, Kahn J, Kueng R, Tropp JA. Fast state tomography with optimal error bounds. J Phys A 53, 204001 (2020). 2020;
2.
Hradil Z. Quantum state estimation. arXiv preprint arXiv:quant-ph/9609012. 1996;
3.
Lvovsky AI. Iterative maximum-likelihood reconstruction in quantum homodyne tomography. Journal of Optics B: Quantum and Semiclassical Optics 6 (2004) S556–S559. 2004;
4.
Chen S, Cotler J. Quantum Learning Theory (Physics 272 / CS 2233), lecture notes [Internet]. Harvard University, Fall 2025; 2025. Available from: https://harvard-quantum-learning.github.io
5.
Haah J, Harrow AW, Ji Z, Wu X, Yu N. Sample-optimal tomography of quantum states. IEEE Transactions on Information Theory 63(9), 5628-5641 (2017). 2017;
6.
Chen S, Huang B, Li J, Liu A, Sellke M. When Does Adaptivity Help for Quantum State Learning? Proc 63rd IEEE Symposium on Foundations of Computer Science, FOCS (2022). 2022;
7.
Smolin JA, Gambetta JM, Smith G. Maximum Likelihood, Minimum Effort. Phys Rev Lett 108, 070502 (2012). 2012;
8.
Duchi J, Shalev-Shwartz S, Singer Y, Chandra T. Efficient Projections onto the \ell₁-Ball for Learning in High Dimensions. In: Proceedings of the 25th International Conference on Machine Learning (ICML). 2008. p. 272–9.
9.
Tropp JA. User-friendly tail bounds for sums of random matrices. Found Comput Math 12, 389-434 (2012). 2012;
10.
Webb Z. The Clifford group forms a unitary 3-design. Quantum Inf Comput 16, 1379-1400 (2016). 2016;
11.
Zhu H. Multiqubit Clifford groups are unitary 3-designs. Phys Rev A 96, 062336 (2017). 2017;
12.
Huang H-Y, Kueng R, Preskill J. Predicting Many Properties of a Quantum System from Very Few Measurements. Nature Physics 16, 1050–1057 (2020). 2020;
13.
Elben A, Flammia ST, Huang H-Y, Kueng R, Preskill J, Vermersch B, et al. The randomized measurement toolbox. Nature Review Physics (2022). 2022;
14.
Kueng R, Rauhut H, Terstiege U. Low rank matrix recovery from rank one measurements. arXiv preprint arXiv:14106913. 2014;
15.
Rehacek J, Hradil Z, Jezek M. Iterative algorithm for reconstruction of entangled states. Phys Rev A 63, R040303 (2001). 2001;
16.
Rehacek J, Hradil Z, Knill E, Lvovsky AI. Diluted maximum-likelihood algorithm for quantum tomography. Physical Review A 75, 042108 (2007). 2007;
17.
Gross D, Liu Y-K, Flammia ST, Becker S, Eisert J. Quantum state tomography via compressed sensing. Phys Rev Lett 105, 150401 (2010). 2010;
18.
Liu Y-K. Universal low-rank matrix recovery from Pauli measurements. Advances in Neural Information Processing Systems (NIPS) 24, pp1638-1646 (2011). 2011;
19.
Flammia ST, Liu Y-K. Direct Fidelity Estimation from Few Pauli Measurements. Phys Rev Lett 106, 230501 (2011). 2011;
20.
O’Donnell R, Wright J. Efficient quantum tomography. Proc 48th ACM Symposium on Theory of Computing, STOC (2016). 2016;