Fault-Tolerant Quantum Error Detection: Researcharticle
Fault-Tolerant Quantum Error Detection: Researcharticle
INTRODUCTION pffiffiffi
j01iL ¼ ðj0011i þ j1100〉Þ= 2 ð1BÞ
A B
1 2 Za 1 2 Xb 1 2 1 2
3 4 3 4 3 4 3 4
Xa Zb Sz Sx
Fig. 1. Graphical representation of the logical operators and stabilizers de-
fining the [[4, 2, 2]] code on physical qubits 1 to 4. The structure of the logical C D
operators X and Z for the two encoded qubits La and Lb, and for the two stabi-
lizers Sx and Sz, is defined in Eqs. 3 and 4.
With these operators and the circuits given in Fig. 2 (A to D), any E F
state |LaLb〉L can be generated maintaining the fault tolerance of La.
The [[4, 2, 2]] code has the additional advantage that, in contrast to
other codes (19), fault-tolerant syndrome extraction for the logical qubit
La can be achieved using a bare ancilla, that is, an ancilla qubit that is
not itself a logical qubit. The stabilizers to extract logical phase-flip (Z)
and bit-flip (X) errors are Sx and Sz, respectively
Sz ¼ Z⊗Z⊗Z⊗Z ð4BÞ
As in a Bacon-Shor code block (20, 21), the code space together with Fig. 2. Circuit diagrams. (A to D) Circuits for the encoding of four different logical
the logical operators and stabilizers form a subsystem that allows local states constructed such that logical qubit La is prepared fault-tolerantly. Any logical
syndrome extraction similar to that of Napp and Preskill (22), as de- state can be achieved by applying single logical qubit operators to states en-
picted in Fig. 1. The difference is that the stabilizers have weight 4 coded as shown here. (E and F) Circuits for the two stabilizers Sx and Sz, which
because we simultaneously extract information about the gauge qubit project Z- and X-type errors, respectively, onto an ancilla qubit a. Note that a
controlled Z-gate is realized by an inverted CNOT with the ancilla in the Z-basis
Lb. Applying these stabilizers conditional on the state of an ancilla qubit
as the target. (G) Example of fault-tolerant construction of circuits for logical qubit
extracts the parity of the data qubits along X or Z (see Fig. 2, E and F). La: The encoding circuit for |00〉L has a single nondetectable error channel. A bit-flip
Measuring the ancilla yields either |0〉, indicating no error, or |1〉, error E occurring as shown can change the state to |01〉L, which is an error on the
meaning an error has occurred and the run is to be discarded. With only logical gauge qubit Lb. Logical qubit La is prepared fault-tolerantly. This property
one ancilla qubit available, we measure the two stabilizers in separate holds for all circuits (A to F).
experiments. Because we prepare eigenstates of logical Pauli operators,
only logical Pauli operations that change the ideal state result in errors.
Both stabilizer measurements serve to determine the overall yield, that
is, the fraction of runs for which no error was indicated. In addition to
the error checks provided by stabilizer measurements, only even-parity probability. The data yield 91.1(4)% even-parity outcomes from the
outcomes are accepted when the data qubits are measured at the end of four data qubits. Breaking these results down by logical state gives
the circuit. Note that similar weight 4 stabilizers have recently been im- 98.0(2)% population in the target state |00〉L. The error falls almost
plemented in superconducting qubits (23). entirely on |01〉L, which corresponds to a 1.7(2)% error on the non–fault-
We implement the [[4, 2, 2]] code on a fully connected quantum tolerantly prepared gauge qubit Lb. The 0.11(6)% error exclusively on
computer comprising a chain of five single 171Yb+ ions confined in La is an order of magnitude lower than this, and at a similar level to
a Paul trap (see Materials and Methods). The state-detection fidelity the 0.18(7)% logical two-qubit error resulting in |11〉L. For the logical
for a single qubit is 99.7(1)% for state |0〉 and 99.1(1)% for state |1〉. A state preparation step, both of these small erroneous state populations
general five-qubit state is detected with 95.7(1)% fidelity. Single- and are dominated by physical readout errors.
two-qubit gate fidelities are typically 99.1(5) and 97(1)%, respectively. With |00〉L thus prepared, we apply in turn the two stabilizers Sz
Typical gate times are 20 and 250 ms for single- and two-qubit gates, and Sx, shown in Fig. 2 (E and F), for nondemolition syndrome extrac-
respectively. The computational gates H and CNOT are generated by tion. The results are shown in Fig. 3B. Populations in the odd-numbered
combining several physical-level single- and two-qubit gates in a states reflect events where an error is detected by a stabilizer. The results
modular fashion (24). of the logical states are similar, with |00〉L populations of 97.8(2) and
97.1(3)%, respectively, and the errors occur predominantly in the
non–fault-tolerantly prepared gauge qubit Lb. The errors on La are
RESULTS 0.2(1)%, similar to the error floor given by the |11〉L population, which is
We start by preparing state |00〉L using the circuit shown in Fig. 2A. slightly higher than after mere state preparation due to the additional
The results of measuring this state directly after preparation are gates introduced by the stabilizers. Sx introduces X-type errors in the
shown in Fig. 3A. The target states 0 (|00000〉) and 30 (|11110〉) show system, which can be seen from a higher Lb error. Sz introduces Z-type
that we succeed in preparing and measuring this state with ≃90% errors, which do not affect |00〉L. The opposite is true when applying
A B
50 50
Prep, S
z
40 40 Prep, S
x
Probability / %
Probability / %
100 98.0 100 97.8 100 97.1
30 30
Prob. / %
Prob. / %
Prob. / %
10 10 10
1.7 1.7 2.4
1 1 1
20 20
0.1 0.2 0.1 0.3 0.1 0.3
0 0 0.2 0 0.2
0.1 1 1 1
10 1 0 10 1 0 1 0
La (FT) Lb (NFT) La (FT) Lb (NFT) La (FT) Lb (NFT)
0 0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Detected state Detected state
Fig. 3. Results achieved with logical state |00〉L. (A) Results from the preparation of state |00〉L. The abscissa represents the five-qubit states in decimal. We succeed in
preparing (prep) and measuring the state with ~90% probability. The inset shows the result after postselection on the state being in the logical basis, that is, even
parity. It is broken down by the logical state of the fault-tolerantly (FT) prepared qubit La and the non–fault-tolerantly (NFT) prepared qubit Lb. (B) Results of the
stabilizer measurements after preparation of |00〉L. The yields are 77.8(6) and 65.2(7)% for Sz and Sx, respectively. The insets show that the error probability on the
fault-tolerantly prepared and stabilized logical qubit La is an order of magnitude below the non–fault-tolerantly prepared and stabilized qubit Lb.
the stabilizers to |++〉 instead. Table 1 (see Materials and Methods) of a physical qubit is measured with 98.8(2)% fidelity, nearly a factor
summarizes results for different logical states prepared with the circuits of 2 worse than La. The infidelity in this case is dominated by the single-
shown in Fig. 2 (A to D). The circuit elements that dominate the intrin- qubit detection error of 0.9(1)% for |1〉, which the code successfully
sic errors in our system are the two-qubit gates. Note that after a circuit suppresses in La.
with seven CNOT gates, each of which introduces 3 to 4% infidelity, we To further investigate the robustness of the code, we add two kinds
obtain the correct answer |00〉L with 97 to 98% probability. The gauge of error to the system. First, we deliberately introduce single- and two-
qubit Lb circuit failures occur at approximately the error rate of one qubit Pauli errors and study how errors on La and Lb scale with increasing
two-qubit gate, whereas La errors are suppressed substantially below physical qubit errors. Instead of trying to reproduce a stochastic error
that level to <1%. These results show the power of fault-tolerant channel, which can be tedious for low error rates (25), we sample the
preparation and stabilizer measurement. The circuits succeed in dis- various error configurations and then multiply them by their respective
carding nearly all errors, but we pay a price because the yield is in the statistical importance to obtain a logical error probability (see Materials
65 to 75% range. We must expect to discard around half of the runs and Methods). We further compare our experimental results to an exact
when measuring both stabilizers. The yield is higher for preparation simulation with optimized error parameters (see Materials and Methods).
of logical states without syndrome measurements because there are The results are shown in Fig. 4A. The clear separation between the two
fewer gates to introduce error and there is only a single selection step. logical qubits is persistent until they converge above 20% introduced
The [[4, 2, 2]] code allows transversal operations, that is, single-qubit error and approach the curve for the theoretical case without intrinsic
logical gates that are generated by applying single-qubit physical gates. errors. In this example, a physical qubit prepared in state |0〉 is outper-
To show an example of this, we prepare |00〉L followed by the logical formed by logical qubit La over the entire range, although our measure-
10 75
Logical error probability / %
Logical error probability / %
Yield / %
70
65 1
NFT
al
ic
1 60
ys
Ph
55
50
FT
0.1 45 0.1
0.1 1 10 100 −0.05 0 0.05 0.1 −0.05 0 0.05 0.1
Inserted error probability / % Miscalibration α Miscalibration α
Fig. 4. Performance of the code under different kinds of artificial errors. (A) Logical error probability under artificially introduced stochastic Pauli errors. Uncertainties
shown in gray with dashed outlines. We prepare state |00〉L, introduce a specific error, and apply Sz before readout. The parameter values for the curves (see Materials and
Methods) corresponding to the two logical qubits are determined either experimentally (solid lines) or from simulation (dashed lines). The black curve shows the limiting
theoretical case without intrinsic errors (see Materials and Methods). At low added error rates, the intrinsic errors dominate, and the fault-tolerantly constructed qubit La starts
about an order of magnitude below the non–fault-tolerantly constructed qubit Lb. With increasing inserted error probability, the added Pauli errors become dominant, and the
La/b curves converge and approach the theory curve without intrinsic error. The solid black line shows the error rate for a single physical qubit. La results in a lower error across
the entire range relative to the physical qubit, although our measurement uncertainty means that this is no longer significant below p ~ 0.07%. The Lb error is lower than the
physical qubit for added errors >4%. (B and C) Preparing |00〉L p and measuring Sx/z with purposefully miscalibrated two-qubit gates, known as XX-gates. A miscalibration of a
ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
means that the Bell state produced by the gate is imbalanced: 0:5 aj00i þ i 0:5 þ aj11i. The yields diminishing with miscalibration for the stabilizer measurements are
shown in (B), whereas the errors on the logical qubits presented in (C) remain similar, with La errors about an order of magnitude lower than Lb errors.
Second, we run the |00〉L data with purposefully miscalibrated two- appear in a particular error configuration is given by its weight w,
qubit gates. The results for the logical errors are shown in Fig. 4C. The and its probability of occurrence or statistical importance is po =
error gap of nearly an order of magnitude between La and Lb persists (p/3)w(1 − p)4−w. The probability of a logical error is given by
over a wide range of calibration errors, which are absorbed into a
reduced yield as shown in Fig. 4B. This proves that the code succeeds
in protecting qubit La against intrinsic systematic errors. pL ¼
∑e poðeÞ⋅pa ðeÞ⋅pf ðeÞ ð5Þ
∑e po ðeÞ⋅pa ðeÞ
DISCUSSION The sum runs over all error configurations. pa is the yield, that is, the
Note that the [[4, 2, 2]] code is relevant beyond its limited immediate probability that a run is accepted, and pf is the probability of failure after
application as an error detection code. It forms the base encoding layer postselection, that is, the probability that an accepted run suffers a log-
of the high-threshold Knill C4/C6 code (26) and of a recent proposal for ical error. The dividend is the number of accepted runs with a logical
a topological code (27), and it is equivalent to one face of the distance error, whereas the divisor is the number of accepted runs (both divided
3 color code (28) or the Steane code (2). The code is robust to the high by the total number of runs). The parameters pa and pf were found from
levels of intrinsic errors present in current realizations of quantum com- either experiment or simulation (see Fig. 4A). Out of the total number of
puters. We find no evidence of unexpected two-qubit correlated errors, error configurations, nðwÞ ¼ w3 ð 4 Þ. We covered the error configura-
w
which are always assumed absent when constructing error correction tions of weight 0 and 1 exhaustively. For the w = 2 subset, we only
procedures. Therefore, our results both serve as a demonstration that sampled 27 representative configurations out of the total 54 and doubled
6. J. Chiaverini, D. Leibfried, T. Schaetz, M. D. Barrett, R. B. Blakestad, J. Britton, W. M. Itano, 24. S. Debnath, N. M. Linke, C. Figgatt, K. A. Landsman, K. Wright, C. Monroe, Demonstration
J. D. Jost, E. Knill, C. Langer, R. Ozeri, D. J. Wineland, Realization of quantum error of a small programmable quantum computer with atomic qubits. Nature 536, 63–66
correction. Nature 432, 602–605 (2004). (2016).
7. P. Schindler, J. T. Barreiro, T. Monz, V. Nebendahl, D. Nigg, M. Chwalla, M. Hennrich, R. Blatt 25. S. Bravyi, A. Vargo, Simulation of rare events in quantum error correction. Phys. Rev. A 88,
, Experimental repetitive quantum error correction. Science 332, 1059–1061 (2011). 062308 (2013).
8. B. P. Lanyon, P. Jurcevic, M. Zwerger, C. Hempel, E. A. Martinez, W. Dür, H. J. Briegel, 26. E. Knill, Quantum computing with realistically noisy devices. Nature 434, 39–44 (2005).
R. Blatt, C. F. Roos, Measurement-based quantum computation with trapped ions. 27. B. Criger, B. Terhal, Noise thresholds for the [[4, 2, 2]]-concatenated toric code. QIC 16,
Phys. Rev. Lett. 111, 210501 (2013). 1261–1281 (2016).
9. G. Waldherr, Y. Wang, S. Zaiser, M. Jamali, T. Schulte-Herbrüggen, H. Abe, T. Ohshima, 28. H. Bombin, M. A. Martin-Delgado, Topological quantum distillation. Phys. Rev. Lett. 97,
J. Isoya, J. F. Du, P. Neumann, J. Wrachtrup, Quantum error correction in a solid-state 180501 (2006).
hybrid spin register. Nature 506, 204–207 (2014). 29. S. Olmschenk, K. C. Younge, D. L. Moehring, D. N. Matsukevich, P. Maunz, C. Monroe,
10. D. Nigg, M. Müller, E. A. Martinez, P. Schindler, M. Hennrich, T. Monz, Manipulation and detection of a trapped Yb+ hyperfine qubit. Phys. Rev. A 76, 052314
M. A. Martin-Delgado, R. Blatt, Quantum computations on a topologically encoded qubit. (2007).
Science 345, 302–305 (2014). 30. K. Mølmer, A. Sørensen, Multiparticle entanglement of hot trapped ions. Phys. Rev. Lett.
11. J. Kelly, R. Barends, A. G. Fowler, A. Megrant, E. Jeffrey, T. C. White, D. Sank, J. Y. Mutus, 82, 1835 (1999).
B. Campbell, Y. Chen, Z. Chen, B. Chiaro, A. Dunsworth, I.-C. Hoi, C. Neill, P. J. J. O’Malley, 31. E. Solano, R. L. de Matos Filho, N. Zagury, Deterministic Bell states and measurement of
w?>C. Quintana, P. Roushan, A. Vainsencher, J. Wenner, A. N. Cleland, J. M. Martinis, the motional state of two trapped ions. Phys. Rev. A 59, R2539 (1999).
State preservation by repetitive error detection in a superconducting quantum circuit. 32. G. J. Milburn, S. Schneider, D. F. V. James, Ion trap quantum computing with warm ions.
Nature 519, 66–69 (2015). Fortschritte der Physik 48, 801–810 (2000).
12. A. D. Córcoles, E. Magesan, S. J. Srinivasan, Andrew W. Cross, M. Steffen, Jay M. Gambetta, 33. S.-L. Zhu, C. Monroe, L.-M. Duan, Arbitrary-speed quantum gates within large ion crystals
Jerry M. Chow, Demonstration of a quantum error detection code using a square lattice through minimum control of laser beams. Europhys. Lett. 73, 485 (2006).
of four superconducting qubits. Nat. Commun. 6, 6979 (2015). 34. T. Choi, S. Debnath, T. A. Manning, C. Figgatt, Z.-X. Gong, L.-M. Duan, C. Monroe, Optimal
REFERENCES This article cites 31 articles, 3 of which you can access for free
http://advances.sciencemag.org/content/3/10/e1701074#BIBL
PERMISSIONS http://www.sciencemag.org/help/reprints-and-permissions
Science Advances (ISSN 2375-2548) is published by the American Association for the Advancement of Science, 1200 New
York Avenue NW, Washington, DC 20005. 2017 © The Authors, some rights reserved; exclusive licensee American
Association for the Advancement of Science. No claim to original U.S. Government Works. The title Science Advances is a
registered trademark of AAAS.