# Optical spin locking of a solid-state qubit

## Abstract

Quantum control of solid-state spin qubits typically involves pulses in the microwave domain, drawing from the well-developed toolbox of magnetic resonance spectroscopy. Driving a solid-state spin by optical means offers a high-speed alternative, which in the presence of limited spin coherence makes it the preferred approach for high-fidelity quantum control. Bringing the full versatility of magnetic spin resonance to the optical domain requires full phase and amplitude control of the optical fields. Here, we imprint a programmable microwave sequence onto a laser field and perform electron spin resonance in a semiconductor quantum dot via a two-photon Raman process. We show that this approach yields full SU(2) spin control with over $$98 \%$$$$\pi$$-rotation fidelity. We then demonstrate its versatility by implementing a particular multi-axis control sequence, known as spin locking. Combined with electron-nuclear Hartmann–Hahn resonances which we also report in this work, this sequence will enable efficient coherent transfer of a quantum state from the electron spin to the mesoscopic nuclear ensemble.

## Introduction

The existence of strong electric dipole transitions enables coherent optical control of matter qubits that is both fast and local.1,2,3 The optical techniques developed to address central spin systems in solids, such as colour centres in diamond and confined spins in semiconductors, typically fall into two categories: the first makes use of ultrashort, broadband, far-detuned pulses to induce quasi-instantaneous qubit rotations in the laboratory frame.4,5,6,7 Achieving complete quantum control with this technique further requires precisely timed free qubit precession accompanying the optical pulses. The second technique is based on spectrally selective control via a resonantly driven two-photon Raman process,8,9,10,11,12 and allows full control exclusively through tailoring of the drive field, echoing the versatility of magnetic spin resonance. Despite this attractive flexibility, achieving high-fidelity control using the latter approach has proved challenging due to decoherence induced by the involvement of an excited state for colour centres in diamond,8,10,11 and due to nuclei-induced ground-state decoherence for optically active semiconductor quantum dots (QDs).9 In the case of QDs, the limitation of ground-state coherence can be suppressed by preparing the nuclei in a reduced-fluctuation state.13,14,15,16,17 In this Letter, we achieve high-fidelity SU(2) control on a nuclei-prepared QD spin using a tailored waveform imprinted onto an optical field. We then demonstrate the protection of a known quantum-state via an aligned-axis continuous drive, a technique known as spin locking. Finally, by tuning the effective spin-Rabi frequency, we access the electron-nuclear Hartmann–Hahn resonances, which holds promise for proxy control of nuclear states.

## Results

### Optical electron spin resonance

Our device is an indium gallium arsenide QD, embedded in an n-type Schottky heterostructure and housed in a liquid-Helium cryostat at 4.2 K; Fig. 1a depicts this arrangement. The QD is charged deterministically with a single electron, and a magnetic field of 3.3 T perpendicular to the growth and optical axes creates an $${\omega }_{{\mathrm {e}}}=24.5\ {\rm{GHz}}$$ Zeeman splitting of the electron spin states which form $$\Lambda$$ systems with the two excited trion states. Using an electro-optic modulator (EOM), we access these $$\Lambda$$ systems by tailoring a circularly polarised single-frequency laser, of frequency $${\omega }_{{\mathrm {L}}}$$ and detuned from the excited states by $${\Delta }_{{\mathrm {L}}}\approx 700\ {\rm{GHz}}$$. The EOM is driven by an arbitrary waveform generator (AWG) output with amplitude $${V}_{0}$$, frequency $${\omega }_{\mathrm {{\mu {w}}}}$$ and phase $${\phi }_{\mathrm {{\mu {w}}}}$$. Operating the EOM in the regime where the microwave field linearly modulates the input optical field, a signal $${V}_{0}\cos ({\omega }_{\mathrm {{\mu {w}}}}t+\Delta {\phi }_{\mathrm {{\mu {w}}}})$$ produces a control field consisting of two frequencies at $${\omega }_{{\mathrm {L}}}\pm {\omega }_{\mathrm {{\mu {w}}}}$$ with a relative phase-offset of $$2\Delta {\phi }_{\mathrm {{\mu {w}}}}$$. This bichromatic field of amplitude $${\Omega }_{{\mathrm {L}}}$$ drives the two-photon Raman transitions with a Rabi coupling strength $$\Omega ={\Omega }_{{\mathrm {L}}}^{2}/{\Delta }_{{\mathrm {L}}}$$ between the electron spin states (see Supplementary Note 2) in the limit $${({\Omega }_{{\mathrm {L}}}/{\Delta }_{{\mathrm {L}}})}^{2}\ll 1$$. The Hamiltonian evolution is given by

