Quantum computing · Theory (AI-assisted)

Optimal Trace Distance Estimation

Ziyun Chen, Minbo Gao, Qisheng Wang

arXiv:2611.32530v1 ↗PDF ↗Submitted 24 November 2026

Question
The trace distance between two quantum states sets the best possible probability of telling them apart. Given copies of two unknown \(d\)-dimensional states, full tomography of both estimates it to additive error \(\varepsilon\) with \(O(d^2/\varepsilon^2)\) samples, and earlier improvements helped only for low-rank states or when one state is pure. Wang recently proved a lower bound smaller than \(d^2/\varepsilon^2\) by polylogarithmic factors. How many samples are actually needed?
Result
The paper gives an estimator that uses \(O(d^2/(\varepsilon^2\log^2d))\) samples of each state when \(\varepsilon\log d\le1\), and \(O(d^2/(\varepsilon^4\log^4d))\) when \(\varepsilon\log d>1\), matching Wang's lower bound up to a constant factor. For constant \(\varepsilon\) the cost is \(\Theta(d^2/\log^4 d)\). Combined with random dimension reduction, the same formula with \(d\) replaced by the rank \(r\) is optimal for states of rank at most \(r\), improving the previous \(O(r^2/\varepsilon^2)\).

The paper in detail

Write \(S_\pm=(\rho\pm\sigma)/2\). The trace distance is \(\tr|S_-|\), and the two operators satisfy \(S_+\succeq0\), \(\tr S_+=1\) and \(-S_+\preceq S_-\preceq S_+\). The estimator never reconstructs \(\rho-\sigma\). It replaces \(|x|\) by a polynomial, so that \(\tr|S_-|\) becomes a trace polynomial in \(S_+\) and \(S_-\), and estimates that polynomial without bias from labelled samples.

The unbiased step is simple. Each sample is drawn from \(\rho\) or \(\sigma\) with probability \(1/2\) and tagged \(+1\) or \(-1\). Applying a cyclic permutation to \(k\) samples and multiplying by their tags gives an observable whose expectation is \(\tr(S_-^k)\); dropping a tag replaces that factor by \(S_+\). Averaging these kernels over all subsets of the \(n\) samples gives a quantum \(U\)-statistic for any trace polynomial.

The hard part is variance, which depends on the size of the eigenvalues of \(S_+\). The algorithm first spends \(O(d\log^2d)\) samples on tomography of \(S_+\) to find a projector \(Q\) with \(\|QS_+Q\|_\infty\le1/\log d\) and \(\operatorname{rank}(I-Q)\le2\log d\). It estimates \(\tr|QS_-Q|\) with fresh samples, and corrects for the few large directions with a degree-\(O(\log d/\varepsilon)\) polynomial, whose error is controlled by the rank of the difference.

When \(\varepsilon\log d\le1\), a single polynomial of degree \(O(d/\varepsilon)\) suffices. In the other regime the paper telescopes over dyadic scales \(b=2^{-\ell}\), using Chebyshev-based filters \(R_b(S_+)\) that keep only eigenvalues of \(S_+\) below about \(b\), and approximates each difference \(\tr|Y_{\ell-1}|-\tr|Y_\ell|\) with a degree adapted to the scale. The result is a trace polynomial of degree \(O(\sqrt d/\varepsilon)\) and bias at most \(\varepsilon\). Quantum Fourier analysis of the \(U\)-statistic bounds the variance, giving standard deviation \(O(\varepsilon)\) at the sample size in the main theorem.

