Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    State Reconstruction and Classical Shadows

    A measurement ensemble can estimate a selected set of local observables without reconstructing an entire many-body state. Its usefulness depends on those observables and the measurement bases. We will test this claim on a four-site truncated chain, including an entanglement witness evaluated again on an independent held-out data set.

    Preparation: Quantum instruments, Pauli operators and sampling variance. This is a finite local-dimension example, not unrestricted tomography of an infinite-dimensional field.

    Fix the local truncation and the target

    Each site has two occupation states, ∣0⟩,∣1⟩|0\rangle,|1\rangle, equivalently a spin-1/21/2 or hard-core mode. The exact model within this finite space is the open chain

    H=∑j=13Jj(XjXj+1+YjYj+1+ZjZj+1),(J1,J2,J3)=(1,0.4,1).H=\sum_{j=1}^{3}J_j(X_jX_{j+1}+Y_jY_{j+1}+Z_jZ_{j+1}), \qquad (J_1,J_2,J_3)=(1,0.4,1).

    Its unique ground state is the preparation target. Exact diagonalization gives energy −6.066060556-6.066060556 and gap 3.5119946333.511994633. The strong end bonds favor singlets. In an application to an unbounded bosonic lattice, imposing the same local two-state cutoff would be an additional approximation requiring a separate occupation-tail and cutoff study. No such continuum convergence is claimed here.

    Before generating data, select six two-site Pauli correlations and the singlet witness on sites 1 and 2. The target list is fixed for both the training and verification sets; it is not chosen afterward to maximize a fluctuation.

    Invert the measurement average

    For each copy, choose independently at each site a basis bj∈{X,Y,Z}b_j\in\{X,Y,Z\} with probability 1/31/3, and record its outcome sj=±1s_j=\pm1. The local outcome projector is

    Πbj,sj=I+sjbj2.\Pi_{b_j,s_j}=\frac{I+s_jb_j}{2}.

    For a qubit with Bloch vector r\mathbf r, averaging the outcome projectors over bases and Born outcomes gives (I+r⋅σ/3)/2(I+\mathbf r\cdot\boldsymbol\sigma/3)/2. The measured Bloch vector is shrunk by three. Inverting this linear averaging map yields a single-shot shadow

    ρ^=⨂j=14(3Πbj,sj−I),Eρ^=ρ.\widehat\rho=\bigotimes_{j=1}^{4}(3\Pi_{b_j,s_j}-I), \qquad \mathbb E\widehat\rho=\rho.

    A shadow is an unbiased matrix estimator, generally not a positive density matrix. It is used to estimate linear observables, rather than to declare each individual shot a reconstructed physical state.

    For a Pauli string QQ acting nontrivially on ww sites, the estimator simplifies to

    q^={3w∏j∈supp⁡Qsj,all selected bases match Q,0,otherwise.\widehat q= \begin{cases} 3^w\prod_{j\in\operatorname{supp}Q}s_j,&\text{all selected bases match }Q,\\ 0,&\text{otherwise}. \end{cases}

    The basis-match probability is 3−w3^{-w}. Conditional outcome averaging gives Eq^=⟨Q⟩\mathbb E\widehat q=\langle Q\rangle, and the squared estimator has the exact mean 3w3^w. Hence for MM independent shots,

    Var⁡(q‾)=3w−⟨Q⟩2M.\operatorname{Var}(\overline q)=\frac{3^w-\langle Q\rangle^2}{M}.

    Local observables can therefore be affordable even when the global Hilbert space is large. Long strings cost exponentially more in their weight under this particular measurement ensemble. These sample estimates apply to the selected observables. Full-state tomography requires control over the other observables as well.

    Train once, verify on independent copies

    The companion enumerates all 34=813^4=81 basis choices and all 16 outcomes to verify the unbiased mean and second moment exactly, before sampling. It then generates 30,000 training shots and a separate 30,000-shot verification set with independent retained random seeds and the same fixed preparation.

    TargetExactTrainingHeld out
    X1X2X_1X_2−0.987987-0.987987−0.9756-0.9756−0.9756-0.9756
    Y1Y2Y_1Y_2−0.987987-0.987987−0.9468-0.9468−0.9711-0.9711
    Z1Z2Z_1Z_2−0.987987-0.987987−1.0044-1.0044−0.9900-0.9900
    Z2Z3Z_2Z_3−0.115115-0.115115−0.1206-0.1206−0.0921-0.0921
    X1X3X_1X_30.1031020.1031020.12990.12990.10740.1074
    Z3Z4Z_3Z_4−0.987987-0.987987−0.9948-0.9948−0.9987-0.9987

    The single-experiment standard errors are about 0.01640.0164–0.01730.0173, calculated from the exact variance. An estimate slightly outside [−1,1][-1,1] is possible because the unbiased estimator is not constrained to the physical range. It is a sampling fluctuation, not a Pauli expectation value of a purported exact state.

    A bounded witness with a conservative confidence interval

    Let ∣s⟩=(∣01⟩−∣10⟩)/2|s\rangle=(|01\rangle-|10\rangle)/\sqrt2 and define

    W12=I2−∣s⟩⟨s∣=I+X1X2+Y1Y2+Z1Z24.W_{12}=\frac I2-|s\rangle\langle s| =\frac{I+X_1X_2+Y_1Y_2+Z_1Z_2}{4}.

    Its eigenvalues are −1/2-1/2 on the singlet and +1/2+1/2 on the triplets, so it is bounded. A product state's squared overlap with a singlet is at most 1/21/2; convexity extends this to every separable state. Thus ⟨W12⟩<0\langle W_{12}\rangle<0 certifies two-site entanglement.

    The single-shot estimator is w^=(1+XX^+YY^+ZZ^)/4\widehat w=(1+\widehat{XX}+\widehat{YY}+\widehat{ZZ})/4. At most one matching-basis term contributes in a shot, so its range is [−2,2.5][-2,2.5], even though the operator's eigenvalues have a much smaller range. Hoeffding's inequality therefore gives a 95% interval with half-width

    ϵW=4.5log⁡402M=0.0352845(M=30000).\epsilon_W=4.5\sqrt{\frac{\log40}{2M}}=0.0352845 \qquad (M=30000).

    The exact witness is −0.4909903-0.4909903. Training gives −0.481700-0.481700, and the independent held-out estimate is −0.484175-0.484175. Its full conservative interval is negative. An independent maximally mixed product control gives 0.243625±0.03528450.243625\pm0.0352845, consistent with its exact value 1/41/4 and with no false entanglement conclusion in this sample.

    The confidence interval describes independent ideal-shot sampling for this preselected witness. It does not cover calibration errors, preparation drift, unmodeled occupations or data-dependent selection of a favorable witness. Many simultaneously tested targets require an appropriate multiple-comparison bound, rather than reusing a single 95% guarantee without adjustment.

    Summary

    Local Pauli shadows estimate the chosen correlations with an explicitly calculable variance. A held-out witness remains negative with a conservative interval. The successful finite test certifies those observables under its preparation and measurement assumptions, not arbitrary continuum state reconstruction.

    Exercises

    1. Compare the variances of a weight-two and a weight-four Pauli-string estimator when both true expectations vanish.
    Solution

    They are 9/M9/M and 81/M81/M. The weight-four target needs nine times as many shots for the same variance in this local-Pauli protocol. The cost is determined by observable support, not merely by the fact that both operators have norm one.

    1. Why is the witness confidence half-width computed from a range of 4.54.5, rather than the spectral range one of W12W_{12}?
    Solution

    The experiment does not measure W12W_{12} projectively. Its randomized estimator takes values −2-2, 1/41/4 or 2.52.5 after inverse-channel weighting. Concentration bounds must use the actual random variable. A direct projective witness measurement would have a different range and might require a different physical apparatus.

    References

    • Huang, Kueng and Preskill, Predicting Many Properties of a Quantum System from Very Few Measurements, supplementary §1, Example 2, Eq. (S17); supplementary §C, Proposition 2 and Eqs. (S44)–(S48), for local-Pauli shadows and locality-dependent estimation. The finite chain, held-out samples and direct Hoeffding calculation above are specified independently; no median-of-means theorem is silently assigned to a plain sample mean.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.