betaFeedback

WorksPhysics and Astronomy

Self-guided estimation of the stabilizer fidelity with single-copy Pauli measurements

Abstract

The stabilizer fidelity quantifies the non-stabilizerness of pure states, but it is hard to estimate because it requires optimizing over 2O(n2)2^{O(n^2)} stabilizer states for nn qubits. Here, we propose a self-guided estimation protocol for the stabilizer fidelity of an unknown state, pure or mixed, which requires only Pauli measurements on single copies. The protocol moves through the graph of neighboring stabilizer states, obtains the fidelities of a whole stabilizer basis from a single direct fidelity estimation, and reuses previous outcomes, which also provide a restart point that mitigates the barren plateau of a random start. In addition, it certifies the global optimum when the lower confidence bound of the estimated fidelity exceeds cos⁡2(π/8)\cos^2(π/8). In numerical simulations of up to 14 qubits, the protocol reached the optimum in all runs, with the number of iterations remaining small and increasing only slightly with nn.

Introduction

The resources that make quantum computers more powerful than classical ones can be quantified through their distance to efficiently simulable states. In particular, Clifford circuits acting on stabilizer states can be simulated in polynomial time [1], so that the non-stabilizerness of a state, also known as magic, is a necessary resource for quantum advantage [2, 3, 4]. A natural measure of non-stabilizerness is the stabilizer fidelity FSTABF_{\mathrm{STAB}}, that is, the largest fidelity between the state and a stabilizer state [5]. Its estimation from experimental data allows certifying how close the states prepared in current quantum devices are to a stabilizer state and, for pure states, when FSTAB<1F_{\mathrm{STAB}} < 1 is certified, their non-stabilizerness [6, 7, 8, 9].

Estimating FSTABF_{\mathrm{STAB}} is hard, since the number of stabilizer states grows as 2O(n2)2^{O(n^2)} with the number nn of qubits. Moreover, the existence of pseudomagic states [10] implies that no efficient method can estimate FSTABF_{\mathrm{STAB}} in all regimes [11]. Even when the state vector is known, FSTABF_{\mathrm{STAB}} has been computed only up to 9 qubits for Haar-random states [12]. For unknown pure states, the stabilizer Rényi entropies [13] provide only upper bounds on FSTABF_{\mathrm{STAB}} [14]. Beyond such bounds, most approaches rely on joint measurements on two copies of the state. For pure states, Bell difference sampling [15, 16, 17] finds a stabilizer state whose fidelity is close to FSTABF_{\mathrm{STAB}} [18]. For mixed states, two-copy measurements find the closest stabilizer product state [19] and, through stabilizer bootstrapping, estimate FSTABF_{\mathrm{STAB}} [11]. Two-copy measurements also enable tolerant testers that decide whether FSTABF_{\mathrm{STAB}} is high or low [20, 21, 22], as well as the learning of tt-doped states via Bell measurements [23, 24]. Single-copy measurements, in contrast, have been explored mainly for testing and learning. Random Clifford measurements decide whether a state is a stabilizer state [25], adaptive Clifford measurements find a near-optimal stabilizer state above a fidelity threshold, even for mixed states [26], and local Clifford circuits of logarithmic depth learn stabilizer groups on average [27]. Likewise, tt-doped states can be learned from single copies [28, 29]. These methods, however, aim to identify or reconstruct a state rather than to estimate FSTABF_{\mathrm{STAB}}, and they rely on Clifford rather than Pauli measurements. Consequently, apart from an exhaustive search over stabilizer states, no current method directly estimates FSTABF_{\mathrm{STAB}} using only Pauli measurements on single copies, the simplest measurements available in current devices.

A natural alternative is a variational approach [30, 31, 32, 33, 34], where the fidelity with a candidate state is measured and optimized by a classical routine, as in self-guided quantum tomography [35, 36, 37, 38, 39, 40]. However, the fidelity is a global function, whose differences between candidates decrease exponentially with nn from a random start, which is known as the barren plateau phenomenon [41, 42]. Local cost functions avoid barren plateaus in shallow circuits [42], and two-qubit local functions provide a good starting point for the geometric measure of entanglement [43, 44]. Despite these advances, the set of stabilizer states is discrete, so that gradient-based optimization does not apply, and it is not clear how to search over it with single-copy measurements and how to mitigate its barren plateau.

In this article, we propose a self-guided estimation protocol for the stabilizer fidelity of an unknown state, pure or mixed, which requires only Pauli measurements on single copies. The protocol keeps a stabilizer state ∣ϕ⟩|\phi\rangle as the current estimate and moves to the best of a few candidates, mostly among its 4(2n−1)4(2^n - 1) neighbors, that is, the stabilizer states with overlap 1/21/2 with ∣ϕ⟩|\phi\rangle [45], whose fidelities are estimated by direct fidelity estimation (DFE) [46, 47, 48, 49, 50, 51]. A single DFE run on the group of ∣ϕ⟩|\phi\rangle provides the fidelity of any state of its stabilizer basis, in analogy with the error rates of Pauli channels [52], and we show that only a few directions can contain a better neighbor, which a prefix search finds without enumerating the 2n2^n directions [53, 54], and that ∣ϕ⟩|\phi\rangle and its neighbors share half of their Pauli strings. A Pauli store reuses these outcomes, and every measured string also provides outcomes for its substrings [55, 56], so that the store contains the expectation values of the Pauli strings of few qubits, from which we build a restart point that mitigates the barren plateau. The classical cost of the protocol is polynomial in nn for circuits of constant depth, and the protocol certifies the global optimum when the lower confidence bound of its estimated fidelity exceeds cos⁡2(π/8)\cos^2(\pi/8).

We carried out numerical simulations of up to 14 qubits, starting always from a random stabilizer state, for four families of states whose stabilizer fidelity is known exactly, namely stabilizer states with a random perturbation, T-doped states prepared by Clifford circuits of depth O(n)O(n) or O(log⁡n)O(\log n), and depolarized stabilizer states. The protocol reached the optimum in all runs, without false certificates. The number of iterations remained small and increased only slightly with nn, while the number of shots per iteration increased with nn, as the reuse of the Pauli store decreases.

Theoretical background

In this section, we introduce the concepts of stabilizer fidelity and direct fidelity estimation, on which our protocol is built.

Stabilizer states and stabilizer fidelity

Let us consider nn qubits and the Pauli strings Pκ=ia⋅bXaZbP_\kappa= i^{a\cdot b}X^aZ^b, labeled by κ=(a,b)∈F22n\kappa=(a,b)\in\mathbb{F}_2^{2n}, with a⋅ba\cdot b computed over the integers, where F2m\mathbb{F}_2^m is the set of binary vectors of length mm with addition modulo 2. A stabilizer state ∣ϕ⟩|\phi\rangle is the unique common eigenstate with eigenvalue +1+1 of an Abelian group SS of 2n2^n signed Pauli strings, which is generated by nn independent signed strings sigis_i g_i, where gi=Pκig_i=P_{\kappa_i} is a Pauli string and si=±1s_i=\pm1 is its sign. The elements of SS are products of the generators, that is, sugu=∏i(sigi)uis_u g_u=\prod_i(s_i g_i)^{u_i} with u∈F2nu\in\mathbb{F}_2^n, where su=±1s_u=\pm1 and gug_u is a Pauli string, and their average over the group gives the projector onto ∣ϕ⟩|\phi\rangle

∣ϕ⟩⟨ϕ∣=12n∑u∈F2nsugu.(1)|\phi\rangle\langle\phi|=\frac{1}{2^n}\sum_{u\in\mathbb{F}_2^n}s_u g_u. \tag*{(1)}

The stabilizer fidelity of a state ρ\rho, pure or mixed, is defined as the largest fidelity between ρ\rho and a stabilizer state [5],

FSTAB(ρ)=max⁡∣η⟩∈Stabn⟨η∣ρ∣η⟩,(2)F_{\mathrm{STAB}}(\rho)=\max_{|\eta\rangle\in\mathrm{Stab}_n}\langle\eta|\rho|\eta\rangle, \tag*{(2)}

where Stabn\mathrm{Stab}_n is the set of nn-qubit stabilizer states, which contains 2n∏j=1n(2j+1)=2O(n2)2^n\prod_{j=1}^n(2^j+1)=2^{O(n^2)} states [1, 11]. Thereby, an exhaustive search over Stabn\mathrm{Stab}_n is only feasible for a few qubits.

Direct fidelity estimation

DFE estimates the fidelity between an unknown state ρ\rho and a known pure state by sampling Pauli strings with probability proportional to the squared coefficients of the known state [46, 47]. For a stabilizer target these coefficients are uniform on the group, so that Eq. (1) leads to

f(ϕ)=⟨ϕ∣ρ∣ϕ⟩=Eu[sutr⁡(ρgu)],(3)f(\phi)=\langle\phi|\rho|\phi\rangle=\mathbb{E}_u[s_u\operatorname{tr}(\rho g_u)], \tag*{(3)}

with uu uniform in F2n\mathbb{F}_2^n. Then, the estimator measures NN strings gujg_{u_j} once each on fresh copies of ρ\rho, with outcomes Pj=±1P_j=\pm1, and returns f^=1N∑jsujPj\hat{f}=\frac{1}{N}\sum_j s_{u_j}P_j. Since each term lies in [−1,1][-1,1], N=2ln⁡(2/δ)/ε2N=2\ln(2/\delta)/\varepsilon^2 shots give an error below ε\varepsilon with probability at least 1−δ1-\delta for any nn, in contrast with non-stabilizer targets, whose DFE becomes harder with their non-stabilizeriness [57].

Self-guided estimation protocol

In this section, we introduce the neighbors of a stabilizer state, and then we describe the search, the Pauli store, the local restart and the classical cost of the protocol.

