Abstract
With quantum computing devices increasing in scale and complexity, there is a growing need for tools that obtain precise diagnostic information about quantum operations. However, current quantum devices are only capable of short unstructured gate sequences followed by native measurements. We accept this limitation and turn it into a new paradigm for characterizing quantum gate-sets. A single experiment—random sequence estimation—solves a wealth of estimation problems, with all complexity moved to classical post-processing. We derive robust channel variants of shadow estimation with close-to-optimal performance guarantees and use these as a primitive for partial, compressive and full process tomography as well as the learning of Pauli noise. We discuss applications to the quantum gate engineering cycle, and propose novel methods for the optimization of quantum gates and diagnosing cross-talk.
Similar content being viewed by others
Introduction
Recent years have seen the rapid development of quantum computing devices to unprecedented system sizes. These devices are still noisy and of limited computational power, but go substantially beyond what was conceivable not very long ago. In order to scale even further to larger and more accurate devices, it is key to develop tools for efficiently characterizing quantum operations1,2 at scale. Besides providing crucial actionable advice for the practitioner, the characterization of quantum operations is also important for developing an in-depth theoretical understanding of the actual capabilities of quantum devices and for providing a fair comparison between different types of devices, and with classical computing power on the same tasks3,4,5. Over the years, many protocols for characterizing quantum operations have been developed6,7,8.
That said, while a wealth of theoretical ideas for benchmarking, verification, and tomographic recovery have been suggested, only a few of them are relevant in practice. With present quantum devices, only relatively short gate sequences can be implemented on qubit arrays, followed by a native measurement at the end of the circuit that typically suffers from sizeable read-out noise. With these limitations, the most prominent protocols for characterizing digital quantum gates fall into the class of randomized benchmarking (RB)9,10,11,12,13,14 (including newer protocols such as averaged circuit eigenvalue sampling15). RB implements suitable sequences of random quantum gates and extracts a measure of quality as parameters describing the decay rate of the measured signal with the sequence length. This has the advantage of yielding state preparation and measurement (SPAM) error robust error metrics. The experimental sequences of most RB protocols are carefully designed (such as compiled circuit inverses) to efficiently extract specific information from a gate set. Prominent exceptions are ‘filtered’ RB protocols such as linear cross-entropy benchmarking (XEB)3 that directly work with random sequences of i.i.d. drawn gates and, e.g., omit an inversion gate.
In this work, we take these observations seriously and revert to the mindset that is commonly applied when devising new schemes for benchmarking and characterization. We ask the question: If all we can feasibly do is implement unstructured random sequences followed by a native measurement, what can we learn? At first sight, this endeavor is not promising. Compared to ‘traditional’ RB and tomographic protocols we are giving up on central ingredients. Thinking about how much information we measure in an unstructured way, we run into the problem that typically, the probabilities of individual measurement results are exponentially small in the number of qubits. This is orthogonal to the careful design of efficient characterization schemes in prior work and does not obviously yield sample efficient estimation schemes at all.
Our change of paradigm is analogous to the mindset of classical shadows16,17. Classical state shadows allow for the sample-efficient estimation of (exponentially) many different functions of a quantum state from the same data by only modifying the classical post-processing. Perhaps the central surprise value of the result of ref. 16 is rigorously guaranteeing that the fidelity of a quantum state with respect to any pure state can be estimated from the same experiment, using only constantly many state copies with sufficiently randomized basis measurements. This is in stark contrast to schemes like direct fidelity estimation18 that given a priori knowledge of the target state carefully optimize the measurements that are performed.
In this work, we define the observed measurement outcomes of random sequences of quantum gates as the classical shadow of a gate-set and study the sample efficiency of SPAM-robust estimators for different linear functionals of a gate-set from the same data. Borrowing the median-of-means estimators used on classical state shadows, we show that the sampling complexity of the estimation (the number of single-shot quantum measurements) can be controlled by a dynamic shadow norm with exponential confidence. We prove bounds on this dynamic shadow norm—a considerably more involved object than its state counterpart—for prominent gate-sets such as the multi-qubit Clifford group and the local Clifford group. We find that by a suitable post-processing we can estimate the relative average gate fidelities of the noise of a Clifford gate-set with respect to an exponentially large number of unitary channels from polynomially many measurement samples from the same uniformly random experiment. More generally, we show that the dynamical shadow norm can be controlled in terms of the unitarity of the estimated linear quantity. Using local gate-sets, we show that one can selectively gain information about channel marginals capturing correlations in their noisy implementation. We promote this primitive further to design a highly scalable and efficient tomography scheme for cross-talk effects. Furthermore, we exemplify how gate-set shadows can be used to construct SPAM-robust objective functions for learning noise models and for robust low-rank quantum process tomography.
The important feature of all these schemes is that we only adopt the classical post-processing to the task at hand, not the quantum experiment. A single type of data, namely samples from simple local measurements on uniformly random gate sequences, is sufficient to perform a large class of diagnostic tasks of benchmarking, verification, and tomographic recovery. The mindset can be captured as “Measure first, ask later!”. Going beyond uniformly independently random sequences, we can generalize our approach to provide an optimal scheme to learn Pauli noise, emulating the protocol of ref. 19 with a simpler experimental prescription and theoretical analysis.
Related work: We build on a body of literature on randomized schemes for quantum device characterization8. The potential of analyzing the output statistics of gate-set sequences to self-consistently extract essentially all information of a gate-set (as well as the initial state and the measurement) has been realized by gate-set tomography20,21,22,23,24,25 with recent variants only requiring random sequences (gate-set shadows)26,27. In contrast to this self-consistent tomographic estimation of all gates in the gate-set, we here target individual linear quantities of the gate-set’s average noise or an interleaved quantum process. Our cross-talk tomography protocol follows the spirit of simultaneous RB28, but goes significantly beyond simultaneous RB in providing higher-order correlation measures and tomographic information of noise-channel marginals, efficiently from the data of a single randomized experiment. In ref. 29, it has been observed that variants of interleaved multi-qubit Clifford randomized benchmarking experiments30 have access to relative average gate fidelities from which unital quantum channels can be reconstructed. The protocol of ref. 29 performs a different experiment for each fidelity yielding a sub-optimal overall sample complexity for tomography or low-rank tomography31,32. Gate-set shadow estimation solves both these short-comings.
Results
We begin with explaining the general protocol. In the subsequent sections, we then provide theoretical performance guarantees for specific gate-sets and explain how the protocol can be used as a robust estimation primitive in more complex characterization tasks, such as channel tomography. The gate-set shadow estimation protocol consists of two separate stages: an experiment, where measurement results from random circuits of different lengths are recorded, and a classical post-processing step, where different parameters can be estimated from the measured data. Figure 1 summarizes the complete protocol.
First, for a fixed initial state ρ and varying sequence lengths m a total of S random sequences of quantum gates of length m are experimentally implemented and each is followed by a measurement. We call the observed tuples of measurement outcome and gate sequence \(({x}^{j},\, {g}_{1}^{j} \,,\ldots,\, {g}_{m}^{j})\), j = 1, …, S the gate-set shadow. The second classical post-processing stage consists itself of three steps: (i) A given sequence correlation function is calculated for every entry of the gate set shadow. For the UIRS protocol a sequence correlation function fA is specified in terms of a probe super-operator A and an irreducible representation σ. (ii) We calculate the sequence average \({\hat{k}}_{{f}_{A}}(m)\) as the mean or median-of-means of the result of step (i) over sequences of the same length m. (iii) Sequence averages for different lengths m are used as data points to fit a theoretical model (Eq. (5)) in order to extract the generalized gate-set fidelity with respect to the super-operator A and the irreducible representation σ, denoted here by p(A). One of the most important features of this approach is that we can use the same experimental data to accurately estimate exponentially many generalized fidelities p(A1), p(A2), …, p(AS) by evaluating different sequence correlation functions on the same gate-set shadow. In this way, we can self-consistently and robustly estimate many different properties of the gate-set noise from a minimal amount of data obtained in a simple experiment. Sections “Application: Learning unitary noise models”, “Application: Cross-talk tomography”, and “Application: SPAM-robust channel reconstruction” explain and derive guarantees of how the gate-set shadow estimation protocol can be used as a primitive in other more detailed characterization task, such as compressive channel or marginal tomography, potentially allowing one to run the whole engineering cycle on essentially the same type of data.
Protocol: Experiment
We aim at characterizing the accuracy of the implementation of a target gate-set \({\mathbb{G}}\). The experimental primitive is the realization of random (gate) sequences of length m: After preparing an initial ρ (e.g., \(\left|0\right\rangle \left\langle 0\right|\)) a sequence of gates \({{{{\boldsymbol{g}}}}}\in {{\mathbb{G}}}^{\times m}\) is drawn at random according to a distribution \({\mu }_{m}:{{\mathbb{G}}}^{\times m}\to [0,1]\) and applied to ρ. This is then followed by a measurement specified by a POVM \({\{{E}_{x}\}}_{x}\) with measurement outcomes in \({{{{{{{\mathcal{X}}}}}}}}\) (e.g., a computational basis measurement). If \(x\in {{{{{{{\mathcal{X}}}}}}}}\) is observed, the result of the primitive is a tuple \((x,\, {{{{\boldsymbol{g}}}}})\in {{{{{{{\mathcal{X}}}}}}}}\times {{\mathbb{G}}}^{\times m}\).
Repeating the primitive multiple times yields a series of tuples \({\{({x}_{i},\, {{{{{\boldsymbol{g}}}}}}_{i})\}}_{i=1}^{S}\) which we refer to as a (self-consistent) gate-set shadow. (Note that ref. 16 actually calls the dual frame elements indexed by the observed output statistics of an informationally complete POVM a state’s shadow. In contrast, we here directly refer to the sampled sequence and observed measurement outcomes as a shadow.)
A complete experimental protocol further involves measuring such shadows for a set of different sequence lengths m. In order to simplify the theoretical analysis, we focus on the paradigmatic case of \({\mathbb{G}}\) being a finite subgroup of SU(2N) (such as the Clifford group) and distributions on the sequences arising from the uniform measure over these subgroups.
The simplest example of protocols in this context is uniform independent random sequence (or UIRS) protocols where the gates in the sequences are drawn from the gate-set uniformly and independently at random. This can be seen as the paradigmatic case, although we will go beyond this later in this work. We make shadow gate-set estimation through the UIRS protocol explicit for several important gate-sets: namely the multi-qubit Clifford group \({{\mathbb{C}}}_{n}\) and the independent single-qubit Clifford group \({{\mathbb{C}}}_{1}^{\times n}\) (which we will call the local Clifford group).
Protocol: Classical post-processing
Given a gate-set shadow \({\{({x}_{i},\, {{{{{\boldsymbol{g}}}}}}_{i})\}}_{i=1}^{S}\), we define an empirical estimator in terms of a sequence correlation function \(f(x,\, {{{{{\boldsymbol{g}}}}}}):{{{{{{{\mathcal{X}}}}}}}}\times {{\mathbb{G}}}^{\times m}\to {\mathbb{C}}\). For every such sequence correlation function, in the post-processing, we (i) evaluate f for all entries of the gate-set shadows and (ii) calculate the empirical mean or median-of-means estimator
of the result. After repeating steps (i) and (ii) for different sequence lengths m, we fit in step (iii) a theoretical model kf to the estimates of the sequence means \({\hat{k}}_{f}(m)\). After giving this overview of the post-processing protocol, let us take a closer look at the steps and explain their roles in the UIRS protocol:
Regarding step (i): Generally speaking, sequence correlation functions can be seen as the gate-set analog of an observable in shadow estimation. They allow us to compute properties of noisy gate-sets (for example the average fidelity of an average group element) from experimentally observed gate-set shadows. We emphasize that, like state shadow estimation, the data collection step of random sequence estimation is independent of the gate-set properties one wishes to estimate, with this estimation step happening entirely in classical post-processing. Importantly, this enables one to estimate many different correlation functions from the same experimental data.
We here introduce a particular class of sequence correlation functions for UIRS protocols: Consider an irreducible representation σ of \({\mathbb{G}}\) with representation space Vσ. For the multi-qubit Clifford group, e.g., its adjoint action on traceless Hermitian matrices is of main interest. We further specify a sequence correlation function in terms of a matrix A, POVM \({\{{E}_{x}\}}_{x\in {{{{{{{\mathcal{X}}}}}}}}}\) and state ρ, on Vσ as
with a suitable normalization factor α. (Note that for m = 1, and perfectly implemented gates, this expression reproduces the classical state shadows of ref. 16. Generally, restricted to multiplicity-free, irreducible representations, the dual frame construction of ref. 16 simply amounts to introducing a proper normalization factor, justifying our choice of calling the observed statistics directly the shadow.)
We refer to A as a probe (super-)operator as it specifies the linear quantity of the gate-set that is encoded into the decay parameter of the empirical estimator. Note that the expression Eq. (2) is closely related to the Born probability of measuring x after applying the sequence \({{{{\boldsymbol{g}}}}}\) to ρ. The main differences are that we restrict the computation to the subspace Vσ and interleave the sequence with the probe operator A. Similar to classical shadows, the computation of fA requires, in general, the same resources as simulating the physical evolution within a subspace. In many situations, however, further structure renders this task efficient. This is in particular the case when both the gate-set and the probe-operators are chosen to be multi-qubit Clifford operations.
Note that all previously existing RB protocols only use functions that at most depend on the product of the operations in the sequence, \({f}_{{\mathbb{I}}}(x,\, {{{{{\boldsymbol{g}}}}}})=h(x,\, {g}_{1}{g}_{2}\cdots {g}_{m})\). In filtered RB protocols, such as linear cross-entropy benchmarking3, character benchmarking33 and Pauli-noise tomography19, the inversion gate can in this way be omitted and accounted for in post-processing. Using a non-trivial A goes significantly beyond existing schemes and allows one to even efficiently ‘interleave in-post’ the same data with different probe operators.
Regarding step (ii): By taking an empirical average over the gate-set, we expect \({\hat{k}}_{f}(m)\) to be a degree m polynomial in the ‘average noise’ of the gate-set. One insight of standard Clifford randomized benchmarking is that by taking a uniform average over a sufficiently large group the ‘average noise’ is probed isotropically, effectively projecting it onto a depolarizing channel. Similarly, UIRS will probe the ‘average noise’ of the gate-set, but by choosing different probe operators A, we can alter the operator on which the noise is projected, revealing more information. Performing the post-processing separately for different irreducible representations σ, ensures that the gate-set always averages sufficiently over the subspace under consideration. We will make this intuition precise in the subsequent section.
Regarding step (iii): The projection onto isotropic noise (on each representation space) also dramatically ‘simplifies’ the functional form of the expected value of the sequence averages \({\hat{k}}_{f}(m)\). Recall that for standard Clifford RB, one effectively witnesses a single exponential decay. Below we show that analogously for UIRS protocols, the theoretical fitting model is a single (matrix) exponential decay encoding linear quantities of the noise in its decay parameter. The decay parameter(s) can be extracted using least-square fitting algorithms (or tone-finding algorithms such as ESPRIT). See ref. [14, Sec. VII] for a discussion on different post-processing techniques. In the end, the UIRS gate-set shadow estimation protocol returns the decay parameters for different choices of probe operators A and representations σ.
Fitting model
In order to keep the theoretical derivation and statements concise and straightforward to interpret, we adhere to some standard assumptions that are commonly used in the analysis of RB protocols. First, we assume that the quantum channel that implements a sequence \({{{{{\boldsymbol{g}}}}}}\) on the quantum device can be written as \({{{{{{{\mathcal{E}}}}}}}}\,({{{{{\boldsymbol{g}}}}}})=\mathop{\prod }\nolimits_{i=1}^{m}\phi ({g}_{i})\) with a map \(\phi :{\mathbb{G}}\to {{{{{{{{\mathcal{S}}}}}}}}}_{n}\). Here, \({{{{{{{{\mathcal{S}}}}}}}}}_{n}\) is the space of n-qubit super-operators. The existence of \({{{{{{{\mathcal{E}}}}}}}}\) already excludes, e.g., time-dependent effects in between different experiments, and the factorization into a map ϕ further restricts to Markovian noise. Under this assumption, it can be proven that RB protocols9,10,11,12,13,14 function correctly14,34,35. For non-Markovian noise much less is known, but in the context of RB rigorous results have been obtained for quasi-static noise36, time-dependent noise37 and more recently using tensor-models38. We expect these results to broadly carry over to random sequence estimation.
Second, we assume gate-independent noise, positing the existence of quantum channels ΛL, ΛR such that
where \(\omega (g)(\rho )={U}_{g}\rho {U}_{g}^{{{{\dagger}}} }\) is some ideal implementation of the gate g. We argue in the section “ Gate-dependent noise” that our results also apply (up to a negligible error) in the more general Markovian error model, but rigorously proving this (along the lines of ref. 14) is beyond the scope of this work.
Instead of ΛR, ΛL describing the noise of the gate-set implementation, one can also take the perspective of actively interleaving a channel of interest between a fairly ideal implementation of a gate-set (as is done in interleaved randomized benchmarking30). While different in protocol and data interpretation, in the analysis, this black-box query model
is simply a special case of the gate-independent noise model and results carry over.
The main analytical result of this work is to establish rigorous performance guarantees for the estimation from gate-set shadows. The obvious first question being: what do we actually estimate? As a first result, we establish the ‘simple’ model that we should be fitting to the data. We show that for a probe operator A the empirical estimator of the protocol converges in probability with the number of samples S in the shadow to a matrix-exponential decay
Here, the matrix Φ depends only on the ‘between-gates noise channel’ Λ ≔ ΛRΛL and the probe super-operator A, while Θ captures SPAM dependence. In particular, if ω contains t copies of the representation σ then we have
where Pi is the projector onto the ith copy of the representation σ inside ω. Note that here the trace is taken on the space of super-operators. We give the derivation of this result in Supplementary Note 4, in supplements that cite also refs. 39,40,41,42,43,44,45.
Equation (5) indicates that we should fit a linear combination of (up-to) t exponential decays to the sequence average \({\hat{k}}_{{f}_{A}}(m)\). The resulting decay parameters are the eigenvalues of the matrix Φ, which encode information about the overlap of Λ and A in the representation space.
A particularly simple fitting model with easily interpretable decay parameters arises when the representation σ appears in the decomposition of ω without multiplicities (i.e., there is no other representation in ω related to σ by a change of basis). If σ is multiplicity-free, then \({k}_{{f}_{A}}(m)\) describes a single scalar exponential decay
with decay parameter
and Aσ = PσAPσ the probe operator restricted to the representation σ of dimension dσ. Note that the proportionality now hides the SPAM-dependent pre-factor.
Thus, by fitting a single exponential decay to the empirically observed sequence averages \({\hat{k}}_{{f}_{A}}\), we can estimate pσ,A(Λ), the trace-overlap of Λ with A on σ. The decay parameter can be thought of as a generalized fidelity or effective depolarization parameter, indicating how much the noise channel Λ agrees on average with the probe operator A on the representation space of σ.
Sample complexity
Against the background of the extensively explored variants of RB protocols, the above decay model is not entirely unexpected. A priori less obvious, however, is the sample efficiency of gate-set shadow protocols. The sequence correlation functions \({f}(x,\, {{{{{\boldsymbol{g}}}}}})\) involve normalization factors that typically scale with the dimension of the irreducible representation under consideration. As a consequence their range can become exponentially large in the number of qubits, causing a simple empirical mean estimator to be susceptible to outliers in the measurement statistics, as well as making a suitably bounded variance a priori nontrivial. Going significantly beyond the established statistical guarantees in RB, we establish general variance bounds for the UIRS protocol. We do this by introducing a sequence analog to the shadow norm introduced in ref. 16 defined on probe super-operators A as opposed to observables. Emphasizing its explicit dependence on the sequence length m we call this norm (really a family of norms indexed by m) the dynamic shadow norm ∥A∥dyn,m. This norm, formally defined in Supplementary Equation (25), depends on the underlying gate-set \({\mathbb{G}}\) as well as the ideal input POVM {Ex} and state ρ. Given these parameters, it quantifies the sample complexity of estimating the mean \({k}_{{f}_{A}}(m)\) for arbitrary gate-independent noise. Because of its dependence on the sequence length, the dynamic shadow norm is a more intricate object than its state counterpart. Evaluating it for specific gate sets accounts for the bulk of the technical innovation in this paper. In terms of the dynamic shadow norm we have the following upper bound on the variance of the UIRS protocol.
Theorem 1
(Upper bound on the variance). Consider an UIRS protocol (at sequence length m) with gate-set \({\mathbb{G}}\) and a correlation function fA with probe operator A. The variance of the associated mean \({k}_{{f}_{A}}(m)\) is bounded as
An extended statement and the proof is given in Supplementary Note 4. The bound on the variance \({{\mathbb{V}}}_{A}(m)\) directly implies a non-asymptotic bound on the sample complexity for the estimator \({\hat{k}}_{{f}_{A}}(m)\) with exponential confidence through the use of median-of-means estimation. The exponential confidence in particular allows us to estimate ‘many’ quantities simultaneously from the same shadow data with only logarithmic overhead in the number of quantities. See Supplementary Note 3 for details. More precisely, we get the following guarantee: Run the UIRS protocol (at sequence length m) and measure a gate-set shadow of S many samples. Choose a set \({{{{{{{\mathcal{A}}}}}}}}\) of probe operators, an ϵ > 0 and ensure that for all \(A\in {{{{{{{\mathcal{A}}}}}}}}\)
for a suitable constant C. Then, in the post-processing, we obtain ϵ-additive estimates, i.e., \(|{k}_{A}(m)-{\hat{k}}_{A}(m)|\le \epsilon\) for all \(A\in {{{{{{{\mathcal{A}}}}}}}}\).
Hence, bounding the dynamic shadow norm for all \(A\in {{{{{{{\mathcal{A}}}}}}}}\) and different sequence lengths m gives simultaneous guarantees for many estimators \({\hat{k}}_{A}(m)\) with an overall sampling complexity being the sum of the bounds Equation (10) for all m. As explained above, \(m \, \mapsto \, {\hat{k}}_{A}(m)\) is then fitted using a theoretical signal model. For example, in the scenario of multiplicity-free representations giving rise to a single exponential decay Eq. (7), we thereby obtain an estimator for pσ,A(Λ) for all \(A\in {{{{{{{\mathcal{A}}}}}}}}\). The exponential fitting itself is a well-studied problem, for which many advanced techniques46,47, flexible software packages48, and rigorous bounds49 can be readily applied.
Example: Multi-qubit Clifford UIRS
We now provide two particularly practically relevant examples of UIRS protocols, derive their signal model and a dynamical shadow norm bound guaranteeing their efficiency.
The first example is the multi-qubit Clifford group \({{\mathbb{C}}}_{n}\) that already takes a prominent role in quantum characterization and quantum computation more generally50. We consider an UIRS experiment for \({{\mathbb{C}}}_{n}\): i.e., sequences of i.i.d. Clifford gates uniformly drawn at random, acting on the initial state \(\left|0\right\rangle \left\langle 0\right|\) and ending in a computational basis measurement. This is a common gate-set with a well-understood representation structure, allowing us to explicitly calculate the sequence mean kA(m) and give bounds on the dynamic shadow norm ∥A∥dyn,m which controls the sample complexity of sequence estimation.
Signal model
The adjoint representation of the multi-qubit Clifford group ω(g) decomposes into two inequivalent irreducible representations51: σtr supported on the normalized identity matrix and σad supported on the space of traceless matrices, spanned by the generalized Pauli matrices. See Supplementary Note 2 for details. We focus on sequence correlation functions with support on σad only, i.e., A = PadAPad. Then, \({k}_{{f}_{A}}(m)\) describes a single exponential decay Eq. (7) with
This is a familiar quantity: For A = Pad, it corresponds to the depolarizing probability (essentially the average fidelity) of the channel Λ. As a very special case, the Clifford UIRS protocol in this way emulates standard Clifford randomized benchmarking without performing an inversion. However, gate-set shadows are considerably more flexible. For instance, by choosing A = U a unitary channel, pad,U(Λ) measures the relative average fidelity of Λ w.r.t. the unitary U (i.e., the average fidelity of U†∘Λ). In particular, for U a Clifford channel, the corresponding sequence correlation function can be evaluated efficiently. Relative average gate fidelities are also estimated in interleaved RB. Compared to existing interleaved RB protocols such as the scheme of ref. 29, gate-set shadows have the crucial advantage that the experimental protocol itself is independent of U.
Since we do not have to implement A on a quantum device, we can also consider A that do not correspond to quantum channels such as rank-one super-operators of the form \(X\,{{{{{{{\rm{Tr}}}}}}}}(Y \, \cdot \, )\) for operators X, Y. Hence, the gate-set shadows are a versatile tool to estimate properties of the implementation of a Clifford gate-set.
Dynamical shadow norm
The versatility of Clifford UIRS in practice of course crucially depends on the sample efficiency of the estimation. From the above, it is not clear that kA(m) can be efficiently estimated for arbitrary A. Demanding that kA(1) = 1 in the limit of perfect state preparation, measurement, and gates, the normalization factor α in Eq. (2) is α = 2n + 1, leading to a single-shot estimator taking values exponentially large in n. Building upon the machinery of the dynamic shadow norm and Theorem 1, we can still provide guarantees for efficiently estimatable probe operators and investigate the limits of Clifford UIRS. As a first step, we assume A to be a restriction of a unitary channel U to the traceless subspace, i.e., A = PadUPad. In this case, the dynamic shadow norm can in fact be bounded by a small constant independent of the sequence length.
Theorem 2
(Clifford UIRS unitary norm bound). For the n-qubit Clifford UIRS protocol, U a unitary channel, and A = PadUPad, it holds that
Theorem 2 is noteworthy for several reasons. First, it does not depend on the number of qubits n. Therefore, the estimation of kU(m) is efficient even on a quantum system consisting of many qubits. Second, the shadow-norm bound does not depend on the sequence length m, enabling relative accuracy estimation of the decay rate in certain regimes. We note that the constant 10 is probably sub-optimal. The derivation of this theorem can be found in Supplementary Note 6.
As the main consequence of Theorem 2 together with Eq. (10), we find that it is possible to sample-efficiently estimate exponentially many relative fidelities with respect to unitary channels to additive precision from the same gate-set shadows obtained by multi-qubit Clifford UIRS.
Next, we consider a general probe super-operator A restricted to the traceless subspace. Note that A does not need to be a quantum channel. In the following, we show that the dynamical shadow norm can be controlled in terms of the unitarity52 of A,
For instance, u(A) ≤ 1 if A is a quantum channel with equality if A is indeed unitary. We prove the following theorem.
Theorem 3
(Clifford UIRS general norm bound). Consider the n-qubit Clifford UIRS protocol and let A = PadAPad be a probe super-operator restricted to the traceless subspace. The dynamic shadow norm for m > 2 is upper bounded by
with r(A) = (1 + 24−n/3)u(A) and suitable constant C.
The proof of this theorem, given in Supplementary Note 6, is similar in spirit to Theorem 2, but significantly more involved. Choosing A to be unitary (u(A) = 1) does not recover Theorem 2, due to the appearance of the quadratic scaling in m. This term arises because we consider general probe super-operators A, giving rise to polynomial transient dynamics in the dynamic shadow norm (due to the non-normality of the underlying operators [ref. 53, Chapter 6]). For many sensible choices of A, the polynomial scaling in m does not appear as is evidenced by theorem 2. Also, the bound does not quite scale with the unitarity u(A), but rather with the parameter r(A) which differs from u(A) by an exponentially small factor. We believe this to be an artifact of the proof technique.
This theorem leads us to the remarkable conclusion that the multi-qubit Clifford UIRS protocol allows us to estimate overlaps p(AΛ) for a very large class of super-operators. In particular, A can be any trace non-increasing map, allowing us, e.g., to characterize the overlap between the noise channel Λ and sets of Kraus operators, making the Clifford UIRS protocol an all-purpose tool for noise map exploration.
Example: local Clifford UIRS
A particularly scalable and interesting protocol arises when performing a UIRS protocol with the local Clifford group \({{\mathbb{C}}}_{1}^{\times n}\) over n qubits. In this case, the experiment consists of performing sequences of i.i.d. random single-qubit gates simultaneously on all qubits, initially prepared in \(\left|0\right\rangle \left\langle 0\right|\) ending with a computational basis measurement.
For \({{\mathbb{C}}}_{1}^{\times n}\) the conjugate representation \(\omega (g)={U}_{g}\cdot {U}_{g}^{{{{\dagger}}} }\) with \({U}_{g}={U}_{({g}_{1},\ldots,{g}_{n})}={U}_{{g}_{1}}\otimes \ldots \otimes {U}_{{g}_{n}}\) decomposes into 2n irreducible, mutually inequivalent representations σw with w ∈ {0, 1}n that have support on the normalized non-identity Pauli operators on all qubits i for which wi = 1. We denote the projectors onto these irreducible sub-representations as Pw (see Supplementary Note 2 for more details).
Signal model
We consider sequence correlation functions with probe operator A that only have support on a single irreducible representation σw(g) and set α = 2n3∣w∣. Then, the mean \({k}_{{f}_{A}}(m)\) again describes a single exponential decay Eq. (7) with
We will refer to this quantity as a local fidelity w.r.t. A. The local fidelity is again somewhat familiar. The special case \({p}_{w,{\mathbb{I}}}\) has been called the ‘addressability’ in ref. 28, where it was used to gain information about the strength of correlated errors. Using gate-set shadows of simultaneously applied local gate sequences, we can collect even more information about correlated errors, giving rise to an efficient cross-talk tomography protocol introduced in the section “Application: Cross-talk tomography”. We can again equip the UIRS protocol with sampling complexity guarantees by bounding the shadow norm.
Dynamic shadow norm
We derive a bound on the dynamic shadow norm of the local Clifford group that depends exponentially on the Hamming weight ∣w∣ of the bit-string w labeling the representation being addressed but is independent of the total number of qubits in the system.
Theorem 4
(Local Clifford UIRS norm bound). For the local Clifford UIRS protocol on n qubits, w ∈ {0, 1}n, and A = PwAPw a probe operator, it holds that
The proof is given in Supplementary Note 5. Note that the term inside the square bracket in Eq. (16) can be considered as a variant of the unitarity restricted to the image of Pw. In particular, if A = PwUPw for any unitary channel U we have \({3}^{-|w|}{{{{{{{\rm{Tr}}}}}}}}(A{A}^{{{{\dagger}}} })=1\). Thus, for restrictions of unitary probe operators, the bound becomes independent of the sequence length and in consequence, the protocol is sample-efficient for bounded ∣w∣.
Example beyond UIRS: Pauli-noise estimation
Thus far we have focused on uniformly independently sampled random sequences (UIRS protocols). It is also fruitful to consider more general probability distributions on the set of sequences of a given length. We give an example of this by constructing a simple protocol that estimates the diagonal elements of an n-qubit channel Λ using only O(n2n) samples. This sampling complexity matches the asymptotic bound given for this task in ref. 19. Using gate-set shadows, however, gives a simpler experimental description and analysis. To this end, consider random sequences of the form \({{{{{\boldsymbol{g}}}}}}=({c}^{-1},\, {p}_{m},\, \ldots,\, {p}_{1},\, c)\) where p1, …, pm are chosen independently uniformly at random from the Pauli group \({{\mathbb{P}}}_{n}\) and c is chosen uniformly at random from the Clifford group \({{\mathbb{C}}}_{n}\). Note the inverse c−1 here at the end of the sequence. In a black-box fashion, we additionally intersperse the channel Λ in between executing the random Pauli elements in the experiment. The measurement is again a computational basis measurement and the initial state \(\rho=\left|0\right\rangle \left\langle 0\right|\). Choose τ to be a Hilbert–Schmidt normalized traceless Pauli operator. As the associated correlation function, we define
with \({A}_{\tau }: \!=\tau \, {{{{{{{\rm{Tr}}}}}}}}(\tau \,\cdot )\) and α = 2n(2n + 1). For convenience, we ignore the SPAM in deriving and stating the following results. Both of these assumptions can be easily relaxed. As we show in Supplementary Note 7, the corresponding sequence mean is the power of the diagonal matrix entry of Λ corresponding to τ, i.e.,
We further show that the variance of the associated estimator can be bounded as
for all choices of τ. Note that there are 4n−1 such choices, characterizing all diagonal elements of the quantum channel Λ. Hence, by using median-of-means estimators, we can estimate kτ(m) for all τ to uniform additive precision using O(n2n) samples (independently of m). By the analysis in ref. 49 for the estimation of single exponential decays and the fact that the decay rates Λτ,τ are strongly clustered (ref. 33, Lemma 4) leads to a relative precision estimation of the associated Pauli fidelities, matching the performance given in ref. 19.
Application: Learning unitary noise models
In the previous section, we have shown how to efficiently estimate the overlap of certain probe operators with the noise of a gate-set. This data, e.g., the average gate fidelity of the noise with a specific gate, is already of interest. The most intriguing feature, however, is that we can estimate many different probe operators from the same data. In this way, we can use estimates from gate-set shadows as a subroutine in a complex post-processing pipeline that extracts more information about the noise. This opens up the way to perform many different characterization tasks that arise in a full-scale engineering cycle of building a quantum computer from the same simple data. Importantly, the resulting protocols automatically inherit the SPAM robustness of the estimation protocol. We illustrate these possibilities with three concrete examples.
When characterizing noisy quantum gates one differentiates between coherent noise (due to imperfect specification of the gate) and incoherent noise (due to interactions with the environment). These two types of noise have different consequences, for e.g., error correction1,54 and are engineered away in different ways. At the same time, coherent errors can be corrected by experimental design and control if one has a concrete description. Given a model for a unitary channel θ ↦ U(θ), we can learn the model parameters θ approximating the noise channel Λ by maximizing F(U(θ), Λ). During the optimization, the objective function, its gradient, etc. can be estimated from the same classical gate-set shadow. For the multi-qubit Clifford UIRS, every estimation requires a polynomial-size shadow in the number of qubits and only a logarithmic overhead in the number of evaluations F(U(θ), Λ). A numerical simulation of a simple learning example is given in Fig. 2.
Panels a and b show simulation results of the multi-qubit Clifford UIRS protocol for two qubits and 1000 random sequences per sequence length. Between every Clifford gate \({{{{{{{\mathcal{C}}}}}}}}\), two independent Z-rotations RZ(θ) with rotation angles θ1 = 0.07 and θ2 = 0.13 have been applied (see circuit diagram c). Panel b shows average fidelities F(U(θ), Λ) reconstructed from the gate-set shadows using the ansatz U(θ1, θ2) = RZ(θ1) ⊗ RZ(θ2). Example decays of the sequence averages k(m) are shown in panel a with bootstrapped 95% confidence intervals around the decay points. Panels e–g display simulation results for cross-talk tomography from two-qubit local Clifford UIRS data with 15,000 random sequences per sequence length. After every layer of local Cliffords, an entangling cross-talk noise process \({{{{{{{{\mathcal{N}}}}}}}}}_{c}\) has been applied (see the circuit diagram (d). Panel e shows the Pauli transfer matrix (PTM) of the reconstructed pinched marginal S given in Supplementary Equation (107), for cross-talk of the form \({{{{{{{{\mathcal{N}}}}}}}}}_{c}=XX(\theta )\), with dashed boxes indicating the unital marginals Λ0,1, Λ1,0, and Λ1,1. Panels f and g show the PTMs of the difference between the unital marginal Λ1,1 and the tensor product Λ1,0 ⊗ Λ0,1 as a characterization of the cross-talk between the two qubits, for cross-talk \({{{{{{{{\mathcal{N}}}}}}}}}_{c}=XX(\theta=0.4)\) in f and \({{{{{{{{\mathcal{N}}}}}}}}}_{c}=ZZ(\theta=0.4)\) in (f). Simulations have been performed using Qiskit69 with single-qubit depolarizing noise of p1 = 0.002 for single-qubit gates and two-qubit depolarizing noise p2 = 0.01 for two-qubit gates (on top of the custom noise processes after each Clifford layer). For the PTM plots, modified functions from the Forest Benchmarking package70 have been used.
Application: Cross-talk tomography
A key source of error in today’s quantum computing devices is correlated noise or cross-talk. For this reason, a significant effort has gone into characterizing cross-talk errors specifically28,55,56. Using the flexibility of extracting manifold information from gate-set shadows in the post-processing, we here propose cross-talk tomography as an efficient, robust, and detailed cross-talk characterization procedure, based on the local Clifford UIRS protocol.
The protocol gains tomographic information about, what we call, the unital marginals Λw = PwΛPw, w ∈ {0, 1}n, of the noise channel Λ. (Here, Pw is again the projector onto the irreducible representations of the local Clifford group.) These unital marginals arise as restrictions of channel marginals \({{{\Lambda }}}_{\bar{A}}\), where one evaluates Λ on a maximally mixed input on a system A and traces out the resulting state on A57.
Now Λw can be reconstructed via simple linear inversion (see ref. 32, Lemma 37) from the local fidelities \({p}_{w,{{{{{{{\mathcal{C}}}}}}}}}({{\Lambda }})={3}^{-|w|}{{{{{{{\rm{Tr}}}}}}}}({{\Lambda }}{P}_{w}{{{{{{{\mathcal{C}}}}}}}}{P}_{w})\) with respect to the probe-operators given by the local Clifford channel \({{{{{{{\mathcal{C}}}}}}}}\) according to
where the sum is restricted to local Clifford channels with unitaries from the subgroup \({{\mathbb{C}}}_{w}\) of \({{\mathbb{C}}}_{n}\) acting non-trivially on only the qubits in the support of w. In fact, it is sufficient to consider all local Clifford channels \({{{{{{{\mathcal{C}}}}}}}}\) that act non-trivially on the support of the bit-string w. Not restricting the non-trivial support of \({{{{{{{\mathcal{C}}}}}}}}\), however, allows us to simultaneously reconstruct Λw for multiple values of w.
This constitutes the basis of cross-talk tomography for k-local interactions. Let Hk ⊂ {0, 1}n be the subset of bit strings with Hamming weight k. (i) Perform the UIRS experiment for the local Clifford group over n qubits. (ii) Estimate \({p}_{w}({{{{{{{\mathcal{C}}}}}}}})\) for all w ∈ Hk and for all \({{{{{{{\mathcal{C}}}}}}}}\) acting non-trivially on the support of w. (iii) Reconstruct all Λw for w ∈ Hk.
By comparing Λw for different bit strings, one obtains information about the correlations present in Λ. Building upon the guarantees for UIRS, we show that cross-talk tomography is ϵ-accurate in the diamond norm for all Λw using O(k2 29k/ϵ2) shadow samples (up-to log-factors). Thus, for small k, cross-talk tomography is highly scalable to large numbers of qubits. In light of Theorem 4, this efficiency stems from using local unitary probe operators. The derivation and even tighter guarantees are given in Supplementary Note 8.
As an illustration, we study the protocol with a 2-qubit example. We start by using the local Clifford UIRS protocol to reconstruct the 2-qubit unital marginals Λ1,0, Λ0,1 and Λ1,1. Next, we compute the tensor product Λ1,0 ⊗ Λ01. It is straightforward to see that if the channel Λ is a tensor product of single-qubit quantum channels featuring no correlations (i.e., there is no cross-talk) then Λ1,0 ⊗ Λ0,1 = Λ1,1. Hence, both the difference Λ1,0 ⊗ Λ0,1−Λ1,1 and the product \({{{\Lambda }}}_{1,1}{({{{\Lambda }}}_{1,0}\otimes {{{\Lambda }}}_{0,1})}^{-1}\) provide meaningful characterizations of cross-talk present between qubits 1 and 2. The difference measure can be considered as a generalization of the commonly used addressability metric proposed in ref. 28. But going beyond a mere metric, we expect that the channel marginals not only detect the presence of cross-talk but also provide more detailed diagnostic information. As a proof of principle, we have numerically simulated the above protocol to diagnose cross-talk in a two-qubit system. The results of a numerical simulation of the protocol are presented in Fig 2.
Application: SPAM-robust channel reconstruction
Kimmel et al.29 have proposed the idea to combine the output of O(24n) different interleaved RB experiments in order to get a robust tomographic estimate of an unital quantum channel Λ. By explicitly exploiting the low Kraus-rank, compressive RB tomography31,32 can reconstruct a unitary approximation to the quantum channel from (up-to-log-factors) O(22n) randomly selected different relative average-gate fidelities with respect to Clifford unitaries. The previous references, however, left the problem open of providing a SPAM-robust RB protocol that achieves the information-theoretically optimal sampling complexity of O(24n)32 for reconstructing a unitary channel.
We fill in this blank using the data from a multi-qubit Clifford UIRS protocol. Using a set of randomly selected Clifford unitaries as probe operators, we can provide the input data to the reconstruction algorithm of ref. 32. We show in Supplementary Note 9 that the number of gate-set shadows to guarantee an accurate reconstruction (in Hilbert-Schmidt norm of the Choi-states) indeed matches the lower bound of O(24n). Note that the number of channel invocations is bounded by the maximal sequence length times the number of sequences. Besides the favorable scaling, the UIRS protocol has a crucial advantage compared to, e.g., the interleaved protocol of ref. 29 that the same measurement data is used for estimating all the average fidelities.
Going beyond the compressive reconstruction of unitary quantum channels, we can use Clifford UIRS as a primitive for the robust reconstruction of arbitrary unital quantum channels in the spirit of ref. 29, see also ref. [32, Theorem 38] and ref. 58. The required size of the gate-set shadow is O(28n) for accurate reconstruction in any norm in which unitary channels are normalized.
Gate-dependent noise
The presentation so far assumed gate-independent noise. This assumption can be substantially relaxed, at the cost of introducing a more complex description of the noise. We will focus on the UIRS protocol, which is particularly robust against gate-dependent fluctuations. We give a fairly comprehensive argument but leave rigorous proof of the robustness to future work. Our argument follows that of the robustness against gate-dependent errors for RB14,34. For gate-dependent noise, the data form in expectation can be generally written as
where Ξ depends on the state and measurement and the operator \({{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]: \!\!={{\mathbb{E}}}_{g\in {\mathbb{G}}}\,\sigma (g)\otimes \phi (g)\) is known as the (non-commutative) Fourier transform of ϕ, evaluated at the irreducible representation σ; see the derivation of Theorem 7 in Supplementary Information.
A key fact about this Fourier transform (see, e.g., ref. 59 for proof) is that if ϕ is a representation ω (i.e., a perfectly implemented gate-set), then \({{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]\) is an orthogonal projector with rank equal to the number of copies of σ present in ω. For simplicity, let ω be multiplicity-free. Then, \({{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]\) is a rank-one projector. This implies that \((A\otimes {\mathbb{I}}){{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]\) is also a rank-one projector. When ϕ is a sufficiently ‘good’ implementation of ω, the difference between \({{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]\) and \({{{{{{{\mathcal{F}}}}}}}}(\omega )[\sigma ]\) is small (in some suitable norm) and can be regarded as a perturbation of \({{{{{{{\mathcal{F}}}}}}}}(\omega )[\sigma ]\). (See ref. 14 for a discussion of norms on this space.) Applying the perturbation theory of non-normal matrices, we conclude that \((A\otimes {\mathbb{I}}){{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]\) is as well approximately rank-one, and in particular that there exist super-operators ΛL, ΛR such that
where E is a matrix of the small norm and Pσ is the projector onto σ (in the image of ω). This means that the decay rate kA(m) has the general functional form
where B1, B2 are real numbers encoding SPAM, δ(E) is small, and p(A), the dominant eigenvalue of \((A\otimes {\mathbb{I}}){{{{{{{\mathcal{F}}}}}}}}(\phi )[\sigma ]\), is given by
Up to a small and exponentially decreasing error, we thus recover the functional form of Eq. (5) also in the presence of gate-dependent noise. It is important to note, however, that in this general case, ΛL and ΛR (and their product) need not be CPTP. This complicates the interpretation of p(A) as describing an aspect of a physical noise process.
Discussion
It has long been known that classical randomness can facilitate the construction of informative characterization protocols for quantum devices. Randomized benchmarking9,10,11,12,13,14 and classical shadow estimation16,17 are examples of this mindset. In our work, we follow this paradigm even more stringently for diagnosing noise in gate-set implementations. Instead of engineering sophisticated and specific experimental protocols for a specific task, we turn the approach upside down: we focus on the ‘simplest’ randomized protocol that can be implemented with current and near-term quantum architectures: Random gate sequences followed by native measurements. Accepting this restriction, we then ask how detailed diagnostic information can be extracted from the resulting data and most importantly how many samples are required.
It turns out that the resulting prescription—a single experiment that can and has been implemented experimentally already—allows for solving many benchmarking, certification, and identification problems with (near-)optimal efficiency. All the technicalities that come along with different tasks are shifted to the classical post-processing phase. Most importantly, multiple diagnostic tasks can be performed from the same measurements, allowing us to base an entire engineering cycle on a single experiment.
The ideas advocated here constitute the beginning rather than the conclusion of a program. We regard our theoretical results as a strong motivation to experimentally realize and make use of concrete applications, such as robust learning of unitary noise and cross-talk tomography. In addition, several further extensions seem exciting. A logical first extension of our work is UIRS with other groups and non-uniform measures over said groups. As with state shadow tomography and randomized benchmarking, we believe the UIRS protocol can be furnished with rigorous guarantees for several other useful gate sets such as the matchgates60,61, the Heisenberg-Weyl group, the CNOT-dihedral group, and even gate sets that do not constitute a group62,63.
We also illustrated the potential of using correlated sequences where the gates are not drawn independently. We believe that using simple correlated sequences gives a fruitful perspective on long-standing problems such as the characterization of non-Markovian and time-varying noise processes in an experimentally friendly and scalable way. Furthermore, while not demonstrated here, akin to their state analog, gate-set shadows can also be used for estimating non-linear quantities.
While the bulk of this work discusses diagnostic tools for developing near-term quantum computing devices, random sequence protocols apply beyond that. We expect that gate-set shadows will for instance find application as a primitive in quantum machine learning64, in particular in dynamic settings such as time-series estimation. Also in this context, the possibility to ‘measure first and ask later’ increases the flexibility in devising hybrid quantum-classical schemes with experimentally feasible quantum computations.
Code availability
The code used to simulate the protocol and create the plots in Fig. 2 is available upon request.
References
Campbell, E. T., Terhal, B. M. & Vuillot, C. Roads towards fault-tolerant universal quantum computation. Nature 549, 172 (2017).
Barends, R. et al. Superconducting quantum circuits at the surface code threshold for fault tolerance. Nature 508, 500 (2014).
Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505 (2019).
Barak, B., Chou, C.-N. & Gao, X. Spoofing linear cross-entropy benchmarking in shallow quantum circuits. arXiv:2005.02421 (2020).
Hangleiter, D. & Eisert, J. Computational advantage of quantum random sampling. Rev. Mod. Phys. 95, 035001 (2023).
Eisert, J. et al. Quantum certification and benchmarking. Nat. Rev. Phys. 2, 382 (2020).
Kliesch, M. & Roth, I. Theory of quantum system certification. PRX Quantum 2, 010201 (2021).
Elben, A. et al. The randomized measurement toolbox. Nat. Rev. Phys. 5, 9 (2023).
Knill, E. et al. Randomized benchmarking of quantum gates. Phys. Rev. A 77, 012307 (2008).
Dankert, C., Cleve, R., Emerson, J. & Livine, E. Exact and approximate unitary 2-designs and their application to fidelity estimation. Phys. Rev. A 80, 012304 (2009).
Emerson, J., Alicki, R. & Zyczkowski, K. Scalable noise estimation with random unitary operators. J. Opt. B 7, S347 (2005).
Lévi, B., López, C. C., Emerson, J. & Cory, D. G. Efficient error characterization in quantum information processing. Phys. Rev. A 75, 022314 (2007).
Magesan, E., Gambetta, J. M. & Emerson, J. Characterizing quantum gates via randomized benchmarking. Phys. Rev. Lett. 85, 042311 (2012).
Helsen, J., Roth, I., Onorati, E., Werner, A. H. & Eisert, J. General framework for randomized benchmarking. PRX Quantum, 3, 020357 (2022).
Flammia, S. T. Averaged circuit eigenvalue sampling. arXiv:2108.05803 (2021).
Huang, H.-Y., Kueng, R. & Preskill, J. Predicting many properties of a quantum system from very few measurements. Nat. Phys. 16, 1050 (2020).
Paini, M. & Kalev, A. An approximate description of quantum states. arXiv:1910.10543 (2019).
Flammia, S. T. & Liu, Y.-K. Direct fidelity estimation from few Pauli measurements. Phys. Rev. Lett. 106, 230501 (2011).
Flammia, S. T. & Wallman, J. J. Efficient estimation of Pauli channels. ACM Trans. Quantum Comput. 1, 1 (2020).
Merkel, S. T. et al. Self-consistent quantum process tomography. Phys. Rev. A 87, 062119 (2013).
Blume-Kohout, R. et al. Robust, self-consistent, closed-form tomography of quantum logic gates on a trapped ion qubit. arXiv:1310.4492 (2013).
Blume-Kohout, R. et al. Demonstration of qubit operations below a rigorous fault tolerance threshold with gate set tomography. Nat. Commun. 8, 14485 (2017).
Greenbaum, D. Introduction to quantum gate set tomography. arXiv:1509.02921 (2015).
Nielsen, E. et al. Probing quantum processor performance with pyGSTi. Quantum Sci. Technol. 5, 044002 (2020).
Nielsen, E. et al. Gate set tomography. Quantum, 5, 557 (2021).
Gu, Y., Mishra, R., Englert, B.-G. & Ng, H. K. Randomized linear gate-set tomography. PRX Quantum 2, 030328 (2021).
Brieger, R., Roth, I. & Kliesch, M. Compressive gate set tomography. PRX Quantum 4, 010325 (2023).
Gambetta, J. M. et al. Characterization of addressability by simultaneous randomized benchmarking. Phys. Rev. Lett. 109, 240504 (2012).
Kimmel, S., da Silva, M. P., Ryan, C. A., Johnson, B. R. & Ohki, T. Robust extraction of tomographic information via randomized benchmarking. Phys. Rev. X 4, 011050 (2014).
Magesan, E. et al. Efficient measurement of quantum gate error by interleaved randomized benchmarking. Phys. Rev. Lett. 109, 080505 (2012).
Kimmel, S. & Liu, Y. K. Phase retrieval using unitary 2-designs. In 2017 International Conference on Sampling Theory and Applications (SampTA) pp. 345–349 (IEEE, 2017).
Roth, I. et al. Recovering quantum gates from few average gate fidelities. Phys. Rev. Lett. 121, 170502 (2018).
Helsen, J., Wallman, J. J., Flammia, S. T. & Wehner, S. Multiqubit randomized benchmarking using few samples. Phys. Rev. A 100, 032304 (2019).
Wallman, J. J. Randomized benchmarking with gate-dependent noise. Quantum 2, 47 (2018).
Proctor, T., Rudinger, K., Young, K., Sarovar, M. & Blume-Kohout, R. What randomized benchmarking actually measures. Phys. Rev. Lett. 119, 130502 (2017).
Fong, B. H. & Merkel, S. T. Randomized benchmarking, correlated noise, and Ising models. arXiv:1703.09747 (2017).
Wallman, J. J. & Flammia, S. T. Randomized benchmarking with confidence. New. J. Phys. 16, 103032 (2014).
Figueroa-Romero, P., Modi, K. & Hsieh, M. H. Towards a general framework of Randomized Benchmarking incorporating non-Markovian Noise. Quantum 6, 868 (2022).
Fulton, W. & Harris, J. Representation Theory: a First Course Vol. 129 (Springer Science & Business Media, 2013).
Devroye, L., Lerasle, M., Lugosi, G. & Oliveira, R. I. Sub-Gaussian mean estimators. Ann. Statist. 44, 2695–2725 (2016).
Nemirowski, A. S. & Yudin, D. B. Problem Complexity and Method Efficiency in Optimization (John Wiley and Sons, 1983).
Lugosi, G. & Mendelson, S. Mean estimation and regression under heavy-tailed distributions: a survey. Found. Comput. Math. 19, 1145 (2019).
Zhu, H. Multiqubit Clifford groups are unitary 3-designs. Phys. Rev. A 96, 062336 (2017).
Bhatia, R., Matrix Analysis Vol. 169 (Springer Science & Business Media, 2013).
Morris, J. & Dakić, B. Selective quantum state tomography. arXiv:1909.05880 (2019).
Roy, R. & Kailath, T. Esprit-estimation of signal parameters via rotational invariance techniques. IEEE Trans. Acoust. Speech Signal Process. 37, 984 (1989).
Schmidt, R. Multiple emitter location and signal parameter estimation. IEEE Trans. Antennas Propag. 34, 276 (1986).
Virtanen, P. et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods 17, 261 (2020).
Harper, R., Hincks, I., Ferrie, C., Flammia, S. T. & Wallman, J. J. Statistical analysis of randomized benchmarking. Phys. Rev. A 99, 052350 (2019).
Gottesman, D. An introduction to quantum error correction and fault-tolerant quantum computation. In Quantum information science and its contributions to mathematics, Proceedings of Symposia in Applied Mathematics (Vol. 68, pp. 13–58) (2010).
Gross, D., Audenaert, K. M. R. & Eisert, J. Evenly distributed unitaries: on the structure of unitary designs. J. Math. Phys. 48, 052104 (2007).
Wallman, J., Granade, C., Harper, R. & Flammia, S. T. Estimating the coherence of noise. New J. Phys. 17, 113020 (2015).
Wolf, M. M. Quantum Channels & Operations: Guided Tour. Lecture Notes Vol. 5 http://www-m5.ma.tum.de/foswiki/pubM (2012).
Huang, E., Doherty, A. C. & Flammia, S. Performance of quantum error correction with coherent errors. Phys. Rev. A 99, 022313 (2019).
Rudinger, K. et al. Experimental characterization of crosstalk errors with simultaneous gate set tomography. PRX Quantum 2, 040338 (2021).
Maciejewski, F. B., Baccari, F., Zimborás, Z. & Oszmaniec, M. Modeling and mitigation of cross-talk effects in readout noise with applications to the quantum approximate optimization algorithm. Quantum 5, 464 (2021).
Hsieh, C.-Y., Lostaglio, M. & Acin, A. Quantum channel marginal problem. Phys. Rev. Res. 4, 013249 (2022).
Scott, A. J. Optimizing quantum process tomography with unitary 2-designs. J. Phys. A 41, 055308 (2008).
Merkel, S. T., Pritchett, E. J. & Fong, B. H. Randomized benchmarking as convolution: Fourier analysis of gate dependent errors. Quantum 5, 581 (2021).
Helsen, J., Nezami, S., Reagor, M. & Walter, M. Matchgate benchmarking: scalable benchmarking of a continuous family of many-qubit gates. Quantum 6, 657 (2022).
Zhao, A., Rubin, N. C. & Miyake, A. Fermionic partial tomography via classical shadows. Phys. Rev. Lett. 127, 110504 (2021).
Proctor, T. J. et al. Direct randomized benchmarking for multiqubit devices. Phys. Rev. Lett. 123, 030503 (2019).
Liu, Y., Otten, M., Bassirianjahromi, R., Jiang, L., and Fefferman, B., Benchmarking near-term quantum computers via random circuit sampling. arXiv:2105.05232 (2021).
Huang, H.-Y., Kueng, R., Torlai, G., Albert, V. V. & Preskill, J. Provably efficient machine learning for quantum many-body problems. Science 377, 6613 (2022).
Kunjummen, J., Tran, M. C., Carney, D. & Taylor, J. M. Shadow process tomography of quantum channels. Physical Review A, 107, 042403 (2023).
Levy, R., Luo, D. & Clark, B. K. Classical shadows for quantum process tomography on near-term quantum computers. arXiv:2110.02965 (2021).
Chen, S., Yu, W., Zeng, P. & Flammia, S. T. Robust shadow estimation. PRX Quantum 2, 030348 (2021).
Helsen, J. et al. Numerical simulations for "Shadow estimation of gate-set properties from random sequences". figshare. Collection. https://doi.org/10.6084/m9.figshare.c.6642551.v2 (2023).
Anis, M. D. S. et al. Qiskit: an open-source framework for quantum computing https://doi.org/10.5281/zenodo.2573505 (2021).
Gulshen, K. et al. Forest Benchmarking: QCVV using PyQuil https://doi.org/10.5281/zenodo.3455847 (2019).
Acknowledgements
During the final stages of drafting this manuscript, we became aware of refs. 65,66 which generalizes state shadow estimation to quantum processes using the Choi–Jamiolkowski isomorphism, but without considering self-consistent sequences of gate-sets (see also remarks in ref. 67 in this context). The authors would like to thank Thomas Monz, Martin Kliesch, and Richard Kueng for their discussions. J.H. is supported by the Quantum Software Consortium Zwaartekracht grant. The Berlin team has been funded by the BMBF (DAQC, MUNIQC-ATOMS), and the Munich Quarntum Valley (K-8). Funded also by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) (EI 519 20-1, CRC 183, Daedalus, as well as under Germany’s Excellence Strategy—The Berlin Mathematics Research Center MATH+, EXC-2046/1, project ID: 390685689). It has also received funding from the EU’s Horizon 2020 research and innovation program (PASQuanS, PASQuanS2, Millenion). E.O. is supported by the Royal Society, the UK Hub in Quantum Computing and Simulation, part of the UK National Quantum Technologies Program with funding from UKRI EPSRC (grant EP/T001062/1) and by the Bavarian state government with funds from the Hightech Agenda Bayern Plus as part of the Munich Quantum Valley. A.H.W. thanks the VILLUM FONDEN for its support with a Villum Young Investigator Grant (Grant No. 25452) and its support via the QMATH Centre of Excellence (Grant No. 10059).
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Contributions
I.R. and J.H. conceived the initial idea for the project, with substantial contributions from E.O., A.H.W., and J.E. All authors contributed to devising the overall scheme, finding and exploring applications, and conceptualizing the results. J.H. has taken the lead in proving performance bounds and writing an initial draft together with I.R. M.I. proved the performance bounds for the local Clifford group, J.K. has performed the numerical analysis. All authors contributed substantially to the final manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks Benoit Vermersch and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Helsen, J., Ioannou, M., Kitzinger, J. et al. Shadow estimation of gate-set properties from random sequences. Nat Commun 14, 5039 (2023). https://doi.org/10.1038/s41467-023-39382-9
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467-023-39382-9
- Springer Nature Limited
This article is cited by
-
Classical shadows with Pauli-invariant unitary ensembles
npj Quantum Information (2024)
-
A hybrid framework for estimating nonlinear functions of quantum states
npj Quantum Information (2024)