$${\hat{{\mathcal{H}}}}_{{\rm{eff}}}=\Omega (\cos (\phi ){\hat{S}}_{x}+\sin (\phi ){\hat{S}}_{y})+\delta {\hat{S}}_{z}$$
(1)

where $${\hat{S}}_{i}$$ are the spin operators in the electron rotating frame, $$\delta$$ the two-photon detuning and $$\phi$$ the relative phase-offset of the Raman beams. The effect of this Hamiltonian is described geometrically by a precession of the Bloch vector around the Rabi vector [$$\Omega \cos (\phi ),\Omega \sin (\phi ),\delta$$]. We have full SU(2) control over the Rabi vector through the microwave waveform, via the Rabi frequency $$\Omega \propto {V}_{0}^{2}$$, its phase $$\phi =2\Delta {\phi }_{\mu {\rm{w}}}$$, and the two-photon detuning $$\delta ={\omega }_{{\mathrm {e}}}-2{\omega }_{\mathrm {{\mu {w}}}}$$. An additional resonant optical field of $$100$$-$${\rm{ns}}$$ duration performs spin initialisation and readout. Finally, prior to the whole protocol, we implement the recently developed nuclear-spin narrowing scheme,17 which conveniently requires no additional laser or microwave source, in order to enhance ground-state coherence and so maximise control fidelity.

Figure 1b shows the evolution of the population of the $$\left|\downarrow \right\rangle$$ state for increasing durations of the Raman drive, taken at three different Raman powers. The Raman drive induces coherent Rabi oscillations within the ground-state manifold. The dependence of the fitted Rabi frequency on power is linear within the power range experimentally available as shown in Fig. 1c. This linearity is the result of modest optical power (~10 μW) and a sufficiently large single-photon detuning $${\Delta }_{{\mathrm {L}}}\approx 700\ {\rm{GHz}}$$, allowing us to work in the adiabatic limit where excited-state population is negligible during the rotations. Even in this limit, we reach Rabi frequencies up to $$154\ {\rm{MHz}}$$, exceeding that achieved by extrinsic spin–electric coupling18,19 and two orders of magnitude faster than direct magnetic control of gate-defined spin qubits.20 While rotations driven by ultrafast (few ps), modelocked-laser pulses naturally circumvent ground-state dephasing, the high visibility of the Rabi oscillations achieved here suggests that our electron spin resonance (ESR) yields equally coherent rotations with the added spectral selectivity and flexibility of microwave control.

### Coherence of optical rotations

