<?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'>Precise high-fidelity electron–nuclear spin entangling gates in NV centers via hybrid dynamical decoupling sequences</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/01/2020</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10296544</idno>
					<idno type="doi">10.1088/1367-2630/ab9bc0</idno>
					<title level='j'>New Journal of Physics</title>
<idno>1367-2630</idno>
<biblScope unit="volume">22</biblScope>
<biblScope unit="issue">7</biblScope>					

					<author>Wenzheng Dong</author><author>F A Calderon-Vargas</author><author>Sophia E Economou</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Color centers in solids, such as the nitrogen-vacancy center in diamond, offer well-protected and well-controlled localized electron spins that can be employed in various quantum technologies. Moreover, the long coherence time of the surrounding spinful nuclei can enable a robust quantum register controlled through the color center. We design pulse sequence protocols that drive the electron spin to generate robust entangling gates with these nuclear memory qubits. We find that compared to using Carr-Purcell-Meiboom-Gill (CPMG) alone, Uhrig decoupling sequence and hybrid protocols composed of CPMG and Uhrig sequences improve these entangling gates in terms of fidelity, spin control range, and spin selectivity. We provide analytical expressions for the sequence protocols and also show numerically the efficacy of our method on nitrogen-vacancy centers in diamond. Our results are broadly applicable to color centers weakly coupled to a small number of nuclear spin qubits.]]></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 n="1.">Introduction</head><p>Color centers in solids provide well-isolated local electron spins with long coherence times <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>, high fidelity manipulation <ref type="bibr">[6]</ref><ref type="bibr">[7]</ref><ref type="bibr">[8]</ref><ref type="bibr">[9]</ref>, and typically a small set of surrounding nuclear spins which can act as a quantum register. As a result, color centers are promising platforms to realize quantum technologies <ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><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>, including quantum sensing <ref type="bibr">[18]</ref><ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref>, quantum communication <ref type="bibr">[24]</ref><ref type="bibr">[25]</ref><ref type="bibr">[26]</ref>, and quantum computing <ref type="bibr">[27]</ref><ref type="bibr">[28]</ref><ref type="bibr">[29]</ref>. Among the most actively studied color center platforms are nitrogen-vacancy (NV) centers <ref type="bibr">[30]</ref><ref type="bibr">[31]</ref><ref type="bibr">[32]</ref><ref type="bibr">[33]</ref> and silicon-vacancy (SiV) <ref type="bibr">[34]</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref><ref type="bibr">[37]</ref> in diamond, and divacancy <ref type="bibr">[7,</ref><ref type="bibr">[38]</ref><ref type="bibr">[39]</ref><ref type="bibr">[40]</ref><ref type="bibr">[41]</ref><ref type="bibr">[42]</ref> and monovacancy centers in silicon carbide (SiC) <ref type="bibr">[43]</ref><ref type="bibr">[44]</ref><ref type="bibr">[45]</ref><ref type="bibr">[46]</ref><ref type="bibr">[47]</ref><ref type="bibr">[48]</ref>.</p><p>Even though the long coherence time of the nuclear spins makes them promising candidates for quantum memory <ref type="bibr">[22,</ref><ref type="bibr">49]</ref>, entanglement purification <ref type="bibr">[50,</ref><ref type="bibr">51]</ref>, and quantum nodes <ref type="bibr">[52]</ref> in quantum computing and communication, one of the main challenges is that the interactions between the electronic spin and the nuclear spin memory qubits are always on. As a result, controlling the system is not straightforward and the electron spin coherence is hampered by the spinful isotopic nuclei in the host crystal. In this regard, the Delft group has introduced and successfully demonstrated a clever way to address both of these issues: they have shown that appropriately chosen Carr-Purcell-Meiboom-Gill-like (CPMG-like) dynamical decoupling sequences <ref type="bibr">[53,</ref><ref type="bibr">54]</ref> applied on the electron spin not only protect it from the nuclear spin bath but also allow it to selectively control target nuclear spins via the hyperfine interaction <ref type="bibr">[27,</ref><ref type="bibr">32,</ref><ref type="bibr">55]</ref>. This novel use of CPMG-like sequences to implement two-qubit gates along with the vast repertoire of alternative dynamical decoupling sequences <ref type="bibr">[56]</ref><ref type="bibr">[57]</ref><ref type="bibr">[58]</ref><ref type="bibr">[59]</ref>, opens the question of whether there are even better nuclear spin control protocols that can be achieved through the combination of always-on interactions and drive of the electron spin.</p><p>In this paper, we introduce new, advantageous ways of selective, fast, and high-fidelity electron-nuclear spin entangling gates through pulse sequences acting on the electronic spin. We specifically focus on Uhrig dynamical decoupling (UDD) sequences <ref type="bibr">[58]</ref> and on hybrid protocols based on a combination of CPMG-like <ref type="bibr">[53,</ref><ref type="bibr">54]</ref> and UDD sequences. Our approach yields precise nuclear spin manipulation and good electron spin coherence protection. We find that, for a wide range of magnetic fields, the hybrid sequences provide fast electron-nuclear two-qubit gates with higher fidelity than what would be obtained by only using CPMG or UDD alone. Moreover, in contrast to other sequences, UDD provides high spin selectivity without significantly increasing the overall gate time. This facilitates the precise control of nuclear spins with similar hyperfine interaction strengths. Interestingly, and contrary to what one may conclude based on prior literature, we find that UDD provides better electron spin coherence protection compared to CPMG in the parameter regime that accomplishes high spin selectivity. We test our sequences numerically on an NV center in diamond, using system parameters from experiment <ref type="bibr">[55]</ref>. Our protocol is general, and can thus be applied to similar platforms-e.g., in divacancy centers in SiC, where the CPMG protocol was recently used to control nuclear spins <ref type="bibr">[42]</ref>-after straightforward modifications.</p><p>The remainder of this paper is organized as follows. In section 2, we present the system's Hamiltonian. In section 3, we review the use of CPMG-like sequences to control weakly coupled nuclear spins in NV centers. In section 4, we introduce Uhrig dynamical decoupling sequence and investigate its performance in terms of fidelity, selectivity, and electron spin coherence protection. In section 5, we present our new hybrid sequences for electron-nuclear spin entangling gates in NV centers, showing their versatility and overall performance. We conclude in section 6.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Modeling the system Hamiltonian</head><p>The geometric structure of the NV center, a nitrogen substitute and a neighboring carbon vacancy, is illustrated in figure <ref type="figure">1</ref>. The system under consideration is formed by the central electron spin and several weakly coupled nuclear spins (carbon isotope 13 C, with natural abundance of 1.1%) that we aim to control. In the presence of an external magnetic field (B field) applied along the z-axis, the total Hamiltonian of the system is:</p><p>where H E is the Hamiltonian for the S = 1 electron spin, H int is the hyperfine interaction between the central electron spin and all the nuclear spins in the system, each with spin I = 1/2, and H bath is the nuclear spin bath Hamiltonian. Note that we assume that the nuclear spins do not mutually interact, and thus H bath is reduced to the sum of Zeeman terms of the nuclear spins (see appendix B for more details on the total Hamiltonian). Since the NV center zero-field splitting (&#8764; 2.87 GHz) is much larger than the typical hyperfine interaction strength (&lt;MHz), it is highly unlikely that an electron spin-flip process occurs. Therefore, the transverse components of the electron spin can be safely neglected and only the S z term is kept <ref type="bibr">[55,</ref><ref type="bibr">60]</ref>.</p><p>It is convenient to start the analysis with the simplest case where the electron spin is only interacting with a single nuclear spin. Accordingly, their Hamiltonian in the interaction picture given by H E is simply:</p><p>where &#969; L is the nuclear spin Larmor frequency, I i is the Cartesian component (i = x, y, z) of the nuclear spin operator, and m s is the magnetic spin quantum number of the electron, which can be equal to -1, 0, or 1. For a sufficiently strong magnetic field, the m s = &#177;1 states are well separated in frequency, allowing us to treat the spin system as an effective two-level system with the m s = 0 state and one of the m s = &#177;1 states forming the two qubit levels. We follow the notation of reference <ref type="bibr">[55]</ref> and define |m s = -1 = |1 and |m s = 0 = |0 to encode the qubit and introduce the z-component of the pseudo-spin operator S z = 0|0 0| -|1 1|, where, for the sake of simplicity, we set = 1. Note that due to the diagonal form of the electron spin operator, the elements of the hyperfine interaction tensor, A j,i , are nonzero only for j = z and i = x, y, z (see appendix B). Moreover, the hyperfine interaction elements can be reduced to parallel and perpendicular components with respect to the z-axis, i.e. A and A &#8869; , respectively, by rotating the x-y plane. Therefore, equation ( <ref type="formula">2</ref>) can be expressed as:</p><p>where</p><p>Similarly, for multiple nuclear spins the total Hamiltonian can be written as: </p><p>where n is the number of nuclear spins and h (i) 0 (h (i) 1 ) is a multi-nuclear operator consisting of the tensor product of h 0 (h 1 ), which acts on the ith nuclear spin, and the identity operator acting on the remaining nuclear spins.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Review of CPMG-like quantum gates</head><p>To manipulate nuclear spins surrounding the central electron spin, Taminiau et al used CPMG-like dynamical decoupling sequences, namely the XY8 sequence <ref type="bibr">[53]</ref><ref type="bibr">[54]</ref><ref type="bibr">[55]</ref> to manipulate several nuclear spins weakly coupled to the central electron spin of an NV center in diamond. This sequence is applied on the central electron spin to decouple it from the surrounding nuclear/electron spin bath, thus extending its coherence time. At the same time, reference <ref type="bibr">[55]</ref> has shown that it is possible to induce conditional rotations on a target nuclear spin by tuning the sequence's inter-pulse delay time to satisfy a resonance condition determined by the hyperfine interaction between the electron spin and the target nuclear spin. The use of periodic pulses in other systems involving coupled electron and nuclear spins, such as quantum dots <ref type="bibr">[61]</ref><ref type="bibr">[62]</ref><ref type="bibr">[63]</ref><ref type="bibr">[64]</ref><ref type="bibr">[65]</ref>, produces similar resonance conditions.</p><p>The CPMG-like dynamical decoupling sequence used in reference <ref type="bibr">[55]</ref>, hereinafter referred to as simply CPMG sequence, consists of a train of pulses with the basic decoupling unit being (&#964; -&#960;-2&#964; -&#960;-&#964; ) N , where &#960;-pulses (&#960; rotations about the x-axis and y-axis in an alternating fashion) are applied to the electron spin, separated by a 2&#964; delay time, and N is the total number of basic decoupling units in the sequence. In the following analysis we use the total time t &#8801; 4&#964; of the basic decoupling unit instead of the inter-pulse distance 2&#964; to derive the resonance condition, as it is more convenient for comparing it to other types of dynamical decoupling sequences. Now, if we apply a single basic CPMG unit (N = 1) to the system formed by the central electron spin and n nuclear spins, equation (4), the evolution operator would be:</p><p>where the electron-spin-state-dependent evolution operators acting on the kth nuclear spin are n) . The full CPMG sequence contains N copies of the basic unit, and thus the total evolution operator is U N . Taminiau et al <ref type="bibr">[55]</ref> demonstrated that in a strong magnetic field and for a weakly coupled nuclear spin (&#969; L A &#8869; , A ), whenever the total basic unit time t (or similarly the inter-pulse distance 2&#964; ) satisfies a resonance condition the electron and target nuclear spins become coupled and the latter undergoes a rotation that is conditional on the electron spin state. Alternatively, when the basic unit time t is not on resonance with any target nuclear spin, the nuclear spins are decoupled from the electron spin and they just unconditionally rotate about an axis and rotation angle determined by how far from resonance t is for each nuclear spin.</p><p>To characterize the two-qubit gates emerging from the CPMG sequences acting on the electron spin, let us consider the simple case of a single nuclear spin interacting with the central electron spin. Following reference <ref type="bibr">[55]</ref>, we can express the conditional evolution operators V 0 and V 1 , equation <ref type="bibr">(5)</ref>, as</p><p>respectively. Here &#966; is the rotation angle, n |m s | is the rotation axis that depends on the electron's initial state m s = 0 or m s = -1, and I is the nuclear spin operator. As shown in figure <ref type="figure">2</ref>, the inner product of the rotation axes n 0 &#8226; n 1 indicates whether the nuclear spin rotation induced by the CPMG sequence is conditional ( n 0 &#8226; n 1 = -1) or unconditional ( n 0 &#8226; n 1 = 1). The conditional rotations are controlled-R &#177;X (&#966;) (CR X (&#966;)), i.e. x-rotations by an angle &#966; with a direction that depends on the electron spin state, and the unconditional ones are simply nuclear spin rotations about the x-axis, z-axis, or an axis in between the previous two, that does not depend on the electron spin state.</p><p>In order to generate a CR X (&#966;) gate, the CPMG unit time t must satisfy a resonance condition determined by the Larmor frequency of the nuclear spin and by the hyperfine interaction between the target nuclear spin and the electron spin. For a sufficiently strong magnetic field (&#969; L A , A &#8869; ), the resonance condition can be found analytically <ref type="bibr">[27,</ref><ref type="bibr">32,</ref><ref type="bibr">55]</ref>. Accordingly, at resonance, the CPMG unit time t CPMG and the nuclear spin rotation angle &#966; CPMG are <ref type="bibr">[55]</ref>:</p><p>where k is a positive integer. On the other hand, when t is in the middle of two neighboring resonance values, 1 2 (t CPMG k + t CPMG k+1 ), the uncoupled nuclear spin rotates unconditionally about the x-axis through an angle &#966;CPMG , R X ( &#966;). The CPMG unit time and rotation angle for the unconditional R X ( &#966;) gate are:</p><p>Note that the rotation angle &#966;CPMG does depend on k, in contrast to the resonance rotation angle &#966; CPMG in equation <ref type="bibr">(6)</ref>. These analytical expressions for the rotation angles as well as the analytical expressions for both t CPMG k and tCPMG k are approximations <ref type="bibr">[55]</ref> and their accuracy is inversely proportional to k. Moreover, the integer term k in equations ( <ref type="formula">6</ref>) and ( <ref type="formula">7</ref>) is chosen to be as small as possible to avoid unnecessarily long sequences that may negatively affect the coherence protection of the electron spin. Note also that the relatively sharper peaks and dips corresponding to the x projection of the unconditional rotation axis plot in figure <ref type="figure">2</ref> imply that the experimental timing precision required to implement an unconditional rotation is higher than the one required to implement a conditional rotation. That also suggests that the analytical approximation for tk CPMG must be numerically optimized to increase its accuracy, and thus improve the resulting single-qubit gate fidelity (the numerical optimization is implemented through minimization of n 0 &#8226; n 1 by varying the time t). Besides, when the strong magnetic field condition is no longer valid, the analytical expressions of equations ( <ref type="formula">6</ref>) and ( <ref type="formula">7</ref>) are less accurate and numerical optimization is required. Finally, the rest of the off-resonance values for t gives unconditional rotations gates about axes on the x-z plane that are close to the z-axis (R Z (&#952;)) with varying rotation angles.</p><p>It is evident that the CPMG sequences allow selective and precise control of nuclear spins as long as the perpendicular component of the hyperfine interaction between the electron and target nuclear spin is nonzero. By setting the CPMG unit time t to be equal to the resonance condition of the target nuclear spin, equation <ref type="bibr">(6)</ref>, and recursively applying the CPMG unit N times, one can implement a two-qubit gate CR X (&#966;) that conditionally rotates the target nuclear spin about the x-axis by a desired angle N&#966;. Note that the two-qubit gate CR X ( &#960; 2 ) is equivalent to a cnot gate up to local operations (see appendix A for further discussion). Similarly, by choosing an off-resonance time t one can apply single-qubit gates to the nuclear spins qubits, where the type of gate (e.g. R x ( &#966;) or R z (&#952;)) is determined by the CPMG unit time t, and the angle of rotation depends on the total number N of applied CPMG units. It is worth noting that, in general, it is preferable that the angle &#966; CPMG k (or &#966;k CPMG ) be either small or close to 2&#960;. The reason is that this allows, by appropriately choosing N, to have a total rotation angle N&#966; CPMG k (or N &#966;CPMG k ) that is close to any target rotation angle, which increases the overall gate fidelity F . However, a rotation angle &#966; CPMG k (or &#966;CPMG k ) that is extremely small or extremely close to 2&#960; would not be as desirable since it would result in a larger gate time T = Nt, and thus it would reduce the fidelity of the gate.</p><p>Despite the many advantages of CPMG-based spin control, there are also drawbacks. One is that the magnitude of the rotation angle obtained with CPMG, &#966; CPMG (6), is not small enough to implement high-fidelity gates. Moreover, this angle does not depend on k, and thus higher resonance orders cannot be used or combined in a clever way to get as close as desired to the target rotation and improve the resulting gate fidelity. Another disadvantage is that the use of large magnetic field strengths to improve the entangling gate fidelities would also negatively affect the selectivity in the control of different target nuclear spins with similar hyperfine interaction parameters. In other words, two or more nuclear spins with comparable hyperfine interaction parameters under a high magnetic field would also have similar resonance conditions. In that case, setting the value of the CPMG unit time t to couple the electron spin to the target nuclear spin would also undesirably couple it to the other nuclear spins, hence hindering the spin selectivity. It is in view of these limitations that we explore other types of dynamical decoupling sequences in the following sections.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Controlling nuclear spins with UDD sequences</head><p>An Uhrig dynamical decoupling (UDD) sequence <ref type="bibr">[58]</ref> is a series of &#960; pulses (&#960; rotations around the xand/or y-axes) which, in contrast to CPMG, are not equidistantly spaced. Instead, their fractional locations are given by</p><p>for an n number of pulses (UDDn) and unit sequence time t (total time of a single UDDn sequence). Note that for n = 2 (UDD2) the sequence is exactly equal to the building block of CPMG. Moreover, with each additional pulse, the UDD sequence successively cancels higher orders of a time expansion for any decoherence model <ref type="bibr">[66,</ref><ref type="bibr">67]</ref>.</p><p>In type Ib diamonds, the dominant decoherence source is the spin bath of substitutional nitrogen defects (P1 centers), whose noise spectrum is of Lorentzian shape and decreases very slowly at high frequencies. For such a noise spectrum, previous studies <ref type="bibr">[68]</ref><ref type="bibr">[69]</ref><ref type="bibr">[70]</ref> have shown that UDD with a large number of pulses tends to perform sub-optimally in comparison to CPMG, and thus simpler sequences (small n) are preferable to higher order ones <ref type="bibr">[69]</ref>. For diamonds of the type IIa, which is the type used in the experiments by the Delft group <ref type="bibr">[32,</ref><ref type="bibr">55,</ref><ref type="bibr">71]</ref>, the decoherence is dominated by the hyperfine interaction with the 13 C nuclear spins. Given that in diamond the noise spectrum due to a nuclear spin bath has a hard high-frequency cutoff <ref type="bibr">[60,</ref><ref type="bibr">72]</ref>, UDD is expected to perform optimally <ref type="bibr">[68]</ref><ref type="bibr">[69]</ref><ref type="bibr">[70]</ref>.</p><p>The single unit of a general UDDn can be iterated N times to form a long train of pulses, i.e. (UDDn) N . We numerically calculate the dynamics under UDD applied on the electron spin and find that the nuclear spin evolution satisfies the periodic resonance conditions in a way similar to CPMG. However, its rotation angle and resonance time behave differently from CPMG. Following an approach similar to the one used in reference <ref type="bibr">[55]</ref>, we find analytical expressions for the conditional and unconditional rotation angles and their respective unit times for UDD3 and UDD4 (see appendix C). For UDD3 the resonance unit time and rotation angle are given by</p><p>Similarly to the CPMG case, when t is in the middle of two neighboring resonance values,</p><p>), the uncoupled nuclear spin rotates unconditionally about the x-axis by an angle &#966;UDD3 . The analytical expressions of these variables are</p><p>Note that for UDD3 and, in general, for any UDDn with odd n, the electron spin does not return back to the initial state after a single unit sequence as required, and thus the number of iterations N of the single unit sequence must be an even number or otherwise the effect on the nuclear spins is naught. Consequently, the analytical expressions for the rotation angles in equations ( <ref type="formula">9</ref>) and ( <ref type="formula">10</ref>) correspond to a pair of single UDD3 sequences, i.e. (UDD3) 2 , each with unit sequence time t UDD3 k (or tUDD3 ). In contrast to CPMG and UDD3, UDD4 presents two different analytical expressions for the resonance time, each giving different rotation angles. The first set of analytical expressions for the resonance time and rotation angle is</p><p>where the resonance time coincides with the CPMG one and the magnitude of the rotation angle at any order k is much smaller than those generated by the CPMG sequence, equation <ref type="bibr">(6)</ref>. On the other hand, the second set of analytical expressions, which does not coincide with the CPMG resonance time, is</p><p>where the angle of rotations &#966;UDD4 k are larger than &#966; UDD4 k . In fact, with the resonance time tUDD4 k UDD4 performs almost on a par with CPMG in both gate fidelity and total sequence time. Another difference between UDD4 and CPMG (and UDD3 too) is that unconditional rotations about the x-axis do not occur every time t is in the middle between any two sequential resonance times t UDD4 k (or tUDD4 k ), they only happen at certain times given by</p><p>In general, for both CPMG and any UDDn, the sequence unit times tk that generate unconditional rotations about the x-axis are more sensitive to timing imprecision. As discussed before, the timing sensitivity is connected to the sharpness of the dips and peaks of the rotation axes x projection as shown in figure <ref type="figure">2</ref> (see also appendix C). As a result, the analytical expressions for the sequence unit time that generates unconditional rotations, and the corresponding rotation angles, are less precise approximations in comparison to the analytical expressions for the conditional rotations, and thus they should be used as initial inputs of a numerical optimization algorithm that would give more exacts values. We do not provide analytical expressions for the resonance times (or corresponding rotation angles) for UDDn with n 5 due to the increased complexity in the expressions. Instead, the numerical comparison between UDDn and CPMG is in figure <ref type="figure">3</ref>, where the rotation angles and resonance times of the target nuclear spin are shown for both cases. Again, since the general UDD is not equidistantly spaced, we use the basic sequence time t as the unit time instead of the variable inter-pulse time &#964; . The first resonance time t 1 (first dips of n 0 &#8226; n 1 in figure <ref type="figure">3(a)</ref>) for CPMG, UDD4, and UDD6 is the same. On the other hand, as shown in figures 3(b) and (c), the rotation angle &#966; and spin selectivity (full width at half minimum of the curve for the dot product of the rotation axes, n 0 &#8226; n 1 ) vary for different UDDn sequences. figure <ref type="figure">3(c)</ref> shows the rotation angles around the first three orders of the resonant time t k with k = 1, 2, 3 for CPMG, UDD4 and UDD6. It is evident that the rotation angles at t k are almost constant for CPMG yet varying for UDD4 and UDD6. The closer the magnitudes of &#966; k is to 2&#960; the smaller the effective rotation angle is. Therefore, we can choose a UDD sequence with a rotation angle close enough to 2&#960; to implement a total gate with higher fidelity. In order to have overall short gate times, hereafter we will use the first resonance time t 1 to implement the coupling gate for nuclear spins under both CPMG and UDD sequences, unless stated otherwise. Moreover, we will only consider UDDn sequences with n 6 in order to avoid unnecessarily long sequences and also to maintain the efficacy of the sequence in protecting the electron spin from noise with soft high-frequency cutoff <ref type="bibr">[69]</ref>. The CPMG (UDD4) sequence is formed by N CPMG (N UDD ) copies of its basic unit sequence. The hyperfine interaction parameters (A /2&#960;, A &#8869; /2&#960;) of the two nuclear spins interacting with the electron spin are extracted from reference <ref type="bibr">[55]</ref> and are: (15.3, 12.9) kHz for spin-1 (blue curve), and (30.6, 25.7) kHz for spin-2 (red curve). The calculation assumes a relatively strong external magnetic field, &#969; L /2&#960; = 314 kHz. Each panel shows the type of pulse sequence used in the numerical simulation and the total sequence time T. In each panel, when the unit sequence time t is chosen as indicated by the dotted vertical line, the targeted spin (spin-1 in (b) and (d) and spin-2 in (a) and (c)) is maximally entangled with the electron spin (P x &#8594; 1/2). The intersection of the curve of untargeted spin (spin-1 in (a) and (c) and spin-2 in (b) and (d)) with the dotted vertical line represents how much the untargeted spin is decoupled. P x = 1 for the untargeted spin represents complete decoupling of the untargeted spin. (a) and (b) The CPMG sequence fails to fully control each nuclear spin individually without affecting the other one, due to the small P x (P x = 0.8 in (b)) of the untargeted spin. Here we use a higher resonance order k = 2 (corresponding to larger unit sequence time t k ), equation <ref type="bibr">(6)</ref>, which improves the selectivity of the CPMG sequence. (c) and (d) Using the UDD4 sequence on the electron spin increases the coupling selectivity with each nuclear spin. The number of iterations, N (j)  i with i &#8712; {CPMG, UDD} and j the panel label, are chosen such that the electron spin is maximally entangled with one of the nuclear spins. The iteration numbers used in each panel are N (a) CPMG = 9, N (b) CPMG = 18, N (c) UDD = 33, and N (d) UDD = 70.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Nuclear spin selectivity enhancement using UDD</head><p>A good nuclear spin selectivity, in the context of the techniques discussed in this work, implies the successful coupling of the electron spin with a target nuclear spin and the simultaneous decoupling from the rest of the nuclear spin bath. However, when two or more nuclear spins surrounding the central electron spin have similar hyperfine parameter values, it becomes challenging to couple the electron spin to one of those nuclear spins without coupling to the other. In the case of CPMG, the spin selectivity can be improved by using a higher resonance order k <ref type="bibr">[55]</ref>, equation <ref type="bibr">(6)</ref>, i.e. larger unit sequence time t k . However, a larger minimum pulse interval implies a reduction in the 'dynamical decoupling limit' <ref type="bibr">[73,</ref><ref type="bibr">74]</ref>, which is the highest-frequency component of the noise power spectral density that can be successfully suppressed by dynamical decoupling. As a result, a CPMG sequence with larger t k will unavoidably underperform (see section 4.2 for further discussion). Alternatively, given that the spin selectivity (full width at half maximum of the curve for n 0 &#8226; n 1 of the target nuclear spin, see figure <ref type="figure">3(b</ref>)), varies for different UDDn sequences, UDD-based control is versatile enough to individually control a target nuclear spin while decoupling the electron spin from the rest of the spin bath, without the use of higher resonance orders.</p><p>As an example of the finer spin selectivity of UDD, we simulate the interaction of two 13 C nuclear spins with the central electron spin of an NV center under dynamical decoupling sequences (see appendix E for the case of three nuclear spins coupled to the central electron spin). We calculate the coupling-decoupling rate of the electron spin using the system's coherence function <ref type="bibr">[60]</ref> L(t) = Tr &#961;(t)S + / Tr &#961;(0)S + , where S + = S x + iS y is a spin ladder operator, and &#961;(t) is the density matrix of the system comprising the electron spin and two nuclear spins at time t. For the numerical calculations we set the nuclear Larmor frequency equal to &#969; L /2&#960; = 314 kHz, and we take the hyperfine interaction parameters (A /2&#960;, A &#8869; 2&#960;) from reference <ref type="bibr">[55]</ref>: (15.3, 12.9) kHz and (30.6, 25.7) kHz for the first and second nuclear spins, respectively. Assuming an inter-nuclear distance such that the nuclear-nuclear interaction is much weaker than the electron-nuclear interaction, we neglect the former in our calculations. Consequently, if we assume that the system is initialized in a product state with the electron state being |x = (|m s = 0 + |m s = -1 )/ &#8730; 2, then the probability P x of preserving the initial electron state at time t is given by P x = (1 + L(t))/2. In figure <ref type="figure">4</ref> we plot the probability P x after CPMG (figures 4(a) and (b)) and UDD4 (figures 4(c) and (d)) sequences with N iterations of their respective basic unit sequences. Evidently, a probability P x equal to 1 indicates that the electron is decoupled from the nuclear spins, and that is true for most values of the unit sequence time t in figure <ref type="figure">4</ref>. However, for certain values of t the sequence is in resonance with one of the nuclear spins, which corresponds to a sharp dip in P x as shown in figure <ref type="figure">4</ref>. At those resonance values of t, equations ( <ref type="formula">6</ref>) and <ref type="bibr">(11)</ref>, the rotation axes n 0 and n 1 for the target nuclear spin are approximately antiparallel ( n 0 &#8226; n 1 = -1,which corresponds to P x &#8776; 0.5), and thus the resulting conditional rotation entangles the target nuclear spin with the electron spin. In order to improve the spin selectivity of CPMG we use a higher resonance order k = 2.</p><p>Moreover, the number of iterations, N i with i &#8712; {CPMG, UDD}, are chosen such that the electron spin is maximally entangled with one of the nuclear spins (P x &#8594; 0.5), see figure <ref type="figure">4</ref>. Note that, in contrast to the CPMG case (figures 4(a) and (b)), when the signal of the target nuclear spin, which is at resonance with the UDD4 sequence (figures 4(c) and (d)), is near P x = 0.5, the signal of the nuclear spin is effectively at P x = 1. This means that the nuclear spins can be individually controlled without significantly affecting each other in the process, thus minimizing the crosstalk error between spin qubits, which is a necessary condition for realizing the control of a multi-nuclear spin register <ref type="bibr">[29]</ref>. Moreover, the total sequence time T of UDD4 is only slightly larger than that of CPMG, making it overall more appealing.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Decoupling power of UDD versus CPMG in the spin selectivity enhancing case</head><p>It has been shown in the literature that in the presence of noise with a soft high-frequency cutoff CPMG outperforms UDD <ref type="bibr">[68-70, 74, 75]</ref>. However, as mentioned in the previous section, in the particular case of spin selectivity enhancement it is necessary to use a higher resonance order k for CPMG (larger interpulse period). Higher values of k, in addition to making the sequences longer, affect negatively their decoupling performance. This becomes evident when we consider the electron spin decoherence under pulse sequences. Accordingly, we quantify the electron spin (qubit) coherence following the formulation for measuring coherence under a dephasing Hamiltonian introduced in references <ref type="bibr">[58,</ref><ref type="bibr">68,</ref><ref type="bibr">69]</ref>. In general, an initial qubit state along the x-axis of the Bloch sphere accumulates a random phase due to its interaction with the environment. The coherence of the state after a time T is given by | L(t)| = e -&#967;(T) , where | . . . | is the ensemble average and L(t) is the previously defined coherence function. As shown in references <ref type="bibr">[58,</ref><ref type="bibr">68,</ref><ref type="bibr">69]</ref>, the function in the exponent of the coherence function is</p><p>&#969; 2 F(&#969;T)d&#969;, where S(&#969;) is the power spectral density of the noise, and F(&#969;T) is known as the 'filter function' and describes the influence of the pulse sequence on the qubit decoherence. Therefore, to characterize the coherence-preserving power of any pulse sequence with total time T, it suffices to calculate its filter function F(&#969;T).</p><p>For a general sequence of n&#960; pulses which are applied at the instants of time &#948; j T with j &#8712; {1, 2, . . . , n}, so that the total sequence time T is divided into n + 1 subintervals, the filter function is <ref type="bibr">[58,</ref><ref type="bibr">69]</ref> </p><p>Here we are assuming instantaneous pulses, which is a good approximation as long as the duration of each pulse is smaller than the smallest interval between pulses <ref type="bibr">[68]</ref>. This is the case for NV centers, where &#960;-pulses can be implemented in less than 10 ns and with a fidelity above 99% <ref type="bibr">[53,</ref><ref type="bibr">76]</ref>. Moreover, for the numerical simulations we use noiseless pulses and assume that there are no other noise sources acting on the system. Now, for an n-pulse CPMG sequence the fractional pulse locations are &#948; j = (j -1/2)/n. However, given that in this work we consider the number of iterations N of a basic sequence unit (&#964; -&#960;-2&#964; -&#960;-&#964; ) instead of the total number of pulses, the fractional pulse locations for N iterations of the basic CPMG unit (CPMG N ) would be &#948; j = (j -1/2)/(2N). Therefore, after some algebra, the filter function for a CPMG N sequence is</p><p>Alternatively, for a UDD sequence with n pulses (UDDn) the fractional pulse locations are &#948; j = sin 2 [&#960;j/(2n + 2)]. But then again, in this work we consider N iterations of a basic sequence unit UDDn, and thus the fractional pulse locations are given by &#948; ln+j = l/N + sin 2 [&#960;j/(2n + 2)]/N. The filter function for a (UDDn) N sequence then is</p><p>With the above expressions we proceed to compare the filter functions of the pulse sequences used in figures 4(a) and (c), which is shown in figure <ref type="figure">5</ref> (the filter functions of the pulse sequences used in figures 4(b) and (d) gave similar results). The vertical black and red dashed lines in figures 5(a) and (b) mark the frequency interval &#8764; <ref type="bibr">[60,</ref><ref type="bibr">250]</ref> kHz where the CPMG filter function is greater than or equal to 1, i.e. CPMG fails to decouple the electron spin from the spin bath. In that same region, with non-negligible noise spectral weight, UDD4 clearly outperforms CPMG. This shows that, in this type of scenario, UDD4 not only provides better spin selectivity, but also better noise-suppression compared to CPMG. indicates equal filter functions, a quotient less than 1 (light blue shading) corresponds to UDD4 outperforming CPMG and vice versa for a quotient greater than 1 (magenta shading). In the frequency interval &#8764; <ref type="bibr">[60,</ref><ref type="bibr">250]</ref> kHz (between the vertical black and red dashed lines) the CPMG filter function is, on average, equal or greater than 1, thus losing its error-suppressing capability. In that same frequency interval UDD4 clearly outperforms CPMG. For higher frequencies (to the right of the red dashed line &#8764;250 kHz) CPMG outperforms UDD4 for certain sporadic intervals, however, the noise spectral weight in such intervals is comparatively much smaller. and tUDD4 1</p><p>of CPMG (blue curve) and UDD4 (red curve) sequences, respectively. In the numerical calculations we use a strong external magnetic field (corresponding to a nuclear Larmor frequency of &#969; L /2&#960; = 5 MHz) and hyperfine parameters A /2&#960; = A &#8869; /2&#960; = 25kHz. The wider dip given by the UDD4 sequence allows for somewhat larger degree of error in the pulse timing.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Robustness under pulse timing errors in strong magnetic fields</head><p>There are scenarios where the use of very strong magnetic fields is advantageous, e.g. in order to suppress undesired transverse couplings. In those cases, the use of dynamical decoupling sequences to conditionally control nuclear spins becomes more sensitive to pulse timing errors due to shorter time intervals between pulses that can get close to the hardware temporal resolution limit. However, considering that whenever the inner product of the target nuclear spin rotation axes ( n 0 &#8226; n 1 ) is equal to -1, the nuclear spin rotation is The axes correspond to the parallel and perpendicular components of the hyperfine interaction strength, A /2&#960; (x-axis) and A &#8869; /2&#960; (y-axis), in the range of 10 kHz to 300 kHz. For each point of the contour plots we have calculated the necessary number of iterations N i (i &#8712; {CPMG, UDD4}) for each type of sequence such that the resulting gate is a CR X ( &#960; 2 ) with the shortest gate time that achieves maximal fidelity for the given set of parameters (see appendix D for the values of N i ). conditional, then it is possible to make the sequence more resistant to pulse timing error by requiring that the gradient around the point where n 0 &#8226; n 1 = -1 be as small as possible. In other words, since the spin selectivity depends on the full width at half minimum of the aforementioned curve, we slightly relinquish the spin selectivity in order to obtain a sequence that is more resistant to pulse timing error.</p><p>To illustrate the previous point, figure <ref type="figure">6</ref> shows the inner product of the rotation axes, n 0 &#8226; n 1 , of a nuclear spin being controlled via CPMG and UDD4 sequences under a strong magnetic field (corresponding to a nuclear Larmor frequency of &#969; L /2&#960; = 5 MHz). For UDD4 we use the first order resonance time tUDD4 1 of the second set (see equation <ref type="bibr">(12)</ref>) and for CPMG we use its first order resonance time t CPMG 1 . Evidently, the CPMG sequence produces a sharp deep, which does not change regardless of the order of the chosen resonance time, whereas UDD4 gives a wider dip that corresponds to a control sequence less sensitive to pulse timing error. Note that tUDD4 1 = 2t CPMG 1 , meaning UDD4 requires longer time to guarantee its superior robustness against timing error. The nuclear spin single-qubit gate is implemented via the unconditional rotation caused by the CPMG sequence on the electron spin. The axes correspond to the parallel and perpendicular components of the hyperfine interaction strength A /2&#960; (x-axis) and A &#8869; /2&#960; (y-axis). Decreasing the field strength to lower the gate time unavoidably lowers the overall gate fidelity as well. Nevertheless, the gate fidelity is still above 90% in most of the parameter space.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Hybrid sequences: CPMG + UDD for high fidelity gates and wider spin control range</head><p>Given that CPMG offers fast yet non ideal large angle rotations and UDD offers slow but desirable small angle rotations, the combination of both CPMG and UDD sequences is an attractive solution to construct both fast and high fidelity gates. We refer to such combinations of CPMG and UDD as hybrid sequences. These are based on several iterations of basic CPMG units to form rotations close to the desired gate, followed by few iterations of single basic UDD units to get as close as possible to the target gate. The resulting rotation angle &#920; is given by</p><p>where &#952; CPMG(UDD) and N CPMG(UDD) are the rotation angle and integer number of iterations of the CPMG (UDD) sequence, respectively. The recipe for choosing N CPMG and N UDD4 is to start with the value for N CPMG that makes the resulting gate as close to the target gate as possible. Then we perform a simple numerical optimization where we perturb the value for N CPMG previously found and add a variable number of iterations of the UDD4 sequences (constrained to N UDD4 6) in such a way that the resulting gate fidelity is maximum. These hybrid sequences take advantage of the large rotation speed of CPMG and the small and more precise rotation angles of UDD, giving an overall fast and high-fidelity two-qubit entangling gate. The hyperfine parameters of nuclear spin 1 (blue) and nuclear spin 2 (red curve) and magnetic field setup are the same as in figure <ref type="figure">4</ref>. Simulation in the simultaneous presence of two nuclear spins is plotted in black dashed curve. The choice of third order resonance here results in well separated resonance time between the two nuclear spins, thus improving the spin selectivity. For each plot we use (a)</p><p>The CPMG + UDD4 hybrid protocol shows similar spin selectivity and equivalent gate time compared to the pure CPMG protocol. The lack of selectivity enhancement of the hybrid protocol is due to its predominant CPMG composition.</p><p>Figure <ref type="figure">7</ref> shows the gate infidelity and gate time for a two-qubit CR X ( &#960; 2 ) obtained with the CPMG sequence and with the hybrid CPMG + UDD4 sequence. The gate infidelity is defined as <ref type="bibr">[77]</ref> 1</p><p>where n is the Hilbert space dimension, U is the generated gate, and U 0 is the desired gate. The infidelity and gate time are sampled on a range of hyperfine parameter values and for relatively weak and strong magnetic field strengths. The CPMG-based CR X ( &#960; 2 ) gate has lower fidelity when the external magnetic field is relatively weak (figure <ref type="figure">7(c)</ref>). In contrast, the CPMG + UDD4-based CR X ( &#960; 2 ) gives relatively high gate fidelity under weak magnetic field strength, above 99% as shown in figure <ref type="figure">7(d)</ref>. Moreover, as shown in figures 7(a) and (c) the large effective rotation angle incurs the granularity pattern of the infidelity. On the other hand, due to the smaller effective rotation angle of UDD4, the high fidelity of the hybrid CPMG + UDD4 sequence persists for a broad hyperfine parameter range and the landscape is smoother, as shown in figures 7(b) and (d). Figures <ref type="figure">7(e)-(h)</ref> show the gate times for CR X ( &#960; 2 ) obtained with both type of sequences. The CPMG + UDD4-based CR X ( &#960; 2 ) has only a slightly longer gate time than the CPMG-based one, confirming that the combination of CPMG and UDD sequences gives an overall fast and high-fidelity CR X ( &#960; 2 ) gate. In general, the CR X (&#966;) fidelity is directly proportional to the external magnetic field strength and, therefore, it is inversely proportional to the rotation angle &#966; k in both CPMG and UDDn sequences, which, seeing that in general &#966; k &#966;k (see equations ( <ref type="formula">6</ref>)-( <ref type="formula">13</ref>)), implies that a higher-fidelity CR X (&#966;) would result in an undesirably long R x ( &#966;) gate time. Having excessively slow single-qubit gates would hamper any further development that involves nuclear spins in defects as quantum registers or processors. However, the use of weaker external magnetic fields not only improves the nuclear spin selectivity but it also lowers the gate time of the single-qubit x-rotation caused by a dynamical decoupling sequence with an off-resonance unit time t. Figure <ref type="figure">8</ref> shows the fidelity and gate time for the CPMG-based single-qubit rotation R x ( &#960; 2 ), which are calculated for a range of hyperfine parameter values and different magnetic field strengths. We choose to use only the CPMG sequence for the calculations presented in figure <ref type="figure">8</ref> because the other sequences (UDD and CPMG + UDD) give similar fidelities but worse gate times. As shown in figure <ref type="figure">8(c</ref>) and (d), a lower magnetic field strength reduces the overall single-qubit x-rotation gate time; notwithstanding, a weak magnetic field also reduces the gate fidelity (figures 8(a) and (b)). Nevertheless, the gate fidelity is still above 90% in most of the parameter space under weak magnetic fields. 2 ) gate between the electron and target nuclear spin when the latter has the following hyperfine interaction parameters {A &#8869; /2&#960; = 70kHz, A /2&#960; = 170kHz}. The pulse sequence and hyperfine parameters were extracted from figures 7(c) and (d). For the free-induction decay (FID) process, the electron spin state freely evolves for 12.01 &#956;s. (a) Numerically calculated filter functions for CPMG + UDD4, CPMG, and free-induction decay (FID). The horizontal dashed black line indicates F(&#969;) = 1. (b) The quotient between the numerical values of CPMG + UDD4 and CPMG. A quotient equal to 1 indicates equal filter functions, a quotient less than 1 corresponds to CPMG + UDD4 outperforming CPMG and vice versa for a quotient greater than 1 (magenta shading). Vertical dashed black lines in both plots mark the frequency value &#969; 1 /2&#960; &#8776; 1 MHz below which noise is effectively suppressed by both pulse sequences.</p><p>We next test the spin selectivity of the hybrid protocol. In figure <ref type="figure">9</ref>, we compare the spin selectivity of CPMG and CPMG + UDD4 hybrid protocols for two nuclear spins with parameters taken from reference <ref type="bibr">[55]</ref>. We set the nuclear Larmor frequency equal to &#969; L /2&#960; = 314 kHz, which is the setup in figure <ref type="figure">4</ref>. We choose to use k = 3, the third resonance, for all CPMG and UDD4 pulse sequences, wherein two spin resonance times are more separated to achieve better spin selectivity. In the totally entangling process of two nuclear spin respectively, we find that the hybrid protocol and the CPMG protocol have the same gate times (T = t(N CPMG + N UDD4 )), which are only determined by their sequence iteration numbers N: (a)</p><p>The two protocols show similar spin selectivity, which is not surprising, given that the hybrid protocol generally consists of a long sequence (i.e, large N CPMG ) of CPMG pulses, followed by a short sequence (i.e, small N UDD ) of UDD4 pulses. Now we turn our focus toward the coherence-preserving power of the hybrid sequence CPMG + UDD. The filter function for the hybrid sequence (CPMG)N CPMG +(UDDn)N UDD is a combination of equations ( <ref type="formula">15</ref>) and ( <ref type="formula">16</ref>) and is given by</p><p>where &#948; CPMG j = (j -1/2)/ [ (2(N CPMG + N UDD )) and &#948; UDD ln+j = (l + N CPMG )/(N CPMG + N UDD ) + sin 2 [&#960;j/(2n + 2)]/(N CPMG + N UDD ). In equation <ref type="bibr">(18)</ref> we assume that the order of the full sequence, from left to right, is CPMG first followed by UDD. For alternative orders the fractional pulse locations must be slightly modified.</p><p>We compare the CPMG + UDD4 and CPMG filter functions in figure <ref type="figure">10</ref>. These pulse sequences, with parameters {N CPMG = 21, N UDD = 2, T = 12.01 &#956;s} for CPMG + UDD4 and {N = 21, T = 10.97 &#956;s} for CPMG, induce a high-fidelity CR x ( &#960; 2 ) gate between the electron and a target nuclear spin with hyperfine parameters {A &#8869; /2&#960; = 70 kHz, A /2&#960; = 170 kHz}. The pulse sequences and hyperfine parameters were extracted from figures 7(c) and (d), in which the sequence parameters are optimized to generate high-fidelity CR X ( &#960; 2 ) gates in the shortest time possible. Figure <ref type="figure">10</ref>(a) shows, apart from the CPMG + UDD4 and CPMG filter functions, the filter function for a free-induction decay (FID) process given by <ref type="bibr">[68,</ref><ref type="bibr">69]</ref> F FID (&#969;T) = sin 2 (&#969;T/2). In this process the electron spin state is allowed to freely precess for certain time T (T = 12.01 &#956;s in figure <ref type="figure">10(a)</ref>) under the effect of a dephasing Hamiltonian which, in an ensemble average, produces a decay in coherence. The filter functions of both pulse sequences are, as expected, much smaller than the filter function of FID for low-frequency noise but they get closer to each other with increasing noise frequency until they become equal to or greater than 1 (horizontal dashed black line). The vertical dashed black lines in both figures 10(a) and (b) mark the minimum frequency &#969; 1 /2&#960; &#8776; 1 MHz at which both filter functions are equal to 1. Therefore, for noise frequencies equal to or greater than &#969; 1 , both pulse sequences do not effectively suppress the noise and can even amplify the decoherence. In the same vein, figure <ref type="figure">10(b)</ref> shows that for noise frequencies less than &#969; 1 both filter functions perform equivalently (the quotient between filter functions is equal to 1) except for noise frequencies close to &#969; 1 , where CPMG slightly outperforms CPMG + UDD4 (quotient greater than 1). However, the noise spectral density near &#969; 1 /2&#960; &#8776; 1 MHz is already considerably small <ref type="bibr">[53]</ref>. Therefore, the hybrid CPMG and UDD pulse sequences, in comparison to CPMG alone, do not appreciably lower the ability to extend the electron spin coherence time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Conclusions</head><p>In this work we have introduced a new way of conditionally controlling nuclear spins via UDD and hybrid dynamical decoupling sequences acting on the central electron spin in NV centers. The Uhrig sequences provide flexibility in terms of enhancing nuclear spin selectivity, without increasing gate times. Surprisingly, in this case UDD performs better than CPMG in terms of electron spin coherence protection too. The hybrid approach combines CPMG and Uhrig dynamical decoupling sequences, and has the advantage of producing fast entangling two-qubit gates between the electron and target nuclear spins with higher fidelity than what would be obtained with using either Uhrig or CPMG sequences alone. This is because UDD gives small rotation angles, which supplement the rotation induced by CPMG. Thus, hybrid sequences overcome the coarse 'granularity' issue of CPMG-induced conditional gates. Even though the hybrid protocol does not improve the spin selectivity over CPMG as the UDD case does, it is an improved tool to implement fast and high fidelity gates when the spin selectivity given by CPMG is satisfactory. Moreover, the hybrid sequence retains most of the noise-suppression characteristics of CPMG, as shown by its filter function. In addition, in contrast to other sequences, the hybrid protocol is less restrictive regarding the strength of the external magnetic field, allowing the use of weaker magnetic fields without significantly increasing the overall gate time and, at the same time, giving better spin selectivity. It also allows the use of very strong magnetic fields while reducing the sequence sensitivity to pulse timing error.</p><p>Our results are applicable not only to NV centers but also to similar defect platforms such as the SiV 0 in diamond <ref type="bibr">[78]</ref> and divacancy centers in SiC <ref type="bibr">[7,</ref><ref type="bibr">[39]</ref><ref type="bibr">[40]</ref><ref type="bibr">[41]</ref><ref type="bibr">[42]</ref>, both of which have a ground state with S = 1. The latter is particularly interesting since it has two types of nuclear spins, 13 C and 29 Si, which can be treated as two independent nuclear spin baths due their negligible interference <ref type="bibr">[79]</ref>. Overall, our work presents a more versatile way to control weakly coupled nuclear spins via a central electron spin, and thus it is immediately relevant to experiments with existing capabilities in NV centers and similar systems. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>CR</head><p>= iX, we can make the following simplification:</p><p>It is evident from the expression that CR X ( &#960; 2 ) is equivalent to the CNOT gate, up to an electron spin state-independent nuclear gate R X ( &#960; 2 ), a R (E) z &#960; 2 gate on the electron spin, and an ignorable trivial phase.</p><p>CNOT, to implement the standard CNOT gate one should apply the corresponding unconditional nuclear gates and electron spin gate to counteract the R</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix B. System Hamiltonian</head><p>We consider a nuclear spin 13 C that interacts with the central electron spin in the presence of a magnetic field along the z direction. The total Hamiltonian, equation (1) in the main text, can be decomposed as the summation of the following terms:</p><p>where &#947; is the gyromagnetic ratio, &#916; is the zero field splitting, vectorized spin operators S, I contain x, y, z components each, and A = A i,j is the electron-nuclear hyperfine tensor, which contains 9 components for Figure <ref type="figure">C2</ref>. Rotation angle &#966; and perpendicular components of the unit axes, n 0,&#8869; and n 1,&#8869; , vs the unit sequence time t for different UDDn sequences with odd n. We use the same values for the system parameters used in figure <ref type="figure">C1</ref>. The regions where a peak, nor a dip, is observed but one would otherwise expect to do so, e.g. the region under the first peak of the rotation angle, is due to very sharp processes (and, therefore, quite sensitive to timing imprecision) that were not picked up by the numerical calculations or simply due to the absence of conditional or unconditional x-rotations. i, j &#8712; {x, y, z}. Since the nuclear spin is not assumed to be a nearest neighbor of the electron spin, H int can be described by the dipole-dipole interaction:</p><p>where the r denotes the displacement vector from the electron to the nucleus. When we eliminate the transverse components of the electron spin, as explained in the main text, we have:</p><p>A proper rotation of the x-y plane can reduce the directions down to &#8869; and components w.r.t. the z-axis.</p><p>In this way, the second term in equation ( <ref type="formula">2</ref>) can be obtained. and N CPMG+UDD4 UDD4 used in the fidelity plots of figure 7(d). The Larmor frequency is set equal to &#969; L /2&#960; = 0.5 MHz. and N CPMG+UDD4 UDD4 used in the fidelity plots of figure 7(b). The Larmor frequency is set equal to &#969; L /2&#960; = 2 MHz. The nuclear spin evolution operators after a single UDDn decoupling sequence, with n being an even integer, are: U 0 = j=n even j=0 exp -ih (1+(-1) j+1 )/2 &#916; j (n)&#964; , U 1 = j=n even j=0 exp -ih (1+(-1) j )/2 &#916; j (n)&#964; , (C1) where &#916; j (n) is defined as &#916; j (n) = sin &#960;(j+1) 2n+2 2 sin &#960;j 2n+2 2 sin &#960; 2n+2 2 , ( C 2 ) with &#916; 0 (n) = &#916; n (n) = 1. The Hamiltonian h (1+(-1) j+1 )/2 (h (1+(-1) j )/2 ) is either equal to h 0 = &#969; L I z or h 1 = (&#969; L -A )I z -A &#8869; I x (see equation (3) in the main text). Here A &#8801; &#969; h cos(&#952;) and A &#8869; &#8801; &#969; h sin(&#952;),</p><p>where &#969; h is the magnitude of the hyperfine interaction and &#952; is the angle between the axes of rotation &#969; L and &#969; h . In the absence of hyperfine coupling, the nuclear spin would precess about the axis &#969; L with frequency &#969; L (Larmor frequency). Similarly, in the absence of an external magnetic field, the nuclear spin would precess about the axis &#969; h with frequency &#969; h . Note that for odd n the operators U 0 and U 1 do not start and end with the same single evolution operator as is the case for even n, a required symmetry that implies that the electron spin returns to its initial state after the decoupling sequence. Therefore, as stated in the main text, for UUDn with odd n the basic unit sequence must be a combination of two single UDDn sequences, giving the following nuclear spin evolution operators Given that the operators U 0 and U 1 belong to the SU(2) group, they can be expressed as rotations by an angle &#966; around a unit axis n i , this is which implies that the probability P x that the initial electron spin state |x is preserved after the decoupling sequence is equal to 1 if the unit axes n 0 and n 1 are parallel, i.e. n 0 &#8226; n 1 = 1. On the other hand, for antiparallel axes ( n 0 &#8226; n 1 = -1) P x is effectively the furthest from 1 (the exact value would depend on the magnitude of &#966;), and thus the electron spin is coupled to the nuclear spin. Note that the electron and nuclear spins are maximally entangled when n 0 &#8226; n 1 = -1 and &#966; = &#960;/2 (or &#966; = 3&#960;/2), and thus P x = 0.5. Approximate analytical expressions for the resonance time t and angle of rotation &#966; can be found for any UDDn sequence (including CPMG, i.e. UDD2) using equation (C5) and cos[&#966;/2] = Tr(U 0 )/2 = Tr(U 1 )/2. First, assuming a high external magnetic field such that &#969; L &#969; h , we perform a Taylor series expansion in terms of &#969; h /&#969; L on both equation (C5) and cos[&#966;/2] = Tr(U 0 )/2. We only need to keep terms up to first order to find the approximate analytical expression for the resonance time t. We do so by first finding an approximate expression up to first order for the angle &#966; using equation cos[&#966;/2] = Tr(U 0 )/2. And then plugging it in equation (C5), where M reduces to 1 in this first-order approximation and n 0 &#8226; n 1 is set to -1 to get the interval time &#964; needed to implement conditional rotations on the nuclear spin. After obtaining an expression for &#964; , the unit sequence time t for any UDDn sequence with even or odd n is given by</p><p>2n+2 2 sin &#960;j 2n+2 2 sin &#960; 2n+2 2 &#9118; &#9119; &#9120; .</p><p>(C6)</p><p>Finally the approximate analytical expression for the rotation angle &#966; can be obtained by plugging the previously found interval time &#964; into the Taylor series expansion of cos[&#966;/2] = Tr(U 0 )/2 but now we keep terms up to second order. We follow a similar procedure for time t and rotation angle &#966; corresponding to unconditional rotations. Analytical expressions for the resonance times and rotation angles for UDDn sequences with n 5 are not simple enough to report them here. Moreover, as shown in figures C1 and C2, it is not trivial to find a pattern that identifies the t values that produce unconditional rotations in UDD5 and beyond.</p></div></body>
		</text>
</TEI>