Stabilizer neighbors

Let ∣ϕ⟩|\phi\rangle be the current stabilizer state, with generators sigis_i g_i and destabilizers did_i, that is, Pauli strings that anticommute with gig_i and commute with all other generators and destabilizers [1]. The product Dx=∏idixiD_x=\prod_i d_i^{x_i}, with x∈F2nx\in\mathbb{F}_2^n, flips the signs of the generators with xi=1x_i=1, so that the states ∣ϕx⟩=Dx∣ϕ⟩|\phi_x\rangle=D_x|\phi\rangle form a stabilizer basis with ∣ϕ0⟩=∣ϕ⟩|\phi_0\rangle=|\phi\rangle. We define the neighbors of ∣ϕ⟩|\phi\rangle as

∣νx,m⟩=∣ϕ⟩+im∣ϕx⟩2,x≠0, m∈{0,1,2,3},(4)|\nu_{x,m}\rangle=\frac{|\phi\rangle+i^m|\phi_x\rangle}{\sqrt{2}},\qquad x\ne0,\ m\in\{0,1,2,3\}, \tag*{(4)}

which are the 4(2n−1)4(2^n-1) stabilizer states with overlap ∣⟨ϕ∣νx,m⟩∣2=1/2|\langle\phi|\nu_{x,m}\rangle|^2=1/2, the largest overlap between two different stabilizer states [45]. For one qubit, the neighbors of ∣0⟩|0\rangle are the four states on the equator of the Bloch sphere, as shown in Figure 1(a), and, in general, ∣ϕ⟩|\phi\rangle, ∣ϕx⟩|\phi_x\rangle and the four neighbors in direction xx form an octahedron.

Figure 1. Self-guided estimation protocol. Inset (a) shows the single-qubit stabilizer states on the Bloch sphere, where the neighbors of ∣0⟩|0\rangle (red edges) are the four states on the equator. Inset (b) shows the flow diagram of the protocol, whose steps are described in Sec. III B.

The fidelities of the neighbors are determined by px=⟨ϕx∣ρ∣ϕx⟩p_x=\langle\phi_x|\rho|\phi_x\rangle and rx=⟨ϕ∣ρ∣ϕx⟩r_x=\langle\phi|\rho|\phi_x\rangle as

f(νx,m)=p0+px2+Re⁡(imrx),∣rx∣≤p0px.(5)f(\nu_{x,m})=\frac{p_0+p_x}{2}+\operatorname{Re}(i^m r_x),\qquad|r_x|\le\sqrt{p_0p_x}. \tag*{(5)}

for pure and mixed states (Appendix A). Therefore, the best neighbor in direction xx has a fidelity of at most (p0+px)2/2(\sqrt{p_0}+\sqrt{p_x})^2/2, which increases with pxp_x and can exceed f(ϕ)=p0f(\phi)=p_0 only if px>(3−22)p0≈0.17p0p_x>(3-2\sqrt{2})p_0\approx0.17p_0. Since the pxp_x sum to one, at most (1−p0)/[(3−22)p0](1-p_0)/[(3-2\sqrt{2})p_0] directions satisfy this condition, that is, only a few of the 2n−12^n-1 directions deserve to be explored.

The probabilities pxp_x are obtained from the DFE of ∣ϕ⟩|\phi\rangle without additional measurements, since Eq. (3) generalizes to px=Eu[(−1)x⋅usutr⁡(ρgu)]p_x=\mathbb{E}_u[(-1)^{x\cdot u}s_u\operatorname{tr}(\rho g_u)] (Appendix C). Each p^x\hat{p}_x is a sum over the measured group elements, so that the protocol evaluates only the values that it needs, namely those of the nn single directions x=eix=e_i, of the n(n−1)/2n(n-1)/2 pair directions x=ei+ejx=e_i+e_j, and of the best sign flip, together with those of the few directions above the threshold when no candidate improves, which a prefix search finds whatever their weight (Appendix C). In addition, the octahedron of direction xx uses only four cosets of the subgroup Tx⊂ST_x\subset S of strings that commute with DxD_x, and two of them belong to SS (Appendix A). Thereby, the DFE of a neighbor shares half of its Pauli strings with the DFE of ∣ϕ⟩|\phi\rangle.

The protocol moves ∣ϕ⟩|\phi\rangle through the graph of neighbors, as shown in Figure 1(b), according to the following steps.

  1. Selection of a stabilizer state ∣ϕ⟩|\phi\rangle to initialize the search.

  1. DFE on the group of ∣ϕ⟩|\phi\rangle with at most NN new shots, which gives f^(ϕ)=p^0\hat{f}(\phi)=\hat{p}_0 and any p^x\hat{p}_x on demand, and whose outcomes are kept in the Pauli store.

  1. Estimation of three kinds of candidates, that is, (i) the sign flip ∣ϕx⟩|\phi_x\rangle that maximizes p^x\hat{p}_x, (ii) the octahedron of the single or pair direction dd with the largest p^d\hat{p}_d, formed by the flip ∣ϕd⟩|\phi_d\rangle, whose estimate is p^d\hat{p}_d, and the four neighbors ∣νd,m⟩|\nu_{d,m}\rangle, whose DFEs reuse the stored outcomes, and (iii) the local candidate ∣ϕ~⟩|\tilde{\phi}\rangle built from the stored Pauli strings of few qubits (Sec. III D).

  1. Move to the best candidate if its estimate improves on p^0\hat{p}_0, and return to step (1).

  1. Freshly check if there is no improvement. That is, NN new shots on uniformly drawn elements of the group of ∣ϕ⟩|\phi\rangle are added to the store, and a prefix search finds the directions with p^x≥(3−22)p^0\hat{p}_x\ge(3-2\sqrt{2})\hat{p}_0 with the values of p^0\hat{p}_0 and p^x\hat{p}_x of step (1). Then,

steps (1)–(3) are repeated once with the octahedra of these directions, where p^0\hat{p}_0 and the candidates are estimated with the updated store, while the flips of these directions keep the values p^x\hat{p}_x that selected them. The search stops if no candidate improves, or after a predefined maximum number of iterations.

  1. Fresh DFE of the output with NfN_f shots, which gives F^\hat{F} and its lower confidence bound F^low=F^−ε\hat{F}_{\mathrm{low}} = \hat{F} - \varepsilon.

We use N=1000N = 1000 and Nf=⌈2ln⁡(1/δ)/ε2⌉=10234N_f = \lceil2\ln(1/\delta)/\varepsilon^2\rceil= 10234, with ε=0.03\varepsilon= 0.03 and δ=0.01\delta= 0.01, so that f(ϕ)≥F^lowf(\phi) \ge\hat{F}_{\mathrm{low}} with probability at least 1−δ1-\delta (Appendix A 4).

The best sign flip is found by a coordinate ascent of p^x\hat{p}_x over the bits of xx, started from x=0x = 0 and from the solution of the linear system x⋅u=[c^(u)<0]x\cdot u = [\hat{c}(u)<0] over F2\mathbb{F}_2 for nn independent measured elements uu, where c(u)=sutr⁡(ρgu)c(u) = s_u\operatorname{tr}(\rho g_u). The second starting point is necessary, since an ascent from x=0x = 0 can miss the flips of several generators, while it is exact for exact signs whenever one basis state has px∗>1/2p_{x^*} > 1/2, since then every c(u)c(u) has the sign (−1)x⋅u(-1)^{x\cdot u} (Appendix C).

The fresh check corrects two effects of the reuse of outcomes. On the one hand, every candidate is the best of many noisy estimates, scored with the outcomes that selected it, and the estimate of the current state can be inflated by its selection as the best move. On the other hand, this estimate no longer changes when all the elements of the current group are stored, since Eq. (6) then draws no new shots. In addition, the single and pair directions depend on the choice of generators, while the best direction can combine several of them, which the prefix search finds for exact values and p^0≥0.16\hat{p}_0 \ge0.16, whatever its weight (Appendix C).

Like any local search, the protocol can stop at a local maximum of the graph of neighbors, such as ∣+⟩⊗n\lvert+\rangle^{\otimes n} for ρ=0.6∣0⟩⟨0∣⊗n+0.4∣+⟩⟨+∣⊗n\rho= 0.6\lvert0\rangle\langle0\rvert^{\otimes n} + 0.4\lvert+\rangle\langle+\rvert^{\otimes n} with n≥2n \ge2. Since the output is a stabilizer state, F^\hat{F} is a lower estimate of FSTABF_{\mathrm{STAB}}. However, at most one stabilizer state has a fidelity above cos⁡2(π/8)\cos^2(\pi/8), since two different stabilizer states satisfy ⟨η1∣ρ∣η1⟩+⟨η2∣ρ∣η2⟩≤1+1/2\langle\eta_1\lvert\rho\lvert\eta_1\rangle+ \langle\eta_2\lvert\rho\lvert\eta_2\rangle\le1 + 1/\sqrt{2} for any ρ\rho [18, 45] (Appendix A 4). Therefore, if F^low>cos⁡2(π/8)≈0.854\hat{F}_{\mathrm{low}} > \cos^2(\pi/8) \approx0.854, the output is the unique global optimum and F^\hat{F} estimates FSTABF_{\mathrm{STAB}}, while below this threshold it certifies a lower bound on FSTABF_{\mathrm{STAB}}.

Pauli store

Consecutive candidates share many Pauli strings, as shown in Sec. III A. In order to reuse their outcomes, the Pauli store keeps, for every measured unsigned Pauli string PP and for its substrings of weight at most kk, the number mPm_P of outcomes and their mean Pˉ\bar{P}. Then, the DFE of a target with group UU splits into the reused set K⊆UK\subseteq U of strings with stored outcomes, each with weight 1/∣U∣1/\lvert U\rvert, and the sampled set R=U∖KR=U\setminus K, which receives NR=∣N∣R∣/∣U∣∣N_R=\lvert N\lvert R\rvert/\lvert U\rvert\rvert new shots on uniformly drawn strings.

