Supplementary Material for
Implementing the Quantum von Neumann
Architecture with Superconducting Circuits
Implementing the Quantum von Neumann Architecture with Superconducting Circuits
last updated: July 12, 2019
The von Neumann architecture for a classical computer comprises a central processing unit and a memory holding instructions and data. We demonstrate a quantum central processing unit that exchanges data with a quantum random-access memory integrated on a chip, with instructions stored on a classical computer. We test our quantum machine by executing codes that involve seven quantum elements: Two superconducting qubits coupled through a quantum bus, two quantum memories, and two zeroing registers. Two vital algorithms for quantum computing are demonstrated, the quantum Fourier transform, with process fidelity, and the three-qubit Toffoli OR phase gate, with phase fidelity. Our results, in combination especially with longer qubit coherence, illustrate a potentially viable approach to factoring numbers and implementing simple quantum error correction codes.
Quantum processors 1, 31, 3, 4 based on nuclear magnetic resonance 5, 6, 7, trapped ions 8, 9, 10, and semiconducting devices 11 were used to realize Shor’s quantum factoring algorithm 5 and quantum error correction 6, 8. The quantum operations underlying these algorithms include two-qubit gates 31, 3, the quantum Fourier transform 7, 9, and three-qubit Toffoli gates 12, 10. In addition to a quantum processor, a second critical element for a quantum machine is a quantum memory, which has been demonstrated, e.g., using optical systems to map photonic entanglement into and out of atomic ensembles 13.
Superconducting quantum circuits 14 have met a number of milestones, including demonstrations of two-qubit gates 15, 16, 17, 34, 19, 20 and the advanced control of both qubit and photonic quantum states 19, 20, 36, 22. We demonstrate a superconducting integrated circuit that combines a processor, executing the quantum Fourier transform and a three-qubit Toffoli-class OR gate, with a memory and a zeroing register in a single device. This combination of a quantum central processing unit (quCPU) and a quantum random-access memory (quRAM), which comprise two key elements of a classical von Neumann architecture, defines our quantum von Neumann architecture.
In our architecture (Fig. 1A), the quCPU performs one-, two-, and three-qubit gates that process quantum information, and the adjacent quRAM allows quantum information to be written, read out, and zeroed. The quCPU includes two superconducting phase qubits 34, 19, 36, 22 Q and Q, connected through a coupling bus provided by a superconducting microwave resonator B. The quRAM comprises two superconducting resonators M and M that serve as quantum memories, as well as a pair of zeroing registers Z and Z, two-level systems that are used to dump quantum information. The chip geometry is similar to that in Refs. 36, 22, with the addition of the two zeroing registers. Figure 1B shows the characterization of the device by means of swap spectroscopy 36.
The computational capability of our architecture is displayed in Fig. 2A, where a -channel quantum circuit, yielding a dimensional Hilbert space, executes a prototypical algorithm. First, we create a Bell state between Q and Q using a series of -pulse, , and iSWAP operations (step I, a to c) 22. The corresponding density matrix [Fig. 2C (I)] is measured by quantum state tomography. The Bell state is then written into the quantum memories M and M by an iSWAP pulse (step II) 22, leaving the qubits in their ground state , with density matrix [Fig. 2C (II)]. While storing the first Bell state in M and M, a second Bell state with density matrix [Fig. 2C (III)] is created between the qubits, using a sequence similar to the first operation (step III, a to c).
In order to re-use the qubits Q and Q, for example to read out the quantum information stored in the memories M and M, the second Bell state has to be dumped 23. This is accomplished using two zeroing gates, by bringing Q on resonance with Z and Q with Z for a zeroing time , corresponding to a full iSWAP (step IV). Figure 2B shows the corresponding dynamics, where each qubit, initially in the excited state , is measured in the ground state after ns. The density matrix of the zeroed two-qubit system is shown in Fig. 2C (IV). Once zeroed, the qubits can be used to read the memories (step V), allowing us to verify that, at the end of the algorithm, the stored state is still entangled. This is clearly demonstrated by the density matrix shown in Fig. 2C (V).
The ability to store entanglement in the memories, which are characterized by much longer coherence times than the qubits, is key to the quantum von Neumann architecture. We demonstrate this capability in Fig. 2, D and E, where the fidelity and concurrence metrics 35 of the Bell states stored in M and M are compared to those for the same states stored in Q and Q. The experiment is performed as in Fig. 2A, but eliminating steps (III) and (IV). For the qubits, the storage time is defined as the wait time at the end of step (I), prior to measuring the qubit states, whereas for the resonators the wait time is that between the write and read steps. The fidelity of the qubit states decays to below after ns, while for the states stored in the memories it remains above up to s. Most importantly, after only ns the state stored in the qubits does not preserve any entanglement, as indicated by a zero concurrence, whereas the memories retain their entanglement for at least s (Fig. 2E). We expect taking advantage of our architecture in long computations, where qubit states can be protected and reused by writing them into, and reading them out of, the long-lived quRAM.
Two-qubit universal gates are a vital resource for the operation of the quCPU 31, 3. A variety of such gates have been implemented in superconducting circuits 15, 16, 17, 34, 19, 20, with some recent demonstrations of quantum algorithms 16, 34. Control Z- (CZ-) gates are readily realizable with superconducting qubits, due to easy access to the third energy state of the qubit, effectively operating the qubit as a qutrit 25, 16, 20, 34. However, CZ- gates are just a subset of the more general class of CZ- gates, obtained for the special case where the phase . In our architecture, the full class of CZ- gates, with from to , can be generated by coupling a qutrit close to resonance with a bus resonator.
Figure 3A shows the quantum logic circuit that generates the CZ- gate (Left) and a shorthand symbol for the gate (Right). The logic circuit demonstrates the nontrivial case where qubits Q and Q are brought from their initial ground state to by applying a -pulse to each qubit. The excitation in Q is then transferred into bus resonator B, and Q’s transition brought close to resonance with B for the time required for a -rotation, where the states and are detuned by a frequency , which we term a “semi-resonant condition.” In this process Q acquires the phase 26
where is the coupling frequency between and . The final step is to move the excitation from B back into Q.
The time-domain swaps of between the states and are shown in Fig. 3B, where the solid black line indicates the detunings and corresponding interaction times used to generate any phase (ideally when ). These phases are measured by performing two Ramsey experiments on Q for each value of the detuning , one with B in the state, and the other with B in the state. The relative phase between the Ramsey fringes corresponds to the value of for the CZ- gate 26, as shown in Fig. 3C.
A more sophisticated version of this experiment is performed by initializing Q and Q each in the superposition state . We move Q’s state into B, perform a CZ- gate with , move the state in B back into Q, rotate Q’s resulting state by about the -axis, and perform a joint measurement of Q and Q. Ideally, this protocol permits to create two-qubit states ranging from a product state for to a maximally-entangled state for . In the two-qubit basis set , the general density matrix of such two-qubit states reads
Figure 3D shows the fidelity and entanglement of formation (EOF) 35 of two-qubit states generated using values of . Figure 3E shows three examples of for , , and , respectively.
The state generated using plays a central role in the implementation of the two-qubit quantum Fourier transform. Neglecting bit-order reversal, the quantum Fourier transform can be realized by applying a Hadamard gate to Q, followed by a CZ- gate between Q and Q, and finally a Hadamard on Q 31, 7, 9, as sketched in Fig. 3F (Top-Left). Representing the input state of the transform as (position) and the output as (momentum), assuming and the indexes and are integers, with , the output state , corresponding to a unitary operator. This operator can be fully characterized by means of quantum process tomography 31, 34, which allows us to obtain the matrix 31, 34 shown in Fig. 3F (Bottom).
Finally, by combining the CZ- and zeroing gates, we can implement a Toffoli-class gate 27, 12, 10, the three-qubit OR phase gate. This gate, combined with single qubit rotations, is sufficient for universal computation. A Toffoli gate is a doubly-controlled quantum operation, where a unitary operation is applied to a target qubit subject to the state of two control qubits. The canonical Toffoli is a doubly-controlled NOT gate; here we consider a doubly-controlled phase gate, which is equivalent through a change of basis of the target qubit. In the canonical Toffoli gate, the control gate is applied if both control qubits, Q AND Q, are in state . In our case, the control gate is applied conditionally if the controls Q OR Q are in . Additionally, we have implemented a three-qubit gate for the logical function XOR, which, even though not a Toffoli-class gate, helps to understand the more complex OR gate.
The quantum logic circuits for the XOR and OR gates are drawn in Fig. 4, A and D. The control qubits are Q and Q and the target is the bus resonator B, effectively acting as the third qubit (as only the states and of B are used). The XOR gate is realized as a series of two CZ- gates between the controls and the target, and the OR gate as the series CZ-, CZ-, and CZ-, in an “M-shape” configuration.
The truth table for the XOR gate is displayed in Fig. 4B (Top). The control qubits Q and Q are assumed to be in one of the states in , while the target B is in . The target acquires a phase , corresponding to a “true” result, only when the controls are in the state or . For the other non-trivial case , the target acquires phase, corresponding to a “false” result. This is due to the action of the two CZ- gates, giving a global phase when either of the controls is in , and a phase (equivalent to a phase) when both are in .
The truth table can be experimentally measured by performing Ramsey experiments on the target, one for each pair of control states. The experiments are realized by, (i), preparing Q in the superposition state by means of a -pulse; (ii), moving the state from Q into B, thus creating a state in B; (iii), preparing Q and Q in each possible pair of control states in by means of -pulses; (iv), performing the XOR gate; (v), zeroing Q into Z at the end of the XOR gate; (vi), moving the final target state from B into the zeroed Q; (vii), completing the Ramsey sequence on Q with a second -pulse with variable rotation axis relative to the pulse in (i). The measurement outcomes are displayed in Fig. 4B (Bottom), together with the least-squares fits used to extract the phase information associated with each value of the truth table. The Ramsey fringes for the two control states and are inverted relative to the reference state , as expected from the XOR gate truth table.
In general, given the Q-Q-B basis set , the vector of the diagonal elements associated with the ideal unitary matrix of the XOR gate reads
while all off-diagonal elements of the matrix are zero. Each element can be expressed as a complex exponential , with . The phase can be either , when , or , when . Among the eight values of , only seven are physically independent, as the element can be factored, reducing the set of possible phases to , with .
In analogy to the truth-table for the target B, a table with four phase differences can also be obtained for the controls Q and Q, resulting in a total of twelve phase differences. These differences can be measured by performing Ramsey experiments both on the target and the control qubits. It can be shown that from the twelve phase differences, one can obtain the seven independent phases associated with the diagonal elements 26, thus realizing a quantum phase tomography of the Toffoli gate 28. Figure 4C displays the phase tomography results for our experimental implementation of the XOR gate.
The truth table associated with the M gate is reported in Fig. 4E (Top), where the only difference from the XOR gate is the phase acquired by the target B when the controls Q and Q are loaded in state . In this case, the action of the first CZ- gate between Q and B shelves the state from B to the non-computational state in Q, where it remains until the second CZ- gate. Moving the state of Q outside the computational space during the intermediate CZ- gate between Q and B effectively turns off the CZ- gate 29, 12. The target B thus only acquires a total phase due to the combined action of the two CZ- gates (cf. Fig. 4D). The experimental truth table obtained from Ramsey fringes is shown in Fig. 4E (Bottom).
The vector of the diagonal elements associated with the ideal unitary matrix of the M gate is . A similar procedure as for the XOR gate allows us to obtain the quantum phase tomography of the M gate (Fig. 4F).
Quantum phase tomography makes it possible to define the phase fidelity of the XOR and M gate,
where is the gate root-mean-square phase error, with an upper bound of . For the XOR gate we find that , and for the M gate .
Our results provide optimism for the near-term implementation of a larger-scale quantum processor 31, 3, 1 based on superconducing circuits. Our architecture shows that proof-of-concept factorization algorithms 31, 3, 5 and simple quantum error correction codes 31, 3, 6, 8 might be achievable using this approach.
- 1 D. P. DiVincenzo, The physical implementation of quantum computation. Fortschr. Phys. 48, 771-783 (2000).
- 2 M. A. Nielsen & I. L. Chuang, Quantum computation and quantum information. (Cambridge Univ. Press, Cambridge - UK, 2000).
- 3 N. D. Mermin, Quantum computer science: An introduction. (Cambridge Univ. Press, Cambridge - UK, 2007).
- 4 H. M. Wiseman & G. J. Milburn, Quantum measurement and control. (Cambridge Univ. Press, Cambridge - UK, 2010).
- 5 L. M. K. Vandersypen, M. Steffen, G. Breyta, C. S. Yannoni, M. H. Sherwood & I. L. Chuang, Experimental realization of Shor’s quantum factoring algorithm using nuclear magnetic resonance. Nature (London) 414, 883–887 (2001).
- 6 D. G. Cory, M. D. Price, W. Maas, E. Knill, R. Laflamme, W. H. Zurek, T. F. Havel & S. S. Somaroo, Experimental quantum error correction. Phys. Rev. Lett. 81, 2152-2155 (1998).
- 7 Y. S. Weinstein, M. A. Pravia, E. M. Fortunato, S. Lloyd & D. G. Cory, Implementation of the quantum Fourier transform. Phys. Rev. Lett. 86, 1889-1891 (2001).
- 8 R. Blatt & D. Wineland, Entangled states of trapped atomic ions. Nature (London) 453, 1008–1015 (2008).
- 9 J. Chiaverini, J. Britton, D. Leibfried, E. Knill, M. D. Barrett, R. B. Blakestad, W. M. Itano, J. D. Jost, C. Langer, R. Ozeri, T. Schaetz & D. J. Wineland, Implementation of the semiclassical quantum Fourier transform in a scalable system. Science 308, 997–1000 (2005).
- 10 T. Monz, K. Kim, W. Hänsel, M. Riebe, A. S. Villar, P. Schindler, M. Chwalla, M. Hennrich & R. Blatt, Realization of the quantum Toffoli gate with trapped ions. Phys. Rev. Lett. 102, 040501 (2009).
- 11 D. J. Reilly, J. M. Taylor, J. R. Petta, C. M. Marcus, M. P. Hanson & A. C. Gossard, Suppressing spin qubit dephasing by nuclear state preparation. Science 321, 817–821 (2008).
- 12 B. P. Lanyon, M. Barbieri, M. P. Almeida, T. Jennewein, T. C. Ralph, K. J. Resch, G. J. Pryde, J. L. O’Brien, A. Gilchrist & A. G. White, Simplifying quantum logic using higher-dimensional Hilbert spaces. Nature Phys. 5, 134–140 (2009).
- 13 K. S. Choi, H. Deng, J. Laurat & H. J. Kimble, Mapping photonic entanglement into and out of a quantum memory. Nature (London) 452, 67-71 (2008).
- 14 J. Clarke & F. K. Wilhelm, Superconducting quantum bits. Nature (London) 453, 1031-1042 (2008).
- 15 J. H. Plantenberg, P. C. de Groot, C. J. P. M. Harmans & J. E. Mooij, Demonstration of controlled-NOT quantum gates on a pair of superconducting quantum bits. Nature (London) 447, 836–839 (2007).
- 16 L. DiCarlo, J. M. Chow, J. M. Gambetta, L. S. Bishop, B. R. Johnson, D. I. Schuster, J. Majer, A. Blais, L. Frunzio, S. M. Girvin & R. J. Schoelkopf, Demonstration of two-qubit algorithms with a superconducting quantum processor. Nature (London) 460, 240–244 (2009).
- 17 P. J. Leek, S. Filipp, P. Maurer, M. Baur, R. Bianchetti, J. M. Fink, M. Göppl, L. Steffen & A. Wallraff, Using sideband transitions for two-qubit operations in superconducting circuits. Phys. Rev. B 79, 180511(R) (2009).
- 18 T. Yamamoto, M. Neeley, E. Lucero, R. C. Bialczak, J. Kelly, M. Lenander, M. Mariantoni, A. D. O’Connell, D. Sank, H. Wang, M. Weides, J. Wenner, Y. Yin, A. N. Cleland & J. M. Martinis, Quantum process tomography of two-qubit controlled-Z and controlled-NOT gates using superconducting phase qubits. Phys. Rev. B 82, 184515 (2010).
- 19 M. Neeley, R. C. Bialczak, M. Lenander, E. Lucero, M. Mariantoni, A. D. O’Connell, D. Sank, H. Wang, M. Waides, J. Wenner, Y. Yin, T. Yamamoto, A. N. Cleland & J. M. Martinis, Generation of three-qubit entangled states using superconducting phase qubits. Nature (London) 467, 570–573 (2010).
- 20 L. DiCarlo, M. D. Reed, L. Sun, B. R. Johnson, J. M. Chow, J. M. Gambetta, L. Frunzio, S. M. Girvin, M. H. Devoret & R. J. Schoelkopf, Preparation and measurement of three-qubit entanglement in a superconducting circuit. Nature (London) 467, 574-578 (2010).
- 21 M. Mariantoni, H. Wang, R. C. Bialczak, M. Lenander, E. Lucero, M. Neeley, A. D. O’Connell, D. Sank, M. Weides, J. Wenner, T. Yamamoto, Y. Yin, J. Zhao, J. M. Martinis & A. N. Cleland, Photon shell game in three-resonator circuit quantum electrodynamics. Nature Phys. 7, 287-293 (2011).
- 22 H. Wang, M. Mariantoni, R. C. Bialczak, M. Lenander, E. Lucero, M. Neeley, A. D. O’Connell, D. Sank, M. Weides, J. Wenner, T. Yamamoto, Y. Yin, J. Zhao, J. M. Martinis & A. N. Cleland, Deterministic entanglement of photons in two superconducting microwave resonators. Phys. Rev. Lett. 106, 060401 (2011).
- 23 M. D. Reed, B. R. Johnson, A. A. Houck, L. DiCarlo, J. M. Chow, D. I. Schuster, L. Frunzio & R. J. Schoelkopf, Fast reset and suppressing spontaneous emission of a superconducting qubit. Appl. Phys. Lett. 96, 203110 (2010).
- 24 R. Horodecki, P. Horodecki, M. Horodecki & K. Horodecki, Quantum entanglement. Rev. Mod. Phys. 81, 865-942 (2009).
- 25 F. W. Strauch, P. R. Johnson, A. J. Dragt, C. J. Lobb, J. R. Anderson & F. C. Wellstood, Quantum logic gates for coupled superconducting phase qubits. Phys. Rev. Lett. 91, 167005 (2003).
- 26 Methods are available as supporting material on Science Online.
- 27 A. Barenco, C. H. Bennett, R. Cleve, D. P. DiVincenzo, N. Margolus, P. Shor, T. Sleator, J. A. Smolin & H. Weinfurter, Elementary gates for quantum computation. Phys. Rev. A 52, 3457-3467 (1995).
- 28 A full gate characterization via quantum process tomography was not possible as we could only simultaneously measure two qubits, with the resonator acting as the third qubit.
- 29 T. C. Ralph, K. J. Resch & A. Gilchrist, Efficient Toffoli gates using qudits. Phys. Rev. A 75, 022313 (2007).
This work was supported by IARPA under ARO award
W911NF-08-1-0336 and under ARO award W911NF-09-1-0375. M. M.
acknowledges support from an Elings Postdoctoral Fellowship.
Devices were made at the UC Santa Barbara Nanofabrication
Facility, a part of the NSF-funded National Nanotechnology
Infrastructure Network. The authors thank A. G. Fowler for
useful comments on scalability, and M. H. Devoret and
R. J. Schoelkopf for discussions on Toffoli gates.
M.M. performed the experiments and analyzed the data. M.M. and H.W. fabricated the sample. T.Y., H.W., and Y.Y. helped with the Fourier transform and M.N. with three-qubit gates. M.M., A.N.C., and J.M.M. conceived the experiment and co-wrote the manuscript.
This PDF file includes:
Materials and Methods
Figs. S1 to S12
Tables S1 to S3
Materials and Methods
- Statistical errors
- Definition of the qubit reference frame
- Programming the quantum von Neumann architecture
- The quantum Fourier transform
- XOR gate and M gate tuneup
- Quantum phase tomography
Materials and Methods
In this section, we analyze the statistical properties of the experimental data shown in the main text. First, we explain how to simulate statistical errors. This procedure was used to estimate the confidence intervals for the data of Fig. 2 in the main text. Second, we describe how statistical errors were obtained from statistical ensembles of independent measurements. This procedure was used for the data of Fig. 3 in the main text. Third, we discuss the estimation of statistical errors due to fits to the data. This procedure was used for the data of Fig. 4 in the main text.
Simulation of statistical errors
In this subsection, we discuss two important sources of statistical errors in our data: Errors associated with qubit’s measurement (binomial-type errors) and errors due to jitter/fluctuations in the electronics (phase errors). Assuming binomial-type and phase errors, we describe the procedures used to simulate the confidence intervals for the elements and metrics of the density matrices shown in Fig. 2C of the main text.
Binomial-type errors are inherent to our qubit measurement process, where the measurement is repeated a fixed number of times , each measurement trial has two possible outcomes, i.e., qubit being in the ground state with probability or in the excited state with probability , the probability is to good approximation the same for each trial, and the trials can be considered to be statistically independent. The measurement outcome associated with is counted as , and that associated with as . Under these assumptions, the qubit measurement process can be described by a binomial distribution.
Given a statistical sample consisting of measurement outcomes (i.e., a statistical sample from a Bernoulli distribution with parameter ), the maximum likelihood estimator of (i.e., the estimated probability) is given by
where represents the -th outcome among the measured. There are several ways to compute a confidence interval for the parameter . The most common result is based on the approximation of the binomial distribution with a normal distribution. This represents a good approximation in our experiments, where the number of measurements is large (typically ). In this case, it can be shown that a confidence interval for the parameter is given by
where is the percentile of a standard normal distribution. For example, for a (%) confidence interval, we set , so that . When analyzing our data we approximate the percentile with , thus obtaining a slightly wider confidence interval;
Phase errors are mostly due to the phase jitter/fluctuations in the room-temperature cables and electronics used to measure the qubits. In order to quantify such errors, the following experiment was performed. First, we initialized one of the two qubits, e.g., qubit Q, in the ground state, ; second, we applied to Q a unitary rotation about the -axis, , bringing the qubit into the state . This state is characterized by the density matrix
which represents a “phase-sensitive” state due to the presence of nonzero off-diagonal elements, thus allowing us to measure the phase properties of our setup. In fact, if the setup (cables and electronics) were ideal, the phase associated with the off-diagonal elements of the matrix of Eq. S7 would be zero. We can thus assume that any deviation from a zero phase corresponds to a phase error; third, we performed a single-qubit quantum state tomography (QST) on Q, making possible to measure experimentally . Using our typical settings for a single-qubit QST 30, the time needed for each QST was approximately s; fourth, we repeated a QST measurement every s for a total time of minutes, corresponding to measured density matrices; finally, we plotted as a function of time. The so-obtained time trace is shown in Fig. S1A. Besides negligible slow-varying oscillations in the time trace [independent tests have shown that these oscillations might be due to temperature changes in the room-temperature cables (data not shown)], the overall histogram associated with the trace is approximately normally distributed about a mean value of rad, with standard deviation rad (cf. Fig. S1B). However, we notice a general increase in the scatter of the time-trace data, as indicated by the dashed black lines in Fig. S1A. We thus divide the time trace in sub-traces (time bins) with a time length of min each, compute the standard deviation for each sub-trace, and plot the so-obtained standard deviations as a function of time. The result is displayed in Fig. S1C, where the data is overlayed with a linear fit.
The plot of Fig. S1C is useful in determining the phase errors associated with different types of two-qubit QST, as well as quantum process tomography (QPT) 31, 32, 33, 34. In fact, two-qubit QST can be realized either by applying to each qubit the set of three unitary operations ( is the identity matrix, a unitary rotation about the -axis, and a unitary rotation about the -axis), which we call “tomo,” or the set of six unitary operations ( is a unitary rotation about the -axis, a unitary rotation about the -axis, and a unitary rotation about the -axis), which we call “octomo.”
In the case of two-qubit tomo, the number of operations that must be applied to the pair of qubits is given by the permutations of the allowed set of unitary operations, . This number multiplied by the possible joint probabilities for a two-qubit system, , and (where, e.g., is the probability to measure the first qubit in the ground state with the second qubit in the excited state) gives a total of probabilities. In the case of octomo, the total number of probabilities is given by the permutations of unitary operations for qubits, , times the possible joint probabilities for a two-qubit system, for a total of probabilities.
In the experiments, the maximum likelihood estimator for each of the four probabilities , and is obtained from the outcome of measurements. We note that, in a joint two-qubit measurement each outcome consists of numbers obtained simultaneously, where each number can be either or . The statistical sample consisting of two-qubit joint measurements will be hereafter defined as , with . Similarly to Eq. S5, the maximum likelihood estimator (i.e., the estimated probability) for each of the four probabilities , and can thus be obtained from
where represents the -th outcome among the measured.
For a given , the four possible , i.e., , , , and , are measured simultaneously (with ). Hence, the effective number of events that has to be measured for each tomo is , and for each octomo .
We typically measure events per second, and repeat each measurement times. As a consequence, a two-qubit tomo takes approximately min, and a two-qubit octomo approximately min.
All data displayed in Fig. 2C of the main text were obtained using tomo, while all data in Fig. 3, D and E, were obtained using octomo. All density matrices used to reconstruct the matrix of Fig. 3F in the main text were also obtained with octomo. The standard deviation due to phase errors can be estimated in each case by looking up the fit in Fig. S1C.
Considering for example a two-qubit octomo with , the statistical properties of the resulting density matrix and of the corresponding metrics [fidelity , negativity , concurrence , and entanglement of formation ; cf. Ref. 35 and references therein for an extensive description of these metrics] are obtained as follows:
The probabilities associated with two-qubit octomo are estimated according to Eq. S8. As explained above, this corresponds to a total of estimated probabilities. To simplify the notation, we will hereafter refer to these probabilities as , with ;
For each probability , the binomial standard deviation defined in Eq. S6 is calculated, thus obtaining, in the case of octomo, different standard deviations;
For each of the standard deviations calculated in (), a set of random numbers picked from a normal distribution with zero mean value and standard deviation is generated. This results in a matrix of random numbers. Typically, .
By summing each column of such a matrix to the column vector containing the estimated probabilities , we obtain a matrix of probabilities, where each column simulates the result of a different QST experiment.
For example, Fig. S2A shows the histogram associated with the -th probability of the vector of probabilities in the case of the octomo for the state of Fig. 3E in the main text;
Physicality constraints are enforced on each, generally unphysical, density matrix by means of the MATLAB packages SeDuMi and YALMIP (semidefinite programming) 38. The physical constraints are such that each final - physical - density matrix should have unit trace and be positive semidefinite.
In order to obtain the mean physical density matrix associated with the physical density matrices and the corresponding standard deviations, we calculate the mean value and standard deviation of the real and imaginary part of each matrix element for the matrices . The mean physical matrix will thus have elements (with ), each of them (real and imaginary part) characterized by a given standard deviation. Figure S2B shows the histogram for the real part of the matrix element with mean value for the state of Fig. 3E in the main text. As expected, the distribution is approximately Gaussian with a confidence interval .
The knowledge of the matrices also allows us to estimate the confidence intervals for the relevant metrics characterizing the state : , , , and . This can easily be accomplished by calculating the metrics for each , thus obtaining values for each metric, and then computing the mean value and standard deviation of the values associated with each metric.
We can follow a similar procedure to account for phase errors. We now pick two independent sets of random numbers from a normal distribution with zero mean value and standard deviation (with opportunely estimated from Fig. S1C depending on whether a tomo or octomo was used), thus generating two sets of phase errors, and , with . In order to simulate phase errors acting independently on each qubit, we apply the unitary rotation
to a measured density matrix , thus obtaining the -th unphysical density matrix
We can then proceed as in step (6) above and obtain a mean physical density matrix and its statistical properties, as in the case of binomial-type errors. This allows us also to find the metrics associated with and their statistical properties. Notice that the unitary transformation of Eq. S9 simulates random rotations along the -axis of both qubit and qubit .
The total mean physical density matrix is finally obtained by averaging the mean physical density matrix obtained in the case of binomial-type errors and the matrix obtained in the case of phase errors. The same applies to the mean values of all metrics. The corresponding standard deviations are found by summing in quadrature the values obtained in the case of binomial-type and phase errors. For example, the numerical value with confidence interval of each element of the density matrices in Fig. 2C of the main text were obtained following this procedure. These numbers are reported in Table S1.
Incidentally, we found that phase errors do not add any significant contribution to the confidence intervals of the density matrix elements and of their metrics.
Notice that, the reason why we decided to simulate the statistical properties of the data in Fig. 2 of the main text is because we only had independent measurements of these data. Such a statistical ensemble is obviously insufficient to obtain reliable confidence intervals, which, thus, needed to be simulated.
Experimental estimation of statistical errors
In the case of the density matrices in Fig. 3E and of the matrix of the quantum Fourier transform in Fig. 3F of the main text we had ensembles of independent measurements large enough to allow the confidence intervals estimation directly from the data.
In particular, the density matrix in the left panel of Fig. 3E is the average of a statistical ensemble of independent measurements, and the density matrices and in the center and right panels of Fig. 3E, respectively, are the average of an ensemble of independent measurements. The standard deviation of each matrix element (real and imaginary part) as well as the mean value and standard deviation of all metrics can easily be estimated from such statistical ensembles.
Finally, the matrix of Fig. 3F is the average of an ensemble of independent measurements. This allows us to estimate the mean value and standard deviation of the process fidelity associated with the quantum Fourier transform (cf. main text).
Statistical errors of fitted parameters
The confidence intervals associated with the quantum phase tomography data shown in Fig. 4, C and F, of the main text are dominated by the statistical errors of the coefficients fitted from the data in Fig. 4, B and E, of the main text. In particular, the coefficient of interest is the phase of each curve in Fig. 4, B and E (or, more in general, of each curve in Fig. S12, C and D).
We remind that the error vector associated with the vector of coefficients fitted to a curve is given by the square root of the vector of the diagonal elements from the estimated covariance matrix of the coefficient estimates, . Here, is the Jacobian of the fitted values with respect to the coefficients, is the transpose of , and is the mean squared error. This procedure allows us to estimate the errors associated with the fitted phases. These errors propagate through the quantum tomography process (cf. section on “Quantum phase tomography” at the end of these Methods), finally turning into the confidence intervals reported in Fig. 4, C and F, of the main text.
Definition of the qubit reference frame
In this section, we briefly explain the concepts of reference frame and reference clock rate associated with a qubit. These concepts will be useful in understanding the dynamic phases acquired by the qubits when programming the quantum von Neumann architecture as well as the sequences used to tune up the CZ- gates and the XOR and M gate.
In the two-level approximation 39, the Hamiltonian of a phase qubit can be written as
with ground state and excited state , and eigenenergies and , respectively. In Eq. S11, represents the qubit transition frequency, which can be tuned by means of z-pulses with amplitude , and is the usual spin Pauli operator. At the beginning of a CZ- gate, each qubit is initialized in at the so-called idle point, which corresponds to a z-pulse amplitude . The qubit transition frequency at the idle point is thus given by .
In order to prepare a qubit in the excited state or in a linear superposition , the qubit has to be driven by a microwave pulse. The Hamiltonian governing the interaction between the qubit and the microwave driving is given by 40
where is the time-dependent driving amplitude expressed in unit hertz, the driving frequency, the usual spin Pauli operator, the time, and an arbitrary phase delay. By calibrating the microwave pulse such that the phase delay , we can rewrite the driving Hamiltonian as
In our experiments the driving frequency is a fixed parameter that is set to be equal to the qubit transition frequency at the idle point 41,
For a given qubit, the microwave driving represents the reference frame associated with that qubit, with reference clock rate given by . Defining the detuning between the z-dependent qubit transition frequency and the reference clock rate as , the qubit-driving Hamiltonian can be expressed in the uniformly rotating reference frame by applying the unitary rotation 42. The rotated Hamiltonian is thus given by
where the counter-rotating terms have been already neglected. The dynamics associated with the pulse sequences used to tune up the CZ- gates and the XOR and M gate can be understood by following the time-evolution of the Hamiltonian of Eq. S14. In particular, the Hamiltonian describes the dynamic phases acquired by the qubits when they are brought outside their reference frame (i.e., qubit rotations about the -axis). As it will appear clear when describing the tune-up sequences of the CZ- gates and of the XOR and M gate, in the experiments we always compensate for such dynamic phases.