<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Optimizing Stabilizer Parities for Improved Logical Qubit Memories</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>12/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10339330</idno>
					<idno type="doi">10.1103/physrevlett.127.240501</idno>
					<title level='j'>Physical Review Letters</title>
<idno>0031-9007</idno>
<biblScope unit="volume">127</biblScope>
<biblScope unit="issue">24</biblScope>					

					<author>Dripto M. Debroy</author><author>Laird Egan</author><author>Crystal Noel</author><author>Andrew Risinger</author><author>Daiwei Zhu</author><author>Debopriyo Biswas</author><author>Marko Cetina</author><author>Chris Monroe</author><author>Kenneth R. Brown</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We study variants of Shor's code that are adept at handling single-axis correlated idling errors, which are commonly observed in many quantum systems. By using the repetition code structure of the Shor's code basis states, we calculate the logical channel applied to the encoded information when subjected to coherent and correlated single qubit idling errors, followed by stabilizer measurement. Changing the signs of the stabilizer generators allows us to change how the coherent errors interfere, leading to a quantum errorcorrecting code which performs as well as a classical repetition code of equivalent distance against these errors. We demonstrate a factor of 3.78 AE 1.20 improvement of the logical T2 Ã in a distance-3 logical qubit implemented on a trapped-ion quantum computer. Even-distance versions of our Shor-code variants are decoherence-free subspaces and fully robust to identical and independent coherent idling noise.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>In quantum error correction, coherent errors are unwanted unitary operations applied to the physical qubits. Unlike stochastic errors, which scale linearly, coherent errors build up quadratically <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref>. Coherent errors of various types can be mitigated through composite pulse sequences <ref type="bibr">[4]</ref><ref type="bibr">[5]</ref><ref type="bibr">[6]</ref>, random compiling <ref type="bibr">[7,</ref><ref type="bibr">8]</ref>, and circuit compilation <ref type="bibr">[9,</ref><ref type="bibr">10]</ref>.</p><p>We consider errors resulting from spatially or temporally correlated phase noise. Such noise can arise from magnetic field fluctuations or instabilities in timing systems, which are a concern in most architectures, including trapped ions, superconductors, neutral atoms, and nitrogen-vacancy diamonds <ref type="bibr">[11]</ref>. For optically addressed qubits, this type of noise can also appear due to beam path length fluctuations or finite laser linewidth <ref type="bibr">[12]</ref>. Although error correction suppresses these errors <ref type="bibr">[13,</ref><ref type="bibr">14]</ref>, they can increase logical qubit error relative to stochastic errors.</p><p>Previous work on temporally correlated idling error, also called coherent idling error, has focused on finding thresholds below which the coherence of the resulting logical channel is reduced <ref type="bibr">[3,</ref><ref type="bibr">15]</ref>. In Ref. <ref type="bibr">[3]</ref>, the authors present an exact solution for the logical channel experienced by a repetition code under coherent idling error. We use this model to solve for the exact logical channels for a set of variants of Shor's 9-qubit code <ref type="bibr">[16]</ref>. Standard stabilizer codes stabilize even parity states. By changing the parity that a stabilizer preserves, we can directly control how the coherent errors interfere. In this way, we can create codes where significant fractions of the coherent errors cancel out, similar to nonstabilizer code constructions <ref type="bibr">[17]</ref>.</p><p>Even-distanced versions of our coherent error resilient code are members of the code family described in Ref. <ref type="bibr">[18]</ref>, and fully cancel homogenous coherent idling error. The code spaces of these Shor codes exist inside of a decoherence-free subspace <ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref>.</p><p>Our calculations follow the example presented in Ref. <ref type="bibr">[3]</ref>. Consider an error model where all qubits are rotated along the Z axis by an angle &#952;, represented by the channel N &#952; &#240;&#961;&#222; on an n qubit density matrix &#961;:</p><p>Now assume that the qubits are being used to encode one classical bit of information in a rotated n-bit repetition code:</p><p>Once the error in Eq. ( <ref type="formula">1</ref>) has been applied, a round of stabilizer measurements are taken, where the stabilizer generators of the repetition code are</p><p>Every syndrome corresponds to two Z-type errors, related by E 1 &#188; E 2 Z L , where Z L &#188; Z &#8855;n and fE 1 ; E 2 g are Z-type errors. The correction applied is chosen to be the PHYSICAL REVIEW LETTERS 127, 240501 (2021) 0031-9007=21=127(24)=240501 <ref type="bibr">(6)</ref> 240501-1 &#169; 2021 American Physical Society lower-weight error, which is optimal if sin 2 &#240;&#952;=2&#222; &lt; 1=2.</p><p>If we define &#945; s &#240;&#946; s &#222; as the prefactor to the corrected (uncorrected) Pauli error corresponding to a syndrome s in an expansion of Eq. ( <ref type="formula">1</ref>), the logical channel after correction is [3]</p><p>As an example in a three-bit repetition code, the syndrome outcome of 01 could be caused by an error IIZ or an error ZZI. The weight-1 error IIZ is corrected, leading to &#945; 01 &#188; cos &#240;&#952;=2&#222; 2 &#189;-i sin &#240;&#952;=2&#222;;</p><p>These amplitudes imply a rotation angle of</p><p>meaning that the logical rotation angle for this syndrome is the physical rotation angle. This is not always true, and as shown in Eq. (3), the logical Z rotation is conditional on the syndrome outcome measured. In the case of an n-bit repetition code, the values of &#945; s and &#946; s only depend on n and the weights of the corresponding errors, and are completely independent of the error arrangement. Consequently, one can define the quantities P n;w &#240;&#952;&#222; &#188; n w &#189;cos&#240;&#952;=2&#222; &#240;n-w&#222; sin&#240;&#952;=2&#222; w 2 &#254; &#189;cos&#240;&#952;=2&#222; w sin&#240;&#952;=2&#222; &#240;n-w&#222; &#222; 2 ;</p><p>where n is the distance, and w is the weight of the correctable (lower weight) error. The logical channel in Eq. (3) can then be rewritten as</p><p>This compact description of the logical channel relies on the simple construction of the repetition code. For most quantum error-correcting codes, syndromes do not translate as directly into easily understood errors. We study the case of Shor's codes, which follow this structure. The 9-qubit code presented in Ref. <ref type="bibr">[16]</ref> can be written as three three-bit repetition codes with Z-type stabilizers, concatenated into a repetition code with X-type stabilizers. The resulting code, with six weight-2Z-type stabilizers and two weight-6Xtype stabilizers, has logical states which are products of Greenberger-Horne-Zeilinger (GHZ) states:</p><p>We consider this code, as well as a variant with Z-type stabilizer generators of opposite parity. In Supplemental Material, Sec. A <ref type="bibr">[24]</ref>, we discuss the pair of codes created by taking these two codes and swapping the stabilizer bases.</p><p>On the left of Fig. <ref type="figure">1</ref> is the standard 9-qubit Shor's code. The logical state preparation and measurement of this code has been demonstrated with trapped ions <ref type="bibr">[25,</ref><ref type="bibr">26]</ref> and photons <ref type="bibr">[27]</ref>. The phase errors on a given GHZ state combine constructively, as can be seen for the states shown in Eq. ( <ref type="formula">9</ref>). This is a consequence of the ZZ stabilizers along each row, which lead to Z&#240;&#952;&#222; errors being indistinguishable for qubits on the same row. We can imagine pushing all the errors to the leftmost column of qubits, which will each experience a rotation of angle n&#952;. The outer repetition code will have the same logical channel as Eq. ( <ref type="formula">8</ref>), with &#952; &#8594; n&#952;:</p><p>This represents a worst-case situation where the logical qubit experiences an error that increases quadratically with distance n.</p><p>We now consider the code on the right of Fig. <ref type="figure">1</ref>, which we will refer to as the antiferromagnetic case since the GHZ states composing its logical states resembles the ground states of an antiferromagnetic Ising spin chain. This code has the same stabilizer structure as that on the left of Fig. <ref type="figure">1</ref>, but with the ZZ stabilizers negated. This does not impact on the code's ability to correct stochastic errors, but causes the interference of the coherent idling errors to go from constructive to destructive. In the even-distance case, all the errors cancel out. These codes are immune to errors described by Eq. ( <ref type="formula">1</ref>), and are an example of the codes described in Ref. <ref type="bibr">[18]</ref>. For the odd-distanced cases, a single error does not cancel on each row. The resulting effective error channel seen by the outer repetition code is identical to that seen in the classical repetition code case, so the logical error channel is identical to that seen in Eq. ( <ref type="formula">8</ref>). This represents a significant improvement in the logical error channel, as the repetition code has the maximum possible threshold of p th &#188; 1=2 <ref type="bibr">[28]</ref>.</p><p>Our discussion above assumes temporal and spatial correlation, but these modified codes also improve protection for errors that are only spatially correlated. This follows from previous work on correlated dephasing noise in the context of weak decoherence-free subspaces <ref type="bibr">[29]</ref>. Here, we do not seek perfect cancellation of correlated errors, but a linear reduction in the error rate.</p><p>We confirm these results on a trapped-ion quantum computer that has previously demonstrated fault-tolerant error-correction protocols <ref type="bibr">[25]</ref>. A chain of 15 ions is trapped above a microfabricated chip trap <ref type="bibr">[30]</ref>, with optical individual site addressing controlled by a multichannel acousto-optic modulator. Measurement, single-qubit gate, and 2-qubit gate fidelities are &gt; 99.5%, 99.98%, and 98.5%, respectively <ref type="bibr">[25]</ref>. The qubit in this system is defined on the electronic ground state hyperfine "clock" states of 171 Yb &#254; ions with angular momentum F and projection m f : j0i</p><p>, where &#948; 2 &#188; &#240;310.8&#222;B 2 Hz is the secondorder Zeeman shift for a magnetic field B in Gauss <ref type="bibr">[31]</ref>.</p><p>In our system, residual second-order sensitivity to magnetic fluctuations and/or local oscillator noise limits the T 2 decoherence time to &#8776;2.75 s, whereas the qubit itself is capable of T 2 &gt; 1 h <ref type="bibr">[32]</ref>. The relevant quantity for this Letter is the unechoed T &#195; 2 &#188; 0.6 s decoherence time using optical control of the qubits, likely dominated by mechanical vibrations that shift the phase of the optical standing wave relative to the ion. In contrast to phase noise, there is also a well-characterized static linear magnetic field gradient across the length of ion chain that results in a qubit frequency shift of AE4 Hz shift relative to the center ion. In Ref. <ref type="bibr">[25]</ref> the chip was rotated so that the magnetic field was constant throughout the chip, as opposed to the linearly varying magnetic field in this geometry. If this shift is not accounted for in software then it will create relative phase shifts between the ions that also appear as a coherent idling error.</p><p>We first study the individual ferromagnetic and antiferromagnetic GHZ states which compose the logical states. These states are</p><p>A code with n &#215; n qubits has a logical state which is a tensor product of n of these states. The logical states and ion-to-qubit mappings for the &#189;&#189;9; 1; 3 ferromagnetic and antiferromagnetic Shor's codes are shown in Fig. <ref type="figure">1</ref>. After these states are prepared, we perform a Ramsey experiment with variable wait time to measure the coherence of the state as a function of time, as in Ref. <ref type="bibr">[25]</ref>. The result of this experiment for different GHZ sizes is shown in Fig. <ref type="figure">2</ref>, where the contrast corresponds to hX &#8855;n i. For the ferromagnetic states in Fig. <ref type="figure">2</ref>(a), we observe an initial fast FIG. <ref type="figure">1</ref>. Diagrams for the ferromagnetic (left) and antiferromagnetic (right) &#189;&#189;9; 1; 3 Shor's codes, as well as an ion chain with labeled ion indices. The qubit state representing j0i L is shown for each variant, with each Greenberger-Horne-Zeilinger (GHZ) state color coded to match the ions in the chain as well as their location in the code diagrams. The qubits in each GHZ state are ordered from left to right. decay of the contrast on a timescale that corresponds to the correlation time of phase noise in our system, followed by a longer slow decay. The antiferromagnetic states in Fig. <ref type="figure">2</ref>(b), exhibit only a slow decay, indicating that these states are more resistant to the correlated phase errors present in the system. Using these states allows the code to inherit their robustness. While the 4-qubit AFM GHZ state is predicted to be completely insensitive to our dominant idling error, we do observe a small decay over 10 ms, indicating small contributions from a other error sources.</p><p>The additional entangling gates penalize the larger GHZ states, and as shown the increased robustness to coherent idling error is not quite enough to outweigh this cost for the 4-qubit AFM state. We now directly compare the performance of &#189;&#189;9; 1; 3 FM and AFM Shor's codes in Fig. <ref type="figure">3</ref>, using a logical qubit Ramsey experiment identical to the one performed in Ref. <ref type="bibr">[25]</ref>. In this experiment, three separate 3-qubit GHZ states are constructed, as shown in Fig. <ref type="figure">1</ref>. Using the structure of the code states, we apply one round of error correction based off the measurement outcomes of the data qubits <ref type="bibr">[25]</ref>, leading to the three curves in Fig. <ref type="figure">3</ref>. Raw curves are constructed by the total parity of the 9 data qubits after a measurement in the X basis, error-corrected curves reconstruct the stabilizer outcomes from these measurements and apply one correction, while error detected curves reconstruct these stabilizer outcomes and then discard any run in which the stabilizers are violated. In this manner, error correction corresponds to "postprocessing" of the data, whereas error detection corresponds to "postselection" of the data. A single error on the data qubits flips the outcome of the raw data, two errors are required to flip the outcome of the corrected data, and three errors are needed to flip the outcome of the detected data. The ferromagnetic code performs worse than the antiferromagnetic code in all three cases. We can calculate logical T2 &#195; times of 115 <ref type="bibr">(10)</ref> ms in the ferromagnetic case and 450(150) ms in the antiferromagnetic case.</p><p>The logical states presented in Eq. ( <ref type="formula">9</ref>) are composed of three separate GHZ states, allowing us to study their performance separately in Fig. <ref type="figure">4</ref>. The reduction in contrast for the central AFM GHZ state is due to lower gate fidelities in its preparation circuit, not coherent error. By considering the spatial arrangement of the GHZ states, as shown in Fig. <ref type="figure">1</ref>, we can study the impact of the static magnetic field gradient on the code. Any state which balances the number of excitations in each GHZ state is resilient to dynamic noise of the form described in Eq. ( <ref type="formula">1</ref>) and shown in Fig. <ref type="figure">2</ref>. Our particular mapping, however, is also robust to magnetic fields which slowly vary in space because our states have errors cancel with their nearest neighbors. In Fig. <ref type="figure">4</ref>, we see that the magnetic field appears to vary linearly across the axis of the trap, leading to GHZ states experiencing different phase shifts depending on their position in the chain. While this error does not decrease the coherence of individual GHZ states, the performance of the code depends on the three GHZ states remaining in phase with each other. The physical states shown in Fig. <ref type="figure">4</ref>(a), which correspond to the FM code in Fig. <ref type="figure">1</ref>, experience higher relative phase shifts than their AFM counterparts in Fig. <ref type="figure">4(b</ref>). If we assume that the magnetic field is linearly increasing along the chain, we can define the angle of a qubit at integer position x as</p><p>where &#948; is the difference in phase between a qubit in position x and the one in x &#254; 1, and &#952; 0 is the phase accumulated by the central ion. Under these conditions, the phase accumulated for the FM GHZ states in Fig. <ref type="figure">1</ref> would be  In comparison, the phase accumulated for the AFM GHZ states would be</p><p>corresponding to a threefold reduction in accumulated phase for the individual GHZ states. These accumulated phases take the place of &#952; in Eq. ( <ref type="formula">3</ref>)when error correction is applied using a distance-3 code. A threefold reduction in accumulated phase would correspond to an approximately 81-fold reduction in logical error rate, assuming no other error sources existed in the system. In Supplemental Material, Sec. C <ref type="bibr">[24]</ref> we discuss a variation on this experiment which allowed us to experimentally confirm our understanding of the magnetic fields present in our system. Of course, if the magnetic fields are static and well known, a preferable option would be to adjust the qubit frequencies in classical control. However this option is not possible for unknown drifts which may occur during a computation. Additionally, in trapped-ion architectures that involve extensive shuttling operations <ref type="bibr">[33]</ref>, qubits will acquire a path dependant phase that needs to be calibrated and precalculated. Codes robust to this error may reduce calibration overheads and circuit compilation complexity.</p><p>Our primary conclusion is that changing stabilizer parity allow us to control the interference between correlated idling errors. We present a family of codes, which we refer to as antiferromagnetic Shor's codes, which inherit the one sided threshold of standard Shor's codes while also possessing a threshold against correlated idling noise in the other basis. The even-distanced versions of our code family are an example of the codes described in Ref. <ref type="bibr">[18]</ref>. The particular choice of qubit mapping we use also suppresses idling errors which are slowly varying in space. Such idling-resistant codes could be used in a concatenated scheme much like the one discussed in Ref. <ref type="bibr">[17]</ref>. We present experimental data from a trapped-ion quantum computer which demonstrates our codes showing marked improvements in performance relative to the standard Shor's code. We can also change parities preserved by higher weight stabilizers, as considered in Supplemental Material, Sec. A <ref type="bibr">[24]</ref>, leading to less drastic cancellations. These modifications still leave error-correcting performance against uncorrelated stochastic errors unchanged, while improving the resilience to correlated idling error, and could be implemented for any CSS code.</p></div></body>
		</text>
</TEI>