The estimate is

A^U=1∣U∣∑P∈KsPPˉ+∣R∣∣U∣1NR∑j=1NRsjPj,(6)\hat{A}_U = \frac{1}{\lvert U\rvert}\sum_{P\in K}s_P\bar{P}+\frac{\lvert R\rvert}{\lvert U\rvert}\frac{1}{N_R}\sum_{j=1}^{N_R}s_jP_j, \tag*{(6)}

where sjs_j and Pj=±1P_j=\pm1 are the sign and the outcome of the jj-th sampled string. For queries fixed in advance, this estimator is unbiased (Appendix B), although its variance can exceed that of a new DFE with NN shots when ∣U∣<N\lvert U\rvert<N and many strings of KK have fewer than N/∣U∣N/\lvert U\rvert outcomes, since each of them keeps the weight 1/∣U∣1/\lvert U\rvert. Since the search queries depend on previous outcomes, the store is used only to decide where to move, and the reported fidelity is always estimated using fresh copies.

The reuse is limited by the number of elements stored in UU. After the DFE of ∣ϕ⟩\lvert\phi\rangle, a neighbor finds stored essentially only the sampled elements of TxT_x, so that ∣K∣/∣U∣≈[1−(1−2−n)N]/2\lvert K\rvert/\lvert U\rvert\approx[1-(1-2^{-n})^N]/2, which is close to 1/21/2 for 2n≪N2^n\ll N and decreases as N/2n+1N/2^{n+1} for 2n≫N2^n\gg N. Therefore, the store saves shots mainly for few qubits. In addition, the set KK is found by decomposing the stored strings in the group, at a cost linear in their number, so that the elements of UU are never enumerated.

The store also exploits the structure of a single measurement. Measuring a string PP in its product eigenbasis gives one bit per qubit, and the parity of these bits on the support of a substring P′P', that is, PP with some letters replaced by the identity, is an unbiased outcome of P′P'. In this way, every shot also feeds the substrings of weight at most kk in the measured string, increasing reuse between candidates and yielding the few-qubit expectation values of the local restart.

Local restart

From a random stabilizer state, the fidelities of all neighbors are on the order of 2−n2^{-n}, so their differences are smaller than the DFE noise 1/N1/\sqrt{N}, which is a discrete analog of the barren plateau phenomenon [41, 42]. Moreover, the neighbors of step (2) lie only along single and pair directions, in order to keep the classical cost polynomial, so that from a random start the search can stop before the region of high fidelity. In fact, without the local restart, the moves in step (2) stopped before this region, even with exact fidelity, whereas with NN shots the search reached it only after a long random walk driven by statistical noise (Appendix D).

In order to mitigate this barren plateau, we build an additional candidate from the few-qubit data of the store, which does not rely on the global fidelity. If the optimal stabilizer state has generators of weight at most kk, these generators have large expectation values ⟨P⟩\langle P\rangle, and so do their estimates ∣Pˉ∣\lvert\bar{P}\rvert. Then, the local restart builds a candidate in three steps.

  1. Significance test. For every stored string PP of weight at most kk, we compute the Hoeffding pp-

value pP=2e−mPP‾2/2p_P = 2e^{-m_P\overline{P}^2/2} of the hypothesis ⟨P⟩=0\langle P\rangle= 0, and we call PP significant if pP≤δ/Mp_P \le\delta/M, where M=∑w=1k(nw)3wM = \sum_{w=1}^{k} \binom{n}{w}3^w is the number of non-identity Pauli strings of weight at most kk and δ\delta is that of the certificate.

  1. Ranking. The significant strings come first, in decreasing order of ∣P‾∣|\overline{P}|, followed by the other strings in increasing order of pPp_P, since for them ∣P‾∣|\overline{P}| is not reliable.

  1. Greedy selection. Going down the ranking, a string is accepted with the sign of P‾\overline{P} if it commutes with the accepted strings and is not a product of them, until nn generators are accepted.

The candidate ∣ϕ~⟩|\widetilde{\phi}\rangle defined by these generators is built at every iteration and compared in step (3) through its DFE. Appendix § 1.2.5 shows an example for four qubits.

The significance test is necessary, since most stored strings have few outcomes and many of them have ∣P‾∣=1|\overline{P}|=1 by chance. This test is the Bonferroni correction [58], for which MM is fixed before any measurement, so that, for numbers of outcomes fixed in advance, no string with ⟨P⟩=0\langle P\rangle= 0 is selected with probability at least 1−δ1-\delta, whatever the correlations between strings that share shots. In the search the numbers of outcomes depend on previous outcomes, but an error of the ranking can only lead to a poor move, since the reported fidelity is always estimated with fresh copies, although the DFE of the candidate can reuse the outcomes of the ranking. For the same reason, the candidate is always completed to nn generators, if necessary with strings that are not significant or with further commuting strings with sign +1+1, since a poor candidate is usually discarded by its DFE.

The local restart maximizes greedily the local cost

CL(s1g1,…,sngn)=12+12n∑i=1nsi⟨gi⟩,(7)C_L(s_1g_1,\ldots,s_ng_n)=\frac{1}{2}+\frac{1}{2n}\sum_{i=1}^{n}s_i\langle g_i\rangle, \tag*{(7)}

over the stabilizer states with generators of weight at most kk, where CLC_L depends on the generators and not only on the state that they define. Each term of Eq. (7) changes by order 1/n1/n when one generator is found, while the fidelity changes by order 2−n2^{-n} far from the optimum. In addition, 1−n(1−CL)≤f(ϕ)≤CL1-n(1-C_L)\le f(\phi)\le C_L, since ∣ϕ⟩⟨ϕ∣|\phi\rangle\langle\phi| is the product of the projectors (I+sigi)/2(I+s_ig_i)/2, as for the local and global costs of Ref. [42], so that a state with 1−CL≪1/n1-C_L\ll1/n also has a fidelity close to one. Thereby, maximizing CLC_L leads the search to the region of high fidelity, where the moves of step (2) are effective. For noisy states this lower bound is not informative, and the local restart relies on the generators of the optimal state having the largest expectation values, as for the depolarized stabilizer states of Sec. IV A.

The local restart requires that the optimal stabilizer state has generators of weight at most kk, which holds for states prepared by Clifford circuits whose light cone covers at most kk qubits. A circuit of depth dd with two-qubit gates between neighboring qubits has a light cone of at most 2d2d qubits, so that we use k=max⁡(4,2⌈log⁡2n⌉)k=\max(4,2\lceil\log_2 n\rceil), which covers ⌈log⁡2n⌉\lceil\log_2 n\rceil layers of such gates, while k=2dk=2d is enough for circuits of known constant depth dd. Notice that k≥nk\ge n for n≤6n\le6, so that in this range the store keeps every substring of the measured strings, and the restart is local only for larger nn.

Classical cost

A shot of a string of weight ww feeds (w≤k)=∑j≤k(wj)\binom{w}{\le k}=\sum_{j\le k}\binom{w}{j} substrings, and an iteration decomposes the MsM_s stored strings in the groups of the candidates, merges the new outcomes into the store, and evaluates the p^x\hat{p}_x of the single and pair directions on the L≤Ms+NL\le M_s+N group elements with data. In addition, the prefix search keeps at most B≤64B\le64 prefixes at each of its nn levels. Therefore, a search with SS shots and II iterations costs

O(S(w≤k)+I(nMs+Mslog⁡Ms+n2L+nBL))(8)O\left(S\binom{w}{\le k}+I(nM_s+M_s\log M_s+n^2L+nBL)\right) \tag*{(8)}

operations, with Ms≤S(w≤k)M_s\le S\binom{w}{\le k}, where a product of two Pauli strings counts as one operation, as for n≤64n\le64 with strings stored as machine words. This cost is polynomial in nn for constant kk, and it grows as nO(log⁡n)n^{O(\log n)} for the circuits of logarithmic depth of Sec. III D.

Numerical simulations

In this section, we test the protocol on four families of states whose stabilizer fidelity is known exactly, and we analyze its success probability, its number of measurements and the role of the depth of the circuit.

Simulation setup

The first family consists of stabilizer states with a random perturbation, ∣ψ⟩=τ∣η⟩+1−τ∣χ⟩|\psi\rangle=\sqrt{\tau}|\eta\rangle+\sqrt{1-\tau}|\chi\rangle, with a random stabilizer state ∣η⟩|\eta\rangle and a Haar-random ∣χ⟩|\chi\rangle orthogonal to it, for which FSTAB=τF_{\mathrm{STAB}}=\tau since τ>cos⁡2(π/8)\tau>\cos^2(\pi/8) (Appendix A.§ 1.6.4). The second and third families consist of T-doped states C(T∣+⟩)⊗t⊗∣0⟩⊗(n−t)C(T|+\rangle)^{\otimes t}\otimes|0\rangle^{\otimes(n-t)} [29, 59], with FSTAB=cos⁡2(π/8)F_{\mathrm{STAB}}=\cos^2(\pi/8) [60], which is reached by 2t2^t stabilizer states, where CC is a random Clifford, whose depth grows as O(n)O(n), or ⌈log⁡2n⌉\lceil\log_2 n\rceil layers of random two-qubit Cliffords between neighboring qubits, respectively. The fourth family consists of depolarized stabilizer states (1−p)C∣0⟩⟨0∣C†+pI/2n(1-p)C|0\rangle\langle0|C^\dagger+pI/2^n, with the same circuits of logarithmic depth, for which FSTAB=1−p+p/2nF_{\mathrm{STAB}}=1-p+p/2^n. For each family and parameter, we simulated 15 states of up to 14 qubits, starting always from a random stabilizer state, with N=1000N=1000, a limit of 200 iterations, and Nf=10234N_f=10234.