We characterise the coherence of the rotations with the quality factor $$Q$$, which measures the number of $$\pi$$ rotations before the Rabi-oscillation visibility falls below $$1/e$$ of its initial value. Figure 2a summarises the dependence of the $$Q$$ factor and decay of the Rabi envelope on the ESR drive strength $$\Omega$$ and sheds light on three distinct regimes, which are dominated by one of three competing decoherence processes included in the model curve of Fig. 2: (i) inhomogeneous broadening of variance $$\sigma =4.8\ {\rm{MHz}}$$, (ii) electron-mediated nuclear spin–flipping transitions arising from the presence of strain, and (iii) a spin decay proportional to the laser power, which for simplicity we cast as $${\Gamma }_{1}=\alpha | \Omega |$$ with $$\alpha =2.7\times 1{0}^{-2}$$. In the low-power regime, where $$\Omega\, < \,18\ {\rm{MHz}}$$, the fidelity is affected by nuclei-induced shot-to-shot detuning errors, which in our model are fixed according to an independent Ramsey measurement. This inhomogeneous broadening induces a non-exponential decay of Rabi oscillation visibility3 (see also Supplementary Note 3). We shield the system from this effect by increasing the Rabi frequency, yielding an increase in $$Q$$ factor. The intermediate-power regime, where $$\Omega =18-80\ {\rm{MHz}}$$, exhibits a dramatic decrease in $$Q$$ and increase in decay rate. In this regime, the coherent spectrally selective drive induces electron-mediated nuclear spin-flips through a Hartmann–Hahn resonance,21 as we depict in the inset to Fig. 2a. Splitting the dressed electron states $$\left|\tilde{\uparrow }\right\rangle ,\left|\tilde{\downarrow }\right\rangle$$ by an energy $$\hslash \Omega$$ causes the dressed electron-nuclear states to become degenerate, removing the energy cost associated to a single nuclear spin–flip $${\sim} {\hslash} {\omega }_{{\rm{nuc}}}^{z}$$. The presence of intrinsic strain, which perturbs the nuclear quantisation axis set by the external magnetic field, allows coupling between these now-degenerate states. The decay of electronic coherence is related to the nuclear spectral density shown in Fig. 2b, which captures the strength of the strain-enabled nuclear transitions over a nuclear ensemble of $$N\approx 74,000$$ nuclei inhomogeneously broadened by variation of the local strain fields across the QD (see Supplementary Note 4). As an intuitive semi-classical picture, one can think of the Knight field—the electron-spin polarisation ($${S}_{z}$$) felt by the nuclei—acting as an effective radio-frequency field of frequency $$\Omega$$ along the external magnetic field. Strain, tilted from this external field, is a perturbation that allows this Knight field to induce single-nucleus transitions between the eigenstates $$\tilde{m}$$ and $$\tilde{m}^{\prime}$$ to first order (inset of Fig. 2b) provided $$\Omega$$ is close to $${\omega }_{{\rm{nuc}}}^{z}$$ or $$2{\omega }_{{\rm{nuc}}}^{z}$$. In the high-power regime ($$\Omega\, > \,80\ {\rm{MHz}}$$), we decouple from both inhomogeneous nuclear-spin fluctuations and Hartmann–Hahn transitions, and consequently observe the highest $$Q$$ factors ($$Q=47.6\pm 1.7$$ over the four highest Rabi frequencies). Here, the decay envelope is dominated by $${\Gamma }_{1}$$, an optically induced relaxation between the electron states proportional to power, and independent of the single-photon detuning $$\Delta$$ (see Supplementary Note 3). The non-resonant and non-radiative nature of this process is consistent with electron-spin relaxation induced by photo-activated charges appearing in our device as Stark shifts of the resonance at the highest Raman power. This mechanism, extrinsic to the QD, will vary depending on device structure22,23 and quality. This process causes an exponential decay of the Rabi oscillations, bounding the $$Q$$ factor to $$4/(3\alpha )$$ and the $$\pi$$-rotation fidelity to $${f}_{\pi }=\frac{1}{2}\times (1+{{\mathrm {e}}}^{-1/Q})$$ (see Supplementary Note 3). Our model allows us to evaluate the non-Markovian corrections caused by the nuclear inhomogeneities and Hartmann–Hahn resonances within the spectral width $$1/{t}_{\pi }=2\Omega$$ of the $$\pi$$ pulse. At $$\Omega =154\ {\rm{MHz}}$$, a correction of $$-0.001$$ applied to the experimentally measured $$Q$$ factor yields a $$\pi$$-pulse fidelity $${f}_{\pi }=0.9886(4)$$.

### Multi-axis control

Figure 3a shows Rabi oscillations taken while varying the detuning $$\delta$$. With increasing $$\left|\delta \right|$$, the frequency of the Rabi oscillations $$\Omega ^{\prime} =\sqrt{{\Omega }^{2}+{\delta }^{2}}$$ increases, while the amplitude $${\Omega}^{2}/{\Omega ^{\prime} }^{2}$$ decreases, as the spin precession follows smaller circles on the Bloch sphere. This confirms that we control the polar angle $$\theta$$ of the Rabi vector through detuning of the microwave field. At the high Rabi frequencies used for taking these data (Fig. 3a), we observe that the Rabi drive weakly perturbs the nuclear-spin polarisation, causing detuning fluctuations which become more visible as the pulse length increases.

