Manuscript Offprint
arXiv:2610.06808Quantum 1-PCA with Pauli Measurements in Nearly Linear Time
Abstract
We consider the problem of quantum 1-PCA: given copies of an unknown n-qubit mixed state, recover a classical description of its leading eigenvector. Our goal is to do so using non-adaptive and single-qubit measurements. For an n-qubit state with top eigenvalue and spectral gap at least , we give an algorithm that recovers the leading eigenvector to fidelity at least with high probability using copies and time, where . All of our measurements are non-adaptively chosen, and performed in single-qubit Pauli bases. When the spectral gap is constant and the desired accuracy is comparable to the noise level, i.e. , our runtime and copy complexity become . This generalizes the guarantees of , who achieved similar rates, but under the assumption , i.e., that the state was pure. Our results show that the same rates hold in the presence of state misspecification, up to polylogarithmic factors.
From a technical perspective, our algorithm works by recursively constructing low-dimensional subspaces that approximately preserve the target eigenvector. To achieve nearly linear runtime dependence on the dimension of the Hilbert space, we develop a novel structured Pauli sampling scheme that enables fast batched computation of exponentially many projected Pauli matrices.
1 Introduction
A natural task in quantum learning is quantum PCA, where the goal is to extract the best pure state approximation of an unknown n-qubit mixed state , given measurement access to many copies of . For most metrics of interest, this is achieved by outputting the state which is the top eigenvector of . This is a well-studied problem in physics as well, where it is closely related to the problem of state purification; see e.g., [BDJ94, BBD 97, Wer98, Per99, CEM99, KW01, LMR14, Fu16, CFL 25]. At a high level, this is because in many settings, we expect that the “true” state of interest should be some pure state. However, due to issues such as model misspecification or noise in the state preparation, the resulting state we observe ends up being mixed with additional noise. In such situations, the natural recovery question is not to recover itself, but rather its top eigenvector.
Formally, we consider the following setting: we are given copies of an -qubit state . We assume that the top eigenvalue of is , and its second eigenvalue is , so that the top eigenvector of , denoted , is unique. We will also let denote the spectral gap of the state. Our goal is to output a state so that , for some target error .
By now, it is well understood how to solve this problem with access to arbitrary measurements. Seminal work of [OW17] demonstrated that one can learn the optimal rank-1 approximation of an arbitrary mixed state to error in copies, and it is also known that this is tight [Hay98, BM99, SSW25]. That is, quantum PCA is possible with copy complexity which scales nearly linearly in the dimension of the Hilbert space. However, the algorithm requires measurements which are heavily entangled both across the qubits.
*jmhans13@cs.washington.edu. This work was supported in part by an NSF Graduate Research Fellowship, and by the Institute for the Foundations of Machine Learning (IFML).
jerryzli@cs.washington.edu. This work was supported in part by the Institute for the Foundations of Machine Learning (IFML).
of the state and across multiple copies of the state. This renders the algorithm largely out of reach for existing or near-term quantum devices, except perhaps for very small-scale experiments.
On the other hand, another recent breakthrough work of demonstrated that one can match these statistical guarantees using single-qubit, single-copy measurements, a much more restricted but also realistically implementable class of measurements, but for the special case where the state is exactly pure. That is, they show that if , there is an algorithm which uses copies and runtime, which only uses non-adaptively chosen single-qubit Pauli measurements, and which outputs a state which is -close to in fidelity. Note that in their setting, this is equivalent to learning the original state to infidelity . However, their algorithm heavily leverages the fact that is exactly rank 1, and to the best of our knowledge, fails to generalize even in the presence of very small amounts of noise.
This begs a natural question: can we obtain the best of both worlds? That is, can we obtain an algorithm for quantum PCA that uses non-adaptively chosen, single-qubit Pauli measurements, but which works for general mixed states? Stated simply, our central question is as follows:
Theorem 1.1. Let be an unknown -qubit quantum state with top eigenvalue , second eigenvalue , and top eigenvector . Let denote the spectral gap of . Let , and let . Then, there is an algorithm, which, given , and copies of , where
produces a pure state such that with probability at least . Moreover, the algorithm performs only non-adaptive Pauli basis measurements and runs in time
Note that our full algorithm does not require exact knowledge of ; see Theorems 4.3 and 4.4. In fact, we achieve the same guarantees with any such that and , with . We suppress this generality here for clarity of presentation.
We pause here to interpret this theorem. First, we are primarily interested in the regime where the spectral gap is constant. In this case, both our copy complexity and runtime are nearly linear in , which as mentioned above, is optimal. A key quantity which emerges from our theorem is the ratio . Notice that is a natural measure of how close the state is to being pure, so one can interpret it as a measure of the signal to noise ratio. Thus, the regime where corresponds to the regime where our target accuracy is comparable to the mass of noise in the system. In this regime, observe that our theorem actually yields runtime and copy complexity that are , matching the best possible rate.
In particular, in the special case where , i.e. when the state is pure, we have that . Therefore, our result recovers both the copy and runtime complexity of for pure state tomography, and so our result is a strict generalization of their result to the more general mixed state setting. Interestingly, as we describe now, while our algorithm shares a similar initial framework to the algorithm of , our techniques end up being quite different from theirs, even for the setting where is pure, and so our algorithm yields a different route to achieving pure state tomography, which may be of independent interest.
1.1 Our Techniques
At a high level, our algorithm proceeds qubit-wise. For any prefix string , let denote the unnormalized state obtained by measuring the first qubits of in the coordinate basis, and receiving outcome , and similarly define . Like in , we will reconstruct “backwards”: for some prefix , for some , we will seek to recover information about based on approximate information recovered about the states with prefixes and , i.e. the 1-bit extensions of . In , their algorithm seeks to directly reconstruct using and . However, to do so, their algorithm crucially leverages the purity of . This is because when is pure, it holds that for all . Thus, to recover , it suffices to recursively solve the same quantum PCA problem on a smaller scale. However, this is no longer true when is mixed: in fact, after some basis measurements, the resulting post-measurement state can have a top eigenvector that is completely orthogonal to . In particular, even if we are given the exact top eigenvectors of and , we cannot in general hope to obtain a good approximation to .
Instead, our algorithm seeks to maintain, at every node , a low-dimensional subspace which approximately contains . Our main algorithmic task is then to, given two subspaces and , merge them into a single subspace while maintaining good error and without blowing up the dimensionality of the subspace. We do so in two steps. First, consider the naively merged subspace with projector given by
It is straightforward to show that this projector would satisfy the necessary error bounds, but the dimension of the projector would also double, which would be prohibitive. To address this issue, we interleave several classical k-PCA steps within each layer. Concretely, before the dimension of the naively constructed projections grows too large, we use them, with appropriately chosen Pauli measurements, to build an estimate of :
We then use these classical descriptions to prune each projection into a -dimensional one , which we pass up to the next layer. Crucial to our nearly linear complexity guarantees is the observation that, in order to maintain most of the target state's energy, even amid noise in our estimate , need only be logarithmic in the dimension of to give global error guarantees. Indeed, at any prefix, one can show that
Summing over all prefixes at layer , then over all layers, one may send the first term to with , ignoring spectral terms. In this sense, our approach is intended to avoid prefix-wise accuracy guarantees which could propagate through the algorithm. To optimize our -dependence, we ultimately use a different energy inequality which allows us quadratic dependence on the perturbation operator norm, with a manageable tradeoff in the noise term; see Theorem 4.2 for more details.
1.1.1 Affine Pauli Sampling
There is a final algorithmic challenge to implement this framework optimally. With layer- projections , it's not immediately clear how to efficiently estimate all the unnormalized block estimates using Pauli measurements. While it would be convenient to work directly with a basis for , one notes that the projected Pauli matrices also provide a frame for the subspace along which we need estimates.
Hence, we can construct unbiased estimators for the projections of by post-selecting on prefix strings, measuring in a random Pauli basis, and using this measurement to sign the matrix . This projected Pauli frame is perhaps highly redundant. Importantly, however, it is only -dimensional. Indeed, we can choose these estimates to have vanishing variance with only copies, so copies suffice to control all prefix estimates simultaneously.
If we want to make this algorithm efficient, a major issue remains: we cannot ever write down the full Pauli matrices explicitly. On one hand, the projected matrices may be represented using only complex numbers. In view of the Pauli matrices as phased permutations, it's also easy to check that each such matrix may be computed in time (at least in some basis for ).
The issue, however, is that (i) our subspaces (and hence the projected Paulis) are adaptively constructed, and (ii) we need to access roughly of these matrices per layer, even if were kept constant. To fix this, we dispense with the natural uniform joint distribution over Pauli matrices. Instead, we sample from a more structured one which allows us to both simulate a uniform draw of Pauli matrices and compute all of the projected matrices at once.
It turns out that such a structured distribution comes precisely from the commutation structure of the Pauli matrices. To see this, it is helpful to view our sample of Pauli matrices as a random subset of their phase space . And to simplify the situation, suppose we just have fixed unit vectors , and want to compute the collection of forms
A first observation is that along some affine subspaces of , this mass computation can be made efficient. Along the centered horizontal , for instance, one notices that the Paulis consist of translations on the computational basis. The forms of interest are therefore just evaluations of a certain convolution between and :
In fact, one can observe that by the Pauli commutation relations, any unitarily equivalent family must implement translation along some basis. Because the Paulis do so along the computational basis, it is an easy application of the fast Walsh-Hadamard transform algorithm to compute this form for all in time.
Our basic strategy is to select F as a random affine space along which this pre-computation may be done efficiently. Reminiscent of a basic hashing technique, a first attempt is to randomly tilt H along the Z-axis, then shift.
First, it’s not hard to see that the marginals , , are uniform over and pairwise independent. Second, because the chosen Paulis are precisely an affine transformation of , we might hope to take advantage of its deterministic convolution structure. Fixing , we expand one of the now-shifted Pauli matrices.
The second observation is that if A is forced to be symmetric, while the same two distributional properties remain, our affine space still admits an amenable decomposition; along F, the Pauli matrices now factor into a product of with diagonals. Completing the square in the expression above,
Computing the forms of interest then reduces to a fast entry-wise pre-processing on , , followed by the classic Fourier procedure.
With pairwise independence, one again finds that copies suffice for a layer, and this extends easily to the setting of general by considering inner products of the form above. To mitigate copy complexity blowup in factors of , we apply standard matrix estimation techniques; details are left to Section 3.
1.2 Related Work
The task of quantum PCA, and more generally, the task of finding a good low-rank approximation to a given state, has a long history in physics and quantum computing. Perhaps the first non-asymptotic guarantees for this problem were derived in [CEM99], which showed optimal rates for purification of a single-qubit system. Several subsequent works [GLF 10, Liu11, FGLE12, ABH 13, KRT17] derived estimators with non-asymptotic guarantees for many-qubit systems, several of which demonstrated very powerful connections between this task and the classical task of compressed sensing. The first algorithms with nearly-optimal dimension dependence for this problem were derived in a sequence of works [HHJ 16, OW16, OW17], culminating in the nearly-optimal rate in all parameters achieved in [OW17]. Many works (including several of the aforementioned works) also obtain results for the related problem of tomography for low rank states, and in particular, for rank-1 states, see e.g. [Hay98, HHJ 16, OW16, GKKT20, vACGN23, PSTW25, SSW25]. One particularly relevant paper is [GPS24], which specifically studies (among other questions) the task of finding the top eigenvector of a mixed state under a similar gapped assumption, but with general measurements.
In addition, there has been a parallel line of work developing algorithms for many learning tasks (including the one considered here), using restricted classes of measurements, such as single-copy Pauli measurements, including the aforementioned work of [GGH 26]. Several of the aforementioned papers use simple measurements such as Pauli measurements [GLF 10, Liu11, FGLE12], and subsequent work of [GKKT20] refined these bounds. A recent line of work has also studied the complexity of general state tomography with Pauli measurements which demonstrates that for full-rank states, Pauli basis measurements are provably worse than general single-copy measurements [ADLY25a, ADLY25b, Yu20]. Other works have also proven lower bounds for these tasks with Pauli observable measurements, a weaker class of measurements than general Pauli measurements [FGLE12, LN25], which demonstrate that such measurements cannot in general hope to obtain linear rates in the dimension. Finally, we also mention that there is a large line of work on state certification and other quantum testing tasks using Pauli measurements or other classes of restricted measurements, see e.g. [FL11, dSLCP11, HM15, PLM18, DHZ20, LZH23, SGM 25, HPS25, GHO26, LZ26, CLSW26, CLS26]. These papers do not seem to have much direct connection to the problem we study and the techniques we develop in our paper.
2 Preliminaries
Throughout, we take ; for clarity, the symbol is occasionally used as an index, though this is clear from context. For convenience throughout, we denote . For a matrix , we let , denote the Schatten-p norm. All logarithms are to base , unless otherwise specified. For clarity of presentation, we omit numerical details regarding standard spectral computations in the real RAM model; one can handle such details deterministically, for instance via [Sob25].
We let denote the finite field on two elements, and the family of self-adjoint linear maps over . We shall also make use of the Fourier transform over . For convenience, however, we will work with vector-valued maps. For (or ), we take
We also make use of the outer-product convolution
In this form, the usual convolution identity may be written
The n-site Pauli matrices consist of all n-fold tensor products of X, Y, Z, I.
Of particular interest is the family of qubit-wise unentangled measurements obtained by taking the tensor product of single-qubit Pauli eigenstates. For a Pauli with all non-identity components, the resulting rank-1 spectral projections may be written:
We may alternatively parameterize the Pauli matrices by
Here, in the exponent of , the dot product is taken in (or mod 4). In this form, one may view the Pauli matrices as signed permutations; a useful computational fact is the following.
3 Fast Subspace Tomography with Pauli Measurements
As a first ingredient, we require a subroutine which learns a small compression of along a known subspace. At the most basic level, we use only completeness of the Pauli matrices. Working directly with many randomly drawn Paulis can be expensive, however, and we access them along a low-dimensional subspace that evolves depending on the hidden state. To make our computations efficient, we leverage the parameterization to sample certain well-structured Pauli matrices that can be efficiently constructed on the fly. We develop these tools concretely below.
3.1 Lepskii's Method
We find we can optimize -dependence by learning the matrices in operator norm. Here, we describe the estimator in generality before instantiating it in the subspace tomography algorithm. We require a Bernstein bound [Tro12].
Fact 3.1 (Matrix Bernstein). Consider a finite sequence of independent, Hermitian random matrices of dimension . Assume that each random matrix satisfies
Then for any ,
To control failure probabilities, we clip the spectrum of our empirical estimates to balance bias and variance appropriately. The ideal clipping depends on a possibly unknown variance, but we can use a standard adaptive technique to choose from a list of candidate clippings [Min18, Lep92]. We clip the spectra of these matrices at several thresholds, then take empirical means. We now state the guarantee needed for our subspace tomography procedure (Algorithm 3).
Lemma 3.2. Consider an i.i.d. sequence of Hermitian matrices of dimension , such that . Given access to scalars , Algorithm 1 computes an estimate using examples, and time, such that if , then with probability at least ,
We remark that one can actually replace with a logarithm in this quantity, up to constants in the estimate. For our purposes, the given claim will suffice.
Algorithm 1: Lepskii's Method
Input: Parameters , , ,
Input: Sequence of i.i.d. Hermitian matrices of dimension
1 Set
2 Organize examples into blocks of
3 for do
4 Set
5 Set
6 Record
7 Take the minimum such that
8 If condition is never satisfied, set
9 Return
Here, we have taken the spectral extension of the scalar map
One should view M as a variance-scaling parameter. We average over M clipped estimates to achieve a desired scaling of errors.
Proof. First note that for any indices i, m,
Moreover, note that for each i,
Using Theorem 3.1, it holds with probability at least that for all ,
Conditioned on the success of this event, the definition of implies that for every ,
Now consider the smallest such that , which must exist if . Note that for all , a triangle inequality gives
Hence, conditioned on success, , and another triangle inequality gives
If also , then if and otherwise. The claim follows.
3.2 Affine Pauli Estimators
As described in Section 1.1, we efficiently compute our projected Pauli matrices by leveraging Fourier structure in our sampled Pauli matrices. We briefly formalize this step of the algorithm. Throughout the remainder of the section, we take as deterministic inputs to Algorithms 2 and 3. Later on, the adaptivity of these objects will be handled appropriately.
Algorithm 2: Projected Pauli Pre-computation
Input: Parameters
Input: Pairs of symmetric matrices and vectors
Input: Partial unitaries of dimension ()
1 Fix maps , for all :
,
2 Apply Fast Walsh-Hadamard to compute , for all
3 Apply Fast Walsh-Hadamard to compute for all
4 Return projected Pauli maps
Lemma 3.3. Algorithm 2 returns matrices
Proof. To start, note that
Expand the Pauli matrix via (1).
By linearity,
The claim follows by definition of .
Lemma 3.4. Algorithm 2 runs in time.
Proof. We may build each of the maps as follows. Looking at each of the rows of , we compute the phase factor in time using , and multiply the entries of this row point-wise. For each such map, the first Walsh-Hadamard transform may be done entrywise, on real and imaginary parts, for a total of time. These steps give at most time.
Next, the image of is dimensional. Again computing each entry individually, we may compute the inverse transform of all outer products in time. Multiplying each projected Pauli by the diagonal phase factor takes time. The overall bound follows.
3.3 Subspace Tomography Algorithm
We may now describe the full subspace tomography algorithm, which is called upon to simultaneously produce all estimates for prefixes at layer . It executes different rounds, in each round producing matrices , which are then used in the Lepskii estimator to produce final layer- estimates . Within each round , we draw a fresh affine space of pairs , encoding the Paulis we will use to measure. Because our Paulis are not sampled uniformly, we require additional averaging within each round.
Recall that in this section, we leave fixed; probabilistic estimates are computed accordingly. This will later be handled by conditioning. To handle the fact that our Lepskii estimates only provide guarantees within a prescribed variance range, we also introduce a parameter , which is the minimum mass of unnormalized states for which we consider error in our matrix estimates. Below this threshold, we will incur losses which we ultimately control to sufficiently small error.
Lemma 3.5. For , , , drawn as in Algorithm 3,
Proof. For fixed x, is uniform. Hence,
One concludes by Theorem 3.3 and linearity.
9
□
Algorithm 3: Layer- Subspace Tomography
Input: Parameters
Input: Copies of unknown state
Input: Partial unitaries of dimension ()
1 Set variance thresholds ,
2 Set
3 Allocate copies of
4 Draw for
5 Draw for
6 Use Algorithm 2 to compute projected Pauli matrices
7 for do
8 for do
9 for do
10 Draw fresh copy of
11 Measure first qubits in basis; observe
12 Measure final qubits in basis; observe
13 Record the estimates:
14 Record the round- estimates:
15 Run Algorithm 1 on for all , with block size , , ;
16 Return Lepskii estimates
To apply the guarantees of Lepskii's method, we need only bound a second moment of our estimates.
Lemma 3.6. Using definitions from Algorithm 3, it holds that for any ,
Proof. For ease of notation, we fix and write , , , and . Expanding the moment,
Note that
Since all measurement outcomes in a round are independent conditional to A, c,
Note that for fixed x, is uniform over . By the twirling identity,
Hence,
For the second term, we note that the strings are pairwise independent.
In the last line we again used the twirling identity. To conclude, use a triangle inequality and note that by Hermiticity,
Lemma 3.7. For , and larger than an absolute constant, Algorithm 3 uses copies of , and returns Hermitian matrices
such that with probability at least ,
Proof. For , let
If , then . By Theorems 3.2 and 3.6, it holds with probability at least that for all such that ,
In the second line we used and
The claim follows by summing.
Lemma 3.8. For , Algorithm 3 runs in time.
Proof. By Theorem 3.4, the pre-computation of Paulis takes time. For each measurement round , and -bit string , we maintain -many matrix sums , which we add to on the fly. Iterating over -many copies, we can add to a single matrix for each observation. This takes at most time in each round. At the end of each round, we sum estimates over all , for each , to produce the matrices ; this takes time in each round. Each of the calls to Algorithm 1 takes only time. Since , altogether, we have at most .
4 Full Algorithm
4.1 Projected Energy Inequalities
The analysis hinges on two perturbation estimates, specialized to our needs. The first may be seen as a projected version of the classic Davis-Kahan bound, and is perhaps the first hint that a dimension-reduction strategy is suitable.
Lemma 4.1. Let be a matrix of the form
for a unit vector , , and satisfying a spectral tolerance
Let be Hermitian, be any orthogonal projection, and let be a top eigenvector of (or an arbitrary unit vector if ). Then it holds that
Proof. If , the bound is immediate, and holds for any unit vector . Similarly if , then
So the bound becomes vacuous, as
Henceforth, we assume and .
Let be a top eigenvector of . By positivity of , we note . Also, since the support of is orthogonal to ,
Using both inequalities, we have
Next, by rank-1 interlacing,
Hence,
By Davis-Kahan,
In the second inequality, we used the fact that if , the global claim is immediate. Conclude by a triangle inequality on root infidelity then squaring.
Next, we study the stability of our pruning procedure as we pass between layers. On a first pass, the following may be read with . For the purpose of our analysis, however, we will later need some slack in this parameter.
Lemma 4.2. Let be a matrix of the form
for a nonzero (possibly non-unit) vector , , and . Let for Hermitian. Let be the orthogonal projection onto a top-k eigenspace of (choosing an arbitrary top-k eigenspace in case of degeneracy), for . Then
for any .
Proof. We bound the energy two ways. Using the spectral property of ,
By Weyl's inequality and rank-1 interlacing,
Combining, we have
Second, since commutes with and ,
Note that
And hence,
Taking the inner product of (3) with the unit vector , we observe
That is,
Now, if , then . Then by (2) and Young's inequality,
Alternatively, if , we have
By (4), we have
In the third line we used Young's inequality. In the fourth, that .
Algorithm 4: Subspace Pruning
Input: Parameters
Input: Copies of unknown state
1 Set subspace dimension
2 Set mass threshold
3 Set block size
4 Initialize matrices
5 for do
6 Set , for
7 if then
8 Set , for
9 else
10 Run Algorithm 3 on fresh copies of , at layer , with mass threshold , and with partial unitaries ; denote returned matrices .
11 Let be a matrix whose columns are top- eigenvectors of
12 Set for all
13 Set
14 Run Algorithm 3 at layer zero, on fresh copies, and with the partial unitary to obtain a Hermitian matrix
15 Take the top unit eigenvector of and return
4.2 Full Algorithm
We may now state the full PCA algorithm and its guarantees. At any point where eigenvectors are chosen from a zero matrix, or the matrix is degenerate more generally, orthogonal unit vectors may be chosen arbitrarily; we address this in our arguments.
Lemma 4.3. Let , and be an unknown -qubit quantum state with top eigenvector , top eigenvalue (of multiplicity one) at least , and spectral gap at least . Let , with . Then, given , and copies of , where
Algorithm 4 produces a pure state such that with probability at least . Here, we have suppressed polylogarithmic factors in , , , and .
Throughout the evolution of Algorithm 4, the matrices are adaptively chosen. To invoke the guarantees for Algorithm 3, we condition on the full layer in our analysis.
Proof. For , and , let , with for convenience.
First observe that by definition and orthogonality,
Moreover,
(5)
For all such that , it holds that . Also note that for all . Thus, if , expanding (5) gives
If , consider some . Conditional to the full layer , Algorithm 3 returns estimates of the form
By construction, the columns of are an orthonormal system spanning a top-k eigenspace of the matrix
We observe that
Also observe that
Noting that has dimension larger than , and assuming , we may combine with Theorem 4.2 to obtain
Moreover, , and hence
In the case where , the bound is vacuous. One may expand (5) once more; letting denote an absolute constant, we have
\begin{align*}\|(I-\tilde{\Pi}_{\emptyset})\left|\psi\right\rangle\|_{2}^{2}&=\sum_{\substack{s\in\{0,1\}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)<p/2}}r_{s}+\sum_{\substack{s\in\{0,1\}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)\geq p/2}}r_{s}\\&\leq\sum_{\substack{s\in\{0,1\}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)<p/2}}r_{s}+\sum_{\substack{s\in\{0,1\}^{2}}r_{s}+\sum_{\substack{s\in\{0,1\}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)\geq p/2}}\|(I-\Pi_{s})\tilde{\Pi}_{s}\left|\psi_{s}\right\rangle\|_{2}^{2}\\&\leq\left(1+\frac{c}{k}\right)\sum_{\ell=1}^{2}\sum_{\substack{s\in\{0,1\}^{\ell}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)<p/2^{\ell}}}r_{s}+\left(1+\frac{c}{k}\right)\sum_{\substack{s\in\{0,1\}^{2}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)\geq p/4}}r_{s}\\&\quad+c\sum_{\substack{s\in\{0,1\}\\ \mathrm{tr}(|s\rangle\langle s|\otimes I\rho)\geq p/2}}\left(\frac{\mathrm{tr}(|s\rangle\langle s|\otimes I\nu)}{\lambda k}+\frac{k\|\xi_{s}\|_{\infty}^{2}}{\lambda\mathrm{tr}(|s\rangle\langle s|\otimes I\rho)}\right).\end{align*}By induction and (6),
In the second inequality, we used . If alternatively , the left-hand side is zero and the bound still holds.
Provided that , which will hold by our choice of parameters, it also holds that . At the zeroth layer, consider the matrix
Note that by construction, is a top eigenvector of , and
So by Theorem 4.1,
In the second and third lines, we used .
By Theorem 3.7 and conditioning, it holds with probability at least that for all ,
By our choice of p and k,
The claim follows by choice of M in Algorithm 4.
Lemma 4.4. Algorithm 4 runs in time
where we have suppressed logarithmic factors in the quantities , , , and .
Proof. Within each iteration , constructing all the temporary bases , from old ones takes at most time. The choice of , and Theorem 3.8 imply that the call to Algorithm 3 runs in
Taking all top-k eigenbases may be done in poly(k) time, and computation of all in time. The overall runtime is as claimed.
Acknowledgments
We thank William He for enlightening conversations at the beginning of this project.
AI Disclosure
Multiple technical steps and optimizations were derived in discussion with GPT-5.6 and GPT-6. The idea of iteratively maintaining subspaces was first proposed by the authors, and the details were then worked out in conversations with GPT. The structured Pauli sampling scheme was initially proposed by GPT-5.6, but was later refined and clarified by the authors. The authors wrote the entirety of the present manuscript, and claim responsibility for any errors and omissions.
References
[ABH 13] Pierre Alquier, Cristina Butucea, Mohamed Hebiri, Katia Meziani, and Tomoyuki Morimae. Rank-penalized estimation of a quantum system. Physical Review A—Atomic, Molecular, and Optical Physics, 88(3):032113, 2013.
[ADLY25a] Jayadev Acharya, Abhilash Dharmavarapu, Yuhan Liu, and Nengkun Yu. Pauli measurements are near-optimal for single-qubit tomography, 2025.
[ADLY25b] Jayadev Acharya, Abhilash Dharmavarapu, Yuhan Liu, and Nengkun Yu. Pauli measurements are not optimal for single-copy tomography, 2025.
[BBD 97] Adriano Barenco, André Berthiaume, David Deutsch, Artur Ekert, Richard Jozsa, and Chiara Macchiavello. Stabilization of quantum computations by symmetrization. SIAM Journal on Computing, 26(5):1541–1557, 1997.
[BDJ94] Andre Berthiaume, David Deutsch, and Richard Jozsa. The stabilisation of quantum computations. In Proceedings Workshop on Physics and Computation. PhysComp'94, pages 60–62. IEEE, 1994.
[BM99] Dagmar Bruß and Chiara Macchiavello. Optimal state estimation for d-dimensional quantum systems. Physics Letters A, 253(5-6):249–251, 1999.
[CEM99] J Ignacio Cirac, AK Ekert, and Chiara Macchiavello. Optimal purification of single qubits. Physical review letters, 82(21):4344, 1999.
[CFL 25] Andrew M Childs, Honghao Fu, Debbie Leung, Zhi Li, Maris Ozols, and Vedang Vyas. Streaming quantum state purification. Quantum, 9:1603, 2025.
[CLS26] Andrea Coladangelo, Jerry Li, and Joseph Slote. Robust quantum state certification and uncertainty principles for total influence. arXiv preprint arXiv:2607.27184, 2026.
[CLSW26] Andrea Coladangelo, Jerry Li, Joseph Slote, and Ellen Wu. The power of two bases: Robust and copy-optimal certification of nearly all quantum states with few-qubit measurements. In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, pages 1771–1776, 2026.
[DHZ20] Ninnat Dangniam, Yun-Guang Han, and Huangjun Zhu. Optimal verification of stabilizer states. Physical Review Research, 2(4):043323, 2020.
[dSLCP11] Marcus P da Silva, Olivier Landon-Cardinal, and David Poulin. Practical characterization of quantum devices without tomography. Physical Review Letters, 107(21):210404, 2011.
[FGLE12] Steven T Flammia, David Gross, Yi-Kai Liu, and Jens Eisert. Quantum tomography via compressed sensing: error bounds, sample complexity and efficient estimators. New Journal of Physics, 14(9):095022, sep 2012.
[FL11] Steven T Flammia and Yi-Kai Liu. Direct fidelity estimation from few Pauli measurements. Physical review letters, 106(23):230501, 2011.
[Fu16] Honghao Fu. Quantum state purification. Master's thesis, University of Waterloo, 2016.
[GGH 26] Sabee Grewal, Meghal Gupta, William He, Aniruddha Sen, and Mihir Singhal. Nearly time-optimal pure state tomography with Pauli measurements, 2026.
[GHO26] Meghal Gupta, William He, and Ryan O'Donnell. Few single-qubit measurements suffice to certify any quantum state. In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, pages 54–60, 2026.
[GKKT20] M Gută, J Kahn, R Kueng, and J A Tropp. Fast state tomography with optimal error bounds. Journal of Physics A: Mathematical and Theoretical, 53(20):204001, apr 2020.
[GLF 10] David Gross, Yi-Kai Liu, Steven T. Flammia, Stephen Becker, and Jens Eisert. Quantum state tomography via compressed sensing. Phys. Rev. Lett., 105:150401, Oct 2010.
[GPS24] Daniel Grier, Hakop Pashayan, and Luke Schaeffer. Principal eigenstate classical shadows. In The Thirty Seventh Annual Conference on Learning Theory, pages 2122–2165. PMLR, 2024.
[Hay98] Masahito Hayashi. Asymptotic estimation theory for a finite-dimensional pure state model. Journal of Physics A: Mathematical and General, 31(20):4633–4655, 1998.
[HHJ 16] Jeongwan Haah, Aram W. Harrow, Zhengfeng Ji, Xiaodi Wu, and Nengkun Yu. Sample-optimal tomography of quantum states. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC '16, page 913–925, New York, NY, USA, 2016. Association for Computing Machinery.
[HM15] Masahito Hayashi and Tomoyuki Morimae. Verifiable measurement-only blind quantum computing with stabilizer testing. Physical review letters, 115(22):220502, 2015.
[HPS25] Hsin-Yuan Huang, John Preskill, and Mehdi Soleimanifar. Certifying almost all quantum states with few single-qubit measurements. Nature Physics, 21(11):1834–1841, 2025.
[KRT17] Richard Kueng, Holger Rauhut, and Ulrich Terstiege. Low rank matrix recovery from rank one measurements. Applied and Computational Harmonic Analysis, 42(1):88–116, 2017.
[KW01] Michael Keyl and Reinhard F Werner. The rate of optimal purification procedures. In Annales Henri Poincare, volume 2, pages 1–26. Springer, 2001.
[Lep92] O. V. Lepskii. Asymptotically minimax adaptive estimation. I: Upper bounds. Optimally adaptive estimates. Theory of Probability & Its Applications, 36(4):682–697, 1992.
[Liu11] Yi-Kai Liu. Universal low-rank matrix recovery from Pauli measurements. In John Shawe-Taylor, Richard S. Zemel, Peter L. Bartlett, Fernando C. N. Pereira, and Kilian Q. Weinberger, editors, Advances in Neural Information Processing Systems 24: 25th Annual Conference on Neural Information Processing Systems 2011. Proceedings of a meeting held 12-14 December 2011, Granada, Spain, pages 1638–1646, 2011.
[LMR14] Seth Lloyd, Masoud Mohseni, and Patrick Rebentrost. Quantum principal component analysis. Nature physics, 10(9):631–633, 2014.
[LN25] Angus Lowe and Ashwin Nayak. Lower bounds for learning quantum states with single-copy measurements. ACM Trans. Comput. Theory, 17(1), March 2025.
[LZ26] Yunting Li and Huangjun Zhu. Universal and efficient quantum state verification via schmidt decomposition and mutually unbiased bases. Quantum, 10:2011, 2026.
[LZH23] Zihao Li, Huangjun Zhu, and Masahito Hayashi. Robust and efficient verification of graph states in blind measurement-based quantum computation. npj Quantum Information, 9(1):115, 2023.
[Min18] Stanislav Minsker. Sub-Gaussian estimators of the mean of a random matrix with heavy-tailed entries. The Annals of Statistics, 46(6A):2871 – 2903, 2018.
[OW16] Ryan O'Donnell and John Wright. Efficient quantum tomography. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC '16, page 899–912, New York, NY, USA, 2016. Association for Computing Machinery.
[OW17] Ryan O'Donnell and John Wright. Efficient quantum tomography II. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, page 962–974, New York, NY, USA, 2017. Association for Computing Machinery.
[Per99] Asher Peres. Error symmetrization in quantum computers. International journal of theoretical physics, 38(3):799–805, 1999.
[PLM18] Sam Pallister, Noah Linden, and Ashley Montanaro. Optimal verification of entangled states with local measurements. Physical review letters, 120(17):170502, 2018.
[PSTW25] Angelos Pelecanos, Jack Spilecki, Ewin Tang, and John Wright. Mixed state tomography reduces to pure state tomography. arXiv preprint arXiv:2511.15806, 2025.
[SGM 25] Sami Abdul Sater, Maxime Garnier, Thierry Martinez, Harold Ollivier, and Ulysse Chabaud. Efficient certification of intractable quantum states with few Pauli measurements. arXiv preprint arXiv:2511.07300, 2025.
[Sob25] Aleksandros Sobczyk. Deterministic complexity analysis of Hermitian eigenproblems. In Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis, editors, 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025, volume 334 of LIPIcs, pages 131:1–131:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025.
[SSW25] Thilo Scharnhorst, Jack Spilecki, and John Wright. Optimal lower bounds for quantum state tomography. arXiv preprint arXiv:2510.07699, 2025.
[Tro12] Joel A. Tropp. User-friendly tail bounds for sums of random matrices. Found. Comput. Math., 12(4):389–434, 2012.
[vACGN23] Joran van Apeldoorn, Arjan Cornelissen, András Gilyén, and Giacomo Nannicini. Quantum tomography using state-preparation unitaries. In Proceedings of the 2023 annual ACM-SIAM symposium on discrete algorithms (SODA), pages 1265–1318. SIAM, 2023.
[Wer98] Reinhard F Werner. Optimal cloning of pure states. Physical Review A, 58(3):1827, 1998.
[Yu20] Nengkun Yu. Sample efficient tomography via Pauli measurements. arXiv preprint arXiv:2009.04610, 2020.