Transferable methods

  1. Unbiased estimation of trace polynomials from labelled samples

    To estimate a function of two unknown states without tomography, one needs observables whose expectation equals a trace of products of \(S_+\) and \(S_-\). Mixing the two sources at random with a classical tag turns every such product into the expectation of a permutation observable.

    Let \(\tau=\tfrac12(\ket0\bra0\otimes\rho+\ket1\bra1\otimes\sigma)\) be the state of one tagged sample. Measuring \(Z\) on the tag and doing nothing on the sample has partial expectation \(\tfrac12(\rho-\sigma)=S_-\), and the identity on the tag gives \(S_+\). For \(k\) samples and the cyclic shift \(V_k\), \[\tr\bigl(V_k(X_1\otimes\cdots\otimes X_k)\bigr)=\tr(X_1X_2\cdots X_k),\] so the observable \(Z^{t_1}\otimes\cdots\otimes Z^{t_k}\otimes V_k\) has expectation \(\tr(X_{t_1}\cdots X_{t_k})\) on \(\tau^{\otimes k}\), with \(X_0=S_+\) and \(X_1=S_-\).

    Symmetrizing over permutations of the \(k\) pairs and averaging over all \(k\)-subsets of \(n\) samples gives the \(U\)-statistic \(\mathcal U_{n,k}(h)\), whose expectation is unchanged and whose variance falls as samples are added. Summing these for every term of a trace polynomial \(f\) yields one observable \(G_{f,n}\) with \(\mathbb E[\widehat f_n]=f(S_+,S_-)\) (Proposition 2.7). The variance has a Fourier expansion \(\sum_jW_j\), where \(W_j\le\binom nj^{-1}\|B_j\|^2\) for an effective kernel \(B_j\) on \(j\) pairs; high-degree polynomials are affordable when their Taylor coefficients decay fast enough to beat the \(\binom nj\) gain.

    How to reuse it

    The same construction estimates any spectral functional of a difference or combination of states, for example Schatten norms or the Hellinger affinity, whenever a polynomial approximation with controlled Taylor coefficients is available.

  2. A multiscale polynomial built from spectral filters

    A polynomial approximating \(|x|\) to accuracy \(\varepsilon/d\) on each eigenvalue would have degree near \(d/\varepsilon\), too high for the sample budget when \(\varepsilon\log d\) is large. Most eigenvalues of \(S_-\) are tiny, because \(S_-\) is dominated by \(S_+\), whose trace is one. Filters that isolate the small eigenvalues of \(S_+\) let each scale use only the degree it needs.

    Because \(-S_+\preceq S_-\preceq S_+\), one can write \(S_-=S_+^{1/2}JS_+^{1/2}\) with \(\|J\|_\infty\le1\), so directions in which \(S_+\) is small carry small entries of \(S_-\). At scale \(b\) the filter is \(R_b=2r_m-r_m^2\) with \(r_m(x)=(1-T_m(1-x))/(m^2x)\), \(m=\lfloor1/\sqrt{8b}\rfloor\), and \(T_m\) the Chebyshev polynomial. It satisfies \(0\le R_b\le1\), \(R_b(0)=1\), \(xR_b(x)^2\le2^7b\) and degree at most \(b^{-1/2}\) (Lemma 2.5), so \(\|R_b(S_+)S_-R_b(S_+)\|_\infty=O(b)\).

    With \(Y_\ell=R_{2^{-\ell}}(S_+)\,S_-\,R_{2^{-\ell}}(S_+)\), the targets telescope, \(\sum_\ell(\tr|Y_{\ell-1}|-\tr|Y_\ell|)=\tr|S_-|-\tr|Y_J|\), and the last term is below \(\varepsilon/4\). Each difference is approximated by a rescaled polynomial of degree \[K_\ell=\Bigl\lceil\tfrac C\varepsilon\sqrt{\min\{1,d\,2^{-\ell}\}}\Bigr\rceil,\] so the total degree is \(O(\sqrt d/\varepsilon)\) instead of \(O(d/\varepsilon)\). Proposition 2.6 bounds the order-\(j\) Taylor coefficients by \((Cd/\varepsilon^2)^j/(d\varepsilon(2j)!)\); the factorial is what keeps the variance finite at the optimal sample size. Editorial check: sampling the filter for \(b\) between \(1/40\) and \(1/1000\) gives \(\max_x xR_b(x)^2\approx18b\)–\(23b\), well inside the stated constant.

    How to reuse it

    Filtering by one positive operator to control functions of another dominated by it applies to other estimation problems with an operator inequality \(-A\preceq B\preceq A\), such as estimating the diamond-norm-like quantities of channels from their Choi states.

Source: Sec. 1.2 (technique overview); Sec. 2.1 (Proposition 2.1); Sec. 2.3 (Eqs. (9)–(13), Lemma 2.5, Proposition 2.6); Sec. 2.4 (Eqs. (19)–(23), Proposition 2.7); Sec. 3 (Algorithm 2). Based on the linked paper version. Derivations marked as editorial, and suggested uses in other problems, are editorial guidance rather than results of the paper.

Context & limitations

Why it matters. This settles the sample complexity of one of the basic tasks in quantum property testing, for general and for low-rank states, and shows that estimating the distance between two arbitrary unknown states costs no more than estimating the distance of one state to the maximally mixed state, which was settled only recently through optimal spectrum estimation. The gain over tomography is polylogarithmic, so the answer is that tomography is almost, but not exactly, optimal.

Limitations. The saving over tomography is a factor of order \(\log^2 d\) to \(\log^4 d\); the estimator needs entangled measurements across many copies and is not designed for efficient implementation. The constants are unspecified, and the analysis assumes \(\varepsilon\le1/32\). The authors state that ChatGPT-6 Astra was used to assist the proof of Theorem 1.1 and that they verified correctness and originality.

Description based on the full arXiv HTML of v1, read 2026-11-28: Secs. 1–3 (main result, technique overview, tomography and polynomial lemmas, the multiscale polynomial of Eq. (13), the observables of Eqs. (19)–(23), Algorithm 2) and the AI disclosure; Sec. 4 (Fourier variance bounds) and the appendices were read in outline. Editorial checks: for random states with d = 5, measuring the label Z on the sample-label state tau of Eq. (22) gives S_- and the identity gives S_+; the cyclic-shift identity tr(V_k X_1⊗X_2⊗X_3) = tr(X_1X_2X_3) holds; and the filter R_b of Eq. (9), sampled for b = 1/40, 1/200, 1/1000, satisfies 0 ≤ R_b ≤ 1, x R_b(x)^2 ≤ 23b (within the stated 128b) and −log R_b(x) ≤ (x/b)^2 on [0, b], with degree below b^(-1/2).