Abstract
Quantum process tomography has become increasingly critical as the need grows for robust verification and validation of candidate quantum processors, since it plays a key role in both performance assessment and debugging. However, as these processors grow in size, standard process tomography becomes an almost impossible task. Here, we present an approach for efficient quantum process tomography that uses a physically motivated ansatz for an unknown quantum process. Our ansatz bootstraps to an effective description for an unknown process on a multi-qubit processor from pairwise two-qubit tomographic data. Further, our approach can inherit insensitivity to system preparation and measurement error from the two-qubit tomography scheme. We benchmark our approach using numerical simulation of noisy three-qubit gates, and show that it produces highly accurate characterizations of quantum processes. Further, we demonstrate our approach experimentally on a superconducting quantum processor, building three-qubit gate reconstructions from two-qubit tomographic data.
Subject terms: Quantum information, Qubits
Quantum process tomography represents one of the workhorses of quantum information processing, but suffers from exponential resource scaling. Here, the authors propose to efficiently infer general processes by approximating them through a sequence of two-qubit processes, and demonstrate it on a three-qubit case.
Introduction
Recent years have seen remarkable progress in quantum information processing, with rapid advancement towards high-fidelity multi-qubit systems1–3, some of which are now publicly available4,5. This has enabled significant achievements in many aspects of quantum computation, such as first demonstrations of the building blocks for error correction and fault-tolerance, e.g., refs. 6–12. Concurrently, demonstrations of noisy-intermediate-scale quantum algorithms13 that do not require full fault-tolerance, e.g., refs. 14–18, make real world applications of quantum information processing a near-term possibility.
In light of these achievements, the need for robust, accurate and efficient validation, and verification of quantum processors becomes ever more pressing. This is the natural domain of quantum state tomography (QST) and quantum process tomography (QPT). Respectively, QST and QPT seek to characterize the state of a quantum processor or the dynamical map of its evolution19. Unfortunately, naive implementations of both QST and QPT require an experimental effort that scales exponentially with the number of qubits. For practical purposes, this scaling has limited full QST and QPT to small system sizes, e.g., refs. 20,21, though this can be improved using approximate characterizations22,23, or in situations with large amounts of symmetry24,25.
Further compounding QPT, the most error-prone operations are often system preparation and measurement (SPAM), which can overwhelm the intrinsic error in high-fidelity quantum processes and hinder their characterization. Several SPAM-insensitive metrics exist, such as the widely successful randomized benchmarking26–29 and its variants30–36, as well as gate set tomography (GST)37–39. Randomized benchmarking has the additional benefit of overcoming the exponential scaling of standard QPT, but at the cost of returning only a single number characterizing the quantum process.
In this work, we present an approach to efficient QPT that reduces the exponential scaling to quadratic scaling, while still returning a full process matrix describing the quantum process. We propose the Pairwise Perturbative Ansatz (PAPA), which describes the unknown quantum process as sequential two-qubit processes on all qubit pairs. We show how to fit the free parameters of our ansatz to data obtained from QPT of two-qubit subsets of the full system. When this data is provided by SPAM-insensitive tomography, such as GST, our approach becomes SPAM-insensitive as well as efficient.
Results
Ansatz for process tomography
A generic N-qubit quantum process, which we label as , has 16N−4N free parameters, and determining this exponentially scaling number of free parameters is what makes naive QPT an exponentially hard problem. We propose to restrict the unknown process a priori by assuming an ansatz for its form, which in turn restricts the number of free parameters in the unknown process, allowing for efficient QPT.
Process tomography can be rephrased as state tomography of the Choi dual-state (via the Choi-Jamiołkowski isomorphism), which is the state formed when the unknown process acts on one half of a maximally entangled state in a Hilbert space of dimension 22N, given by
1 |
where is an orthonormal basis for N-qubit Hilbert space.
Thus, one can use efficient state tomography methods for process tomography, such as compressed sensing22,40,41 and matrix-product-state (MPS) parameterizations23,42–44. Unfortunately, the matrix completion algorithms that underlie these approaches can themselves be inefficient in run-time. This issue can be circumvented using constrained approaches, as in refs. 23,43, which restrict to pure state descriptions of the unknown quantum state.
Both compressed sensing and MPS parameterizations implicitly assume an ansatz for the unknown quantum process, that it is either low rank, or has a matrix product structure (and thus short-range correlations), respectively. Our pairwise perturbative ansatz assumes a different physical constraint on the unknown process: that it is intrinsically built from two-qubit processes on all pairs of qubits. Like the MPS approach, this implies that few-body QPT is sufficient to find a PAPA characterization of the unknown process. Unlike an MPS, PAPA has no locality constraint on correlations, and allows for long-range correlations. Further, we will see that the PAPA constraint is physically motivated, unlike the low rank restriction of compressed sensing.
Pairwise perturbative ansatz
We will assume an ansatz where the unknown N-qubit process is written as a composition of two-qubit processes, consisting of quantum processes for each qubit pair in the system. This is most easily expressed in terms of the super-operator matrix representation of the quantum process , as the series composition becomes a product of matrices. This has the general form
2 |
where is an arbitrary two-qubit process on qubits k and (n + k) with no restrictions.
The product runs over all pairs of qubits, of which there are (N2 − N)∕2. Each of the unknown two-qubit processes can be written as
3 |
where is a complete basis for single-qubit processes and is the identity process. is an element of the χ-matrix describing the two-qubit process, and the summation variables ik,n and jk,n are subscripted to emphasize that they correspond to a particular qubit pair.
There are many possible ansatze for an unknown quantum process22,23,40–44, but the form we have chosen is particularly well motivated physically. As it is the composition of two-qubit processes in sequence, it captures the natural two-body quantum operations that occur in a gate-based quantum computation. It can completely specify any ideal gate operation (single-layer quantum circuit built from one and two-qubit gates), and will contain both single-qubit errors and correlated two-qubit errors as independent free parameters. It also describes processes that involve more than two qubits, but as combinations of two-qubit processes performed in sequence. Thus, it describes general processes in a perturbative fashion, built from one- and two-qubit processes.
While each arbitrary two-qubit process described by Eq. (3) is parameterized in terms of a basis with 162 elements, its χ-matrix has only 162 − 42 = 240 free parameters. There are two-qubit subsets, and so the total number of free parameters in our ansatz is 120(N2 − N). As this scales quadratically with qubit number, PAPA is an efficient approach to QPT. The order of the pairwise processes in PAPA can be chosen arbitrarily, but the best results will be found using the order of two-qubit gates in the shallow-depth circuit being characterized.
QPT with PAPA consists of determining the χ-matrix for each two-qubit process in the product in Eq. (2). Inspired by the local tomography in refs. 23,43, we use the tomographic characterization of two-qubit processes on all pairs of qubits to determine these free parameters. In essence, from characterization of two-body processes, we bootstrap to a multi-qubit process of PAPA form.
To compare the PAPA ansatz to two-qubit tomographic data, we must determine a notion of a two-qubit reduction of a process . This is most easily done in terms of the Choi state . For the two-qubit subset this takes the form
4 |
where by we mean the partial trace of all qubits other than those in the set , and it is important to note that the partial trace is applied to both “parts” of the Choi state. Using the orthogonality of the N-qubit basis, we see that
5 |
where the indices () are the subset of indices in μ that correspond to the qubits inside (outside) of the subset . Thus, the reduced Choi state of the unknown process can be written as
6 |
where is the identity matrix of dimension 2N−2.
To determine the free parameters in the PAPA ansatz, for each pair of qubits we compare , the two-qubit reduced Choi states described by Eq. (6) with PAPA free parameters, to the corresponding experimentally characterized two-qubit Choi state, which we label . This experimentally characterized state is the result of two-qubit QPT performed on the qubit pair for the application of the global unknown process , as depicted in Fig. 1a). We equate this to our reduced Choi state for the unknown process, , to determine the free parameters in the PAPA. In other words, we simultaneously solve the equations
7 |
for every pair of qubits.
To do this, we perform a non-linear least-squares minimization of the cost function
8 |
as a function of the free parameters of PAPA, i.e., the χ-matrix elements of Eq. (3). This is the element-wise difference between the experimentally characterized two-qubit Choi state , and the PAPA reconstruction two-qubit reduced Choi state , summed over all qubit pairs. Calculation of becomes inefficient at large N for Schrödinger-style evaluation of Eq. (4). In future work, we hope to improve performance via parallelization of this calculation using Feynman path integral approaches45,46. Further details and pseudocode can be found in Supplementary Notes 2 and 6.
The total experimental requirement for PAPA is two-qubit QPT on the (N2 − N) ∕2 pairs of qubits. Each of the pairwise characterized two-qubit processes is described by 162 − 42 = 240 complex numbers, which gives a total of 120(N2 − N) total complex numbers describing the characterization of all qubit pairs. Thus, we have exactly as many constraints (coming from experimental characterization) as there are free parameters in PAPA. This further motivates our choice of ansatz, as we have made use of all available data from two-qubit characterizations of the unknown multi-qubit process.
Note that each depends on the χ-matrix elements for all qubit pairs, i.e., those in all , not just the qubit pair of the subset . Thus, each two-qubit process characterization constrains the global process, not just the component of the ansatz on the qubits in .
PAPA and gate set tomography
The PAPA tomography approach described so far works well to obtain a bootstrapped description of an N-qubit process from characterization of the effective processes on all qubit pairs. However, often the problem at hand is not to characterize a completely unknown process, but to determine the actual process, , that occurs when we aim to implement a unitary gate, , (from here on we use calligraphic text for processes and latin text for unitary gates).
Extending this to an entire gate set via gate set tomography (GST), we obtain a set of processes corresponding to the experimental implementation of an ideal gate set . GST has the further benefit of excluding state-preparation and measurement (SPAM) errors from the processes 38. Note that for clarity we will use "gate set” to refer to the processes , and “ideal gate set” to refer to the unitary gates .
Combining PAPA with GST, we can perform GST on all qubit pairs to obtain a characterized gate set for each pair, and then use PAPA to bootstrap to descriptions of N-qubit processes. To see why this is useful, consider the three-qubit gate . Given characterized gate sets with the relevant two-qubit gates, one way to describe the three-qubit process would be
9 |
where is the experimental process when we try to implement the gate . However, there is ambiguity in the correct decomposition of the three-qubit gate, and would be an equally valid description of the process. An issue arises as it is unlikely that the constructed three-qubit processes from all possible two-qubit decompositions will agree with one another.
Using PAPA avoids this issue, as it finds the three-qubit process of PAPA form that best agrees with the pairwise characterized processes, i.e., with , , and . As such it captures context dependence between gate operations, such as when the effect on qubit 1 is different for the processes and . As an added benefit, one never has to implement the full N-qubit process, as one does when using PAPA without GST (as described in the previous section). Instead, from the characterized gate sets on all qubit pairs, we can bootstrap to PAPA characterizations of the processes in an N-qubit gate set (as represented in Fig. 1b).
While PAPA can return a characterization of any N-qubit gate, when we restrict the pairwise two-qubit QPT to GST, the PAPA+GST combination can only characterize a limited set of N-qubit gates. Which N-qubit gates can be characterized with PAPA+GST is gate set dependent, and detailed further in Supplementary Note 3. The general requirement is that each two-qubit reduced process of the ideal N-qubit gate must be an incoherent mixture of two-qubit gates built from the ideal gate set. For example, if the ideal gate is a controlled-not gate on qubit pair 1-2, , then the ideal gates and need to be in the characterized gate set for qubit pair 1–3.
Decomposing an N-qubit gate this way implicitly assumes the errors that make the implemented process distinct from the ideal gate are not strongly specific to the implementation of . This is easily satisfied if the errors are gate-independent, but some kinds of gate-dependent error are tolerable, such as context dependence in simultaneous single-qubit gates. For the gate considered previously, an example of a tolerable gate-dependent error would be a coherent error that occurs on qubit 1 both for an actual -gate or an effective -gate (as occurs in the reduced process on qubit pair 13 for the CNOT12 gate).
It is important to emphasize that neither of these issues are limitations of PAPA, which can characterize any N-qubit process using pairwise two-qubit QPT, but of the two-qubit characterizations supplied to PAPA by GST. Nevertheless, there are many situations where PAPA+GST may be applicable, i.e., the ideal-gate decomposition is possible and the errors can be assumed to be captured by PAPA+GST. In the following sections we explore such a situation in both experiment and theory. For situations where PAPA+GST is not possible, PAPA can inherit SPAM-insensitivity from other SPAM-insensitive process tomography such as that using randomized benchmarking47–49.
A further subtlety of using PAPA with GST is the intrinsic gauge freedom38 in GST-derived gate sets. This gauge freedom arises from characterizing the gates, preparation, and measurements simultaneously, and results in a continuous family of gate sets that are consistent with experimental data (see Methods for more details). This becomes an issue in PAPA when the pairwise gate sets are not in the “same” gauge. For instance, the same gate on one qubit may have different descriptions in different pairwise gate sets, with the descriptions related by a gauge transformation.
Many relevant quantities derived from the process matrix description of gates (such as the trace distance used later) are gauge variant. To minimize the error introduced by gauge freedom, GST can perform a gauge optimization of the characterized gate set to the target (ideal) gate set. We find that this is sufficient to ensure that the pairwise gate sets used for PAPA are approximately gauge consistent. Our attempts to further improve the results by additional gauge optimization are detailed in the Methods and Supplementary Note 4.
Experimental reconstructions
We demonstrate the PAPA+GST approach experimentally using an IBM five-qubit device similar to that of ref. 9. For this demonstration, we focus on a three-qubit subset of the chip with the goal of reconstructing three-body operations. Device parameters, and coherence times can be found in Supplementary Note 1. To begin, as described in the Methods, two-qubit GST is performed on all three pairs of qubits in the subset, as is depicted in Fig. 1b). We choose the gate set composed of simultaneous 90∘ rotations around the X and Y axes, with the idle gate on both qubits (all 80 ns long). This set is chosen to allow the bootstrapping of non-trivial three-body operations and to avoid the issues discussed in the previous section. We use the GST software package pyGSTi50 and its std2Q_XXYYII gate set to build experimental gate strings, and to numerically reconstruct the two-qubit gate set characterizations.
Figure 2 shows the Nσ standard deviations from GST’s implicit qubit model as a function of germ power L for the three data sets (solid lines). The goodness-of-fit parameter on the right axes is supplied by pyGSTi as a rough gauge for how well the model captures the dynamics in the data. It is clear from the figure there are significant deviations at higher germ powers. We attribute this to a combination of drift in system parameters, and leakage into higher excited states.
The final output of the GST algorithm yields three distinct gauge-optimized gate set characterizations, which are used by PAPA to reconstruct the larger three-qubit processes. Each of the 27 three-qubit gates in the gate set are reconstructed using a Julia51 implementation of the PAPA algorithm. Details of the non-linear least-squares bootstrapping can be found in Supplementary Note 6.
The main experimental result is plotted in Fig. 3. For each three-qubit gate in the reconstructed gate set , we compare the GST characterizations of the effective two-qubit gates on each pair of qubits (), to either the ideal reduced two-qubit gate, or the reduced two-qubit process obtained from the PAPA three-qubit reconstruction (). We quantify the distance between processes using the trace distance
10 |
and the average of the three trace distances (one for each reduced two-qubit process) is what is plotted in Fig. 3.
In all cases, PAPA produces an estimate of the process closer to the experimental data (GST characterizations) than the ideal gate. Thus, from two-qubit tomography our PAPA+GST bootstrapping technique has produced a characterization of the three-qubit gate set that is both consistent with the tomography data (small trace distance in Fig. 3), and consistent across pairs of qubits (by nature of the ansatz).
As another comparison to experimental data, we use the model violation metrics from pyGSTi to directly compare how well reduced two-qubit gate sets obtained from the PAPA reconstructed three-qubit gates fit the experimental data. We create a PAPA reduced two-qubit gate set by tracing out the third qubit when the intended gate was identity. As shown in Fig. 2, while the PAPA reconstructions (dashed-lines) have increased model violation, the increase is not extreme.
One may ask if PAPA is producing a characterization that could be explained with a simple model, such as single-qubit decoherence. However, a search over all possible values of T1 and T2 found no values that would make the data consistent with a simple decoherence model, and in fact such models did worse than the ideal gate.
Simulation tests of the ansatz
We test the PAPA approach in simulation by examining coherent error in a cross-resonance (CR) implementation of a CNOT gate52–54, with the ideal gate taking the form . Referred to as a CR-CNOT, this ideal gate consists of the ideal CR-gate followed by single-qubit gates. We consider noisy implementations where the CR-gate has coherent error due to unwanted coherent interactions (see Methods).
The error model we consider for CR-CNOT is strongly gate-dependent, since it is intrinsic to the CR interaction itself. However, the reduced two-qubit gate decomposition of the CNOT (see Supplementary Note 3) used in PAPA+GST contains gates that do not involve the CR interaction. These gates will be insensitive to the CR error, and as a result PAPA+GST is not applicable in this situation. Instead we apply standard PAPA, and simulate QPT on the effective process for each pair of qubits during the implemented CR-CNOT. For this we assume no SPAM error, and in practice similar results can be achieved by applying other SPAM-insensitive process tomography approaches to the CR-CNOT47–49.
We compare the PAPA reconstruction for a noisy CR-CNOT to the actual simulated noisy CR-CNOT by calculating the trace distance between the Choi state of the three-qubit PAPA reconstruction, , and that of the actual process, . The results of our simulations and reconstructions (both done in MATLAB55) are shown in Fig. 4. As can be seen, for all values of the coherent error tested the PAPA reconstruction is approximately an order of magnitude closer to the noisy gate than the ideal gate (used as the initial guess). Further numerical simulation tests can be found in Supplementary Note 5.
Continuous time evolution
PAPA is intended to characterize short depth circuits made from discrete gates, following the circuit model of quantum computation, or digital quantum simulation. However, a natural question is how it could be used to characterize continuous evolution of a two-local Hamiltonian (or more generally a Lindbladian) with unknown parameters. While such a model contains the same number of free parameters as the PAPA ansatz, we do not believe they describe equivalent subsets of completely positive trace-preserving (CPTP) maps.
However, PAPA can be used to characterize short-time evolution of the two-local Hamiltonian, as the first order Zassenhaus formula approximation to such evolution
11 |
is exactly of PAPA form (each element of the product on the right-hand side is a two-body process ). Then, using the Lie-Trotter product formula, evolution for an arbitrary time can be simulated using the PAPA characterized short-time process.
Discussion
Our physically motivated pairwise perturbative ansatz is an efficient and SPAM-insensitive approach to quantum process tomography that relies on fitting tomographic data to a constrained ansatz for the unknown quantum process. It requires only two-qubit process tomography on all pairs of qubits, such that the total number of free parameters scales only quadratically with qubit number. Further, our ansatz inherits SPAM-insensitivity from SPAM-insensitive two-qubit tomography, such as gate set tomography39 or RB gate tomography47–49.
The experimental demonstration of PAPA shows a significant improvement in the accuracy of reconstructed two-qubit processes calculated from the bootstrapped three-qubit process. Testing via numerical simulations validates the usefulness of our tomographic approach on the experimentally relevant CR-CNOT. In typical cases, the resulting description of the unknown quantum process found by our ansatz is an order of magnitude more accurate than the naïve initial guess. The accuracy of the PAPA reconstructions is set by the specifics of the classical numerical algorithm implemented (see Supplementary Note 6). In the future, we hope to improve the efficiency and accuracy of the classical algorithm underlying the PAPA reconstruction method56,57.
It is worth noting that while we have chosen to build our ansatz for an N-qubit process from two-qubit processes, similar ansatz can be created from K-qubit processes for any K < N. These have experimental resource requirements that scale as a polynomial of order K, and are therefore still asymptotically efficient. We focus on case K = 2 in this work as two-qubit process tomography is within current experimental capabilities. For larger system sizes, there will be an optimal K > 2 that reduces the number of K-qubit subsets, and maintains a small enough K to be experimentally feasible.
Finally, we comment briefly on the situations where PAPA may fail. Numerical reasons aside, PAPA reconstruction fails when the process being estimated is an operation that is not factorable to 2-body, or when non-Markovian noise is present. As such, PAPA reconstruction can be used as a form of model testing for error processes that entangle >2 qubits, or non-Markovian noise sources such as slow parameter drift. Similarly, PAPA+GST puts greater restrictions on the gate and context independence of the noise sources, and can be used as a model testing procedure for these error sources. This highlights the usefulness of ansatz-based approaches to QPT: even when they fail they provide useful information about the system.
Methods
Characterizing the two-qubit processes
In the most general version of QPT, there is a completely unknown quantum process, which one wishes to determine. Applying PAPA to this problem, the required two-qubit QPT is derived from the form of Eq. (6). For a pair of qubits defined by the subset we perform two-qubit QPT to characterize the effective process the qubits in experience when the unknown process is implemented on all N qubits (with all other qubits initialized in the maximally mixed state), as depicted in Fig. 1a).
To see that Eq. (6) describes a valid two-qubit process, we describe the unknown N-qubit process in a basis of N-qubit processes as
12 |
where ∑ϵi = 1. Substituting this expression into the partial trace in Eq. (6), we obtain (recall )
13 |
where we have defined . The reduced Choi state can then be written as
14 |
and it is clear that must describe a valid quantum process. We have labeled the reduced two-qubit processes as to distinguish them from the two-qubit processes that construct the PAPA, in Eq. (2), as depend on the free parameters from all , not just those in the qubit subset .
In Eq. (6) we see that the qubits outside the qubit pair of interest (the spectator qubits) must be prepared in the maximally mixed state. If this is experimentally challenging, one can instead randomly sample spectator qubit preparations from the uniform distribution of the set of spectator qubit logical states. With sufficient sampling to generate accurate statistics, the normalized sum of the randomly sampled preparation states approaches the maximally mixed state for the spectator qubits. Thus, performing two-qubit QPT on the qubit pair of interest with spectator qubits prepared in a random logical state will characterize the desired effective process in Eq. (6).
Experimental procedure
Gatestrings are generated with pyGSTi50, transpiled into our QGL58 language and finally compiled to a hardware specific format for our custom APS2 arbitrary waveform generators59. To insure each GST experiment (across all three pairs) is subject to the same environmental noise on average, and as consistent as possible with other experiments, gatestrings from the three sets are interleaved on a shot-by-shot basis before being executed. This prevents long term drift from changing system conditions across gatestrings, or pairs of qubits. Additionally, to mimic the preparation of the spectator in the maximally mixed state (see Fig. 1a)), each two-qubit GST experiment is repeated an equal number of times with the third qubit starting in either or . The results are then combined and analyzed irrespective of the state of the spectator.
Experimental data is passed back to pyGSTi for reconstruction. Details of the reconstruction process can be found in refs. 39 and 50. To ensure viability of the PAPA process, the CPTP constraint is enforced at every iteration L as new data is added. This guarantees a physical and consistent gate set is reconstructed. The downside with this requirement is a considerable increase in runtime and RAM necessary for GST to converge. To make this process tractable and time efficient, we used a Google Cloud instance60 with 40 vCPUs and 961 GB of RAM, which allows all three GST data sets to be analyzed simultaneously. The upper bound of 961 GB is not tight and was chosen out of an abundance of caution to ensure convergence.
The 27 three-qubit gates were reconstructed using the Julia implementation of PAPA on a 24 vCPU workstation with 32 GB of RAM. The reconstruction took an average of 8 h for each three-qubit gate, using three cores and on the order of a GB of RAM. The reconstructions were run in parallel to reduce overall runtime.
Qubit control and readout are performed through dedicated coplanar waveguide (CPW) resonators, one coupled to each qubit9. Q1 is equipped with a Josephson parametric amplifier from UC Berkeley61 and Q3 with a Josephson parametric converter from IBM62 for improved readout fidelity. All the pulses are generated using the BBN pulse generators introduced in ref. 59. Readout signals are acquired and processed using two Innovative Integration X6-1000 digitizers programmed with the BBN QDSP firmware (ibid). In particular, for each measured qubit, a 2.3 μs homodyne signal is integrated using a pre-calibrated matched filter63, and subsequently reduced to a single-bit value according to an optimized threshold. All of this signal processing takes place on the digitizer field-programmable gate array (FPGA) board, thus expediting data acquisition and writing to disk. The results, which are digitized independently for each qubit, are then converted into a number of counts for each of the four combinations in a qubit pair, which is the input format for pyGSTi. This process is illustrated in Fig. 5.
Gate set gauges in PAPA+GST
Gauge freedom in GST gate set characterizations arises from the fact that the gate set, preparation, and measurement are characterized simultaneously using data that takes the form of expectation values such as
15 |
where we have used super-operator notation for the preparation state ρ and measurement observable . Such expectation values are invariant under transformations of the form
16 |
where is an invertible matrix referred to as the gauge matrix. This emphasizes that while gauge has no effect on physical observables and experiments, it can change the properties of a gate set (and change the preparation and measurement to compensate).
GST minimizes the effects of gauge freedom by gauge optimizing the characterized gate set to the a priori assumed ideal gate set, and it is these gauge-optimized gate sets that we have used for PAPA reconstruction in the Results section. We have also tried PAPA reconstruction with the GST characterizations that have not been gauge optimized to the ideal gate set, and as Fig. 6 shows, this results in a lower quality PAPA reconstruction.
As trace distance is a gauge variant quantity, the large trace distances for non-gauge-optimized GST data is a non-physical error, coming from the input data to the PAPA algorithm being gauge inconsistent across qubit pairs. To explore the limits of performance, we gauge optimize the PAPA reconstructions directly to the GST characterized gate sets before calculating the trace distance. The gauge optimization was done using pyGSTi, and the result plotted in Fig. 6 shows only modest improvements at best. We have also had mixed success taking the opposite approach: gauge optimizing the GST characterized pairwise gate sets to be in a consistent single-qubit gauge before performing the PAPA reconstructions, which we detail in Supplementary Note 4.
On average, we find the best approach to gauge consistency is to gauge optimize the GST reconstructions to the ideal gate set (as is done in pyGSTi by default), and use this for the PAPA reconstruction, which is what we present in the Results section. Future developments in using PAPA or other bootstrapping approaches on QPT data that has gauge freedom (such as from GST) will seek to address the gauge consistency issue by performing some parts of the initial pairwise tomographic reconstruction jointly.
Simulation test error models
For the results shown in Fig. 4, the unitary describing the CR-CNOT in the presence of coherent error is given by , with the ±90∘ single-qubit rotations assumed to be perfect, and
17 |
where for compactness of notation we have suppressed the tensor product symbols, such that .
In Eq. (17), the angles β and ϕ quantify the coherent error, with β the angle of over-rotation from the desired CR interaction between qubits 1–2, and ϕ the angle quantifying the effect of spurious ZZ-coupling between qubits 2–3. We consider the echoed CR-pulse of ref. 64, such that the only remaining ZZ-coupling is between the target and idle qubits (i.e., 2 and 3). We use values of β between π∕16 and π∕8 radians, which produce non-ideal gates with trace-overlap fidelity of 95–99%, and values of ϕ between 10−3 and 4 × 10−3 radians. For a gate of 400 ns in duration, these values of ϕ correspond to spurious ZZ-couplings of 2.5–10 kHz.
Supplementary information
Acknowledgements
We acknowledge useful discussions with David Poulin. The qubit device and amplifiers used in the experiment were graciously provided by IBM under the Intelligence Advanced Research Projects Activity (IARPA) contract W911NF-16-0114. This material is based upon work supported by the U.S. Army Research Office under Contract No: W911NF-14-C-0048. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the U.S. Army Research Office.
Author contributions
L.G. and H.K. developed the ansatz, and the characterization methodology. L.G. developed the bootstrapping algorithms used for the experimental data and numerical simulations. G.R., D.R., and M.W. performed the experiments, and processed the experimental data. All authors contributed to the writing of the manuscript.
Data availability
All data presented is available on request.
Code availability
Source code for the pairwise perturbative ansatz bootstrapping technique is available at https://github.com/BBN-Q/PAPA.jl.
Competing interests
The authors declare no competing interests.
Footnotes
Peer review information Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Supplementary information is available for this paper at 10.1038/s41467-020-14873-1.
References
- 1.Ballance CJ, Harty TP, Linke NM, Sepiol MA, Lucas DM. High-fidelity quantum logic gates using trapped-ion hyperfine qubits. Phys. Rev. Lett. 2016;117:060504. doi: 10.1103/PhysRevLett.117.060504. [DOI] [PubMed] [Google Scholar]
- 2.Barends R, et al. Superconducting quantum circuits at the surface code threshold for fault tolerance. Nature. 2014;508:500 EP. doi: 10.1038/nature13171. [DOI] [PubMed] [Google Scholar]
- 3.Zajac DM, et al. Resonantly driven CNOT gate for electron spins. Science. 2018;359:439. doi: 10.1126/science.aao5965. [DOI] [PubMed] [Google Scholar]
- 4.IBM Quantum Experience, https://www.ibm.com/quantum-computing/.
- 5.Rigetti Cloud Service, https://www.rigetti.com.
- 6.Nigg D, et al. Quantum computations on a topologically encoded qubit. Science. 2014;345:302. doi: 10.1126/science.1253742. [DOI] [PubMed] [Google Scholar]
- 7.Kelly J, et al. State preservation by repetitive error detection in a superconducting quantum circuit. Nature. 2015;519:66 EP. doi: 10.1038/nature14270. [DOI] [PubMed] [Google Scholar]
- 8.Ofek N, et al. Extending the lifetime of a quantum bit with error correction in superconducting circuits. Nature. 2016;536:441 EP. doi: 10.1038/nature18949. [DOI] [PubMed] [Google Scholar]
- 9.Takita M, Cross AW, Córcoles AD, Chow JM, Gambetta JM. Experimental demonstration of fault-tolerant state preparation with superconducting qubits. Phys. Rev. Lett. 2017;119:180501. doi: 10.1103/PhysRevLett.119.180501. [DOI] [PubMed] [Google Scholar]
- 10.Linke NM, et al. Fault-tolerant quantum error detection. Sci. Adv. 2017;3:e1701074. doi: 10.1126/sciadv.1701074. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Rosenblum S, et al. Fault-tolerant detection of a quantum error. Science. 2018;361:266. doi: 10.1126/science.aat3996. [DOI] [PubMed] [Google Scholar]
- 12.Hu L, et al. Quantum error correction and universal gate set operation on a binomial bosonic logical qubit. Nat. Phys. 2019;15:503–508. doi: 10.1038/s41567-018-0414-3. [DOI] [Google Scholar]
- 13.Preskill J. Quantum Computing in the NISQ era and beyond. Quantum. 2018;2:79. doi: 10.22331/q-2018-08-06-79. [DOI] [Google Scholar]
- 14.Peruzzo A, et al. A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 2014;5:4213 EP. doi: 10.1038/ncomms5213. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.O’Malley PJJ, et al. Scalable quantum simulation of molecular energies. Phys. Rev. X. 2016;6:031007. [Google Scholar]
- 16.Ristè D, et al. Demonstration of quantum advantage in machine learning. NPJ Quant. Inf. 2017;3:16. doi: 10.1038/s41534-017-0017-3. [DOI] [Google Scholar]
- 17.Kandala A, et al. Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature. 2017;549:242 EP. doi: 10.1038/nature23879. [DOI] [PubMed] [Google Scholar]
- 18.Colless JI, et al. Computation of molecular spectra on a quantum processor with an error-resilient algorithm. Phys. Rev. X. 2018;8:011021. [Google Scholar]
- 19.Nielsen M, Chuang I. Quantum Computation and Quantum Information. Cambridge, UK: Cambridge University Press; 2000. [Google Scholar]
- 20.Walther P, et al. Experimental one-way quantum computing. Nature. 2005;434:169 EP. doi: 10.1038/nature03347. [DOI] [PubMed] [Google Scholar]
- 21.Bialczak RC, et al. Quantum process tomography of a universal entangling gate implemented with Josephson phase qubits. Nat. Phys. 2010;6:409 EP. doi: 10.1038/nphys1639. [DOI] [Google Scholar]
- 22.Shabani A, et al. Efficient measurement of quantum dynamics via compressive sensing. Phys. Rev. Lett. 2011;106:100401. doi: 10.1103/PhysRevLett.106.100401. [DOI] [PubMed] [Google Scholar]
- 23.Lanyon BP, et al. Efficient tomography of a quantum many-body system. Nat. Phys. 2017;13:1158. doi: 10.1038/nphys4244. [DOI] [Google Scholar]
- 24.Medeiros de Araújo R, et al. Full characterization of a highly multimode entangled state embedded in an optical frequency comb using pulse shaping. Phys. Rev. A. 2014;89:053828. doi: 10.1103/PhysRevA.89.053828. [DOI] [Google Scholar]
- 25.Yokoyama S, et al. Ultra-large-scale continuous-variable cluster states multiplexed in the time domain. Nat. Photon. 2013;7:982 EP. doi: 10.1038/nphoton.2013.287. [DOI] [Google Scholar]
- 26.Emerson J, Alicki R, Życzkowski K. Scalable noise estimation with random unitary operators. J. Opt. B. 2005;7:S347. doi: 10.1088/1464-4266/7/10/021. [DOI] [Google Scholar]
- 27.Knill E, et al. Randomized benchmarking of quantum gates. Phys. Rev. A. 2008;77:012307. doi: 10.1103/PhysRevA.77.012307. [DOI] [Google Scholar]
- 28.Magesan E, Gambetta JM, Emerson J. Scalable and robust randomized benchmarking of quantum processes. Phys. Rev. Lett. 2011;106:180504. doi: 10.1103/PhysRevLett.106.180504. [DOI] [PubMed] [Google Scholar]
- 29.Magesan E, Gambetta JM, Emerson J. Characterizing quantum gates via randomized benchmarking. Phys. Rev. A. 2012;85:042311. doi: 10.1103/PhysRevA.85.042311. [DOI] [Google Scholar]
- 30.Magesan E, et al. Efficient measurement of quantum gate error by interleaved randomized benchmarking. Phys. Rev. Lett. 2012;109:080505. doi: 10.1103/PhysRevLett.109.080505. [DOI] [PubMed] [Google Scholar]
- 31.Gambetta JM, et al. Characterization of addressability by simultaneous randomized benchmarking. Phys. Rev. Lett. 2012;109:240504. doi: 10.1103/PhysRevLett.109.240504. [DOI] [PubMed] [Google Scholar]
- 32.Carignan-Dugas A, Wallman JJ, Emerson J. Characterizing universal gate sets via dihedral benchmarking. Phys. Rev. A. 2015;92:060302. doi: 10.1103/PhysRevA.92.060302. [DOI] [Google Scholar]
- 33.Chasseur T, Reich DM, Koch CP, Wilhelm FK. Hybrid benchmarking of arbitrary quantum gates. Phys. Rev. A. 2017;95:062335. doi: 10.1103/PhysRevA.95.062335. [DOI] [Google Scholar]
- 34.Wood CJ, Gambetta JM. Quantification and characterization of leakage errors. Phys. Rev. A. 2018;97:032306. doi: 10.1103/PhysRevA.97.032306. [DOI] [Google Scholar]
- 35.Helsen J, Xue X, Vandersypen LMK, Wehner S. A new class of efficient randomized benchmarking protocols. NPJ Quant. Inf. 2019;5:71. doi: 10.1038/s41534-019-0182-7. [DOI] [Google Scholar]
- 36.Proctor TJ, et al. Direct randomized benchmarking for multiqubit devices. Phys. Rev. Lett. 2019;123:030503. doi: 10.1103/PhysRevLett.123.030503. [DOI] [PubMed] [Google Scholar]
- 37.Merkel ST, et al. Self-consistent quantum process tomography. Phys. Rev. A. 2013;87:062119. doi: 10.1103/PhysRevA.87.062119. [DOI] [Google Scholar]
- 38.Greenbaum, D. Introduction to quantum gate set tomography, preprint at http://arxiv.org/abs/1509.02921 (2015).
- 39.Blume-Kohout R, et al. Demonstration of qubit operations below a rigorous fault tolerance threshold with gate set tomography. Nat. Commun. 2017;8:14485 EP. doi: 10.1038/ncomms14485. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Gross D, Liu Y-K, Flammia ST, Becker S, Eisert J. Quantum state tomography via compressed sensing. Phys. Rev. Lett. 2010;105:150401. doi: 10.1103/PhysRevLett.105.150401. [DOI] [PubMed] [Google Scholar]
- 41.Gross D. Recovering low-rank matrices from few coefficients in any basis. IEEE Trans. Inf. Theory. 2011;57:1548. doi: 10.1109/TIT.2011.2104999. [DOI] [Google Scholar]
- 42.Baumgratz T, Gross D, Cramer M, Plenio MB. Scalable reconstruction of density matrices. Phys. Rev. Lett. 2013;111:020401. doi: 10.1103/PhysRevLett.111.020401. [DOI] [PubMed] [Google Scholar]
- 43.Cramer M, et al. Efficient quantum state tomography. Nat. Commun. 2010;1:149. doi: 10.1038/ncomms1147. [DOI] [PubMed] [Google Scholar]
- 44.Holzäpfel M, Baumgratz T, Cramer M, Plenio MB. Scalable reconstruction of unitary processes and Hamiltonians. Phys. Rev. A. 2015;91:042129. doi: 10.1103/PhysRevA.91.042129. [DOI] [Google Scholar]
- 45.Villalonga B, et al. A flexible high-performance simulator for verifying and benchmarking quantum circuits implemented on real hardware. NPJ Quant. Inf. 2019;5:86. doi: 10.1038/s41534-019-0196-1. [DOI] [Google Scholar]
- 46.Arute F, et al. Quantum supremacy using a programmable superconducting processor. Nature. 2019;574:505. doi: 10.1038/s41586-019-1666-5. [DOI] [PubMed] [Google Scholar]
- 47.Kimmel S, da Silva MP, Ryan CA, Johnson BR, Ohki T. Robust extraction of tomographic information via randomized benchmarking. Phys. Rev. X. 2014;4:011050. [Google Scholar]
- 48.Johnson BR, et al. Demonstration of robust quantum gate tomography via randomized benchmarking. New J. Phys. 2015;17:113019. doi: 10.1088/1367-2630/17/11/113019. [DOI] [Google Scholar]
- 49.Roth I, et al. Recovering quantum gates from few average gate fidelities. Phys. Rev. Lett. 2018;121:170502. doi: 10.1103/PhysRevLett.121.170502. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Nielsen, E. et al. pyGSTi v0.9.8, https://github.com/pyGSTio/pyGSTi (2019).
- 51.Bezanson J, Edelman A, Karpinski S, Shah VB. Julia: A fresh approach to numerical computing. SIAM Rev. 2017;59:65. doi: 10.1137/141000671. [DOI] [Google Scholar]
- 52.Rigetti C, Devoret M. Fully microwave-tunable universal gates in superconducting qubits with linear couplings and fixed transition frequencies. Phys. Rev. B. 2010;81:134507. doi: 10.1103/PhysRevB.81.134507. [DOI] [Google Scholar]
- 53.Chow JM, et al. Simple all-microwave entangling gate for fixed-frequency superconducting qubits. Phys. Rev. Lett. 2011;107:080502. doi: 10.1103/PhysRevLett.107.080502. [DOI] [PubMed] [Google Scholar]
- 54.Chow JM, et al. Implementing a strand of a scalable fault-tolerant quantum computing fabric. Nat. Commun. 2014;5:4015 EP. doi: 10.1038/ncomms5015. [DOI] [PubMed] [Google Scholar]
- 55.The MathWorks Inc. MATLAB Release 2018a (The MathWorks Inc., Natick, 2018)
- 56.Bolduc E, Knee GC, Gauger EM, Leach J. Projected gradient descent algorithms for quantum state tomography. NPJ Quant. Inf. 2017;3:44. doi: 10.1038/s41534-017-0043-1. [DOI] [Google Scholar]
- 57.Knee GC, Bolduc E, Leach J, Gauger EM. Gauger, Quantum process tomography via completely positive and trace-preserving projection. Phys. Rev. A. 2018;98:062336. doi: 10.1103/PhysRevA.98.062336. [DOI] [Google Scholar]
- 58.Ryan, C. A., Johnson, B. R., Ristè, D., Ribeill, G. J. & Rowlands. G. QGLhttps://github.com/BBN-Q/QGL (2019).
- 59.Ryan CA, Johnson BR, Ristè D, Donovan B, Ohki TA. Hardware for dynamic quantum computing. Rev. Scient. Instrum. 2017;88:104703. doi: 10.1063/1.5006525. [DOI] [PubMed] [Google Scholar]
- 60.Google Cloud, https://cloud.google.com/.
- 61.Hatridge M, Vijay R, Slichter DH, Clarke J, Siddiqi I. Dispersive magnetometry with a quantum limited SQUID parametric amplifier. Phys. Rev. B. 2011;83:134501. doi: 10.1103/PhysRevB.83.134501. [DOI] [Google Scholar]
- 62.Abdo B, Kamal A, Devoret M. Nondegenerate three-wave mixing with the Josephson ring modulator. Phys. Rev. B. 2013;87:014508. doi: 10.1103/PhysRevB.87.014508. [DOI] [Google Scholar]
- 63.Ryan CA, et al. Tomography via correlation of noisy measurement records. Phys. Rev. A. 2015;91:022118. doi: 10.1103/PhysRevA.91.022118. [DOI] [Google Scholar]
- 64.Córcoles AD, et al. Process verification of two-qubit quantum gates by randomized benchmarking. Phys. Rev. A. 2013;87:030301. doi: 10.1103/PhysRevA.87.030301. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All data presented is available on request.
Source code for the pairwise perturbative ansatz bootstrapping technique is available at https://github.com/BBN-Q/PAPA.jl.