In Fig. 3b, we demonstrate control over the azimuthal angle of the rotation axis by stepping the phase $$\phi$$ between two consecutive $$\frac{\pi }{2}$$ rotations. The $$\left|\downarrow \right\rangle$$-state population evolves sinusoidally with the phase shift between the two $$\frac{\pi }{2}$$ pulses. For example, at $$\phi =0$$, the two rotations add resulting in a $$\pi$$ rotation and maximum readout signal, whilst for $$\phi =\pi$$, the two pulses exactly cancel, returning the electron spin to its starting state and giving a minimum readout signal. Defining the measurement as the $$({\frac{\pi }{2}})_{\phi }$$ pulse combined with the $$\left|\downarrow \right\rangle$$-state readout, the phase dependence shown here demonstrates our ability to perform $${S}_{\pm x}$$ and $${S}_{\pm y}$$ measurements, corresponding to two-axis tomography.

Figure 3c displays Ramsey interferometry performed in the rotating frame, which allows us to further characterise our ESR control. We create a spin superposition using a resonant $$\frac{\pi }{2}$$ pulse that evolves for a time $$\tau$$ before measuring the state using a second $$\frac{\pi }{2}$$ pulse with a relative phase $$\phi =0$$ ($$\phi =\pi$$), performing an $${S}_{y}$$ ($${S}_{-y}$$) measurement. Within this observation window, there are no oscillations modulating the dephasing-induced decay ($${T}_{2}^{* }$$), confirming that the measurement basis is phase-locked to the rotating frame to below our resolution, set by the inhomogeneous nuclear broadening. Under these optimum nuclear-spin narrowing conditions17 (see also the section “Methods”), the spin coherence decays according to $${T}_{2}^{* }=47.2\pm 0.2\ {\rm{ns}}$$; this corresponds to a standard deviation of the spin splitting of $$\sigma =4.77\pm 0.02\ {\rm{MHz}}$$ due to the hyperfine fluctuations.

An immediate opportunity derived from multi-axis control is the realisation of an optical analogue of spin locking, a magnetic resonance sequence that preserves a known quantum state well beyond its dephasing time. In this sequence (Fig. 4a), a $$\frac{\pi }{2}$$ rotation creates a coherent superposition state in the equatorial plane. The azimuthal angle of the rotation axis is then shifted by $$\frac{\pi }{2}$$, bringing the Rabi vector into alignment with the system state; this places the electron into one of the dressed states. The drive creates an energy gap $${\hslash} {\Omega}$$ between the two dressed states, which provides protection against environmental dynamics occurring at frequencies different from $$\Omega$$. By setting $$\Omega \sim 10\ {\rm{MHz}}$$, we successfully avoid nuclear-spin resonances observed in Fig. 2. In Fig. 4b we implement the spin-locking sequence for up to $$0.6\,{\mathrm {\mu {s}}}$$, tracking the population in the $$\left\{\left|\tilde{\uparrow }\right\rangle ,\left|\tilde{\downarrow }\right\rangle\right\}$$ basis to give a measure of the performance of our quantum-state preservation. At these short delays, a small unlocked component of the Bloch vector undergoes Rabi oscillations resulting in small-amplitude oscillations. As confirmed with our Bloch-equation model (black curve in Fig. 4b), this arises from detuning errors of the locking pulse consistent with the measured 4.8-MHz nuclear-field inhomogeneity. The decay of the locked component of the Bloch vector is significantly slower than under a Rabi drive of the same amplitude ($$\Omega =11\ {\rm{MHz}}$$) (grey model curve in Fig. 4b). Figure 4c shows the decay of the spin-locked state on longer timescales. After each locking at $$\Omega =16\ {\rm{MHz}}$$, we measure the length of the Bloch vector by performing state-tomography and obtaining the visibility as in Fig. 3b. An exponential fit (black curve in Fig. 4c) reveals a decay time of $$2.3\pm 0.2\ {\mathrm {\mu {s}}}$$. The close agreement with the decay rate expected from our Fig. 2 model is evidence that spin locking is similarly limited by the photo-activated spin relaxation ($${\Gamma }_{1}$$). The quantum state is thus locked and preserved for a longer time than would be accessible via direct Rabi drive. This confirms our ability to implement all-optically a multi-axis spin-control sequence that can protect the qubit effectively against the intrinsic nuclear hyperfine coupling.

