After this module you can build the classical shadow of a state from random Pauli or random Clifford measurements, compute the shadow norm of an observable in each case, decide how many copies are needed to predict observables at once, and recognize every IC-POVM with a dual frame as a shadow protocol.
Full tomography (Module 4, Module 5) learns all parameters of a state, and its cost grows with . Experiments rarely need all of them. They need a list of numbers: the energy of a Hamiltonian, a few two-point correlators, the fidelity with a target state, the purity of a subsystem. This module asks how many copies are needed to predict expectation values to accuracy .
Measuring each observable on its own copies costs copies (Corollary 1.15): the factor comes from the observables not commuting. Classical shadows remove that factor. Each copy is measured in a random basis, and from the outcome we compute a classical snapshot, an operator whose average is . One set of snapshots then serves every observable, and the copy count grows only like (1). Related ideas for local observables appeared earlier as overlapping tomography (2) and in the work of Paini and Kalev (3), and randomized measurements have a longer history in experiments (4). We follow the presentation of Lecture 9 of Chen and Cotler (5).
Most ingredients are already in place. A snapshot is a dual frame of an informationally complete measurement (Definition 1.4), and Module 4 met the two standard ones, for random Pauli bases and for random global bases (Proposition 4.2, Proposition 4.8). What is new is the point of view: we no longer write down , we use it observable by observable, and the quantity that matters is the variance of one observable’s estimate, the shadow norm. Concentration comes from the median of means (Theorem 1.16), and the Clifford moments from the symmetric subspace (Theorem 5.3).
The measurement channel and the snapshot
What does one random measurement tell us about on average? We answer with a channel.
Definition 7.1 (Measurement channel and classical snapshot).
Fix a probability distribution (an ensemble) of unitaries on qubits. A randomized measurement of draws , applies it, measures in the computational basis, and records the pair with ; the outcome has probability . Its measurement channel is
The ensemble is tomographically complete if is invertible. Then the classical snapshot of the outcome is the operator
and independent snapshots form the classical shadow of .
The channel in is what we would get by preparing the measured basis state back in the lab frame and forgetting and . It is a physical channel, but we never run it: it only bookkeeps what the data say on average. Its inverse is applied by a computer.
Proposition 7.2 (Properties of the measurement channel and the snapshot).
For any ensemble:
is completely positive, trace preserving, unital, and self-adjoint for the Hilbert–Schmidt inner product: .
If is invertible, the snapshot is unbiased, , Hermitian, and has . For every observable , is an unbiased estimate of .
The snapshots are a dual frame (Definition 1.4) of the POVM with effects .
Proof
(1) The map is a mixture over of the channels , each a measurement followed by a preparation, so it is CPTP. For Hermitian , , which is symmetric in and ; by linearity this extends to all operators. Unitality follows: for every , , so .
(2) Linearity of and of the expectation give
The inverse of a self-adjoint, unital, Hermiticity-preserving map has the same three properties, so is Hermitian and . Self-adjointness gives .
(3) For every ,
which is the defining property of a dual frame.
Part 3 is the bridge to Module 1: a classical shadow is linear-inversion tomography with one particular dual frame. We return to this in the last section, where the choice of dual becomes a design freedom. Figure 7.1 shows the whole protocol.
on the device, N timeson a computerfresh copystate rhodraw fromrandom Umeasureoutcome bclassicalsnapshotmedian ofmeansClifford or Paulistore (U, b)invert the channelall M observablesFigure 7.1. The classical shadow protocol. Only the first three steps touch the quantum device; the snapshots are computed afterwards, and the observables to predict may be chosen after the data are taken.
Random Clifford and random Pauli shadows
Which ensembles make easy to invert? Two choices dominate: a uniformly random element of the -qubit Clifford group , and an independent random Pauli basis on every qubit.
For the Clifford ensemble only the vector enters . Each is a stabilizer state, and the Clifford group acts transitively on the stabilizer states, so for a uniformly random Clifford the vector is a uniformly random stabilizer state (the Cliffords that fix a given stabilizer state form subgroups of equal size, so every stabilizer state is equally likely), the same for every . The -qubit stabilizer states form a 3-design: their first three moments , , equal those of Haar-random vectors, (Theorem 5.3). This follows from the fact that the multiqubit Clifford group is a unitary 3-design (6–8).
Proposition 7.3 (Random Clifford shadows).
For uniform on and ,
and the snapshot of the outcome is .
Proof
Write . Summing over the values of and using that is a uniformly random stabilizer state for each , . For any operator ,
using the second moment and . This holds for all , which gives . For the inverse, has , so . The snapshot follows because .
The channel is a depolarizing channel with : on average, a random Clifford measurement keeps only a fraction of the information about the traceless part of , and the inverse stretches it back. This is the uniform-POVM computation of Proposition 4.8, part 1, where the frame operator was normalized differently.
Proposition 7.4 (Random Pauli shadows).
Measure every qubit independently in the eigenbasis of , with uniform on , and record the signs . Then with
and the snapshot is
where is the eigenvector of with eigenvalue .
Proof
The six single-qubit basis states are the single-qubit stabilizer states, and a random basis followed by a measurement makes each of them the post-measurement state with the Born weight of a uniformly random one: this is Proposition 7.3 for . For a product operator the bases, outcomes and Born probabilities factorize, so ; linearity extends this to all , and the inverse of a tensor product of invertible maps is the tensor product of the inverses. Finally and .
The single-qubit snapshot has eigenvalues and , as in Example 1.6; it is the canonical dual of the six-outcome Pauli POVM. Storing a Pauli snapshot takes sign bits plus basis labels ( bits) per copy.
The next snippet generates the stabilizer states by breadth-first search from with the gates , and CNOT, as Module 6 generated the single-qubit Clifford group. Global phases are removed so that each state is found once.
import numpy as npfrom functools import reduceI2, H, S = np.eye(2), np.array([[1, 1], [1, -1]]) / np.sqrt(2), np.diag([1, 1j])def clifford_gates(n): # H_j, S_j and CNOT_jk as 2^n x 2^n matrices gs = [reduce(np.kron, [G if i == j else I2 for i in range(n)]) for j in range(n) for G in (H, S)] x = np.arange(2**n) bit = lambda q: (x >> (n - 1 - q)) & 1 gs += [np.eye(2**n)[x ^ (bit(c) << (n - 1 - t))] for c in range(n) for t in range(n) if c != t] return gs
Applying all gates to the current frontier at once, normalizing the phase of the first nonzero amplitude, and keeping only new states gives the orbit.
def stabilizer_states(n): # orbit of |0...0>, modulo global phase key = lambda v: np.rint(np.r_[v.real, v.imag] * 1e6).astype(int).tobytes() v0 = np.eye(2**n, dtype=complex)[0] seen, frontier, out = {key(v0)}, [v0], [v0] while frontier: W = np.concatenate([np.array(frontier) @ G.T for G in clifford_gates(n)]) k = np.argmax(np.abs(W) > 1e-9, axis=1) W *= np.exp(-1j * np.angle(W[np.arange(len(W)), k]))[:, None] frontier = [w for w in W if key(w) not in seen and not seen.add(key(w))] out += frontier return np.array(out)print([len(stabilizer_states(n)) for n in (1, 2, 3)]) # [6, 60, 1080]
The counts match the formula for the number of -qubit stabilizer states (Proposition 2 of Aaronson and Gottesman (9)). For two qubits we compare the moments of the states with the Haar moments , where averages the permutations of the tensor factors (Lemma 5.2), and check the formula for .
from itertools import permutationsfrom math import combst, d = stabilizer_states(2), 4def frame_moment(t): # average of |phi><phi|^(tensor t) T = np.array([reduce(np.kron, [v] * t) for v in st]) return T.T @ T.conj() / len(T)def haar_moment(t): # Pi_sym / binom(d + t - 1, t) eye = np.eye(d**t).reshape([d] * 2 * t) Ws = [eye.transpose(list(p) + list(range(t, 2 * t))).reshape(d**t, -1) for p in permutations(range(t))] return sum(Ws) / len(Ws) / comb(d + t - 1, t)for t in (1, 2, 3, 4): print(t, round(np.abs(frame_moment(t) - haar_moment(t)).max(), 5))# 1 0.0 / 2 0.0 / 3 0.0 / 4 0.00625: a 3-design, not a 4-designrng = np.random.default_rng(1)A = rng.normal(size=(d, d)) + 1j * rng.normal(size=(d, d))MA = sum(d / len(st) * (v.conj() @ A @ v) * np.outer(v, v.conj()) for v in st)assert np.allclose(MA, (A + np.trace(A) * np.eye(d)) / (d + 1)) # Clifford M
Remark 7.5 (Simulating and storing Clifford shadows).
In an experiment a random Clifford is compiled into a circuit of two-qubit gates, and the pair is stored as the stabilizer tableau of , which has bits; is then computed efficiently whenever is a stabilizer projector or a Pauli string. In simulations we can skip altogether: by the argument before Proposition 7.3, the stored state is a stabilizer state drawn with probability , where is the set of -qubit stabilizer states, . The snippets and code/qlt/shadows.py sample this way.
The shadow norm and the many-observable theorem
How many snapshots does one observable need? The estimate is unbiased, so the question is its variance. The identity part of contributes the constant to every snapshot (because ), so only the traceless part matters.
Definition 7.6 (Shadow norm).
For an ensemble with invertible measurement channel , the shadow norm of an operator is
It is the largest second moment of over all states that could be measured.
Huang, Kueng and Preskill show that is a norm (1); we only use it as a variance bound.
Lemma 7.7 (Variance of one snapshot).
For every state and observable , .
Proof
Since , , and adding a constant does not change the variance. So
By Proposition 7.2, , and the outcome has probability ; so the second moment is the expression in with , which is at most the maximum.
Combining the lemma with the median of means gives the main result.
Theorem 7.8 (Predicting many observables with classical shadows).
Let be observables, , and for a tomographically complete ensemble. Take snapshots with
split them into batches of , and let be the median over batches of the batch means of . Then with probability at least , for all simultaneously. In particular
Proof
Fix . The values are independent, have mean (Proposition 7.2) and variance at most (Lemma 7.7). With , Theorem 1.16 (which calls this variance bound ) bounds the failure probability of by . The estimates use the same snapshots and are not independent, but the union bound does not need independence: the probability that at least one fails is at most .
Huang, Kueng and Preskill state the theorem with a different median-of-means bound, hence different constants (1); Theorem 100 of Chen and Cotler uses the same batch size and batches; the extra factor comes from their two-sided median-of-means bound (their Lemma 99), which Theorem 1.16 avoids (5).
Intuition: why the cost grows only like log M
The data do not depend on the questions. Every snapshot is a complete, if very noisy, picture of , and every observable is read off the same pictures. What we pay for questions is confidence: each estimate must fail with probability at most , and the median of means turns a smaller failure probability into more batches only logarithmically. Measuring each observable directly also has a per observable, but needs fresh copies for each of the observables because they do not commute. The price of the shadow is the variance, instead of ; the rest of the module is about when that price is small.
Shadow norms: local versus global observables
The shadow norm depends on the ensemble, and the two ensembles favour opposite kinds of observables. Clifford shadows care about the Frobenius norm, so low-rank observables are cheap; Pauli shadows care about locality, so few-body observables are cheap.
Proposition 7.9 (Shadow norm of Clifford shadows).
For random Clifford shadows, every traceless and every state ,
so
For a Pauli string the second moment is for every state.
Proof
By Proposition 7.3, , and the stored state has probability . Hence
using the third moment of the 3-design, , where permutes the three factors. A permutation contributes the product of traces over its cycles. The three permutations that leave an alone in a cycle give because ; the transposition of the two factors gives ; the two 3-cycles give each. This is the formula. Maximizing over gives , so the maximum is less than because . For , and , which gives .
Module 4 did the same computation for Haar-random bases (Proposition 4.8, part 3); the 3-design property is exactly what makes the two agree. Global observables of low rank are cheap: a projector onto a pure state has . Local observables are expensive: a single-qubit has .
For Pauli shadows we compute the second moment exactly. Two Pauli labels are compatible if they agree on every qubit where both are not the identity; then is again a Pauli string, without phase.
Proposition 7.10 (Shadow norm of Pauli shadows).
Let with . For random Pauli shadows of a state ,
Consequently:
a Pauli string of weight has second moment for every state, so ;
if acts only on a set of qubits, then , independent of .
Proof
A snapshot gives
A factor with equals ; a factor with equals if and otherwise. So
where covers if on , and . Squaring, the term is nonzero only if covers both, which needs compatible and has probability . Given that, (signs on the overlap square to one), the setting also covers the label of , and as in Proposition 4.2. Since
this is .
(1) A single string: , , overlap .
(2) Only labels supported in appear. Write for compatible and otherwise. Then , where the single-qubit matrix (rows and columns ) has first row and column all ones, diagonal entries on , and zeros elsewhere. Its eigenvalues are , so the largest eigenvalue of is . Using and the Rayleigh quotient,
where is the Pauli expansion on the qubits of . Finally .
Huang, Kueng and Preskill state the bound (1); the proof above via the eigenvalue of is a short route to it. Part 1 is Proposition 108 of Chen and Cotler (5).
Figure 7.2 puts the two ensembles side by side. On the left, a weight- Pauli string costs with Pauli shadows and with Clifford shadows, whatever is; the curves cross at . Random -local observables of operator norm one stay well below the bound. On the right, at the GHZ state the variance of a two-qubit correlator stays at under Pauli shadows but grows like under Clifford shadows, while the variance of the GHZ fidelity stays below under Clifford shadows and grows by a factor approaching per qubit under Pauli shadows.
Figure 7.2. Left: squared shadow norm against locality. Pauli shadows give three to the k for a weight-k Pauli string (solid blue) and at most four to the k for any k-local observable of operator norm one (dashed); green dots are exact values for random k-local observables. Clifford shadows give one plus the dimension for every Pauli string (horizontal lines for 8 and 12 qubits). Right: single-snapshot variance at the n-qubit GHZ state for the GHZ fidelity and for a two-qubit ZZ correlator. Each ensemble is cheap exactly where the other is expensive.
Pauli shadows
Clifford shadows
circuit per copy
one layer of single-qubit gates
two-qubit gates
snapshot
weight- Pauli string
-local,
about ( for )
pure-state fidelity
exponential in in general
Applications: fidelities and purities
Two applications show the range of the method: a linear one that needs Clifford shadows, and a nonlinear one that needs a new estimator.
Corollary 7.11 (Fidelity estimation with Clifford shadows).
Let be pure target states. With random Clifford shadows, snapshots estimate all fidelities to accuracy with probability at least , independent of . If is the target itself, one snapshot has variance exactly .
Direct fidelity estimation (10) also estimates a fidelity with Pauli measurements, but its settings are chosen for one target, and for targets that are not stabilizer states it may need many more copies. Shadows estimate the fidelities with many targets from one data set. With Pauli shadows the fidelity is a global observable: for the GHZ state its variance grows by a factor approaching per qubit (Figure 7.2). At the GHZ state, with , every product in equals , and counting compatible pairs of its stabilizers gives the second moment
which is at . For many qubits the GHZ state is a bad case. Averaged over Haar-random targets , the third moment of Haar-random states (as in the proof of Proposition 7.9) gives the second moment at the target
so the variance grows only like , still exponentially.
Nonlinear functions. The purity of a subsystem , and the second Rényi entropy , are quadratic in , so a single snapshot cannot estimate them without bias. Two independent snapshots can.
Proposition 7.12 (Purity from pairs of snapshots).
Let be independent snapshots of (any tomographically complete ensemble) and let . The U-statistic
is an unbiased estimate of . For random Pauli shadows each term is a product over the qubits of of (same basis, same sign), (same basis, opposite signs) or (different bases).
Proof
The partial trace is linear, so . For the snapshots are independent, hence
and averages such terms. A Pauli snapshot restricted to is , because the factors outside have trace one. For two single-qubit factors, , and is , or in the three cases.
The diagonal terms must be left out: for every Pauli snapshot, a constant that has nothing to do with . The variance of falls like for large but grows exponentially with . An equivalent estimator, built from many shots per Haar-random local unitary, was used to measure second Rényi entropies of up to ten trapped-ion qubits (11); its statistics are analysed by Elben et al. (12). Higher moments need U-statistics over distinct snapshots.
Shadows from any informationally complete measurement
Do we need random unitaries at all? No. By Proposition 7.2, part 3, a shadow is a dual frame, and any informationally complete POVM with any dual frame gives one (13–15).
Proposition 7.13 (Shadows from an IC-POVM and a dual frame).
Let be an IC-POVM and any dual frame (Definition 1.4). Measure one copy and output for the outcome . The shadow norm of the pair is
is unbiased, the variance of is at most this norm, and Theorem 7.8 holds with the maximum of this norm over the (over the traceless parts when every has trace one).
For rank-one effects , with a projector and , the measurement-channel dual, with , is a dual frame. If all are equal it is the canonical dual of Proposition 1.5; otherwise it is in general not.
For the biased Pauli measurement that measures qubit in the basis with probability , the measurement-channel dual is , the product of the biased duals of Remark 1.8, and a weight- Pauli string has second moment .
Proof
(1) by the definition of a dual frame, and the variance is at most the second moment . The proof of Theorem 7.8 used only unbiasedness and this variance bound.
(2) is the measurement channel of written for a POVM; it is invertible because the POVM is IC. Then . If for all , the frame operator is , so .
(3) The measurement factorizes over qubits. On one qubit,
so and for . Hence . For the Pauli string,
whose square has expectation .
Uniform Pauli and Clifford shadows have equal weights, so their snapshots are canonical duals. Biased Pauli shadows (16) choose the probabilities to match a Hamiltonian, for example close to one when most terms are -type, and then use exactly the duals of Remark 1.8. This is the promise made in Module 1: tensor-network error mitigation in Module 14 measures each qubit with an IC-POVM of this biased form and processes the outcomes with the duals (17) (their appendix on informationally complete POVMs, where these are offered as one suitable choice of duals). Neither the canonical dual nor the measurement-channel dual minimizes the variance for every observable; the best dual depends on the observable and, through the second moment, on the state (15), and adaptive schemes tune the POVM itself (14,18).
Remark 7.14 (Derandomization).
Randomness is a tool of the analysis, not a necessity. When the observables are known in advance, Huang, Kueng and Preskill (19) replace the random Pauli bases by a fixed list of bases chosen greedily, one qubit at a time, so as to minimize an upper bound on the failure probability (the method of conditional expectations). Each greedy step keeps the bound no larger than its conditional expectation under random bases, so the final fixed list does at least as well on this bound as random Pauli shadows; for Hamiltonians with many terms considerably fewer copies are needed in practice. The price is that the measurement is no longer independent of the questions.
Worked example: GHZ state with Pauli and Clifford shadows
We predict four properties of the four-qubit GHZ state from snapshots of each kind, and compare the errors with the shadow-norm predictions. Every number below is checked in code/tests/test_07_shadows.py.
Example 7.15 (Four properties of the four-qubit GHZ state).
Targets. (local, weight ), (global, weight ), , and the fidelity .
Exact single-snapshot variances (second moment minus the squared mean of the traceless part). Pauli shadows (Proposition 7.10) give for , for , for , and for (from the closed form for the GHZ second moment below Corollary 7.11, at ). Clifford shadows (Proposition 7.9) give for both correlators, for , and for (Corollary 7.11). The predicted standard errors at are : Pauli ; Clifford .
One run (seed , the snippets below) gives the estimates in the table after this box. Seven of the eight lie within two predicted standard errors of the truth; the Clifford estimate of is standard errors away, which is not unusual among eight estimates (for eight independent estimates the chance that at least one lies standard errors out or more is about ).
Many runs. Over independent repetitions (seed ) the root-mean-square errors are, for Pauli shadows, , , , (predicted , , , ), and for Clifford shadows , , , (predicted , , , ), with standard errors from the spread of the squared errors. All eight agree with the predictions within two standard errors.
Purity. From the same Pauli snapshots, the U-statistic estimates (true value ) as and (true value ) as . Over repetitions their standard deviations are and : one more qubit in makes the estimate more than ten times noisier.
Budget. For and on these observables, Theorem 7.8 asks for batches of snapshots. Pauli shadows have (from ), so ; Clifford shadows have (every Pauli string), so . The plain mean already reaches a root-mean-square error of with snapshots, at most here: the constants of the guarantee are pessimistic by two orders of magnitude. Matching the confidence of the guarantee (four simultaneous intervals, ) costs about times more in the Gaussian approximation, about snapshots; the median-of-means constants account for the remaining factor of about .
observable
true
Pauli estimate
Pauli s.e.
Clifford estimate
Clifford s.e.
fidelity
The Pauli snapshots are sampled setting by setting from the Born probabilities of all product bases.
from itertools import productn, N, d = 4, 1000, 16psi = np.zeros(d, dtype=complex)psi[[0, -1]] = 1 / np.sqrt(2) # GHZ staterot = [np.array([[1, 1], [1, -1]]) / np.sqrt(2), # rows: eigenvector bras, X np.array([[1, -1j], [1, 1j]]) / np.sqrt(2), # Y np.eye(2)] # Zborn = np.array([np.abs(reduce(np.kron, [rot[b] for b in bb]) @ psi) ** 2 for bb in product(range(3), repeat=n)]) # (3^n, 2^n)rng = np.random.default_rng(7)bases = rng.integers(0, 3, size=(N, n)) # 0, 1, 2 = X, Y, Zcdf = np.cumsum(born[bases @ 3 ** np.arange(n - 1, -1, -1)], axis=1)out = np.minimum((rng.random(N)[:, None] > cdf).sum(axis=1), d - 1)signs = 1 - 2 * ((out[:, None] >> np.arange(n - 1, -1, -1)) & 1)
A Pauli string is read off with Proposition 7.10, and the fidelity from the full product snapshot.
def pauli_values(label): # tr(P rho_hat) = 3^k prod s_j if all bases match sup = [j for j, c in enumerate(label) if c != "I"] hit = np.all(bases[:, sup] == ["XYZ".index(label[j]) for j in sup], axis=1) return hit * 3.0 ** len(sup) * np.prod(signs[:, sup], axis=1)P = [np.array([[0, 1], [1, 0]]), np.array([[0, -1j], [1j, 0]]), np.diag([1, -1])]fid = [np.real(psi.conj() @ reduce(np.kron, [(I2 + 3 * s * P[b]) / 2 for b, s in zip(bb, ss)]) @ psi) for bb, ss in zip(bases, signs)]for lab in ["ZZII", "XXXX", "ZIII"]: print(lab, round(pauli_values(lab).mean(), 3)) # 0.909, 0.729, -0.084print("F", round(np.mean(fid), 4)) # 0.9912
The Clifford snapshots use the stabilizer states of the first snippet, drawn with the Born weights of Remark 7.5, and the same random generator.
The purity estimate builds the matrix of pair terms from Proposition 7.12 and drops its diagonal.
def purity(qubits): # U-statistic over pairs i != j of snapshots G = np.ones((N, N)) for j in qubits: same_b = bases[:, j][:, None] == bases[:, j] same_s = signs[:, j][:, None] == signs[:, j] G *= np.where(same_b, np.where(same_s, 5.0, -4.0), 0.5) return (G.sum() - np.trace(G)) / (N * (N - 1))print(round(purity([0]), 4), round(purity([0, 1]), 4)) # 0.5009 0.4522
Figure 7.3 repeats the experiment for from to . The errors follow over the whole range. The ordering of the two ensembles flips between the local correlator, where Pauli shadows win by a factor , and the weight-four string, where Clifford shadows win by a factor . At four qubits the fidelity is still cheap for both; the right panel of Figure 7.2 shows how this changes with .
Figure 7.3. Root-mean-square error of shadow estimates for the four-qubit GHZ state against the number of snapshots, over 400 repetitions per point, for random Pauli shadows (blue) and random Clifford shadows (brown). Left: the correlators ZZ on qubits 1 and 2 and XXXX on all four qubits. Right: the fidelity with the GHZ state. Lines are the predictions from the exact single-snapshot variances; the data follow them over the whole range.
What breaks
Global observables under Pauli shadows. A weight- Pauli string costs ; the parity costs , and the fidelity with a GHZ state grows by a factor approaching per qubit. Pauli shadows are for few-body observables only.
Local observables and deep circuits under Clifford shadows. Every Pauli string costs , so Clifford shadows are useless for local observables beyond a few qubits. Each copy also needs a random global Clifford circuit with two-qubit gates, which is expensive and noisy on current hardware.
Nonlinear functions. A snapshot is linear in . Purities and Rényi entropies need U-statistics over several snapshots, with variances that grow exponentially in the size of the subsystem; the plug-in of the averaged snapshot is biased by the diagonal terms.
Noisy measurements. The inverse is computed for ideal gates and readout. If the device implements a different measurement channel, the snapshots are biased, and no amount of data removes the bias. Robust shadow estimation calibrates the actual channel on a known state and inverts that instead (20); learning the noise is the subject of Module 12.
Snapshots are not states. Each snapshot has negative eigenvalues (each factor of a Pauli snapshot has eigenvalues and , so the snapshot has eigenvalues for ; a Clifford snapshot has eigenvalues and ), and averages of few snapshots are far from positive. Projecting them onto states, as in Module 4, introduces bias into every prediction.
Why it matters
Classical shadows open Part III of the course: learning properties instead of states. Module 8 asks how far the scaling goes when the observables are arbitrary and joint measurements on many copies are allowed, and Module 11 shows that without quantum memory exponentially many copies are unavoidable for some families of observables (21,22). Bell sampling, the multi-copy relative of random Pauli measurements, drives stabilizer learning in Module 9. The inverted measurement channel returns in noise learning (Module 12), and the IC-POVM shadows with biased duals are the measurement layer of tensor-network error mitigation (Module 14).
Further reading
Huang, Kueng and Preskill (1): the original paper, with the shadow norm, the many-observable theorem, and numerical experiments on entanglement and fidelity.
Chen and Cotler (5), Lecture 9: a self-contained derivation of the Clifford and Pauli shadows from design moments.
Elben et al. (4): a review of randomized measurements, including purities, entanglement and cross-platform comparisons.
Innocenti et al. (15) and Nguyen et al. (14): shadows as dual frames of general measurements, and how to choose the measurement and the dual.
Grier, Pashayan and Schaeffer (23): optimal shadows when the state is known to be pure.
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;
2.
Cotler J, Wilczek F. Quantum Overlapping Tomography. Phys Rev Lett 124, 100401 (2020). 2020;
3.
Paini M, Kalev A. An approximate description of quantum states. arXiv preprint arXiv:191010543. 2019;
4.
Elben A, Flammia ST, Huang H-Y, Kueng R, Preskill J, Vermersch B, et al. The randomized measurement toolbox. Nature Review Physics (2022). 2022;
5.
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
6.
Kueng R, Gross D. Qubit stabilizer states are complex projective 3-designs. arXiv preprint arXiv:151002767. 2015;
7.
Webb Z. The Clifford group forms a unitary 3-design. Quantum Inf Comput 16, 1379-1400 (2016). 2016;
8.
Zhu H. Multiqubit Clifford groups are unitary 3-designs. Phys Rev A 96, 062336 (2017). 2017;
9.
Aaronson S, Gottesman D. Improved Simulation of Stabilizer Circuits. Phys Rev A 70, 052328 (2004). 2004;
10.
Flammia ST, Liu Y-K. Direct Fidelity Estimation from Few Pauli Measurements. Phys Rev Lett 106, 230501 (2011). 2011;
11.
Brydges T, Elben A, Jurcevic P, Vermersch B, Maier C, Lanyon BP, et al. Probing Rényi entanglement entropy via randomized measurements. Science 364, 260 (2019). 2019;
12.
Elben A, Vermersch B, Roos CF, Zoller P. Statistical correlations between locally randomized measurements: a toolbox for probing entanglement in many-body quantum states. Phys Rev A 99, 052323 (2019). 2019;
13.
Acharya A, Saha S, Sengupta AM. Informationally complete POVM-based shadow tomography. Phys Rev A 104, 052418 (2021). 2021;
14.
Nguyen HC, Bönsel JL, Steinberg J, Gühne O. Optimising shadow tomography with generalised measurements. Phys Rev Lett 129, 220502 (2022). 2022;
15.
Innocenti L, Lorenzo S, Palmisano I, Albarelli F, Ferraro A, Paternostro M, et al. Shadow tomography on general measurement frames. PRX Quantum 4, 040328, 2023. 2023;
16.
Hadfield C, Bravyi S, Raymond R, Mezzacapo A. Measurements of Quantum Hamiltonians with Locally-Biased Classical Shadows. arXiv preprint arXiv:200615788. 2020;
17.
Filippov S, Leahy M, Rossi MAC, García-Pérez G. Scalable tensor-network error mitigation for near-term quantum computing. arXiv preprint arXiv:230711740. 2023;