Each shot was sampled from the exact probability distribution of the outcomes of the measured Pauli string, which follows from the expectation values of its substrings (Appendix D). For the perturbed states, these expectation values were taken from the Pauli spectrum of the state, that is, the expectation values of all its 4n4^n Pauli strings, computed once from its dense state vector, which limited these states to n≤8n \le8. For T-doped and depolarized stabilizer states, they were computed from the Clifford circuit for each string, without storing the state. In all cases, the store keeps the substrings of weight at most kk, and a run succeeds when the fidelity of its output, which we compute exactly, equals FSTABF_{\mathrm{STAB}}.

Success probability

Figure 2(a)–(Figure 2d) show the success probability as a function of nn for the four families. As is apparent from this figure, the protocol reached the optimum in all runs. Since every output is optimal and F^\hat{F} is a fresh DFE of it, the error ∣FSTAB−F^∣\lvert F_{\mathrm{STAB}}-\hat{F}\rvert is that of a DFE of the optimal state. In addition, the certificate was obtained in all runs whose stabilizer fidelity exceeds cos⁡2(π/8)\cos^2(\pi/8) by more than ϵ\epsilon, and in none of the runs with FSTAB≤cos⁡2(π/8)F_{\mathrm{STAB}} \le\cos^2(\pi/8), where a certificate would be false. Thereby, our simulations indicate that the protocol finds the optimum of the four families from a random start.

Figure 2. Self-guided estimation protocol starting from a random stabilizer state. Insets (a)–(d) show the success probability, that is, the fraction of runs whose output has fidelity FSTABF_{\mathrm{STAB}}, as a function of the number nn of qubits, for (a) stabilizer states with a random perturbation of overlap τ\tau, (b) T-doped states with tt magic states and a random Clifford circuit, (c) T-doped states with ⌈log⁡2n⌉\lceil\log_2 n\rceil layers of two-qubit Cliffords between neighboring qubits, and (d) depolarized stabilizer states prepared by the same circuits. Insets (e)–(h) show the median number of shots of the search, without the NfN_f shots of the final DFE, where error bars correspond to the interquartile range. Fifteen states for each point.

Number of measurements

Figure 2(e)–(Figure 2h) show the median number of shots of the search as a function of nn. We can see that this number increases with nn, faster for the largest simulated nn, and that, on average over tt, it is largest for T-doped states prepared by random Cliffords. In order to identify the origin of this growth, Table 1 separates the number of shots into the number of iterations II and the number of shots per iteration S/IS/I. The number of iterations remains small and increases only slightly with nn, that is, the search reaches the optimum with a few moves, typically one or two of them given by the local restart, followed by the two iterations of the fresh check. In contrast, the number of shots per iteration increases with nn, since the fraction of stored strings in a group of 2n2^n elements decreases (Sec. III C), so that the DFE of each new candidate samples more strings according to Eq. (6). Therefore, the growth of the number of measurements comes from the decreasing reuse of the Pauli store, and not from a longer search.

n=3n = 368101214
Perturbed II333---
S/IS/I1.11.51.7---
T-doped O(n)O(n) II443.5456
S/IS/I1.01.21.62.13.65.3
T-doped O(log⁡n)O(\log n) II444445
S/IS/I1.01.21.31.52.54.3
Depolarized II333333
S/IS/I1.11.41.52.03.25.0

Table 1. Median number of iterations II of the search and median over runs of the number of shots per iteration S/IS/I, in units of 10310^3 shots, as a function of the number nn of qubits, for N=1000N = 1000 and all parameters of each family.

For 2n≫N2^n \gg N, the reuse is lost, and each iteration costs a few DFEs with NN shots, plus about NN shots for each level of the prefix search whose subgroup contains more than NN elements. Since the simulated range ends shortly after 2n≃N2^n \simeq N, it does not determine the asymptotic number of shots. For circuits of logarithmic depth, however, a string of weight kk appears in a fraction of about 4−k≥1/(16n4)4^{-k} \ge1/(16n^4) of the shots, so that, in the worst case, the local restart needs a number of shots of the order of 4k4^k times the 2ln⁡(2M/δ)/⟨P⟩22\ln(2M/\delta)/\langle P\rangle^2 outcomes required by the test of each string. Thereby, the number of shots is polynomial in nn for these circuits, while the classical cost of Eq. (8) grows as nO(log⁡n)n^{O(\log n)}.

Depth of the circuit

The protocol also reached the optimum for T-doped states prepared by random Cliffords, as shown in Figure 2(b), although their generators are not local in general. This is because kk is comparable with nn in the simulated range, so that a random stabilizer group contains many elements of weight at most kk. However, these elements have a larger weight than for circuits of logarithmic depth, and a string of weight ww appears in a fraction of about 4−w4^{-w} of the shots, so that few of them pass the significance test for the largest nn, and the candidate relies also on the strings that are not significant, which increases the number of shots, as shown in Figure 2(f). In addition, the state built by the local restart may be improvable only along directions of large weight, which the prefix search of the fresh check finds, at least for exact values (Appendix C). For larger nn, the number of elements of weight at most kk in a random stabilizer group decreases quickly, while circuits of logarithmic depth keep generators of small weight. All of this indicates that the depth of the circuit appears first in the cost of the protocol and, for larger nn, in the success of the local restart.

Discussion

Estimating the stabilizer fidelity requires an optimization over 2O(n2)2^{O(n^2)} stabilizer states, which is difficult even when the fidelity of each candidate can be estimated efficiently. In this article, we proposed a self-guided estimation protocol that performs this optimization with Pauli measurements on single copies. The protocol obtains the fidelities of the stabilizer basis of the current state from a single DFE, which identifies the few directions that can improve, it reuses the outcomes of previous measurements through a Pauli store, and it builds from the few-qubit expectation values of the store a restart point that mitigates the barren plateau of a random start.

Our simulations of up to 14 qubits showed that the protocol reached the optimum in all runs for perturbed stabilizer states, T-doped states, and depolarized stabilizer states, without false certificates. The median number of iterations remained small and increased only slightly with nn, so that the number of measurements grew mainly through the decreasing reuse of the Pauli store. For comparison, an exhaustive search requires 2O(n2)2^{O(n^2)} classical operations, even though classical shadows with random Clifford measurements estimate all the fidelities from O(n2/ε2)O(n^2/\varepsilon^2) copies [56].

The local restart mitigates the barren plateau because the generators of small weight have expectation values of order one, while the fidelities from a random start are exponentially small. The cost of this strategy is set by the weight kk of the generators, since a string of weight kk appears in a fraction of about 4−k4^{-k} of the shots, which gives a number of shots polynomial in nn and a classical cost nO(log⁡n)n^{O(\log n)} for circuits of logarithmic depth. For deep circuits, however, a random stabilizer group has almost no element of small weight as nn grows, so that in this regime the search must start close to the optimum.

The methods with theoretical guarantees for the stabilizer fidelity use Bell measurements on two copies of the state [11, 16, 18, 20, 21, 22] or adaptive Clifford measurements on single copies [26]. They succeed for deep circuits, since Bell difference sampling, or the computational difference sampling of the adaptive scheme, reveals the stabilizer group of the optimum independently of depth, at the expense of entangling gates between two copies or between qubits in one copy. In contrast, our protocol only rotates and measures single qubits, and it provides a heuristic estimate below the fidelity thresholds of Refs. [18, 26], at the expense of requiring shallow circuits or a good starting point. States prepared by geometrically local shallow circuits can also be learned from single-qubit measurements [61], but computing FSTABF_{\mathrm{STAB}} from the learned description requires again the maximization of Eq. (2). Furthermore, unlike the local cost functions of variational algorithms [42, 44], our protocol searches over a discrete set of states and obtains the local information from the data of the search itself, and, unlike the discrete search over Clifford circuits of Ref. [62], whose objective is evaluated classically, it is guided by measurements of the unknown state.

Our protocol finds direct application in certifying how close the states prepared by shallow circuits in current devices are to a stabilizer state, such as the noisy code states of error-correcting codes [63]. In contrast, the magic states of distillation protocols [2] have a stabilizer fidelity of at most cos⁡2(π/8)\cos^2(\pi/8), where the protocol only provides a lower bound. The main limitation of the protocol is the memory of the Pauli store, which keeps (w≤k)\binom{w}{\le k} substrings per shot, and approaches based on classical shadows [56], which keep only the measured strings and their outcomes, could reduce it. In addition, the use of the shots could be refined, for instance by scoring the selected candidate on fresh shots before moving, or by measuring each level of the prefix search only until its comparisons with the threshold are decided. Finally, a recent scheme bounds the fidelities of different non-stabilizer targets from the same local Pauli measurements [64], so that it could be combined with the Pauli store to bound the fidelities of the candidates without additional measurements.

Acknowledgments

L.P. was supported by the Government of Spain (Severo Ochoa CEX2019-000910-S, FUNQIP, and QEC4QEA PCI2025-163167), European Union (PASQuanS2.1, 101113690 and QEC4QEA, 101194322), Fundació Cellex, Fundació Mir-Puig, and Generalitat de Catalunya (CERCA program). J. G. acknowledges the support of the European Union under grant agreement No. 101194322 (QEC4QEA).

Properties of the stabilizer neighbors

In this appendix, we derive the fidelity of the neighbors, the directions that can improve on the current state, the Pauli strings shared by the neighbors, and the uniqueness of the optimum above cos⁡2(π/8)\cos^2(\pi/8).

Stabilizer basis