## Discussion

The high-fidelity all-optical ESR we report here enables the generation of any quantum superposition spin state on the Bloch sphere using a single waveform-tailored optical pulse. This full SU(2) control further allows the all-optical implementation of spin locking, traditionally an NMR technique, for quantum-state preservation via gapped protection from decoherence-inducing environmental dynamics. In the case of semiconductor QDs, where the nuclei form the dominant noise source, the same quantum control capability enables us to reveal directly the spectrum of nuclear-spin dynamics. An immediate extension of this work will be to perform spin locking in the spectral window of nuclear-spin resonances, i.e. the Hartmann–Hahn regime, to sculpt collective nuclear-spin states,24,25 and also to tailor the electron–nuclear interaction26,27,28 to realise an ancilla qubit or a local quantum register based on the collective states of the nuclear ensemble.29

## Methods

### Quantum dot device

Our QD device is the one used in ref. 30. Self-assembled InGaAs QDs are grown by molecular beam epitaxy and integrated inside a Schottky diode structure, above a distributed Bragg reflector to maximise photon-outcoupling efficiency. There is a $$35$$-$${\rm{nm}}$$ tunnel barrier between the n-doped layer and the QDs, and a blocking barrier above the QD layer to prevent charge leakage. The Schottky diode structure is electrically contacted through Ohmic AuGeNi contacts to the n-doped layer and a semitransparent Ti gate ($$6\ {\rm{nm}}$$) is evaporated onto the surface of the sample. The photon collection is enhanced with a superhemispherical cubic zirconia solid immersion lens on the top Schottky contact of the device. We estimate a photon-outcoupling efficiency of 10% at the first lens for QDs with an emission wavelength around $$970\ {\rm{nm}}$$. A home-built microscope with spectral and polarisation filtering17 is used for resonance fluorescence, with a QD-to-laser counts ratio exceeding 100:1.

### Raman laser system

Sidebands are generated from the continuous-wave laser by modulating a fibre-based EOSPACE EOM with a microwave derived from a Tektronix AWG 70002A. The output of the EOM depends on the voltage applied, with maximum and minimum transmissions for applied voltages $${V}_{\max }$$ and $${V}_{\min }$$, respectively, and the $$\pi$$ voltage of the EOM, $${V}_{\pi }=\left|{V}_{\max }-{V}_{\min }\right|$$. Applying a voltage $$V={V}_{\min }+{V}_{0}(t)$$, where $${V}_{0}(t)$$ is a microwave field of small amplitude compared with $${V}_{\pi }$$, the electric field at the EOM output $${E}_{{\rm{out}}}$$ is described by $${E}_{{\rm{out}}}(t)\propto {V}_{0}(t)\times {E}_{{\rm{in}}}(t)$$. In other words, we work with small amplitude around the minimum intensity transmission of the EOM to imprint the microwave amplitude onto the optical field.

Generation of the microwave signal $${V}_{{\rm{in}}}(t)$$ is depicted in Fig. 5. We produce a digital signal with a sampling rate that is four times the microwave frequency (a factor 2 is obtained by setting the AWG sampling rate at $$2{\omega }_{\mathrm {{\mu {w}}}}$$ and another factor 2 is obtained by combining two independently programmable AWG outputs with a splitter). We thus arrive at a digital signal containing four bits per period, the minimum required to carry phase information to the EOM. To generate the signal shown in Fig. 5, we add the two AWG outputs in quadrature, which we realise after characterisation of the relative delay between the two microwave lines arriving at the splitter. From each output, we generate a square-wave signal at $$12.25\ {\rm{GHz}}$$. By tuning their relative amplitudes, we construct a sinusoidal signal at $$12.25\ {\rm{GHz}}$$ whose phase $$\phi$$ is determined by the relative amplitude $${A}_{1,2}$$ of channels 1 and 2 according to tan ($$\phi$$) = $${A}_{1}/{A}_{2}$$.

### Experimental cycle

#### Nuclear-spin preparation

Figure 6 shows our experimental cycle which involves narrowing the nuclear-spin distribution before a spin-manipulation experiment. Nuclear-spin preparation is done using the scheme detailed in ref. 17, operating in a configuration analogous to Raman cooling in atomic systems. It involves driving the system continuously with the Raman laser, while pumping the $$\left|\downarrow \right\rangle$$ spin state optically. Optimum cooling, assessed using Ramsey interferometry, occurs for a Raman drive at $$\Omega =22\ {\rm{MHz}}$$ and a resonant repump of $${\Omega }_{{\rm{res}}}=0.9{\Gamma }_{0}/\sqrt{2}$$ for an excited-state linewidth $${\Gamma }_{0}$$, in agreement with the optimum conditions found in ref. 17. These settings give an order-of-magnitude improvement in our electron spin inhomogeneous dephasing time $${T}_{2}^{* }$$ (Fig. 2a).

#### Electron spin control

During spin control, we conserve the total Raman pulse area in our sequences by pairing pulses of increasing length with pulses of decreasing length (Fig. 6). This allows us to stabilise the Raman laser power using a PID loop and maintain relative fluctuations below a per cent. We operate with a duty cycle of around 50%, preparing the nuclear-spin bath for a few μs before spending a similar amount of time performing electron spin control. The alternation on μs timescale of coherent manipulation and nuclear-spin preparation is fast compared with the nuclear-spin dynamics16 such that the nuclear-spin distribution is at steady state.

## Data availability

The data that support the plots within this paper and other findings of this study are available from the corresponding authors upon reasonable request.

## Code availability

The code used to produce the theoretical findings of this study is available from the corresponding authors upon reasonable request.

## References

1. 1.

Arimondo, E. & Orriols, G. Nonabsorbing atomic coherences by coherent two-photon transitions in a three-level optical pumping. Nuovo Cimento Lett. 17, 333–338 (1976).

2. 2.

Meekhof, D. M., Monroe, C., King, B. E., Itano, W. M. & Wineland, D. J. Generation of nonclassical motional states of a trapped atom. Phys. Rev. Lett. 76, 1796–1799 (1996).

3. 3.

Johnson, T. A. et al. Rabi oscillations between ground and Rydberg states with dipole–dipole atomic interactions. Phys. Rev. Lett. 100, 113003 (2008).

4. 4.

Gupta, J. A., Knobel, R., Samarth, N. & Awschalom, D. D. Ultrafast manipulation of electron spin coherence. Science 292, 2458–2461 (2001).

5. 5.

Press, D., Ladd, T. D., Zhang, B. & Yamamoto, Y. Complete quantum control of a single quantum dot spin using ultrafast optical pulses. Nature 456, 218–221 (2008).

6. 6.

Campbell, W. C. et al. Ultrafast gates for single atomic qubits. Phys. Rev. Lett. 105, 090502 (2010).

7. 7.

Becker, J. N., Görlitz, J., Arend, C., Markham, M. & Becher, C. Ultrafast all-optical coherent control of single silicon vacancy colour centres in diamond. Nat. Commun. 7, 13512 (2016).

8. 8.

Golter, D. A. & Wang, H. Optically driven Rabi oscillations and adiabatic passage of single electron spins in diamond. Phys. Rev. Lett. 112, 116403 (2014).

9. 9.

Delley, Y. L. et al. Deterministic entanglement between a propagating photon and a singlet–triplet qubit in an optically active quantum dot molecule. Phys. Rev. B 96, 241410 (2017).

10. 10.

Zhou, B. B. et al. Holonomic quantum control by coherent optical excitation in diamond. Phys. Rev. Lett. 119, 140503 (2017).

11. 11.

Becker, J. N. et al. All-optical control of the silicon-vacancy spin in diamond at milliKelvin temperatures. Phys. Rev. Lett. 120, 053603 (2018).

12. 12.

Goldman, M. L., Patti, T. L., Levonian, D., Yelin, S. F. & Lukin, M. D. Optical control of a single nuclear spin in the solid state. https://arxiv.org/abs/1808.04346 (2018).

13. 13.

Xu, X. et al. Optically controlled locking of the nuclear field via coherent dark-state spectroscopy. Nature 459, 1105–1109 (2009).

14. 14.

Bluhm, H., Foletti, S., Mahalu, D., Umansky, V. & Yacoby, A. Enhancing the coherence of a spin qubit by operating it as a feedback loop that controls its nuclear spin bath. Phys. Rev. Lett. 105, 216803 (2010).

15. 15.

Issler, M. et al. Nuclear spin cooling using overhauser-field selective coherent population trapping. Phys. Rev. Lett. 105, 267202 (2010).

16. 16.

Éthier-Majcher, G. et al. Improving a solid-state qubit through an engineered mesoscopic environment. Phys. Rev. Lett. 119, 130503 (2017).

17. 17.

Gangloff, D. et al. Quantum interface of an electron and a nuclear ensemble. Science 364, 62–66 (2018).

18. 18.

Yoneda, J. et al. A quantum-dot spin qubit with coherence limited by charge noise and fidelity higher than 99.9%. Nat. Nanotechnol. 13, 102–106 (2018).

19. 19.

Zajac, D. M. et al. Resonantly driven CNOT gate for electron spins. Science 359, 439–442 (2018).

20. 20.

Veldhorst, M. et al. An addressable quantum dot qubit with fault-tolerant control-fidelity. Nat. Nanotechnol. 9, 981–985 (2014).

21. 21.

Hartmann, S. R. & Hahn, E. L. Nuclear double resonance in the rotating frame. Phys. Rev. 128, 2042–2053 (1962).

22. 22.

Houel, J. et al. Probing single-charge fluctuations at a GaAs/AlAs interface using laser spectroscopy on a nearby InGaAs quantum dot. Phys. Rev. Lett. 108, 107401 (2012).

23. 23.

Ding, D. et al. Coherent optical control of a quantum-dot spin-qubit in a waveguide-based spin–photon interface. Phys. Rev. Appl. 11, 031002 (2019).

24. 24.

Reynhardt, E. C. & High, G. L. Dynamic nuclear polarization of diamond. II. Nuclear orientation via electron spin-locking. J. Chem. Phys. 109, 4100–4107 (1998).

25. 25.

Henstra, A. & Wenckebach, W. T. The theory of nuclear orientation via electron spin locking (NOVEL). Mol. Phys. 106, 859–871 (2008).

26. 26.

Malinowski, F. K. et al. Notch filtering the nuclear environment of a spin qubit. Nat. Nanotechnol. 12, 16–20 (2016).

27. 27.

Abobeih, M. H. et al. One-second coherence for a single electron spin coupled to a multi-qubit nuclear-spin environment. Nat. Commun. 9, 2552 (2018).

28. 28.

Schwartz, I. et al. Robust optical polarization of nuclear spin baths using Hamiltonian engineering of nitrogen-vacancy center quantum dynamics. Sci. Adv. 4, eaat8978 (2018).

29. 29.

Denning, E. V., Gangloff, D. A., Atatüre, M., Mørk, J. & Le Gall, C. Collective quantum memory activated by a driven central spin. Phys. Rev. Lett. 123, 140502 (2019).

30. 30.

Stockill, R. et al. Quantum dot spin coherence governed by a strained nuclear environment. Nat. Commun. 7, 12745 (2016).

## Acknowledgements

This work was supported by the ERC PHOENICS grant (617985), the EPSRC Quantum Technology Hub NQIT (EP/M013243/1) and the Royal Society (RGF/EA/181068). D.A.G. acknowledges support from St John’s College Title A Fellowship. E.V.D. acknowledges funding from the Danish Council for Independent Research (Grant No. DFF-4181-00416). C.L.G. acknowledges support from a Royal Society Dorothy Hodgkin Fellowship.

## Author information

Authors

### Contributions

J.H.B., R.S., D.A.G., G.É.-M., D.M.J., C.L.G. and M.A. conceived the experiments. J.H.B., R.S. and C.L.G. acquired and analysed data. E.V.D., C.L.G. and J.H.B. developed the theory and performed simulations. E.C. and M.H. grew the sample. J.H.B., R.S., E.V.D., D.A.G., G.É.-M., D.M.J., C.L.G. and M.A. prepared the manuscript.

### Corresponding authors

Correspondence to C. Le Gall or M. Atatüre.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions