<?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'>Fault-Tolerant Quantum Computation Using Large Spin-Cat Codes</title></titleStmt>
			<publicationStmt>
				<publisher>PRX Quantum</publisher>
				<date>06/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10572893</idno>
					<idno type="doi">10.1103/PRXQuantum.5.020355</idno>
					<title level='j'>PRX Quantum</title>
<idno>2691-3399</idno>
<biblScope unit="volume">5</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Sivaprasad Omanakuttan</author><author>Vikas Buchemmavari</author><author>Jonathan A Gross</author><author>Ivan H Deutsch</author><author>Milad Marvian</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We construct a fault-tolerant quantum error-correcting protocol based on a qubit encoded in a large spin qudit using a spin-cat code, analogous to the continuous-variable cat encoding. With this, we can correct the dominant error sources, namely processes that can be expressed as error operators that are linear or quadratic in the components of angular momentum. Such codes tailored to dominant error sources can exhibit superior thresholds and lower resource overheads when compared to those designed for unstructured noise models. A key component is the gate that preserves the rank of spherical tensor operators. Categorizing the dominant errors as phase and amplitude errors, we demonstrate how phase errors, analogous to phase-flip errors for qubits, can be effectively corrected. Furthermore, we propose a measurement-free error-correction scheme to address amplitude errors without relying on syndrome measurements. Through an in-depth analysis of logical gate errors, we establish that the fault-tolerant threshold for error correction in the spin-cat encoding surpasses that of standard qubit-based encodings. We consider a specific implementation based on neutral-atom quantum computing, with qudits encoded in the nuclear spin of 87Sr, and show how to generate the universal gate set, including the rank-preserving gate, using quantum control and the Rydberg blockade. These findings pave the way for encoding a qubit in a large spin with the potential to achieve fault tolerance, high threshold, and reduced resource overhead in quantum information processing.]]></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"><head>I. INTRODUCTION</head><p>Quantum computers have the potential to provide a substantial advantage over their classical counterparts <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref><ref type="bibr">[5]</ref>. However, quantum computers are extremely susceptible to environmental noise and imprecise control, which hinders achieving their full computational capacity. Faulttolerant quantum computation (FTQC), provides a solution to perform reliable computation even in the presence of imperfect elementary components <ref type="bibr">[6]</ref><ref type="bibr">[7]</ref><ref type="bibr">[8]</ref><ref type="bibr">[9]</ref>. The cornerstone of FTQC is the threshold theorem, which states that if the error rate of individual components remains below a constant threshold, then arbitrarily long quantum computation can be performed <ref type="bibr">[6,</ref><ref type="bibr">7,</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref>. In addition to the value of noise threshold, a critical aspect of FTQC is the resource overhead, quantifying the number of physical systems required to encode logical information. Despite the formidable challenges, there has been notable experimental progress in FTQC, bringing us closer to harnessing the full potential of quantum computing <ref type="bibr">[13]</ref><ref type="bibr">[14]</ref><ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref>.</p><p>The conventional approaches for FTQC are mostly devoted to structureless and uncorrelated noise. An instance of this is depolarizing noise, where all local Pauli operators have an equal probability. However, such decoherence models often entail stringent threshold requirements and result in significant overheads for FTQC <ref type="bibr">[8,</ref><ref type="bibr">9,</ref><ref type="bibr">19,</ref><ref type="bibr">20]</ref>. An alternative strategy involves seeking errorcorrecting codes tailored to the prevalent noise sources of the particular physical platform. When possible, these tailored approaches can lead to improved thresholds and reduced resource overhead <ref type="bibr">[12,</ref><ref type="bibr">21]</ref>. For instance, biased qubits in bosonic systems can lead to exponentially suppressed bit-flip errors compared to phase-flip error <ref type="bibr">[22]</ref><ref type="bibr">[23]</ref><ref type="bibr">[24]</ref><ref type="bibr">[25]</ref>. Additionally, in scenarios where erasure errors dominate over Pauli errors, tailored error-correcting codes have proven advantageous <ref type="bibr">[26]</ref><ref type="bibr">[27]</ref><ref type="bibr">[28]</ref>. By addressing the specific characteristics of dominant noise sources, these tailored methods offer promising avenues to enhance the performance of FTQC.</p><p>Another avenue to develop more efficient errorcorrected quantum processors is to take advantage of the larger Hilbert spaces that can be controlled in individual subsystems for a given physical platform. While many platforms offer access to multiple levels, the focus is often on isolating two well-defined levels for qubit-based computations. However, a more advantageous approach emerges when we exploit these multiple levels to create qubits naturally resilient to dominant noise channels <ref type="bibr">[29]</ref><ref type="bibr">[30]</ref><ref type="bibr">[31]</ref><ref type="bibr">[32]</ref><ref type="bibr">[33]</ref>. The quintessential example is the Gottesman-Preskill-Kitaev encoding of a qubit in an infinite dimensional oscillator <ref type="bibr">[29]</ref>. In this work we will consider encoding a qubit in a spin-J system, corresponding to a qudit with d = 2J + 1 levels <ref type="bibr">[34]</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref>. By harnessing the properties of this qudit with multiple levels, we can establish logical qubits that possess inherent resistance to the impact of dominant noise channels, paving the way for more robust quantum computation.</p><p>Other works have previously explored the concept of encoding a qubit in a large spin <ref type="bibr">[30,</ref><ref type="bibr">31,</ref><ref type="bibr">37]</ref>. In this context, the angular momentum operators form the natural set of error operators for such encodings, generalizing the Pauli operator basis for qubits. Earlier studies identified quantum error-correcting encodings, but these constructions were not fault tolerant <ref type="bibr">[31,</ref><ref type="bibr">37]</ref>. Here, our main objective is to investigate how we can achieve FTQC, specifically for a qubit encoded in a large spin. This approach may be extended to a wide range of physical systems, including semiconductor systems <ref type="bibr">[30,</ref><ref type="bibr">37]</ref>, ion traps <ref type="bibr">[38,</ref><ref type="bibr">39]</ref>, atomic systems <ref type="bibr">[34]</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref>, molecules <ref type="bibr">[40,</ref><ref type="bibr">41]</ref>, and superconducting systems <ref type="bibr">[42,</ref><ref type="bibr">43]</ref>, wherein spin qudits offer the means to encode logical qubits.</p><p>In this work, we direct our attention to a specific encoding we call the "spin-cat encoding." This choice is motivated by the cat encodings employed in bosonic continuous-variable systems <ref type="bibr">[24,</ref><ref type="bibr">25]</ref>, used to correct photon-loss errors, the dominant errors for the continuousvariable systems. Similarly, spin-cat encoding can rectify the dominant error operators in spin systems, namely, the linear and quadratic angular-momentum operators. Physically, these arise from uncontrolled Larmor precession of the spins and optical pumping between magnetic sublevels. To achieve fault tolerance with spin-cat encoding, we develop two key ingredients. First, we show how to implement a universal gate set that preserves the limited error space of interest. An essential element here is the "rank-preserving CNOT" gate that ensures that one does not convert correctable errors into uncorrectable ones. Second, aiming at a more easily implemented scheme, we develop a measurement-free error-correction gadget for spin systems that require fresh ancilla spins and data-ancilla operations but no measurements. As we will show, this scheme effectively utilizes the rank-preserving CNOT gate in conjunction with standard phase-flip error correction to address and correct angular-momentum errors.</p><p>A distinctive aspect of the spin-cat encoding, setting it apart from other spin encodings <ref type="bibr">[31,</ref><ref type="bibr">37,</ref><ref type="bibr">44,</ref><ref type="bibr">45]</ref>, is its unique structural composition. In contrast to these earlier methods, the error subspaces in the spin-cat encoding partition the physical space into two-dimensional subspaces where logical operations act identically. This gives the structure of a stabilizer code, a feature that plays a pivotal role in enabling fault-tolerant schemes for error correction.</p><p>The remainder of this paper is organized as follows. In Sec. II we define the cat codes for spin systems and the natural basis for the dominant error channels. In Sec. III, we discuss the requirements on gates in order to not spread correctable errors. We describe the implementation of a rank-preserving CNOT gate for the encoding of a qubit in the nuclear spin of 87 Sr in Sec. III B and the necessary measurement and state-preparation steps to implement the universal gate set in Sec. III C. In Sec. IV, we explain the protocol for syndrome extraction needed to correct the errors in spin-cat encoding, and the measurement-free error correction native to the qubit encoded in the spin. In Sec. V we obtain the threshold for FTQC based on the logical CNOT gate. We conclude and explore possible future directions in Sec. VI.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. GENERALIZATION OF CAT CODE FOR QUDITS AND SPIN SYSTEMS</head><p>In this section, we introduce our encoding, present the most prevalent types of noises in spin systems, and look at how they affect an encoded qubit. We consider quantum information encoded in large spins with angular momentum J , a qudit of dimension d = 2J + 1. The space of local errors on a spin system is spanned by the irreducible spherical tensor operators T (k)  q (J ) <ref type="bibr">[46]</ref> which are orthogonal polynomials in the spin angular-momentum components, {J x , J y , J z } of order k, with q ranging from -k to k. The qudit operator space is spanned by the basis of tensors from k = 1 to k = 2J . In most platforms, physical errors are associated with low rank-k tensors for J 1. For example, erroneous Larmor precession caused by noisy magnetic fields are generated by the SU(2) algebra, or rank-1 tensors. When controlled by laser light, as in atomic systems, optical pumping arising from photon scattering can lead to rank-2 errors. Higher rank errors are rare, as they involve multiphoton processes or higher rank tensor perturbations. We thus design codes that can correct any errors in the space spanned by the Kraus operators in the set of linear and quadratic spin operators {T (1)  q (J ), T (2)  q (J )} <ref type="bibr">[31]</ref>. For J 1, this is a substantially reduced error space (dimension 8) compared to the total space of all possible errors [dimension (2J + 1) 2 -1].</p><p>To design a spin encoding that can efficiently correct this biased noise structure, we consider the bosonic cat encoding of a qubit <ref type="bibr">[24]</ref>. In this encoding, the qubit states |0 and |1 are chosen to be,</p><p>where |&#945; is a coherent state of a single bosonic mode, for, e.g., a mode of a microwave cavity as in superconducting systems. When the dominant source of noise is photon loss, this encoding exhibits a biased noise channel where increasing the amplitude &#945;, exponentially suppresses bitflip errors when compared to phase-flip errors. It has been shown that by using simple codes such as a repetition code to correct phase flips, one can take advantage of this bias in the noise to achieve significant improvement in the threshold for FTQC <ref type="bibr">[12,</ref><ref type="bibr">24]</ref> for cat qubits.</p><p>In this work, we pursue a similar approach for finitedimensional spin systems and consider the spin-cat encoding with,</p><p>where now |0 = |J , -J and |1 = |J , J are the spin coherent states along the physical quantization (z) axis. We call this the spin-cat encoding. Similar to previous works based on continuous-variable bosonic cat states <ref type="bibr">[24,</ref><ref type="bibr">25]</ref>, the spin-cat states are defined along the 1 axis of the qubit Bloch sphere; see Fig. <ref type="figure">1</ref>(a). Note that, unlike the coherent states in the continuous-variable setting, the spin coherent states are perfectly orthogonal to each other.</p><p>Despite utilizing a similar encoding, there are significant differences between the dominant sources of noise and the easy-to-implement operations in the spin system compared to bosonic cats. Thus, this encoding requires the development of new error-correction procedures that we address in this work. Central to the continuous-variable cat encoding, as explored in Refs. <ref type="bibr">[24,</ref><ref type="bibr">25]</ref>, is the reduction in bit-flip errors. The key to this bias is the presence of an energy gap between the excited-state manifold and the logical subspace, that scales with |&#945;| 2 . While this encoding offers significant advantages compared to standard qubit-based encoding, the leakage to these excited states can have detrimental effects on the energy-protected qubits. Dissipative stabilization can be employed to overcome these errors <ref type="bibr">[47]</ref>.</p><p>In contrast, in spin-cat encoding we use an alternative approach for fault tolerance. We consider a primary layer of encoding where we correct for the physically relevant errors and then use a second layer of concatenation to achieve fault-tolerant quantum computation. We can achieve this because the physically relevant errors are a small subset of all the possible errors for the encoded qubit. For the spin-cat encoding, these physically relevant errors are composed of spherical tensors of rank 1 and rank 2, as described above. The key goal of the first layer of the encoding is to correct for these rank-1 and rank-2 errors. Our protocol is fault tolerant because the universal gates and error correction performed in the first layer of encoding do not convert lower-rank spherical tensor operators to higher-rank operators. We call this "rankpreserving" error correction. It is a generalization of the bias-preserving error correction where the dominant error for the encoded qubit is a single Pauli error. In the second layer of encoding, the relevant errors are Pauli errors on the logical qubit, which can be corrected by any standard error-correction protocol.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Error characterization</head><p>To categorize the relevant errors that can be corrected for the spin-cat encoding, it is useful to define the generalized "kitten states" as,</p><p>where,</p><p>The case m = 0 is the spin-cat state. The total Hilbert space of the spin-cat encoding decomposes to d/2 qubit subspace where each of the qubit subspaces is spanned by the kitten states |&#177; m . (For the remainder of this paper, we consider J to be half-integer, i.e., even d. The proposed schemes can be easily adapted for odd d with minor modifications.). Thus we can write,</p><p>where each H 2 is a kitten subspace and H d is the total Hilbert space of the qudit. These subspaces are preserved by rotations about the spin quantization z axis and by &#960; pulses around axes in the equatorial plane that exchange |&#177;J . We also define the following projectors onto 0 and 1 subspaces that define correctable errors,</p><p>See Fig. <ref type="figure">1</ref> for an illustration. The relevant errors on the spin-cat encoding that we aim to correct are a combination of amplitude and phase errors. The amplitude errors are defined by the following transformation:</p><p>where c k is an arbitrary complex number. The phase error is given by the transformation,</p><p>Physically, these occur as follows. First, consider spin rotations,</p><p>For &#952; 1 their actions action on the spin-cat states is</p><p>Thus, the effect of U Z is to introduce a phase error on the spin-cat states whereas U X generates an amplitude error that takes a cat state to a kitten state with m = 1. The ratio of probabilities of amplitude errors to phase errors due to random rotation errors goes as 1/J , and hence approaches zero for large values of J . Next, we consider errors resulting from optical pumping associated with photon scattering. For example, given a laser photon linearly polarized along the quantization axis, followed by the emission of q = 0, &#177;1 helicity photon, the Lindblad jump (Kraus) operators W q are given by <ref type="bibr">[48]</ref>, W 0 = &#946;T (2)  0 ,</p><p>where &#945;, &#946; are real numbers that depend on the atomic structure and the states being excited by a near resonance laser. (See Appendix B details.) Optical pumping can include rank-2 tensors as it involves two photons. The effect of optical pumping introduces both amplitude errors that change the kitten subspace Eq. ( <ref type="formula">7</ref>), and phase errors as given in Eq. <ref type="bibr">(8)</ref>. In contrast to errors that result from rank-1 SU(2) rotation, in optical pumping, it is equally important to correct both amplitude damping and phase errors and ultimately, we must do so fault tolerantly. Amplitude errors up to rank K = 2J -1/2 can be corrected by identifying whether the system is in a specific kitten state with a given m value. To correct for the phase errors, we concatenate the spin-cat code in a repetition code with logical states,</p><p>While we consider a three-qubit repetition code here and throughout Sec. IV for simplicity, in Sec. V we will look at repetition codes with more than three qubits in order to calculate the threshold for fault tolerance. One can then perform the corresponding error-correction steps similar to the approach taken in the continuous-variable encoding <ref type="bibr">[24,</ref><ref type="bibr">25]</ref>. We call this the "logical-level encoding" to differentiate it from the physical-level encoding in Eq. ( <ref type="formula">4</ref>). More formally, in Appendix C we show that the logicallevel encodings in Eq. ( <ref type="formula">12</ref>) can correct any single spin angular-momentum errors of the form,</p><p>In practice we can restrict our attention to quadratic polynomials.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. The irreducible spherical tensor basis</head><p>The irreducible spherical tensor basis provides a natural basis to characterize the action of the error operators. In the basis of the magnetic sublevels, the normalized tensors are <ref type="bibr">[46]</ref> </p><p>where C J ,m J ,m ;kq = J , m J , m ; k, q are the Clebsch-Gordan coefficients. The spherical tensor operators of rank k are the solid harmonics consisting of polynomials on the angular-momentum operators of order k. To track how errors occur, it is convenient to introduce the following linear combination of the spherical tensor operators:</p><p>for 0 &#8804; k &#8804; 2J + 1 and q &gt; 0. It is straightforward to check that these operators form another orthonormal basis for a spin-J system, i.e.,</p><p>Tr</p><p>for 0 &#8804; k, k &#8804; 2J + 1, 0 &#8804; q &#8804; k, and 0 &#8804; q &#8804; k . The action of the operators on the cat and kitten states are given (for q &gt; 0) as,</p><p>Note that the states on the righthand side of the equations are not normalized, as the operators S (k)  q , A (k) q are not unitary. They are the Kraus operators corresponding to the relevant errors.</p><p>The action of the Kraus operator S (k) q is the amplitude error given in Eq. <ref type="bibr">(7)</ref>. The Kraus operator S (k)  0 flips the kitten states for k mod2 = 1, which corresponds to the phase error in Eq. ( <ref type="formula">8</ref>); the Kraus operators A (k) q change the value of the kitten state and also flip their sign. This corresponds to the action of both amplitude and phase error. This basis of the Kraus operators tracks whether the error is amplitude, phase, or the product of two. The single spin errors that a spin-cat code can correct can be written in terms of the new basis as,</p><p>where K = (2J -1)/2 . The logical encoding defined in Eq. ( <ref type="formula">12</ref>) introduces a biased logical qubit so that the rate of bit-flip errors is exponentially suppressed compared to the phase-flip errors as a function of the total value of spin J . Any uncorrectable amplitude error at the physical level of the spin-cat encoding is transformed into a bit-flip error on the logical qubit. In Fig. <ref type="figure">12</ref> we compare the ratio of uncorrectable amplitude error to phase error for rotation error. It is evident that even for modest values of J = 5/2, 7/2, and 9/2, the bit-flip error rate for the logical qubit is significantly suppressed compared to phase-flip errors.</p><p>The proposed encoding can be considered a generalized version of the Shor code,</p><p>For the Shor code <ref type="bibr">[49]</ref>, the inner encoding protects against bit-flip errors and the outer encoding protects against phase-flip errors. In our case, the inner-layer protection originates from the encoding of the qubit in the spin-J qudit, |&#8593; &#8855;2J +1 = |J , J , |&#8595; &#8855;2J +1 = |J , -J .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. UNIVERSAL GATE SET AND RANK-PRESERVING CNOT GATE</head><p>In this section, we establish a set of universal faulttolerant operations for spin-cat qubits. As discussed above, similar to Refs. <ref type="bibr">[12,</ref><ref type="bibr">24]</ref>, our strategy is to first correct for the dominant errors by encoding the biased qubit in a repetition code C 1 . After performing error correction corresponding to code C 1 , we obtain a logical qubit with reduced (but less biased) effective errors. We can then achieve FTQC by employing another level of concatenation using a generic CSS code C 2 , as long as the effective noise strength is below the threshold of the code C 2 .</p><p>To construct the universal gate sets, we target the following physical level gates:</p><p>Here P denotes state preparation, and M represents the measurement operators. We require these spin-cat qubit operations to be "rank preserving" so that they do not convert correctable errors into uncorrectable ones. Using this gate set, one can construct the following logical universal gate set for C 1 :</p><p>To prepare the magic states P |i L , P |T L , we can utilize rank-preserving ZZ(&#952;) at the physical level, similar to the bias-preserving case of qubits <ref type="bibr">[21]</ref> and cat codes <ref type="bibr">[24]</ref>. The gate set given in Eq. ( <ref type="formula">21</ref>) has been previously studied as a possible gate set when there is a significant bias between different noise channels. For example, when we have a significantly large probability of dephasing noise compared to the bit-flip noise as studied in Ref. <ref type="bibr">[12]</ref>. The studies in Ref. <ref type="bibr">[12]</ref> show that for a biased noise, this gate set gives a better threshold and overhead compared to the other gate set.</p><p>The threshold is improved by a factor of 5 for the gate set in Eq. ( <ref type="formula">21</ref>) for a biased noise compared to the unbiased noise <ref type="bibr">[12]</ref>. Also, the studies in Refs. <ref type="bibr">[12,</ref><ref type="bibr">24]</ref>, showed that there is a significant reduction in the overhead for the gate set for a biased noise.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Single-qubit gates</head><p>To ensure fault tolerance, a gate U must not turn correctable errors into uncorrectable errors in a specific level of encoding, i.e., we require that</p><p>where E K represents the set of correctable errors for the spin-cat encoding as defined in Eq. <ref type="bibr">(18)</ref>. Further, to prevent the propagation of correctable errors into uncorrectable ones during subsequent computations, the gates U should act on states for which an error has occurred in the same manner as they act on states within the logical subspace. Specifically, these gates must exhibit identical behavior whether the states are in the cat subspace or the kitten subspace with m &gt; 1, the subspace corresponding to amplitude damping errors. By building the gates U in the universal gate set using operations solely from the spin-J representations of SU(2), we can guarantee the condition in Eq. <ref type="bibr">(22)</ref>. To see this, recall the definition of spherical tensor operators:</p><p>where U = e -i&#952; n.J is a spin-J SU(2) rotation operator and</p><p>are the elements of Wigner D matrices <ref type="bibr">[50]</ref>. As a result, SU(2) operators do not change the rank of spherical tensor operators. Using the above relationships for the basis of errors introduced in Eq. ( <ref type="formula">15</ref>), we get,</p><p>where the coefficients {g q,q , g q,q , h q,q , h q,q } are given in Appendix D. Therefore, the SU(2) rotations do not change the rank of the error operators and obey the condition given in Eq. ( <ref type="formula">22</ref>). The single-qubit Pauli gates for the qubit encoded in the spin qudit can be implemented using the following general SU(2) operations:</p><p>These are easily implemented by Larmor precession of the spin.</p><p>In contrast, and critically, the Hadamard gate H for the spin-cat encoding, defined by</p><p>cannot be achieved by SU(2) operations alone. To see this, note that an SU(2) rotation preserves the projection of the spin onto a rotated axis. As |0 and |1 are spin coherent states (so-called "stretched states"), an SU(2) rotation cannot be used to prepare a cat state, which is a superposition of spin coherent states. [The overlap of states generated by SU(2) operators acting on an eigenstate along z and the cat state cannot exceed 0.5.] The action of an SU(2) operator takes an eigenstate along z to an eigenstate along a rotated axis. The cat state is not an eigenstate of projection of angular momentum along any axis, and thus it cannot be mapped from |0 = |J , J by an SU(2) operation. Therefore,</p><p>The essential feature of our protocol is to circumvent this restriction by using ancilla qubits and rank-preserving CNOT gates to effectively apply a Hadamard gate that preserves the set of correctable errors, which is described in detail in Appendix F.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Rank-preserving CNOT gate</head><p>In this section, we develop a rank-preserving CNOT gate, the key ingredient to realize the universal gate set, using only SU(2) operations. For concreteness, we provide a detailed protocol based on the platform of neutral-atom quantum computing <ref type="bibr">[48,</ref><ref type="bibr">[51]</ref><ref type="bibr">[52]</ref><ref type="bibr">[53]</ref><ref type="bibr">[54]</ref>, which has shown increasing promise for scalable FTQC <ref type="bibr">[22,</ref><ref type="bibr">[55]</ref><ref type="bibr">[56]</ref><ref type="bibr">[57]</ref><ref type="bibr">[58]</ref>. In particular, we consider 87 Sr atoms, with a spin qudit encoded in the nuclear spin I = 9/2, providing a qudit with d = 10 levels <ref type="bibr">[34,</ref><ref type="bibr">35]</ref>. When in the ground electronic state, the weak coupling to the environment and resilience to other background noise makes the nuclear spin an ideal candidate for quantum information processing <ref type="bibr">[59]</ref><ref type="bibr">[60]</ref><ref type="bibr">[61]</ref><ref type="bibr">[62]</ref>.</p><p>Note, when considering the physical spins of atoms, in standard notation I is the nuclear spin, J is the total angular momentum of the electrons, and F is the total electronic angular momentum plus nuclear spin. Our qudit is encoded in spin I in the electronic ground state with J = 0 for 87 Sr, so that F = I = 9/2. In this section, the spin angular momentum in which we encode the qudit is F. In the other sections of this paper, we use J to denote a generic spin, without reference to its physical encoding.</p><p>We target a CNOT gate for the spin-cat encoding that operates the same for all kitten states. As discussed above [see Eq. ( <ref type="formula">6</ref>)], we divide the qudit into "left" and "right" subspaces, with projectors onto them 0 and 1 , respectively. The gate is formally given as,</p><p>where X = exp(-i&#960; F x ). That is, we apply a &#960; rotation (NOT) to every kitten subspace of the target atom if the control atom is in the 1 subspace (the amplitude damped states of |1 we can correct), and the identity, if the control atom is in the 0 subspace (the amplitude damped states of |0 we can correct). Clearly, if the amplitude damping takes an atom from the 0 to 1 space, or vice versa, the error cannot be corrected.</p><p>The protocol for implementing this gate is presented in Fig. <ref type="figure">2(b</ref>). We note that this protocol requires individual addressing of the atoms. In step I of the protocol, the population from the ground-state memory is coherently transferred to an auxiliary state where it is more easily controlled. In 87 Sr, we utilize the auxiliary hyperfine state, 5s5p; 3 P 2 ; F = 9/2, M F with hyperfine quantum numbers F = 9/2, M F . This manifold possesses a large magnetic dipole moment and a long lifetime. For the control atom, only the population of 1 subspace is transferred to the auxiliary manifold, whereas for the target atom, the population from both 1 subspace and 0 subspace is transferred. Both of these are facilitated by an effective &#960; pulse between the ground and the auxiliary states, which one can implement using quantum optimal control, as discussed below.</p><p>In step II, an effective &#960; pulse is applied on the control atom between the auxiliary and the Rydberg state. In step III, we apply the same &#960; pulse on the target atom. Due to the Rydberg blockade, this population exchange occurs Step I: using quantum optimal control, the population from the ground state is transferred to the auxiliary state while preserving coherence between magnetic sublevels. Each two-level resonance, |G, M F &#8594; |A, M F , has a detuning A,M F and Rabi frequency ( A,M F . For the control atom, we promote only the population from the 1 subspace, whereas for the case of the target atom, we promote the population from both the 0 and 1 subspaces to the auxiliary state (see the main text for details).</p><p>Step II: using &#960; -polarized light, local addressing, and quantum control, transfer the population from the auxiliary to Rydberg states only for the control atom.</p><p>Step III: apply the same pulse to the target atom. Due to the Rydberg blockade, this population transfer only occurs when the control atom is in 0 subspace; for the 1 subspace the population is otherwise blockaded.</p><p>Step IV: using global rf-phase-modulated optimal control, we perform the SU(2) rotation X = exp(-i&#960; F x ) in the auxiliary manifold and simultaneously the identity operator in the Rydberg manifold. The result is a CNOT gate-if the control atom is in 1 subspace we apply an X gate to the target atom if the control atom is in 0 subspace we implement an identity operator 1. Finally, we will transfer all the states back to the ground state by reversing steps III-I, thus implementing a rank-preserving CNOT gate for the spin-cat encoding.</p><p>only when the control atom is in 0 subspace. If the state of the control atom is in 1 subspace, the population from the auxiliary state of the target atom is blockaded from transferring to the Rydberg state. Subsequently in step IV, using a global interaction and quantum optimal control, we simultaneously implement a X = exp(-i&#960; F x ) rotation in the auxiliary manifold and an identity operator in the Rydberg manifold of the target atom. The net effect is that if the control atom is in 1 subspace an X gate has been applied to the target atom and if the control atom is in 0 subspace the identity operator has been applied on the target. We transfer all the states back to the ground state by applying steps III-I in reverse order. The whole procedure implements the desired rank-preserving CNOT gate for the spin-cat encoding in Eq. <ref type="bibr">(29)</ref>.</p><p>In steps I and II of the rank-preserving CNOT gate, one needs to implement the transfer of population from the ground to the auxiliary manifold and from the auxiliary manifold to the Rydberg manifold, respectively. This can be achieved by an effective &#960; pulse between these respective states and using quantum optimal control. In both these cases we use the control Rabi Hamiltonian</p><p>To simplify the notation we have denoted the two excited metastable manifolds by e, where e = A (auxiliary states) and e = R (Rydberg states). Together with the ground-state manifold,</p><p>and</p><p>where e = G (for the interaction between the ground and auxiliary states) and e = A (for the interaction between auxiliary and Rydberg states). The control task is achieved by modulation of the amplitude, detuning, and phase of the exciting lasers. The time-dependent Rabi frequency and detuning are,</p><p>where C e,M is the ratio of Clebsch-Gordan coefficients,</p><p>e is the detuning, and &#948; e,M is the additional detuning due to the relative Zeeman shift. To implement the particular target unitary map interest (U tar ) we consider modulation of the amplitude, detuning, and phase of the two lasers that drive the |G &#8594; |A transitions and the |A &#8594; |R transitions. The GRAPE algorithm searches for the optimal control parameters = {( e (t), e (t), ) e (t)} that maximizes the fidelity with the target map U tar</p><p>where d is the dimension of the qudit and</p><p>]dt is the solution to the timedependent Schr&#246;dinger equation.</p><p>We consider partial isometries for our target maps. These have fewer constraints than unitary transformations and hence require fewer resources (time, bandwidth etc.). For a system of dimension d, one can define a partial isometry as,</p><p>where 1 &#8804; k &#8804; d is the dimension of the partial isometry of interest and {|e i }, {|f i } are two orthonormal bases. The unitary maps of interest then take the form,</p><p>where V &#8869; acts on the orthogonal subspace, with dimension dk. To find the control waveform that generates the partial isometry, one then optimizes the fidelity between the target isometry and the isometry generated using quantum control <ref type="bibr">[63]</ref> F</p><p>For the case of the rank-preserving CNOT gate, one needs to implement three target isometries. Firstly, on the control atom (C) we need to transfer the population from the 1 subspace of the ground manifold to that of the auxiliary manifold while keeping the population in the 0 subspace unchanged. The isometry we need to implement is,</p><p>Secondly, we seek to transfer the entire population from the ground manifold to the auxiliary manifold on the target atom (T). The isometry is</p><p>Finally, we need to implement an isometry that transfers the population from the auxiliary manifold to the Rydberg manifold,</p><p>All three can be implemented using the Rabi Hamiltonian. As a proof of principle, we numerically optimize a piece-wise constant waveform based on the well-known GRAPE algorithm for quantum optimal control <ref type="bibr">[64]</ref><ref type="bibr">[65]</ref><ref type="bibr">[66]</ref><ref type="bibr">[67]</ref>. Example waveforms that implement the target isometries are given in Fig. <ref type="figure">3</ref>. The total time required is 4&#960;/( rf , where ( rf is the rf-Larmor precession rate, chosen to be resonant with the Zeeman splitting in the auxiliary auxiliary manifold. To achieve high-fidelity control, we have divided the time into 12 equal time steps. In practice, other parameterizations could be used to yield smoother waveforms if bandwidth is limited.</p><p>Another important ingredient for the rank-preserving CNOT gate in Fig. <ref type="figure">2</ref> is that we need to apply an rf pulse that rotates the auxiliary 3 P 2 state and the Rydberg 3 S 1 state differently. For the case of the rank-preserving CNOT gate, one needs to implement an X gate in the auxiliary manifold and identity in the Rydberg manifold. This can be achieved because of the different magnetic g factors of the two spin manifolds. For our specific choice of Rydberg manifold and auxiliary manifold g R /g A &#8776; 2 <ref type="bibr">[68]</ref>. The</p><p>10 15 20 25 30 -15 -10 -5 0 5 10 15 0 5</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>(a) (b) (c)</head><p>Examples of control waveforms that achieve the transfer of populations between spin manifolds while preserving the coherence between magnetic sublevels. Based on Hamiltonian Eq. ( <ref type="formula">30</ref>), we modulate the lasers' amplitude, detuning, and phase, as piecewise constant functions of time. Using the GRAPE optimal control we find the target isometries. (a) The waveform that implements V (C) tar , which transfer population from 1 G subspace to 1A subspace while the population in the 0G subspace is unchanged. (b) The waveform that implements V (T)  tar , which transfer population from 1 G subspace to 1A subspace and 0 g subspace to 0A subspace. (c) The waveform that implements V (Ryd) tar that transfers the population from the auxiliary states to the Rydberg states. For all these three cases we divide the time into 12 equal time steps.</p><p>Hamiltonian describing Larmor precession in each of the excited manifolds, driven by an rf-magnetic field oscillating at frequency &#969;, in the presence of a basis magnetic field is then</p><p>Here ( rf is the Larmor precession frequency and &#969; 0 is the Zeeman shift induced by the bias B field in the 3 P 2 auxiliary manifold. The spin angular-moment operators act in the respective manifolds. Going to the rotation frame of the rf oscillation, using the unitary operator U = exp(-i&#969;tF z ), and choosing the rf frequency to be off resonant with &#969; = 4/3&#969; 0 , gives</p><p>Because of the finite detuning, the total Larmor precession frequency in the auxiliary and Rydberg manifold is then</p><p>Since the total Larmor frequency of the auxiliary auxiliary and Rydberg manifolds are different, one can use optimization techniques such as composite pulses <ref type="bibr">[69]</ref> or quantum optimal control <ref type="bibr">[64,</ref><ref type="bibr">67]</ref> to implement separate unitaries in the auxiliary and Rydberg manifold. For example, when ( rf = &#969; 0 /3 using optimal control one achieves an X gate in the auxiliary manifold and the identity in the Rydberg manifold by taking the phase to be a piece-wise constant function time, corresponding to a series of rf pulses, and a total time, T tot = ( &#8730; 2&#960; /( rf ). The resultant dynamics for the auxiliary and Rydberg manifold are given in Fig. <ref type="figure">4</ref>. Since the optimization is purely geometric in nature the same pulse schemes work for any value of the spin as long as the g factors have this ratio. For further details on the optimization see Appendix E.  <ref type="formula">43</ref>) for the piece-wise constant phases and total time T tot = &#8730; 2&#960;/( rf . The blue and black dots correspond to the first and second steps, respectively (see text). An X = exp(-i&#960; F x ) gate acts on the auxiliary manifold and transfers the population from 1A to 0A and vice versa. However, for the Rydberg manifold, the pulse sequence acts as an identity operator, and the population in the 0R and 1R subspaces remain unaffected.</p><p>The protocol described above can be generalized for other entangling gates. One can optimize rf phases in Eq. ( <ref type="formula">43</ref>) to implement the identity operator in the Rydberg manifold and R(&#952;) = exp -i&#952; n.F , an SU(2) operator, in the auxiliary manifold. Thus one can implement the gate ZZ(&#952;) = exp{-i&#952;Z &#8855; Z} with any angle &#952;, up to local Z rotations, for the spin-cat qubits.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. State preparation and measurement</head><p>To complete the universal gate set, one needs to implement the state preparation and measurement at the physical level given in Eq. <ref type="bibr">(20)</ref>. P |0 , which is the preparation of the spin coherent state can be achieved with high fidelity using optical pumping <ref type="bibr">[70]</ref>. Also, M Z , which is the measurement in the |F, M F basis can be achieved with high fidelity in principle <ref type="bibr">[38,</ref><ref type="bibr">71]</ref>. However, P |+ and M X are not straightforward to implement without an SU(2) Hadamard gate. We describe here new approaches unique to spin-cat encoding and the rank-preserving CNOT gate.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Preparation of the spin-cat state</head><p>We can generate the spin-cat state |+ using multiple approaches. For example, one can use quantum optimal control by considering the controllable Hamiltonian</p><p>This can be implemented in atomic systems using a combination of tensor light shifts and rf rotations <ref type="bibr">[72]</ref>. For the specific case of 87 Sr, we have previously studied how this can be implemented with high fidelity through the tensor light shift imparted on the ground-electronic state nuclear spin <ref type="bibr">[34]</ref>. Using quantum optimal control protocols one can generate the state |+ from an initial state |F, M F = F . The light shift will also be accompanied by decoherence to photon scattering and optical pumping. We study this in Appendix B to calculate the fidelity for the state preparation,</p><p>For the particular choice of 87 Sr, we find the fidelity for quantum optimal control is F state = 0.9998.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Measurement of X</head><p>To measure the X operator (M X ), we need to identify whether the state is in</p><p>We cannot implement the X measurement fault tolerantly by applying a Hadamard followed by measuring in the computational basis since Hadamard is not an SU(2) rank-preserving gate. To surmount these challenges, similar to Ref. <ref type="bibr">[73]</ref>, we use an ancilla-assisted measurement protocol, where measurement errors will lead to syndrome errors without disturbing the encoded data. Hence, we implement the X measurement by adding an ancilla qubit in the spin-cat state |+ 0 , applying a CNOT gate, and then destructively measuring the ancilla. Since the ancilla is measured destructively and discarded, we do not need to implement the X measurement using rank-preserving operators.</p><p>The circuit diagram, which implements the measurement is shown in Fig. <ref type="figure">5</ref>. After the application of the CNOT gate, the joint state of the system is &#945;</p><p>Measuring whether the ancilla is in |+ 0 or |-0 gives the value of X on the data qubit. To measure the ancilla in the |&#177; 0 basis, we use quantum optimal control techniques to implement the required transformation to the M z basis using SU(d) optimal control. We employ the control Hamiltonian in Eq. ( <ref type="formula">45</ref>) to implement the isometry <ref type="bibr">[35]</ref>,</p><p>In practice, this operation will be accompanied by decoherence, and the actual map we implement may be written as</p><p>where</p><p>and L(t) is the Lindbladian. Thus the fidelity for the implementation of the isometry is defined as</p><p>As an example, we consider the effect of photon scattering and optical pumping that accompanies the tensor light shift. In our simulation, we achieve fidelity of F iso = 0.999 for 87 Sr in the presence of optical pumping described above.</p><p>We have now constructed all the required operations at the level of the qubit encoded in the spin, as given in Eq. <ref type="bibr">(20)</ref>. We can use these operations to implement a universal gate set on the spin-cat qubits and to construct the error correction and logical operations of the C 1 code <ref type="bibr">[12]</ref>. (See Appendix G for the implementation of logical operations in C 1 .) In principle, one can implement all the gates in Eq. ( <ref type="formula">20</ref>) with very high fidelity, however, in practice one needs to consider other experimental imperfections like the Doppler effect that could impact the fidelity of these gates.</p><p>Generalizations of rank-preserving gate sets at the physical level can reduce the circuit size for specific applications <ref type="bibr">[25,</ref><ref type="bibr">74]</ref>. For example, we can easily generalize our construction of the CNOT gate in Sec. III B to implement a Toffoli gate in spin systems as discussed in Appendix H. The scheme is similar to the CCZ gate implemented in Ref. <ref type="bibr">[75]</ref>. This utilizes the capability to move neutral atoms in tweezer arrays, arranging the nearest neighbors to interact via the Rydberg blockade, while leaving the nextto-nearest neighbors unaffected. With access to such a gate, similar to the recent development in the bosonic system <ref type="bibr">[25]</ref>, we can implement the following operations:</p><p>{P |&#177; , M X , CNOT, Toffoli}.</p><p>(</p><p>Such a gate set can be used to construct more efficient fault-tolerant logical-level operations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. SYNDROME MEASUREMENT AND ERROR RECOVERY</head><p>The design of error-correction gadgets plays a major role in determining the threshold of tolerable noise and also the required overhead of fault-tolerant schemes mainly due to the fact that current fault-tolerant designs require many rounds of error correction to control the spread of errors. The standard method to perform an error recovery is to measure the syndromes to identify the errors and then correct the errors by applying an appropriate unitary operator. This is the approach we take to correct the phase errors. We use a repetition code of size n, capable of correcting up to (n -1)/2 phase errors. In this case, the (n -1) syndrome measurements for phase error correction are</p><p>These syndrome measurements can be implemented according to the standard circuits in Fig. <ref type="figure">6</ref> (for n = 3) using the universal operations described in Sec. III. When the probability of phase errors is larger than amplitude errors in each spin, increasing the size of the repetition code n can reduce the probability of logical phase errors. However, increasing n will increase the probability of logical amplitude errors due to the increase in the number of the required CNOT gates for the syndrome circuits. Therefore, we can choose the optimal n that brings the two types of errors to the same level, determined by the noise threshold required by the outer CSS code C 2 . FIG. <ref type="figure">6</ref>. Circuit for error correction of a phase error for a qubit encoded in three spins. The error correction is achieved by measuring the syndromes {X 1 X 2 , X 2 X 3 } followed by Z = exp(-i&#960; J z ) gate(s) according to the syndrome outcomes.</p><p>For the case of amplitude damping, one approach to diagnose the syndrome is to perform nondestructive measurements to identify the amplitude errors, for example, by measuring J 2 z . In practice this can be difficult to implement experimentally. (In this section and below we return to denote a generic spin J , without reference to a specific platform.) Instead, we take advantage of the cat encoding and the unique properties of our proposed CNOT gate to coherently apply the recovery map using fresh ancilla without performing any measurement. Our construction is a new example of measurement-free quantum error correction (MFQEC) <ref type="bibr">[76]</ref><ref type="bibr">[77]</ref><ref type="bibr">[78]</ref><ref type="bibr">[79]</ref><ref type="bibr">[80]</ref><ref type="bibr">[81]</ref> motivated by the experimental constraints of spin systems.</p><p>To describe our proposed error recovery, we first observe that we can "swap" the state of two qubits encoded in the kitten states. Let</p><p>where &#945;, &#946;, / , and &#948; are arbitrary complex amplitudes. Three applications of our proposed CNOT gate, as shown in Fig. <ref type="figure">7</ref>(a), implement the following transformation (see Appendix J for a proof):</p><p>We expect this construction, which implements the swap of kitten states, to find applications beyond error correction, in particular, in algorithmic subroutines native to qudit platforms, but in this work, we focus on its application in amplitude correction. We denote this gate by V s .</p><p>If we replace one of the input states with a fixed cat state, |+ 0 , then the recovery circuit can be simplified to the circuit in Fig. <ref type="figure">7(b)</ref>. Therefore, amplitude errors can be corrected by consuming fresh ancilla qudits in the cat state, |+ 0 , and applying two CNOT gates. The operation coherently transfers the qubit that is damped at level k back to level 0, which is our encoded qubit. In Appendix J, we show that the action of this quantum channel, after tracing the extra subsystem, is exactly equivalent to a recovery channel implemented by measuring J 2 z and then applying a unitary correction to transfer the state into the k = 0 subspace.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Error correction for optical pumping</head><p>To see how phase and amplitude error correction combines to correct any local errors, it is illuminating to describe the procedure for correcting a dominant noise channel in atomic systems, optical pumping. (The details of optical pumping are discussed in Appendix B.) In particular, consider the example of absorption of a linear &#960; -polarized laser photon, followed by the spontaneous emission of a circularly polarized &#963; + photon. This process results in mapping |J , J to |J , J -1 and also annihilating any amplitude in the state |J , -J . On the cat states, this transformation can be rewritten as,</p><p>Consider an arbitrary logical state</p><p>The action of the optical pumping on the first qudit gives</p><p>Now we can consider the states after the phase and amplitude error-correction steps. (As these error correction steps commute with each other, the order in which we perform them is irrelevant.) The phase error correction is specified by the syndromes X 1 X 2 and X 2 X 3 . If we measure both the syndromes as +1, the state |) collapses to</p><p>If the syndrome measurement gives outcome -1 and 1 for the syndrome X 1 X 2 and X 2 X 3 the state becomes</p><p>Applying the correction unitary Z 1 corresponding to this syndrome yields</p><p>The same state is achieved after performing the correction for the other two possible syndromes. Thus the state after the phase error correction collapses to the state Eq. ( <ref type="formula">59</ref>).</p><p>Next, we can apply measurement-free amplitude error correction by consuming three ancilla states |+ 0 , which gives,</p><p>Tracing out the first three subsystems yields the initial state |. in the three ancilla subsystems. The error-correction scheme developed here thus corrects the optical pumping errors. This quantum error-correction gadget is especially well suited to the neutral atom platform due to the ability to move atoms midcircuit. Firstly, the SWAP gates are easy to implement as we can move individual ancillas and data atoms into a pairwise configuration to apply the CNOT gates parallelly. Secondly, at the end of the protocol, the ancilla atoms can be used as the new data atoms by simply moving them into the right positions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. LOGICAL CNOT GATE AND FAULT-TOLERANT THRESHOLD</head><p>In this section, we provide lower bounds on the noise level that can be tolerated in our proposed spin-cat code, while still achieving fault-tolerant quantum computation. As discussed in Sec. III, to achieve fault tolerance, we need to guarantee that the effective noise strength in our implementation of the logical gadgets of the inner code C 1 , as specified by Eq. ( <ref type="formula">21</ref>), is below the noise threshold needed for the outer code C 2 used in concatenation.</p><p>In this concatenated scheme, the main source of error is the logical CNOT gate of C 1 , and hence, an upper bound on its failure probability will provide an estimate for the threshold of all C 2 gadgets <ref type="bibr">[12,</ref><ref type="bibr">24]</ref>. The logical CNOT gadget for the code C 1 can be realized using transversal physical CNOT gates between two code blocks, accompanied by error-correction procedures to correct phase and amplitude errors, which is illustrated in Fig. <ref type="figure">8</ref>. For the sake of generality, we consider each logical CNOT gadget to consist of r 1 applications of phase error correction and r 2 applications of amplitude error correction. We define r = r 1 + r 2 and denote the number of the data qudits in each code block by n. The recovery operation for phase error correction is determined by majority voting of the r 1 rounds of syndrome measurement. We start by estimating the probability of dephasing errors. In this case, the analysis is similar to the analysis of biased cat qubits in bosonic systems <ref type="bibr">[24]</ref>. Suppose each physical CNOT gate causes (independent) dephasing errors on the target and control qubits with probability . During the application of each phase-correction or amplitudecorrection procedures, every qudit is acted upon by at most two physical CNOTs. Hence, after r 1 repetition of phase corrections and r 2 repetition of amplitude corrections the probability of dephasing error on each qudit, in both the control and target block, will be at most 2r . After the implementation of error-correction steps, the next step is to implement the transversal CNOTs between the control and target blocks of data qudits. This operation can propagate phase errors from the target block to the control block. Therefore, after the action of the transversal CNOT gates, the probability of dephasing error on each qubit of the target and control blocks is at most 2r + and 4r + , respectively.</p><p>A logical error would occur if more than (n + 1)/2 qubits are faulty in either the target or the control code blocks. Thus the upper bound on the logical phase error probability in the control and the target blocks can be given as (keeping only the dominant term),</p><p>To account for the possible errors in the syndrome measurements in the phase error-correction step, we repeat measurements of (n -1) syndromes in the control and the target blocks r 1 times and take the majority vote to apply error correction. A logical error happens if the syndrome is incorrect for at least (r 1 + 1)/2 rounds of this procedure. Each syndrome measurement requires two physical CNOT gates and we also need to account for state preparation and measurement errors used in each syndrome measurement, both of which can be performed with much higher accuracy compared to the rank-preserving CNOT gate. Also one needs to account for the dephasing error induced by the amplitude error correction following the phase error correction, which has two physical CNOT gates. Therefore, the upper bound on the probability of a dephasing error in each syndrome bit is at most 6 . As a result, the upper bound on the logical error for the syndrome measurement is given by (only keeping the dominant term):</p><p>Next, we establish an upper bound on the probability of logical errors resulting from amplitude errors on the control and target, just before the amplitude error-correction step. An amplitude error on an individual qudit occurs when a minimum of k max = (2J -1)/2 jumps has taken place. This can be determined by summing the probabilities of k max jumps, given a total of s CNOT gates and is expressed as q(s, k max ) as given in Eq. (J13) (s = 2r). Following the error-correction steps, the subsequent phase involves implementing transversal CNOT gates between the control and target blocks of data qudits. This operation, however, has the potential to propagate amplitude errors from the control block to the target block. Consequently, after the application of transversal CNOT gates, the probability of amplitude errors on each qubit in the target and control blocks is bounded by</p><p>Next, we provide upper bounds on the probability of logical error in the amplitude error-correction procedure. An ideal implementation of the swap protocol described in Sec. IV would correct the amplitude errors by putting back the state into the cat manifold, defined as the support of the projector 0 , where</p><p>Imperfect amplitude error correction may arise due to factors such as small random rotations during the swapping process intended for error correction, errors caused by optical pumping, or imperfections in ancilla preparation. For the case of small random rotation errors and optical pumping, the error operators involve at most two amplitude jumps as discussed in Sec. II A. Similarly, as discussed in Sec. III C 1, optical pumping and random rotation errors can create at most two amplitude jumps during the preparation of the ancilla state. Thus the imperfect amplitude error correction can cause at most four amplitude jumps. This phenomenon is conceptualized in Fig. <ref type="figure">9</ref>, where the population in the cat manifold can leak to i for i = {1, 2, 3, 4} manifolds with probabilities p i . Errors in the preparation of the ancilla can, in principle, result in a superposition of |+ k states with k &#8804; 4 instead of |+ 0 . However, the amplitude error correction destroys any coherence between the cat and kitten subspaces, resulting in a mixed state in the cat manifold (see Appendix J). Hence, to find an upper bound on the success probability of amplitude correction, we need only to consider the probability of error in preparing |+ k states with k &#8804; 4, rather than an arbitrary state in that subspace.</p><p>We denote the failure probability of the amplitude error correction given that the ancilla states is in |+ k by q(s, k max | k) where s is the total number of CNOT gates before the application of error correction, and k max is the minimum rank of the amplitude errors, which create a logical error, i.e., k max = (2J + 1)/2 in our construction. This probability can be calculated by adding the probabilities of cascades of single and two jumps that push the population from level k to at least k max level. Assuming the population leaks only to i for i = {1, 2, 3, 4} the logical error probability after r 2 rounds of amplitude error correction can be bounded by</p><p>where p 0 = 1 -4 i=1 p i . (For a detailed calculation see Appendix J 1.) As we have 2n total qudits, the logical error probability of the amplitude error correction blocks for the logical CNOT gate can be bounded by amp ec &#8804; 2n amp .</p><p>(</p><p>Note that unlike phase error correction where the measurement is repeated r 1 many times and the correction is applied based on a majority vote of syndrome results, amplitude error correction does not involve direct measurement. Therefore, repeated applications of amplitude error correction without a phase-correction step in between do not provide extra error-correction power. (a) (b) FIG. 11. Logical error as a function of the physical level error (for details to the relation between phase error and amplitude error, see Appendix B) for the optical pumping error for different value of n. The targeted threshold for the CSS code in the second layer of concatenation is given for reference. Figure (a) is for the case of p i = 0 for i = 0 and figure (b) is for an imperfect ancilla state preparation with p i = 10 -4</p><p>for i = 0. We can see a significant change in the behavior depending on whether the amplitude error correction is ideal or not specifically in the low noise regime. This in turn is due to the fact that for the case of optical pumping, as seen in Appendix B, there is a significant contribution to the logical error from the amplitude errors. The black circle shows the threshold value for the optimal value of n and the gray circle shows the intersection of the CSS with the logical error for the optimal value of n.</p><p>The simulation are shown for r 1 = 7 and r 2 = 1.</p><p>Finally adding up all the probabilities of failures for the various components of the logical CNOT gate, yields an upper bound on its total logical error probability,</p><p>logical &#8804; phase ec + phase control + phase target + amp ec + amp control + amp target . (</p><p>To assess the improvement provided by our construction, we provide estimates of for various noise parameters that guarantee a logical error logical below the threshold demanded by the CSS code C 2 . For the CSS code C 2 we use the fault-tolerant construction of Ref. <ref type="bibr">[82]</ref>, with a provable threshold of CSS = 0.67 &#215; 10 -3 . In Fig. <ref type="figure">10</ref> we present the case of the small rotation error for encoding a qubit in a qudit J = 9/2 with r 1 = 7, r 2 = 1, and for different choices of n. The figure on the left assumes no leakage error in the ancilla state preparation, i.e., p i = 0 for i = 0, and the figure on the right is for a leakage error of p i = 10 -4 for i = 0. As is evident in the figure, the logical error rates for scenarios with and without leakage error exhibit similar characteristics except for very low noise. This is expected since for small rotation errors, the probability of amplitude error is exponentially suppressed as a function of J compared to the phase errors, see Fig. <ref type="figure">12</ref> for more details. In particular, we find that for n = 21, r 1 = 7, and r 2 = 1, the physical error needed to achieve the targeted CSS threshold is less than 0.0054.</p><p>Next, in Fig. <ref type="figure">11</ref> we explore the impact of stronger photon scattering and optical pumping on the encoding of a qubit in a qudit with J = 9/2 with r 1 = 7, r 2 = 1, considering various choices of n. [For the case of J = 9/2, we get &#945; = 0.0137 and &#946; = 0.2 in Eq. ( <ref type="formula">11</ref>) for stronger photon scattering and optical pumping. Details of the noise model and parameters can be found in Appendix B.] The left panel is the case with no leakage error p i = 0 for i = 0, while the right panel incorporates a leakage error with p i = 10 -4 for i = 0.</p><p>As can be seen in the figure, for the ideal amplitude error correction the behavior of both the rotation error and the case when photon scattering and optical pumping are stronger are very similar in nature. However, when photon scattering and optical pumping are stronger, the imperfect ancilla preparation during amplitude error correction plays a more severe role in the overall logical error of the low-noise regime. The competition between the errorcorrection power of the gadget and the extra error due to the increased number of qudits needed to encode a logical qubit leads to identifying a "sweet spot" that determines the optimal number of qudits needed to encode a logical qubit. In particular, we find that for n = 21, r 1 = 7, and r 2 = 1, the physical error needed to achieve the targeted CSS threshold is &#8804; 0.0053.</p><p>As discussed in detail in Appendix A, the primary error source for the considered spin systems is the first-order angular-momentum operators, stemming from potential unwanted magnetic fields. Additionally, there are secondorder terms in the angular-momentum operators due to optical pumping <ref type="bibr">[34,</ref><ref type="bibr">83]</ref>. Despite this, the presence of extra levels in the qudit results in a logical error contribution from amplitude errors that is notably lower than that from phase errors. Thus the threshold behavior for both these error models impacts only the low-noise regimes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. SUMMARY AND OUTLOOK</head><p>To achieve the full power of quantum computing, one needs to execute quantum algorithms on error-corrected logical qubits. However, meeting the demanding requirements for physical qubits and achieving low error rates, essential for error-corrected logical qubits, remains a significant challenge in current quantum implementations <ref type="bibr">[8,</ref><ref type="bibr">9,</ref><ref type="bibr">19,</ref><ref type="bibr">20]</ref>. Recent advancements in noise-tailored error correction provide a promising avenue for achieving this by substantially alleviating the stringent demands of errorcorrected logical qubits <ref type="bibr">[12,</ref><ref type="bibr">21,</ref><ref type="bibr">[26]</ref><ref type="bibr">[27]</ref><ref type="bibr">[28]</ref>.</p><p>In this paper, we follow this direction and introduce a fault-tolerant quantum computation protocol by encoding a qubit into a spin system, with a spin larger than J = 1/2. The general scheme that we introduce in this work is applicable to a wide range of physical spins, including in semiconductors <ref type="bibr">[30,</ref><ref type="bibr">37]</ref>, atomic ions <ref type="bibr">[38,</ref><ref type="bibr">39]</ref>, neutral atoms <ref type="bibr">[34]</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref>, molecules <ref type="bibr">[40]</ref>, and superconducting systems <ref type="bibr">[42,</ref><ref type="bibr">43]</ref>, where we have spin qudits that can be coherently controlled and entangled.</p><p>The specific encoding we consider in this paper is the spin-cat encoding, which draws inspiration from the catcode encoding for continuous-variable bosonic systems <ref type="bibr">[12,</ref><ref type="bibr">24]</ref>. For this implementation we develop techniques to perform reliable computation in the presence of dominant noise in spin systems, taking advantage of natively available interactions. One key factor that distinguishes the spin-cat encoding from the other encodings of a qubit in a qudit is that the total Hilbert space of the spin-cat encoding decomposes into a direct sum of qubit subspace. This induces the structure of a stabilizer code, a feature that plays a pivotal role in enabling fault-tolerant schemes for error correction.</p><p>Spherical SU(2) tensor operators provide a basis in which to characterize the error channels and identify the set of correctable errors. The dominant error sources for encoding a qubit in a spin are the rank-1 SU(2) rotations and the rank-2 tensors, which can arise, e.g., from optical pumping between magnetic sublevels. Our codes are constructed with these physical errors in mind. We use the concatenation scheme of Ref. <ref type="bibr">[12]</ref> to perform fault-tolerant computation. In addition to using an inner repetition code that corrects phase errors, we correct for amplitude-damping errors by consuming fresh ancilla spins and performing measurement-free error correction natively for spin systems.</p><p>As a concrete application of our proposed scheme, we focus on the encoding of a qubit in the nuclear spin of 87 Sr, characterized by a spin of 9/2. In this scenario, we systematically build a universal gate set for fault-tolerant quantum computing, leveraging the available interaction mechanisms. A pivotal element in the formulation of the physical-level gate is the rank-preserving CNOT gate. We elaborate on the implementation details of this gate, by taking advantage of the metastable states available in 87 Sr and the well-known Rydberg blockade. In addition to the swap gadget that helps us correct amplitude errors, this CNOT gate is used in the construction of a universal gate set.</p><p>We also studied the threshold for fault-tolerant error correction and found that it is much higher than found in standard protocols of error correction with physical qubits, and it is similar to the threshold observed in bosonic cat codes <ref type="bibr">[24]</ref>. As a result, our approach demonstrates a significant reduction in the required overhead and exhibits higher fault-tolerance thresholds compared to conventional qubit-based techniques. Our work represents another example of designing resource-efficient fault-tolerant schemes by taking advantage of the native noise characteristics of a given hardware. In contrast to the earliest work in quantum error correction where models were constructed for hypothetical qubits and generic noise models, efforts are being made to develop error-correcting codes that are symbiotic with the control methods and noise structures of physical quantum systems <ref type="bibr">[22,</ref><ref type="bibr">24,</ref><ref type="bibr">30,</ref><ref type="bibr">31,</ref><ref type="bibr">37,</ref><ref type="bibr">73]</ref>. A related direction of research is to engineer qubit encodings with favorable noise properties <ref type="bibr">[27,</ref><ref type="bibr">84]</ref>. This has been made possible because of the substantial experimental advances in quantum computing <ref type="bibr">[13]</ref><ref type="bibr">[14]</ref><ref type="bibr">[15]</ref>.</p><p>In a similar vein, the structure of our protocol works well with spin systems and their control methods, regardless of the platform in which they are implemented. It is particularly well suited for the neutral atom platform, where significant experimental advances have been achieved recently <ref type="bibr">[17,</ref><ref type="bibr">55,</ref><ref type="bibr">57]</ref>. We have previously explored the use of quantum optimal control of spin-9/2 nuclei in 87 Sr atoms for arbitrary single-qudit gates <ref type="bibr">[34]</ref> and twoqudit entangling gates <ref type="bibr">[35]</ref>, where this protocol would be a natural fit. The unique capabilities of neutral atom platforms, such as reconfigurable connectivity and the ability to implement hundreds of parallel entangling gates <ref type="bibr">[17]</ref> would assist in the implementation of the fault-tolerant protocol we proposed here.</p><p>This work opens many directions for future research. One can extend the current protocol for the rank-preserving CNOT gate in neutral atoms to other, more experimentalfriendly protocols. Specifically, one can explore using the geometric phase approach <ref type="bibr">[75]</ref> or Rydberg dressing-based approaches <ref type="bibr">[85]</ref><ref type="bibr">[86]</ref><ref type="bibr">[87]</ref><ref type="bibr">[88]</ref>, typically used for entangling gates in qubits, to realize the rank-preserving CNOT gate. In addition, similar to continuous-variable cat encoding <ref type="bibr">[24]</ref>, the proposed gate set enables the use of other codes, including topological codes. Another direct extension is to develop gate sets to perform computation by encoding a qudit, rather than a qubit, into the large spin.</p><p>Lastly, while we focus on errors caused by random rotations and optical pumping in this paper. Another very important source of errors we did not consider is leakage out of computational subspace, especially in the form of atom loss in neutral-atom platforms. The conventional approach to circumvent these errors is to use leakagereduction units <ref type="bibr">[89]</ref>. In future work, we plan to address leakage errors using a quantum nondemolition measurement to measure the presence of population in the computational subspace without destroying the coherence <ref type="bibr">[90]</ref>. This measurement converts all leakage errors, including atom loss, into erasure errors, which are easier to correct.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ACKNOWLEDGMENTS</head><p>This material is based upon work supported by NSF CAREER Award No. CCF-2237356. Additional support by the Quantum Leap Challenge Institutes program (Grant No. 2016244) is acknowledged. The authors acknowledge fruitful discussions with Anupam Mitra, Tyler Thurtel, Austin Daniel, and Karthik Chinni.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX A: SMALL ROTATION ERRORS</head><p>A main source of decoherence for a qubit encoded in a spin is small random rotation errors <ref type="bibr">[30,</ref><ref type="bibr">37]</ref>. As given in Eq. ( <ref type="formula">10</ref>), for the spin-cat encoding the ratio of phase error to amplitude error decreases with spin J as 1/J . However, for the spin-cat encoding, we need (2J -1)/2 amplitude errors and jumps for a logical error (logical amplitude error) to occur, such that these errors are not correctable by the amplitude error correction [a logical bit-flip error for the encoding in Eq. ( <ref type="formula">12</ref>)]. As such, we look at the probability of such logical amplitude errors in Fig. <ref type="figure">12</ref>. In Fig. <ref type="figure">12</ref>(a) we show that for a spin J , the logical amplitude error decreases with phase-error probability, and the decrease shows an exponential behavior with spin J .</p><p>To further illustrate the exponential suppression of the logical error arising from amplitude errors as a function of spin due to random rotation errors, in Fig. <ref type="figure">12(b)</ref>, the ratio of logical amplitude error probability to phase error for rotation error is given as a function of spin J for a different value of phase error. Notably, this ratio exhibits an exponential trend, and for sufficiently large values of J , the logical amplitude error becomes negligible. Consequently, there is no need for amplitude error correction in such cases. To further illustrate the exponential suppression of the logical error arising from amplitude errors as a function of spin due to random rotation errors, in Fig. <ref type="figure">12(b)</ref>, the ratio of logical amplitude error probability to phase error for rotation error is given as a function of spin J for a different value of phase error. Notably, this ratio exhibits an exponential trend, and for sufficiently large values of J , the logical amplitude error becomes negligible. Consequently, there is no need for amplitude error correction in such cases, as one does not need to pump the states back to {|J , |-J } manifold as all the designed gates operate similarly in all the other lower kitten manifolds. The ratio of logical amplitude error to phase error is given as a function of phase error. The probability of logical errors falls as the overall error rate decreases. A logical error occurs when we have (2J -1)/2 amplitude errors and thus as spin J , increases, the ratio decreases exponentially. However, for J = 3/2, a single amplitude jump creates a logical error and thus the ratio of logical error to phase error is a constant equal to 1/2J . (b) The ratio of logical error probability due to amplitude errors to phase error for rotation error as a function of spin J . We can see that this ratio exhibits an exponential trend, and the logical error becomes negligible for sufficiently large values of J . Consequently, fewer rounds of amplitude error correction will be needed as J increases.</p><p>FIG. <ref type="figure">13</ref>. The error process corresponding to the photon scattering and optical pumping for encoding a qudit in an atomic spin F. The information is stored in the ground state and is controlled by laser light with Rabi frequency ( L and detuning L from an excited-state manifold, with spin F . Absorption of a laser photon (here &#960; polarized) is followed by a spontaneous emission given by wavy lines. The process causes amplitude errors and can collapse a cat state to a single magnetic sublevel.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX B: PHOTON SCATTERING AND OPTICAL PUMPING</head><p>Another major source of decoherence for the qubit encoded in a spin is the optical pumping arising from photon scattering when the spin are manipulated by laser light. We consider here optical pumping arising from laser excitation with Rabi frequency ( L and detuning L from a dominant resonance. Absorption of a laser with polarization L is followed by a spontaneous emission of photon e q . A schematic of the error process corresponding to the photon scattering and optical pumping for atomic spins is shown in Fig. <ref type="figure">13</ref> for the case L = e 0 .</p><p>In this section, the spin angular momentum in which we encode the qudit is F, and J is the total angular momentum of the electrons. The jump operators for the optical pumping followed by photon scattering are <ref type="bibr">[83]</ref> </p><p>where ( L is the Rabi frequency and FF is the detuning between the ground state and excited with total spin F and F , respectively. is the characteristic linewidth of the excited state, L is the polarization of the laser, and q = -1, 0, 1 represent the polarization of the scattered light. D FF are the dimensionless raising operators from a ground state with total spin F to an excited state with spin F and see Ref. <ref type="bibr">[83]</ref> for a detailed analysis of these operators.</p><p>By decomposing the dyadic into irreducible tensors, one can derive a basis independent representation for the jump operators <ref type="bibr">[83]</ref>,</p><p>where J is the electron angular momentum. The above expression involves only angular-momentum operators of the form F (rank 1) and F 2 (rank 2), and thus for photon scattering and optical pumping the error operators are linear and quadratic powers of angular-momentum operators.</p><p>Then the Lindblad master equation gives us</p><p>where L is the Lindbladian and H eff = Hi q W &#8224; q W q /2. From the jump operators, one can find the probability of phase errors and amplitude errors by finding the overlap of the jump operators with the basis operators as given in Eq. <ref type="bibr">(15)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX C: CORRECTABLE SET OF ERRORS</head><p>In this section, we find the set of correctable errors for the logical level encoding C 1 in Eq. <ref type="bibr">(12)</ref>. To find the correctable set of errors {E a }, one can use the Knill-Laflamme conditions <ref type="bibr">[91]</ref>:</p><p>where i, j = {0, 1} represents the codespace of interest. The local angular-momentum errors of interest here are of the form J l x J m y J n z . From the locality assumption of the errors, one can find that for the spin-cat encoding in Eq. ( <ref type="formula">12</ref>),</p><p>The next condition we need to satisfy for the spin-cat encoding is,</p><p>From the locality assumption of the noise, this condition translates into two cases. In the first case, the error operators E a and E b act on the same physical system, thus for the angular-momentum errors the error-correction condition in Eq. (C3) becomes,</p><p>Using an alternative definition of the spin-cat codes,</p><p>Equation (C4) transforms into a compact expression:</p><p>Plugging the ladder operators,</p><p>into Eq. (C6), and using the condition that one needs at least 2J -1 operations of J + or J -to make the overlap between the states |J , J and |J , -J nonzero, the errorcorrection condition in Eq. (C4) simplifies to,</p><p>Thus we can correct the errors of the form J l x J m y J n z if</p><p>The second case for Eq. (C3) is when the two error operators E a and E b act on different physical systems. For the angular-momentum errors this simplifies to,</p><p>Again using Eqs. (C5) and (C7), the error-correction condition is given as</p><p>Hence the spin-cat encoding can correct all the errors of the form,</p><p>(C12)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX D: ACTION OF THE SU(2) OPERATORS</head><p>The Euler angle representation of an SU(2) operator V = exp -i&#952; n.J is, V(&#945;, &#946;, / ) = exp -i&#952; n.J = e -i&#945;J z e -i&#946;J y e -i/ J z . (D1)</p><p>The Wigner D matrix defined in Eq. ( <ref type="formula">24</ref>) can be expressed in terms of Euler angles as, D q,q (&#945;, &#946;, / ) = k, J z = q exp -i&#952; n.J |k, J z = q = e -iq &#945; d q,q (&#946;)e -iq/ .</p><p>(D2)</p><p>Hence, deriving from the definitions of the spherical tensor operators in Eq. ( <ref type="formula">23</ref>), the operators in Eq. ( <ref type="formula">15</ref>), and the inherent properties of the Wigner d matrices, d q,q = (-1) q-q d -q,-q , ( D 3 )</p><p>we find the action of an SU(2) rotation acting on the error operator, Eq. ( <ref type="formula">15</ref>) is</p><p>where to lighten the notation we defined, f q,q = (-1) k 1 -(-1) q-q e -2i(q&#945;+q &#946;) f q,q . (D5) Thus,</p><p>where we have defined, g q,q = f q,q + f q,q 2 , g q,q = -f q,q 2 .</p><p>(D7)</p><p>Similarly,</p><p>where again for simplification of notation, h q,q = (-1) k 1 + (-1) q-q e -2i(q&#945;+q &#946;) f q,q 2 , h q,q = f q,q -h q,q .</p><p>(D9)</p><p>Thus the action of the SU(2) does not change the rank of the error operators, A (k) q , F (k) q and obey the condition given in Eq. <ref type="bibr">(22)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX E: ROTATING THE GROUND AND EXCITED MANIFOLD DIFFERENTLY USING OPTIMAL CONTROL</head><p>To implement the rank-preserving CNOT gate in Fig. <ref type="figure">2</ref>, one needs to implement X = exp(-i&#960; J x ) gate on the auxiliary manifold while applying the identity operator on the Rydberg manifold. For the specific choice of auxiliary and Rydberg states considered, we have the Hamiltonian in the rotating field as given by Eq. ( <ref type="formula">43</ref>). As we are dealing with SU(2) representations of the spin J , the problem is isomorphic to the simultaneous control of two two-level systems and two qubits with different Rabi frequencies and different detuning. The objective would be to apply a Pauli-X operation on the first qubit and identity on the second system. This problem has a quantum speed limit(QSL) of &#960;/( rf <ref type="bibr">[92]</ref>.</p><p>Since ( R = 2( A , a pulse of length &#960;/( A would cause a full Rabi rotation in the Rydberg manifold and only a half rotation in the auxiliary manifold. By choosing the phases of N such pulses, ) in Eq. ( <ref type="formula">43</ref>), one can use quantum optimal control algorithms to implement the desired transformation. The minimum number of pulses N required depends on the ratio &#969; 0 / ( rf . While a solution with N = 2 exists only when &#969; 0 / ( rf = 3, a solution with N = 3 is possible if &#969; 0 / ( rf &lt; 3 &#8730; 3, for example, the case of &#969; 0 = 5( rf and T = 3&#960;/( rf is given in Fig. <ref type="figure">14</ref>. The overall trend is that with an increasing ratio &#969; 0 / ( A , we need a larger N . This protocol is similar to Ref. <ref type="bibr">[75]</ref>, and takes N &#960;/( A , which is longer than the QSL. We can use waveforms with a large number of steps to implement a gate in the minimum time &#960;/( rf , as shown in the example below.</p><p>Using the Hamiltonians in Eq. ( <ref type="formula">43</ref>), one can also optimize the phase ) to implement a gate R(&#952;) = exp -i&#952; n.J in the auxiliary manifold and identity on the Rydberg manifold. For example, the pulse scheme for the R = exp(i&#960; J z ) for the auxiliary manifold, which can be used to implement the rank-preserving CZ gate is given in Fig. <ref type="figure">15</ref>. The total time is ( rf T = &#960; and total time is divided into ten equal time steps with &#969; 0 = 3( rf .</p><p>Finally, for &#969; 0 ( rf , a field that is resonant for the auxiliary spin will be far off resonant for the Rydberg manifold. So we can implement any desired transformation SU(2) operation in the auxiliary subspace without disturbing the Rydberg manifold populations.  <ref type="formula">43</ref>) for piecewise constant function with three time steps with a total time T tot = 3&#960;/( rf and &#969; 0 = 5( rf . For the specific choice of parameters, an X gate acts on the auxiliary manifold and transfers the population from 0 A subspace to 1 A subspace and vice versa. However, for the Rydberg manifold, the pulse sequence acts as an identity operator, and the population in the 0 R and 1 R subspaces remain unaffected.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX F: IMPLEMENTING HADAMARD GATE FROM THE PHYSICAL LEVEL GATES</head><p>The physical level gates for the spin-cat encoding are given as, The phase )(t) generates an R = exp(i&#960; J z ) for the auxiliary manifold and an identity in the Rydberg manifold, which can be used to implement the rank-preserving CZ gate. The total time is ( rf T = &#960; , which is divided into ten equal time steps with &#969; 0 = 3( rf and pulse sequence is found using the quantum optimal control algorithm GRAPE.</p><p>The Hadamard gate is not in the universal gate set as it does not preserve the rank. Here we show the implementation of the Hadamard gate using the rank-preserving physical-level gates and an ancilla qubit. The circuit diagram corresponding to a teleportation-based scheme for the Hadamard gate is given in Fig. <ref type="figure">16</ref>. Consider an initial arbitrary state,</p><p>and ancilla state,</p><p>and</p><p>Thus one can act the Z or X gate depending on the measurement of the X operator in the ancilla to get the state,</p><p>and implement the action of the Hadamard gate.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX G: IMPLEMENTING THE LOGICAL OPERATOR</head><p>In this section, we demonstrate the universal gate set at the logical level with the physical-level gates for the spin-FIG. <ref type="figure">16</ref>. Circuit implementing a fault-tolerant Hadamard gate using the physical level gates for the spin-cat encoding. This differs from the standard implementation as we use both CNOT and CZ gate to implement the action of the target unitary of interest. cat encoding. The rank-preserving physical-level gates for the spin-cat encoding are, {M Z , M X , P |+ , P |0 , CNOT, X , Y, Z}.</p><p>(G1) Consider a universal gate set,</p><p>In the above equation, the first set generates the Clifford operations and the second set generates the non-Clifford states to complete the universal gate set, and P refers to preparation and M denotes measurement. The logical preparation of the P |+ L can be done transversally by preparing the P |+ in the individual systems. For example, in the case of three physical systems, the logical level state preparation is,</p><p>In a similar fashion, the construction of additional logicallevel gates follows the approach detailed in Refs. <ref type="bibr">[12,</ref><ref type="bibr">24]</ref>.</p><p>Comprehensive details for the implementation of all other logical gates are provided in Fig. <ref type="figure">17</ref>. In (a), the CNOT L is implemented using the physical CNOT gates. One can implement the CNOT L by transversal application of the CNOT gates. In (b), the P |0 L is prepared by initializing the system with the state P |+ L and measuring the parity.</p><p>To measure the parity we use an ancilla initialized with P |0 and use physical CNOT gates followed by measuring the M Z , the final state is P |0 L and P |1 L for the measurement outcomes 1 and -1, respectively. In (c) the logical measurement of Z is implemented with an ancilla state prepared in |+ and physical CZ gates followed by measuring the ancilla in the X basis. Finally (d) implements the logical measurement by applying the physical CNOT gates and measurement of X . Access to the gate ZZ(&#952;) allows one to construct the non-Clifford part of the universal gate set with high fidelity as studied in detail in Ref. <ref type="bibr">[21]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX H: TOFFOLI GATE</head><p>One can generalize the rank-preserving CNOT gate in Fig. <ref type="figure">2</ref> to construct a Toffoli gate, also known as a controlled-controlled NOT gate. Figure <ref type="figure">18</ref> gives the protocol for creating the rank-preserving Toffoli gate for the spin-cat encoding using only SU(2) interactions. Again, similar to the rank-preserving CNOT gate, the Toffoli gate is implemented in the ground state of 87 Sr. The key to the scheme is the availability of special geometries for the neutral atoms <ref type="bibr">[55,</ref><ref type="bibr">75]</ref>. Here we use a geometry such that for three linearly arranged atoms, the nearest neighbors are constrained by the Rydberg blockade, but the next-nearest neighbors are not constrained by it. The central atom acts as the target atom while its two neighbors are the control atoms. The logical Z measurement M Z L . An ancilla state is prepared in |+ and physical CZ gates with the data qubits are applied followed by measuring the ancilla in the X basis. (d) Logical X measurement M X L . The logical X is measured by applying the physical CNOT gates and then measurement along X .</p><p>In step I of the Toffoli gate, the population is promoted to the auxiliary state. For the case of the control atoms we only promote the population of the 0 subspace whereas for the target atom, the population from both the 0 and 1 subspaces are promoted to the auxiliary state. In step II, we use a pulse sequence similar to Fig. <ref type="figure">3</ref>(c) to transfer the population between the auxiliary and the Rydberg state of the control atoms using &#960; polarized light. In step III, we apply the same pulse sequence as in step II to the target atom, however, due to the Rydberg blockade, the population transfer between the auxiliary and Rydberg state happens only when both the control atoms are in 1 subspace. Then similar to the case of the rank-preserving CNOT gate in step IV, we implement a X = exp(-i&#960; J x ) gate in the auxiliary manifold and an identity operator in the Rydberg manifold. Finally, we will transfer all the states back to the ground state by acting steps III-I in reverse, thus implementing a rank-preserving Toffoli gate for the spin-cat encoding up to local rotations.</p><p>Thus when one of the control atoms is in the 0 subspace, X gate is applied target atom, and when both the control atoms are in the 1 subspace, the target atoms remain unchanged. This is the Toffoli gate up to a local X = exp(-i&#960; J x ) rotation on the target atom. In a realistic implementation of this protocol, one needs to consider the finite range of the Rydberg blockade while implementing the pulses for the Toffoli gate. To address this challenge, the effect of finite blockade effect can be addressed by using an appropriate control Hamiltonian in the quantum optimal control and finding control pulses that mitigate the undesirable effect of the finite blockade.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX I: ALTERNATIVE APPROACHES FOR CAT-STATE PREPARATION AND MEASUREMENT OF X</head><p>One can use alternative approaches than quantum optimal control for cat-state preparation and measurement of X . In this section, we detail some of those approaches. For example, one can use an adiabatic approach and one-axis twisting to create a spin-cat state.</p><p>(I) Adiabatic approach. Starting with an initial state |J , J z = J and evolving the Hamiltonian</p><p>adiabatically from s = 0 to s = 1 guarantees the final state to be close to a cat state |+ <ref type="bibr">[84]</ref>. This can be implemented in atomic systems using a combination of tensor light shifts and rf rotation <ref type="bibr">[34,</ref><ref type="bibr">72]</ref>.</p><p>FIG. <ref type="figure">18</ref>. Protocol for a rank-preserving Toffoli gate for spincat encoding using SU(2) operations. Similar to the rankpreserving CNOT gate Fig. <ref type="figure">2</ref>, we implement the Toffoli gate in the ground state of 87 Sr and the physical setting is the same as given in Fig. <ref type="figure">2(a)</ref>. We consider a geometry of atoms such that the nearest neighbors are constrained by the Rydberg blockade, but the next-nearest neighbors are not constrained. In step I the population is promoted to the auxiliary manifold in the atoms. In the control atoms we promote only the population of the 0 subspace whereas for the target atom, the population from both the 0 and 1 subspaces are promoted to the auxiliary state. In step II, we transfer the population between the auxiliary and the Rydberg manifolds of the control atoms. In step III, we transfer the population from the auxiliary to the Rydberg manifold of the target atom. However, due to the Rydberg blockade, this population transfer only happens when both the control atoms are in 0 subspaces. If even one of the control atoms is in 1 subspace this transition is blockaded. Then similar to the rank-preserving CNOT gate, in step IV we implement a X = exp(-i&#960; J x ) gate in the auxiliary manifold and an identity operator in the Rydberg manifold. Finally, we will transfer all the states back to the ground state by acting steps III-I in reverse, thus implementing a rank-preserving Toffoli gate for the spin-cat encoding.</p><p>(II) One-axis twisting: using a time-independent Hamiltonian, H = &#946;J 2 z , for a certain time T = &#960;/(2&#946;), one can evolve a spin coherent state along J x to prepare a high-fidelity cat state.</p><p>Including the effect of decoherence due to photon scattering and optical pumping for 87 Sr, we find the fidelity for one-axis twisting is 0.9998 whereas for the adiabatic preparation, one can achieve a fidelity of 0.9889. Similarly one can use an alternative approach to measure X , in particular, to know if the ancilla state is in |+ or |-. We can adiabatically rotate the states using the Hamiltonian</p><p>which implements the following transformations:</p><p>and then then measuring J x .</p><p>To evaluate the accuracy of X measurement, we define the target isometry as</p><p>The implemented isometry using the adiabatic approach is given as,</p><p>where L(s) is the Lindbladian including the effects of decoherence and</p><p>Thus the fidelity for the implementation of the isometry is defined as</p><p>This approach is similar to the approach taken in bosonic cat qubits <ref type="bibr">[73]</ref>. To measure J x , we first implement the unitary transformation U = exp -i&#960;/2J y to rotate the basis to |J , J z and then perform the readily accessible measurement M Z , which we can, in principle, achieve with a fidelity larger than 99% <ref type="bibr">[71]</ref>. Including the effects of optical pumping as discussed in Appendix B, one can implement this transformation with a fidelity of F iso = 0.98 for the 87 Sr nuclear spin qudit.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX J: ERROR CORRECTION WITHOUT MEASUREMENT</head><p>An alternative to syndrome-based quantum error correction is measurement-free quantum error correction (MFQEC) <ref type="bibr">[76]</ref><ref type="bibr">[77]</ref><ref type="bibr">[78]</ref><ref type="bibr">[79]</ref>. The standard syndrome-based error correction is given by recovery operation:</p><p>where for a general state &#961;, M i is the syndrome measurement and U i is the correction unitary according to the outcome of the syndrome measurement.</p><p>MFQEC is based on the unitary operator V, which couples the data and ancilla qubits. The action of which is given as, </p><p>Thus the MFQEC is equivalent to syndrome-based error correction and the key for MFQEC is a specific unitary gate between the ancilla and the data.</p><p>One can consider a fault-tolerant MFQEC scheme for the amplitude errors. The syndrome for the amplitude errors is the eigenvalue of J 2 z , which can be extracted by the projective measurement,</p><p>where 0 &#8804; k &#8804; (2J -1)/2. Recovery unitaries corresponding to the projective measurement outcomes are</p><p>which takes the state from the subspace,</p><p>Consider the following unitary operator, using the definitions from Eqs. ( <ref type="formula">6</ref>), <ref type="bibr">(26)</ref>, and (29) the product of three alternating CNOT gates can be written as</p><p>Consider the following states: When the second qudit is prepared in |+ 0 state, as shown in Fig. <ref type="figure">7</ref>(b), the application of the V s gate gives</p><p>The above state can also be written as,</p><p>where the notion of data and ancilla qubits are swapped for convenience. Thus the unitary operator V s followed by partial tracing implements the desired recovery operation. Thus one can correct the amplitude error fault tolerantly using a combination of two rank-preserving CNOT gates and fresh |+ 0 state. For fault-tolerant gadgets, one needs to repeat the phase and amplitude error correction multiple times and one needs to ensure that these two error-correction steps commute with each other. The phase error correction Fig. <ref type="figure">6</ref> commutes with measurement-free error correction of the amplitude error and the details of the calculation are given in Appendix K.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Upper bounds on the probability of the logical error in the amplitude error correction</head><p>In this section, we provide a detailed analysis to find an upper bound on the probability of a logical error in the amplitude error correction used in the error-corrected logical CNOT gadget in Fig. <ref type="figure">8</ref>.</p><p>First, consider the case where ancilla is prepared perfectly, i.e., we have &#961; A = |+ 0 and p i = 0 for i = 0 in Fig. <ref type="figure">9</ref>. In this case, a logical amplitude error occurs after s faulty CNOT gates if they create at least k max = (2J + 1)/2 many jumps, the probability of which we denote by q(s, k max ). The number of CNOT gates s is determined by the number of phase error corrections that appear before an amplitude correction, in addition to the two CNOTs acting in the amplitude error correction itself. To find the probability q(s, k max ), we note that each physical CNOT gate can create one or two jumps with probabilities p 1 and p 2 , respectively, and therefore we need to add the probabilities of cascades of one and two jumps that can create more than k max jumps. Therefore, q(s, k max ) can be written as q(s, k max ) = i &#955; i (s, k max ), ( J 1 3 )</p><p>where &#955; i represents the probability of one path such that we have at least k max jumps. For example, consider the case of s = 4 and J = 9/2, then &#955; i represents all the possible combinations of one and two jumps, such that the total sum of these jumps is at least 5. One such possibility is a combination of (1, 1, 1, 2) where we have one jump occurring at the first three CNOTs and two jumps occurring at the last CNOT.</p><p>When the ancilla is imperfect, for example, if it is prepared in the |+ k state rather than |+ 0 , one needs to find the paths that create k max -k many jumps. Thus we get,</p><p>where &#955; i (s, k max |k) is the probability of a path where we have at least k max jumps given that we already had k jumps to start with. We repeat the amplitude error correction r 2 many times in one error-corrected logical CNOT gate. Thus the upper bound of the logical amplitude error probability after r 2 rounds of error correction in Fig. <ref type="figure">8</ref> is,</p><p>where p k is the probability of ancilla starting at |+ k .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX K: COMMUTATIVITY OF THE ERROR-CORRECTION STEPS</head><p>The error correction for the spin-cat encoding follows two steps. The first step is the phase error correction in Fig. <ref type="figure">6</ref> and the second step is the measurement-free error correction for correcting amplitude errors given in Fig. <ref type="figure">7</ref>. For fault-tolerant gadgets, one needs to repeat these steps multiple times and we need to ensure that these two error-correction steps commute with each other such that the errors do not proliferate uncontrollably. For this, we need to satisfy,</p><p>where R amp , R ph are the recovery maps corresponding to the amplitude and phase error-correction, respectively. The recovery map for the amplitude error can be expressed in terms of the Kraus operators as,</p><p>where,</p><p>and V s is the unitary operator given in Eq. (J8). The Kraus operator representation of the phase error correction for spin-cat encoding is,</p><p>where</p><p>To prove the commutativity of the two error-correction steps first consider the Kraus operators M (K14)</p></div></body>
		</text>
</TEI>