Let us consider a stabilizer state ∣ϕ⟩|\phi\rangle with generators sigis_i g_i, that is, gi∣ϕ⟩=si∣ϕ⟩g_i|\phi\rangle=s_i|\phi\rangle, and destabilizers did_i, which commute among themselves and anticommute only with gig_i [1]. Then, the product Dx=∏idixiD_x=\prod_i d_i^{x_i} and the elements sugu=∏i(sigi)uis_u g_u=\prod_i(s_i g_i)^{u_i} of SS satisfy

DxsuguDx=(−1)x⋅usugu,(9)D_xs_ug_uD_x=(-1)^{x\cdot u}s_ug_u, \tag*{(9)}

since x⋅ux\cdot u counts the generators in sugus_u g_u that anticommute with DxD_x. Therefore, Eq. (9) gives (−1)x⋅usugu∣ϕx⟩=∣ϕx⟩(-1)^{x\cdot u}s_ug_u|\phi_x\rangle=|\phi_x\rangle for ∣ϕx⟩=Dx∣ϕ⟩|\phi_x\rangle=D_x|\phi\rangle, so that ∣ϕx⟩|\phi_x\rangle is stabilized by the Abelian group

Sx={(−1)x⋅usugu∣u∈F2n},(10)S_x=\{(-1)^{x\cdot u}s_ug_u\mid u\in\mathbb{F}_2^n\}, \tag*{(10)}

which is generated by (−1)xisigi(-1)^{x_i}s_i g_i. That is, SxS_x contains the same Pauli strings as SS, with the signs of the generators with xi=1x_i=1 flipped. Therefore, for x≠yx\ne y there is a generator (−1)xisigi(-1)^{x_i}s_i g_i with opposite eigenvalues on ∣ϕx⟩|\phi_x\rangle and ∣ϕy⟩|\phi_y\rangle, so that these states are orthogonal, and, since DxD_x is unitary, the 2n2^n states ∣ϕx⟩|\phi_x\rangle form an orthonormal basis.

Fidelity of the neighbors and directions that can improve

In this subsection, we bound the fidelity of the neighbors of ∣ϕ⟩|\phi\rangle in each direction ∣ϕx⟩|\phi_x\rangle, showing that only a few directions can improve the current fidelity.

The neighbors are the superpositions ∣νx,m⟩=(∣ϕ⟩+eimπ/2∣ϕx⟩)/2|\nu_{x,m}\rangle=(|\phi\rangle+e^{im\pi/2}|\phi_x\rangle)/\sqrt{2} of Eq. (4), with overlap 1/21/2 with ∣ϕ⟩|\phi\rangle [45]. In the basis {∣ϕx⟩}\{|\phi_x\rangle\}, the values px=⟨ϕx∣ρ∣ϕx⟩p_x=\langle\phi_x|\rho|\phi_x\rangle are the populations of ρ\rho, and rx=⟨ϕ∣ρ∣ϕx⟩r_x=\langle\phi|\rho|\phi_x\rangle is the coherence between ∣ϕ⟩|\phi\rangle and ∣ϕx⟩|\phi_x\rangle. Expanding the fidelity of a neighbor in this basis gives the first expression of Eq. (5). Since ρ\rho is positive, rxr_x is the inner product of ρ∣ϕ⟩\sqrt{\rho}|\phi\rangle and ρ∣ϕx⟩\sqrt{\rho}|\phi_x\rangle, and the Cauchy–Schwarz inequality gives ∣rx∣≤p0px|r_x|\le\sqrt{p_0p_x} for pure and mixed states. Therefore, since Re⁡(eimπ/2rx)≤∣rx∣\operatorname{Re}(e^{im\pi/2}r_x)\le|r_x|, every neighbor in direction xx satisfies

f(νx,m)≤p0+px2+p0px=(p0+px)22,(11)f(\nu_{x,m})\le\frac{p_0+p_x}{2}+\sqrt{p_0p_x}=\frac{(\sqrt{p_0}+\sqrt{p_x})^2}{2}, \tag*{(11)}

whatever the coherence rxr_x. This equation gives a necessary, but not sufficient, condition for a direction to improve on the current fidelity. In fact, the bound exceeds p0p_0 only if p0+px>2p0\sqrt{p_0}+\sqrt{p_x}>\sqrt{2p_0}, that is, px>(3−22)p0p_x>(3-2\sqrt{2})p_0, so that the directions below this threshold cannot improve, while a direction above it improves only if its coherence rxr_x is large enough. Since the pxp_x are the probabilities of a measurement in the basis {∣ϕx⟩}\{|\phi_x\rangle\}, they sum to one, and ℓ\ell directions above this threshold require ℓ(3−22)p0<1−p0\ell(3-2\sqrt{2})p_0<1-p_0. For instance, at most five directions can improve for p0=0.5p_0=0.5, independently of nn. Conversely, the four values Re⁡(eimπ/2rx)\operatorname{Re}(e^{im\pi/2}r_x) are ±Re⁡rx\pm\operatorname{Re}r_x and ±Im⁡rx\pm\operatorname{Im}r_x, so that the best of the four neighbors has f≥(p0+px)/2+∣rx∣/2f\ge(p_0+p_x)/2+|r_x|/\sqrt{2}, that is, the four neighbors sample the phase of rxr_x finely enough.

Pauli strings shared by the neighbors

In this subsection, we show that the DFE of a neighbor can reuse half of the outcomes of the DFE of ∣ϕ⟩|\phi\rangle. According to Eq. (10), the elements with x⋅u=0x\cdot u=0 have the same sign in SS and SxS_x, so that the subgroup Tx={sugu∣x⋅u=0}=S∩SxT_x=\{s_ug_u\mid x\cdot u=0\}=S\cap S_x, of the elements of SS that commute with DxD_x, stabilizes both ∣ϕ⟩|\phi\rangle and ∣ϕx⟩|\phi_x\rangle. In fact, since [1+(−1)x⋅u]/2[1+(-1)^{x\cdot u}]/2 selects the elements with x⋅u=0x\cdot u=0, Eqs. (1) and Eq. (9) give its projector

12n−1∑ux⋅u=0sugu=∣ϕ⟩⟨ϕ∣+∣ϕx⟩⟨ϕx∣,(12)\frac{1}{2^{n-1}}\sum_{\substack{u\\x\cdot u=0}}s_ug_u=|\phi\rangle\langle\phi|+|\phi_x\rangle\langle\phi_x|, \tag*{(12)}

so that TxT_x stabilizes exactly the plane spanned by ∣ϕ⟩|\phi\rangle and ∣ϕx⟩|\phi_x\rangle. This plane behaves as one qubit, with $s_jg_j and DxD_x as logical ZZ and XX operators, where gjg_j is any generator with xj=1x_j=1, and its six stabilizer states are ∣ϕ⟩|\phi\rangle, ∣ϕx⟩|\phi_x\rangle and the four neighbors in direction xx, which form the octahedron of Sec. III A. Thereby, the stabilizer group of a neighbor contains the 2n−12^{n-1} elements of TxT_x, with the same signs as in the stabilizer group of ∣ϕ⟩|\phi\rangle, and one more generator, namely the logical operator that has the neighbor as eigenstate with eigenvalue +1+1,

hx,m={(−1)m/2Dx,m even,(−1)(m−1)/2i sjDxgj,m odd.(13)h_{x,m} = \begin{cases} (-1)^{m/2}D_x, & m\ \text{even},\\ (-1)^{(m-1)/2}i\,s_jD_xg_j, & m\ \text{odd}. \end{cases} \tag*{(13)}

where the factor ii makes i sjDxgji\,s_jD_xg_j Hermitian, since DxD_x and gjg_j anticommute [45]. The other half of the stabilizer group of the neighbor consists of the elements of TxT_x multiplied by hx,mh_{x,m}, which do not belong to the stabilizer group of ∣ϕ⟩|\phi\rangle. Therefore, a DFE of a neighbor draws half of its strings from those of the DFE of ∣ϕ⟩|\phi\rangle. In addition, the neighbors with m=0m=0 and m=2m=2 have the same strings in the second half with opposite signs, as do those with m=1m=1 and m=3m=3, so that the outcomes measured for one of them also serve the other. However, this saves shots only when the strings of the second half are already stored, which requires few qubits, with 2n−1≲N2^{n-1}\lesssim N.

Uniqueness of the optimum and certificate

In this subsection, we show that at most one stabilizer state has a fidelity above cos⁡2(π/8)\cos^2(\pi/8), and that the final DFE certifies when the output is this state. Two different stabilizer states satisfy ∣⟨η1∣η2⟩∣2≤1/2|\langle\eta_1|\eta_2\rangle|^2\le1/2 [45], so that the sum of their fidelities is bounded by the largest eigenvalue 1+∣⟨η1∣η2⟩∣≤1+1/21+|\langle\eta_1|\eta_2\rangle|\le1+1/\sqrt{2} of ∣η1⟩⟨η1∣+∣η2⟩⟨η2∣|\eta_1\rangle\langle\eta_1|+|\eta_2\rangle\langle\eta_2|, that is, ⟨η1∣ρ∣η1⟩+⟨η2∣ρ∣η2⟩≤2cos⁡2(π/8)\langle\eta_1|\rho|\eta_1\rangle+\langle\eta_2|\rho|\eta_2\rangle\le2\cos^2(\pi/8) for any ρ\rho. Therefore, a stabilizer state with fidelity above cos⁡2(π/8)\cos^2(\pi/8) is the unique optimum of Eq. (2), as shown for pure states in Ref. [18]. In order to certify the optimum, we use that the NfN_f terms of the final DFE are independent and lie in [−1,1][-1,1], so that the Hoeffding inequality gives f(ϕ)≥F^−2ln⁡(1/δ)/Nf≥F^lowf(\phi)\ge\widehat{F}-\sqrt{2\ln(1/\delta)/N_f}\ge\widehat{F}_{\mathrm{low}}, since Nf=⌈2ln⁡(1/δ)/ε2⌉N_f=\lceil2\ln(1/\delta)/\varepsilon^2\rceil, with probability at least 1−δ1-\delta [46, 47]. Thereby, if F^low>cos⁡2(π/8)\widehat{F}_{\mathrm{low}}>\cos^2(\pi/8), the output is the global optimum with probability at least 1−δ1-\delta, which for ε=0.03\varepsilon=0.03 requires F^>0.8836\widehat{F}>0.8836.

Unbiasedness of the Pauli store

In this appendix, we show that the estimate of Eq. (6) is unbiased for queries fixed in advance, and we explain why it is biased in the search. Let UU be the unsigned group of the target, with signs sPs_P, and let its fidelity be the mean AUA_U of sPtr⁡(ρP)s_P\operatorname{tr}(\rho P) over UU. For queries fixed in advance, the reused set KK of Eq. (6) depends only on which strings were measured before, and not on their outcomes, and every stored outcome of PP, as well as the parity of a substring, has mean tr⁡(ρP)\operatorname{tr}(\rho P). Therefore, the first term of Eq. (6) is an unbiased estimate of the contribution of KK to AUA_U, the second one of the contribution of RR, since its strings are drawn uniformly, and A^U\widehat{A}_U is an unbiased estimate of AUA_U, whatever the correlations between strings that share a shot. In the search, in contrast, a candidate is selected because its estimate is large, so that the stored outcomes that selected it are biased upward for that candidate, and the search maximizes the estimate built from the stored outcomes rather than the fidelity itself. For this reason, the fresh check adds new shots before the search stops, and the reported fidelity is always estimated with fresh copies, whose estimate is unbiased for the output state.

Fidelities of the stabilizer basis

In this appendix, we show how a single DFE yields the fidelities of the stabilizer basis of ∣ϕ⟩|\phi\rangle, how the protocol determines the best sign flip, and how the prefix search identifies the directions above the threshold. Equations (1) and (9) give ∣ϕx⟩⟨ϕx∣=Dx∣ϕ⟩⟨ϕ∣Dx|\phi_x\rangle\langle\phi_x|=D_x|\phi\rangle\langle\phi|D_x, so that, with c(u)=sutr⁡(ρgu)c(u)=s_u\operatorname{tr}(\rho g_u),

px=12n∑u(−1)x⋅uc(u),(14)p_x=\frac{1}{2^n}\sum_u(-1)^{x\cdot u}c(u), \tag*{(14)}

that is, pxp_x is the Walsh transform of c(u)c(u), the analog of the Fourier transform for functions of bit strings, as the error rates of a Pauli channel are the Walsh transform of its eigenvalues [52]. For instance, x=0x=0 gives Eq. (3), and its only group element with ∣ϕ⟩=∣0⟩|\phi\rangle=|0\rangle gives p0=(1+⟨Z⟩)/2p_0=(1+\langle Z\rangle)/2 and p1=(1−⟨Z⟩)/2p_1=(1-\langle Z\rangle)/2. The DFE of ∣ϕ⟩|\phi\rangle provides pairs (uj,vj)(u_j,v_j) with uju_j uniform and vj=sujPjv_j=s_{u_j}P_j of mean c(uj)c(u_j), so that p^x=1N∑j(−1)x⋅ujvj\widehat{p}_x=\frac{1}{N}\sum_j(-1)^{x\cdot u_j}v_j is an unbiased estimate of pxp_x, with variance at most 1/N1/N, and with the Pauli store the same expression holds with the weights of Eq. (6). Therefore, each p^x\widehat{p}_x requires no additional measurements and O(L)O(L) operations, where LL is the number of group elements with data, whereas the full transform would require 2n2^n values.

The best sign flip maximizes p^x\widehat{p}_x, a sum of LL signed parities, which is hard in general, but simple when one basis state carries most of the weight. If px∗>1/2p_{x^*}>1/2, Eq. (14) gives ∣c(u)−(−1)x∗⋅upx∗∣≤1−px∗<px∗|c(u)-(-1)^{x^*\cdot u}p_{x^*}|\le1-p_{x^*}<p_{x^*}, so that every c(u)c(u) has the sign (−1)x∗⋅u(-1)^{x^*\cdot u}, and x∗x^* is the unique solution of x⋅u=[c(u)<0]x\cdot u=[c(u)<0] for any nn independent elements uu. The protocol solves this system with the estimated signs, which are wrong with probability (1−∣c(u)∣)/2(1-|c(u)|)/2 for an element measured once, taking first the elements with the largest contributions to p^0\widehat{p}_0, and improves this solution and x=0x=0 by a coordinate ascent over the bits of xx, keeping the better endpoint. The second starting point is necessary, since the ascent from x=0x=0 can stop when the best flip changes two or more generators, and each single-bit step can have zero gain, as in ρ=∣ϕx∗⟩⟨ϕx∗∣\rho=|\phi_{x^*}\rangle\langle\phi_{x^*}|. The flips of three or more generators are found from this starting point or by the prefix search of the fresh check. The directions above the threshold are found bit by bit, as the large Fourier coefficients in the Goldreich-Levin and Kushilevitz-Mansour algorithms [53, 54], and finding the large error rates of sparse Pauli channels is a related problem [65]. The sum of pxp_x over the directions whose first jj bits are α\alpha is Qj(α)=Eu∈Gj[(−1)α⋅uc(u)]Q_j(\alpha)=\mathbb{E}_{u\in G_j}[(-1)^{\alpha\cdot u}c(u)], where GjG_j is the subgroup generated by the first jj generators, so that QjQ_j is given by a DFE on GjG_j. Since the Qj(α)Q_j(\alpha) of each level sum to one, at most 1/θ1/\theta prefixes reach θ\theta, and the protocol keeps the prefixes with Q^j≥θ/2\hat{Q}_j\geq\theta/2, with θ=(3−22)p^0\theta=(3-2\sqrt{2})\hat{p}_0, at most B=min⁡{64,⌈2(1−p^0)/θ⌉+1}B=\min\{64,\lceil2(1-\hat{p}_0)/\theta\rceil+1\} of them, and estimates each level with the Pauli store, which already contains the new shots of the fresh check, while the threshold θ\theta and the last level use the estimate of ∣ϕ⟩|\phi\rangle of step (1). The cap of 64 only applies for p^0<0.16\hat{p}_0<0.16, far from the optimum. Then, the directions with p^x≥θ\hat{p}_x\geq\theta are explored in decreasing order of p^x\hat{p}_x, at most min⁡{B,max⁡{1,⌊(1−p^0)/θ⌋}}\min\{B,\max\{1,\lfloor(1-\hat{p}_0)/\theta\rfloor\}\} of them, a number independent of nn, since further directions above the threshold can only come from statistical noise, and the prefix search is skipped for p^0≤0.05\hat{p}_0\leq0.05, where the local restart provides the moves. For exact values, this search finds every direction above the threshold, while with estimates it is limited by the statistical noise of Q^j\hat{Q}_j and by the cap BB. In addition, each level whose subgroup contains more than NN elements requires about NN new shots.

Simulation details

In this appendix, we describe the simulation of the measurements, the exact values of the stabilizer fidelity, and the tests on the barren plateau. All simulations were carried out with Qiskit [66].

The measurement of a Pauli string is simulated exactly, since the joint distribution of the ww outcome bits of a string of weight ww is the Walsh transform of the expectation values of its 2w2^w substrings, from which we sample the outcomes. For a TT-doped state C∣m⟩C|m\rangle, with ∣m⟩=(T∣+⟩)⊗t⊗∣0⟩⊗(n−t)|m\rangle=(T|+\rangle)^{\otimes t}\otimes|0\rangle^{\otimes(n-t)}, the expectation value of PP is that of the signed Pauli string C†PCC^\dagger P C, obtained letter by letter from the images of the single-qubit Pauli operators, on the product state ∣m⟩|m\rangle, that is, a product of single-qubit factors, with ⟨X⟩=⟨Y⟩=1/2\langle X\rangle=\langle Y\rangle=1/\sqrt{2} and ⟨Z⟩=0\langle Z\rangle=0 for T∣+⟩T|+\rangle. For depolarized stabilizer states, the expectation values of the stabilizer state are multiplied by 1−p1-p, except for the identity. These expectation values agree with those of the dense state vector for n≤6n\leq6. The circuits of logarithmic depth consist of ⌈log⁡2n⌉\lceil\log_2 n\rceil layers of random two-qubit Cliffords on the pairs (q,q+1)(q,q+1), starting at even and odd qq in alternate layers.

The reference values are exact. For perturbed states, FSTAB=τF_{\mathrm{STAB}}=\tau according to Appendix A.4. For depolarized stabilizer states, the fidelity with a stabilizer state ∣η⟩|\eta\rangle is (1−p)∣⟨η∣C∣0⟩∣2+p/2n(1-p)|\langle\eta|C|0\rangle|^2+p/2^n, which is largest for ∣η⟩=C∣0⟩|\eta\rangle=C|0\rangle. For TT-doped states, FSTABF_{\mathrm{STAB}} does not change under Clifford gates nor when stabilizer qubits are attached, so that it equals the stabilizer fidelity cos⁡2t(π/8)\cos^{2t}(\pi/8) of (T∣+⟩)⊗t(T|+\rangle)^{\otimes t} [60], which we confirmed for t≤3t\leq3 by enumerating all stabilizer states of tt qubits [67].

The statements of Sec. III D on the barren plateau are based on the tests of Table II. Without local restart, the moves of step (2) did not reach the optimum even with exact fidelities, while a greedy search over all sign flips and neighbors with exact fidelities did. With N=1000N=1000 shots, the protocol without local restart also reached the optimum, since the statistical noise makes it accept moves that do not improve until it leaves the region of small fidelities, but it needed many more measurements than the protocol. Conversely, the protocol with the local candidate as its only move needed fewer measurements, but it stopped below the optimum in several runs, mostly for random Cliffords. Thereby, the local restart leads the search to the region of high fidelity, and the moves through the graph of neighbors complete it.

Example of a local candidate

In this appendix, we follow the construction of a local candidate for four qubits in the state ρ=0.8∣ϕ+⟩⟨ϕ+∣⊗2+0.2I/16\rho=0.8|\phi^+\rangle\langle\phi^+|^{\otimes2}+0.2I/16, whose closest stabilizer state ∣ϕ+⟩⊗2|\phi^+\rangle^{\otimes2} has generators of weight two with expectation values ±0.8\pm0.8, and FSTAB=0.8125F_{\mathrm{STAB}}=0.8125. The search starts at a random stabilizer state with generators −XXXI-XXXI, −YIYX-YIYX, −ZIZY-ZIZY and −YIYX-YIYX, whose fidelity is 0.01250.0125, so that it lies in the flat region of the search. The DFE of this state with N=1000N=1000 shots, together with the substrings of every shot, provides outcomes for 91 Pauli strings, the first of which are shown in Table III and in Figure 3(a) in the order of the local restart. Exactly seven strings are significant at the level δ/M=0.01/255\delta/M=0.01/255, namely the six elements of weight two of the optimal group and ZZXXZZXX, while the following ones have expectation value zero.

Figure 3. Local candidate from the Pauli store. Inset (a) shows the stored strings in the order of the local restart, colored by the result of the greedy selection, where hatched bars are not significant at the level δ/M\delta/M, with δ=0.01\delta= 0.01 and M=255M = 255. Inset (b) shows the exact fidelity of the initial state, of its best sign flip and best neighbor, and of the local candidate ∣ϕ~⟩|\widetilde{\phi}\rangle, where the dashed line marks FSTABF_{\mathrm{STAB}}.

PPmPm_PP‾\overline{P}⟨P⟩\langle P\ranglepPp_PSelection
XXIIXXII62+0.839+0.86.8×10−106.8 \times10^{-10}accepted
ZZIIZZII58+0.793+0.82.4×10−82.4 \times10^{-8}accepted
IIZZIIZZ78+0.769+0.81.9×10−101.9 \times10^{-10}accepted
YYIIYYII59−0.763−0.87.0×10−87.0 \times10^{-8}product
IIXXIIXX58+0.724+0.85.0×10−75.0 \times10^{-7}accepted
ZZXXZZXX58+0.724+0.85.0×10−75.0 \times10^{-7}not needed
IIYYIIYY68−0.618−0.84.7×10−64.7 \times10^{-6}not needed
IIZXIIZX60+0.43307.2×10−37.2 \times10^{-3}not needed

Table III. Stored strings in the order of the local restart after one DFE of a random stabilizer state, for the state of Appendix E, with the number of outcomes, the mean outcome, the exact expectation value, the Hoeffding pp-value and the result of the greedy selection. The first seven strings are significant.

The greedy selection accepts XXIIXXII, ZZIIZZII and IIZZIIZZ, rejects YYIIYYII since XXII⋅ZZII=−YYIIXXII\cdot ZZII=-YYII, and accepts IIXXIIXX, which completes four generators. Then, the candidate ∣ϕ^⟩|\hat{\phi}\rangle with generators +XXII+X XII, +ZZII+ZZII, +IIZZ+IIZZ and +IIXX+IIXX is the optimal state ∣ϕ+⟩⊗2|\phi^+\rangle^{\otimes2}. The store gives f^(ϕ)=0.777>p^0=−0.020\hat{f}(\phi)=0.777>\hat{p}_0=-0.020, so that the search jumps

SearchOptimumShots/10310^3
All flips and neighbors, exact20/20-
Moves of step (2), exact0/20-
Protocol without local restart20/2093.8
Local candidate only12/203.0
Protocol20/205.5

Table 2. Number of runs that reached the optimum from a random start and median number of shots of the search, for 20 T-doped states with t=2t=2 and n=9n=9, ten of them prepared by random Cliffords and ten by ⌈log⁡2n⌉=4\lceil\log_2 n\rceil=4 layers of two-qubit Cliffords between neighboring qubits, with N=1000N=1000. The first two rows use exact fidelities and no local restart.

from a fidelity of 0.0125 to 0.8125 in a single step, while the best sign flip and the best neighbor of the initial state have fidelities 0.1125 and 0.0625, as shown in Figure 3(b), and a fresh DFE with Nf=10234N_f = 10234 shots gives F^=0.820\widehat{F} = 0.820. Notice that in this example every stored string has tens of outcomes, so that the strings with ⟨P⟩=0\langle P\rangle= 0, such as IIZXIIZX with ∣P‾∣=0.433|\overline{P}| = 0.433, are not significant. For larger nn, however, most stored strings have few outcomes, and an ordering by ∣P‾∣|\overline{P}| alone would place first many of them with ∣P‾∣=1|\overline{P}| = 1.

References

References

  1. [1]S. Aaronson and D. Gottesman, Improved simulation of stabilizer circuits, Phys. Rev. A 70, 052328 (2004).DOI
  2. [2]S. Bravyi and A. Kitaev, Universal quantum computation with ideal Clifford gates and noisy ancillas, Phys. Rev. A 71, 022316 (2005).DOI
  3. [3]V. Veitch, S. A. H. Mousavian, D. Gottesman, and J. Emerson, The resource theory of stabilizer quantum computation, New J. Phys. 16, 013009 (2014).DOI
  4. [4]M. Howard and E. Campbell, Application of a resource theory for magic states to fault-tolerant quantum computing, Phys. Rev. Lett. 118, 090501 (2017).DOI
  5. [5]S. Bravyi, D. Browne, P. Calpin, E. Campbell, D. Gosset, and M. Howard, Simulation of quantum circuits by low-rank stabilizer decompositions, Quantum 3, 181 (2019).
  6. [6]R. Wagner, F. C. R. Peres, E. Zambrini Cruzeiro, and E. F. Galvão, Unitary-invariant method for witnessing nonstabilizerness in quantum processors, J. Phys. A: Math. Theor. 58, 285302 (2025), arXiv:2404.16107.
  7. [7]T. Haug, S. Lee, and M. S. Kim, Efficient quantum algorithms for stabilizer entropies, Phys. Rev. Lett. 132, 240602 (2024).DOI
  8. [8]M. Kliesch and I. Roth, Theory of quantum system certification, PRX Quantum 2, 010201 (2021), arXiv:2010.05925.DOI
  9. [9]J. Eisert, D. Hangleiter, N. Walk, I. Roth, D. Markham, R. Parekh, U. Chabaud, and E. Kashefi, Quantum certification and benchmarking, Nat. Rev. Phys. 2, 382 (2020), arXiv:1910.06343.DOI
  10. [10]A. Gu, L. Leone, S. Ghosh, J. Eisert, S. Yelin, and Y. Quek, Pseudomagic quantum states, Phys. Rev. Lett. 132, 210606 (2024).DOI
  11. [11]S. Chen, W. Gong, Q. Ye, and Z. Zhang, Stabilizer bootstrapping: A recipe for efficient agnostic tomography and magic estimation, in Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC ’25) (2025) pp. 429–438, arXiv:2408.06967.arxiv.org/abs/2408.06967
  12. [12]H. Hamaguchi, K. Hamada, N. Marumo, and N. Yoshioka, Faster computation of nonstabilizerness, Phys. Rev. Appl. 23, 014069 (2025).DOI
  13. [13]L. Leone, S. F. E. Oliviero, and A. Hamma, Stabilizer Rényi entropy, Phys. Rev. Lett. 128, 050402 (2022).DOI
  14. [14]T. Haug and L. Piroli, Stabilizer entropies and nonstabilizerness monotones, Quantum 7, 1092 (2023).DOI
  15. [15]A. Montanaro, Learning stabilizer states by Bell sampling (2017), arXiv:1707.04012.arxiv.org/abs/1707.04012
  16. [16]D. Gross, S. Nezami, and M. J. Walter, Schur–Weyl duality for the Clifford group with applications: Property testing, a robust Hudson theorem, and Finetti representations, Commun. Math. Phys. 385, 1325 (2021).DOI
  17. [17]D. Hangleiter and M. J. Gullans, Bell sampling from quantum circuits, Phys. Rev. Lett. 133, 020601 (2024), arXiv:2306.00083.DOI
  18. [18]S. Grewal, V. Iyer, W. Kretschmer, and D. Liang, Improved stabilizer estimation via Bell difference sampling, in Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC ’24) (2024) pp. 1352–1363, arXiv:2304.13915.DOI
  19. [19]S. Grewal, V. Iyer, W. Kretschmer, and D. Liang, Agnostic tomography of stabilizer product states, Quantum 10, 2027 (2026).arxiv.org/abs/2404.03813
  20. [20]S. Arunachalam and A. Dutt, Polynomial-time tolerant testing stabilizer states (2024), arXiv:2408.06289.arxiv.org/abs/2408.06289
  21. [21]Z. Bao, P. van Dordrecht, and J. Helsén, Tolerant testing of stabilizer states with a polynomial gap via a generalized uncertainty relation, in Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC ’25) (2025) pp. 1254–1262, arXiv:2410.21811.arxiv.org/abs/2410.21811
  22. [22]V. Iyer and D. Liang, Tolerant testing of stabilizer states with mixed state inputs (2024), arXiv:2411.08765.arxiv.org/abs/2411.08765
  23. [23]C.-Y. Lai and H.-C. Cheng, Learning quantum circuits of some T gates, IEEE Trans. Inf. Theory 68, 3951 (2022), arXiv:2106.12524.DOI
  24. [24]L. Leone, S. F. E. Oliviero, and A. Hamma, Learning t-doped stabilizer states, Quantum 8, 1361 (2024), arXiv:2305.15398.DOI
  25. [25]M. Hinsche and J. Helsén, Single-copy stabilizer testing, in Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC ’25) (2025) pp. 439–450.
  26. [26]L. Bittel, J. Eisert, W. Gong, A. A. Mele, and L. Schatzki, Adaptivity is all you need: Optimal stabilizer learning using just single-copy measurements (2026), arXiv:2610.02031.arxiv.org/abs/2610.02031
  27. [27]G. Cho and D. Kim, Single-copy stabilizer learning: average case and worst case (2026), arXiv:2604.24099.arxiv.org/abs/2604.24099
  28. [28]N.-H. Chia, C.-Y. Lai, and H.-H. Lin, Efficient learning of t-doped stabilizer states with single-copy measurements, Quantum 8, 1250 (2024), arXiv:2308.07014.DOI
  29. [29]S. Grewal, V. Iyer, W. Kretschmer, and D. Liang, Efficient learning of quantum states prepared with few non-Clifford gates, Quantum 9, 1907 (2025), arXiv:2305.13409.DOI
  30. [30]A. Peruzzo, J. McClean, P. Shadbolt, M.-H. Yung, X.-Q. Zhou, P. J. Love, A. Aspuru-Guzik, and J. L. O’Brien, A variational eigenvalue solver on a photonic quantum processor, Nat. Commun. 5, 4213 (2014).DOI
  31. [31]A. Kandala, A. Mezzacapo, K. Temme, M. Takita, M. Brink, J. M. Chow, and J. M. Gambetta, Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets, Nature 549, 242 (2017).DOI
  32. [32]M. Cerezo, A. Arrasmith, R. Babbush, S. C. Benjamin, S. Endo, K. Fujii, J. R. McClean, K. Mitarai, X. Yuan, L. Cinacio, and P. J. Coles, Variational quantum algorithms, Nat. Rev. Phys. 3, 625 (2021).DOI
  33. [33]M. Cerezo, A. Poremba, L. Cincio, and P. J. Coles, Variational quantum fidelity estimation, Quantum 4, 248 (2020), arXiv:1906.09253.DOI
  34. [34]J. Gidi, B. Candia, A. D. Muñoz-Moller, A. Rojas, L. Pereira, M. Muñoz, L. Zambrano, and A. Delgado, Stochastic optimization algorithms for quantum applications, Phys. Rev. A 108, 032409 (2023), arXiv:2203.06044.arxiv.org/abs/2203.06044
  35. [35]C. Ferrie, Self-guided quantum tomography, Phys. Rev. Lett. 113, 190404 (2014).DOI
  36. [36]R. J. Chapman, C. Ferrie, and A. Peruzzo, Experimental demonstration of self-guided quantum tomography, Phys. Rev. Lett. 117, 040402 (2016), arXiv:1602.04194.DOI
  37. [37]A. Utreras-Alarcón, M. Rivera-Tapia, S. Niklitschek, and A. Delgado, Stochastic optimization on complex variables and pure-state quantum tomography, Sci. Rep. 9, 16143 (2019).
  38. [38]Z. Hou, J.-F. Tang, C. Ferrie, G.-Y. Xiang, C.-F. Li, and G.-C. Guo, Experimental realization of self-guided quantum process tomography, Phys. Rev. A 101, 022317 (2020), arXiv:1908.01082.DOI
  39. [39]L. Zambrano, L. Pereira, S. Niklitschek, and A. Delgado, Estimation of pure quantum states in high dimension at the limit of quantum accuracy through complex optimization and statistical inference, Sci. Rep. 10, 12781 (2020).DOI
  40. [40]M. Rambach, M. Qaryan, M. Kewming, C. Ferrie, A. G. White, and J. Romero, Robust and efficient high-dimensional quantum state tomography, Phys. Rev. Lett. 126, 100402 (2021), arXiv:2010.00632.DOI
  41. [41]R. J. McClean, S. Boixo, V. N. Smelyanskiy, R. Babbush, and H. Neven, Barren plateaus in quantum neural network training landscapes, Nat. Commun. 9, 4812 (2018).DOI
  42. [42]M. Cerezo, A. Sone, T. Volkoff, L. Cincio, and P. J. Coles, Cost function dependent barren plateaus in shallow parametrized quantum circuits, Nat. Commun. 12, 1791 (2021).DOI
  43. [43]A. D. Muñoz-Moller, L. Pereira, L. Zambrano, J. Cortés-Vega, and A. Delgado, Variational determination of multiqubit geometrical entanglement in noisy intermediate-scale quantum computers, Phys. Rev. Appl. 18, 024048 (2022), arXiv:2110.03709.
  44. [44]L. Zambrano, A. D. Muñoz-Moller, M. Muñoz, L. Pereira, and A. Delgado, Avoiding barren plateaus in the variational determination of geometric entanglement, Quantum Sci. Technol. 9, 025016 (2024).arxiv.org/abs/2304.13388
  45. [45]H. J. García, I. L. Markov, and A. W. Cross, On the geometry of stabilizer states, Quantum Info. Comput. 14, 683–720 (2014), arXiv:1711.07848.
  46. [46]S. T. Flammia and Y.-K. Liu, Direct fidelity estimation from few Pauli measurements, Phys. Rev. Lett. 106, 230501 (2011).
  47. [47]M. P. da Silva, O. Landon-Cardinal, and D. Poulin, Practical characterization of quantum devices without tomography, Phys. Rev. Lett. 107, 210404 (2011).
  48. [48]S. Pallister, N. Linden, and A. Montanaro, Optimal verification of entangled states with local measurements, Phys. Rev. Lett. 120, 170502 (2018), arXiv:1709.03353.DOI
  49. [49]H. Zhu and M. Hayashi, Optimal verification and fidelity estimation of maximally entangled states, Phys. Rev. A 99, 052346 (2019), arXiv:1901.09772.DOI
  50. [50]J. Barberà-Rodríguez, M. Navarro, and L. Zambrano, Sampling groups of Pauli operators to enhance direct fidelity estimation, Quantum 9, 1784 (2025), arXiv:2501.19228.
  51. [51]H. Cha and J. Lee, Efficient sampling for Pauli-measurement-based shadow tomography in direct fidelity estimation, Phys. Rev. A 112, 032427 (2025), arXiv:2501.03512.arxiv.org/abs/2501.03512
  52. [52]S. T. Flammia and J. J. Wallman, Efficient estimation of pauli channels, ACM Transactions on Quantum Computing 1, 10.1145/3480039 (2020).
  53. [53]O. Goldreich and L. A. Levin, A hard-core predicate for all one-way functions, in Proceedings of the 21st Annual ACM Symposium on Theory of Computing (1989) pp. 25–32.DOI
  54. [54]E. Kushilevitz and Y. Mansour, Learning decision trees using the Fourier spectrum, SIAM J. Comput. 22, 1331 (1993).
  55. [55]J. Cotler and F. Wilczek, Quantum overlapping tomography, Phys. Rev. Lett. 124, 100401 (2020).DOI
  56. [56]H.-Y. Huang, R. Kueng, and J. Preskill, Predicting many properties of a quantum system from very few measurements, Nat. Phys. 16, 1050 (2020).DOI
  57. [57]L. Leone, S. F. E. Oliviero, and A. Hamma, Nonstabilizerness determining the hardness of direct fidelity estimation, Phys. Rev. A 107, 022429 (2023).DOI
  58. [58]O. J. Dunn, Multiple comparisons among means, J. Am. Stat. Assoc. 56, 52 (1961).DOI
  59. [59]L. Leone, S. F. E. Oliviero, Y. Zhou, and A. Hamma, Quantum chaos is quantum, Quantum 5, 453 (2021), arXiv:2102.08406.DOI
  60. [60]R. Rubboli, R. Takagi, and M. Tomamichel, Mixed-state additivity properties of magic monotones based on quantum relative entropies for single-qubit states and beyond, Quantum 8, 1492 (2024).DOI
  61. [61]H.-Y. Huang, Y. Liu, M. Broughton, I. Kim, A. Anshu, Z. Landau, and J. R. McClean, Learning shallow quantum circuits, in Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC ’24) (2024) pp. 1343–1351.
  62. [62]G. S. Ravi, P. Gokhale, Y. Ding, W. M. Kirby, K. N. Smith, J. M. Baker, P. J. Love, H. Hoffmann, K. R. Brown, and F. T. Chong, CAFQA: A classical simulation bootstrap for variational quantum algorithms, in Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS ’23), Volume 1 (2023) pp. 15–29, arXiv:2202.12924.arxiv.org/abs/2202.12924
  63. [63]D. Gottesman, Stabilizer codes and quantum error correction, Ph.D. thesis, California Institute of Technology (1997), arXiv:quant-ph/9705052.DOI
  64. [64]Y. Li, O. Gü hne, and Q. He, Bounding fidelity of non-stabilizer states from local Pauli measurements (2026), arXiv:2610.41808.arxiv.org/abs/2610.41808
  65. [65]R. Harper, W. Yu, and S. T. Flammia, Fast estimation of sparse quantum noise, PRX Quantum 2, 010322 (2021).DOI
  66. [66]Qiskit contributors, Qiskit: An open-source framework for quantum computing, https://github.com/Qiskit/qiskit (2026), version 2.4.1.
  67. [67]J. Dehaene and B. De Moor, Clifford group, stabilizer states, and linear and quadratic operations over GF(2), Phys. Rev. A 68, 042318 (2003).DOI

Paper details

vlnc:W_rdp3hp99
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents