Introduction

The reliable and efficient construction and manipulation of qubits is necessary for the implementation of quantum technological applications and quantum information processing. In solid-state and atomic systems, ambient magnetic field fluctuations constitute a serious impediment, which usually limits the coherence time to a small fraction of the inherent lifetime. Pulsed dynamical decoupling1,2,3 has proven to be very useful in prolonging the coherence time4,5,6,7,8,9,10,11,12. However, in order to mitigate both environmental and controller noise, composite high-frequency pulse sequences must usually be applied13,14,15,16,17 which require large field strengths18. Continuous dynamical decoupling18,19,20,21,22,23,24,25,26,27 offers another possibility of suppressing environmental noise, where diminishing the effect of the controller noise can be achieved by different approaches. In this context, a rotary echo scheme28,29 can be viewed as analogous to pulsed dynamical decoupling. The concatenation of several on-resonance driving fields30,31,32,33,34 is another concept, but inherently connected to a reduction of the dressed energy gap, eventually limiting the performance of the scheme, and in particular reducing the qubit gate operation time.

Multi-state systems allow for yet a different approach. By applying continuous driving fields on a multi-level structure, a fully robust qubit - a qubit that is robust to both external and controller noise - can be obtained35,36. However, with these multi-state schemes, which utilise on-resonance driving fields, it is not possible to achieve robustness against drive noise in a three-level system36. A protected qubit subspace within a three-level configuration can be realised by the application of off-resonant strong driving fields37 making the experimental realisation challenging.

In this report we show how a fully robust qubit can be simply constructed by means of a clock transition adjustment27 using a three-level system. We start with a basic version of our scheme where both continuous on-resonant and off-resonant driving fields are utilised. The on-resonant driving fields result in robustness to environmental noise, whereas the off-resonant driving fields facilitate robustness against driving noise, which typically limits continuous dynamical decoupling schemes. Similar to clock states, which possess a transition that is insensitive to first-order magnetic shifts for a given magnetic field value, the off-resonant driving fields generate a transition that is insensitive to first-order shifts in the drive-field amplitudes. We demonstrate this scheme by utilising the ground state spin level of the nitrogen-vacancy centre (NV) in diamond. The states are addressed by a combination of four microwave fields, adjusted to the same Rabi frequency, Ω, at different transition frequencies, ω1 and ω2, and with a detuning, Δ, respectively. All experiments presented here were realized using Qudi Software Suite38. The spin states of the NV centre are initialised and read out by a 532 nm laser identifying spin dependent fluorescence39,40,41,42. We are operating in the vicinity of the excited state level anti-crossing43,44 at a magnetic field of 35.8 mT. At this bias field the intrinsic nitrogen nuclear spin becomes polarised through optical pumping and does not contribute to the level structure (more information concerning the setup configuration and the system parameters can be found in Supplementary Information S1 and S2). Our implementation demonstrates that, to first order, drive-noise is eliminated, and compared to the pure dephasing time an improvement of 2 orders of magnitude in the coherence time is obtained even for a moderate drive field strength. Finally, we present an improved version of the scheme, where the clock transition adjustment is extended to also eliminate the second-order effect of the environmental noise. Supported by simulations, our analysis shows that with a moderate driving field strength a further improvement of more than 1 order of magnitude in the coherence time can be obtained. Hence, our scheme allows prolonging the coherence time towards the lifetime limit in a simple experimental setup and without requiring exceptionally strong drive fields. The protocol is applicable to both the optical and microwave domain, and hence to a variety of atomic and solid state systems, such as trapped ions, rare-earth ions, and defect centres.

The Basic Scheme

We consider a three-level system with states |0〉 and |±1〉, where the |±1〉 states are dipole coupled to the |0〉 state, as illustrated in Fig. 1a. The energy gaps (\(\hslash =1\)) between the |0〉 state and the |±1〉 states are ω1 and ω2, respectively. Our scheme utilises four driving fields which can be expressed by the driving Hamiltonian

$$\begin{array}{rcl}H & = & 2{{\rm{\Omega }}}_{1}(\cos ({\omega }_{1}t)|0\rangle \langle -1|-\,\cos ({\omega }_{2}t)|0\rangle \langle 1|+{\rm{h}}{\rm{.c}}\mathrm{.)}\\ & & +\,2{{\rm{\Omega }}}_{2}(\cos (({\omega }_{1}+{\rm{\Delta }})t)|0\rangle \langle -1|\\ & & +\,\cos ({\omega }_{2}+{\rm{\Delta }})t)|0\rangle \langle 1|+{\rm{h}}{\rm{.c}}\mathrm{.).}\end{array}$$
(1)

Moving to the interaction picture (IP) with respect to H01 = ω1|−1〉〈−1| + ω2|1〉〈1|, changing the basis to {|0〉, |B〉, |D〉}, with \(|B\rangle =(|1\rangle +|-1\rangle )/\sqrt{2}\) and \(|D\rangle =(|1\rangle -|-1\rangle )/\sqrt{2}\), and applying the rotating-wave approximation, we obtain the Hamiltonian

$$\begin{array}{rcl}{H}_{I} & = & \sqrt{2}{{\rm{\Omega }}}_{1}(|0\rangle \langle D|+|D\rangle \langle 0|)\\ & & +\sqrt{2}{{\rm{\Omega }}}_{2}(|0\rangle \langle B|{e}^{i{\rm{\Delta }}t}+|B\rangle \langle 0|{e}^{-i{\rm{\Delta }}t}),\end{array}$$
(2)

which is illustrated by a level scheme depicted in Fig. 2a. The states |0〉 and |D〉 are on-resonantly coupled by a single lambda drive with a strength \({{\rm{\Omega }}}_{D}=\sqrt{2}{{\rm{\Omega }}}_{1}\). Under the assumption of Δ > Ω2, an off-resonant coupling between |0〉 and |B〉 by \({{\rm{\Omega }}}_{B}=\sqrt{2}{{\rm{\Omega }}}_{2}\) is obtained.

Figure 1
figure 1

Schematics for a double lambda (Λ) drive in the bare state representation. (a) Four drives of strength Ωi form two (inverted) Λ configurations. One lambda is driven resonantly, the other by a detuning Δ. Solid lines denote drives, whereas dotted lines indicate energy separations. (b) Schematic representation of the sequence applied in this work to measure the coherence times of the doubly-dressed states. The factor of \(\sqrt{2}\) in the π/2-pulses reflects the ΩB drive of the dressed states.

Figure 2
figure 2

Bare, dressed and doubly-dressed states in the double lambda drive. Drive fields are indicated by solid lines, whereas energy separations are marked with dashed lines. (a) Interaction picture representation of Eq. (1) of the bare states in the basis of the drive, Ω1 = Ω2 = Ω. A simultaneous bright (|B〉) and dark (|D〉) state drive can be realized by a phase shift of −π in the on-resonant lambda scheme in Fig. 1a. (b) Dressed state picture, where the on-resonant drive is incorporated into the level description. The detuning transforms in this picture to \({\tilde{{\rm{\Delta }}}}_{1}\,=\,{\rm{\Delta }}+{{\rm{\Omega }}}_{1}\) and \({\tilde{{\rm{\Delta }}}}_{2}={\rm{\Delta }}-{{\rm{\Omega }}}_{1}\). (c) The final doubly-dressed states with incorporated off-resonant drives, where the robust qubit energy gap, \({{\rm{\Omega }}}_{{\rm{RQ}}}={{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }\), becomes apparent.

The drive, ΩD, in Fig. 2a transforms into the dressed states {|u〉, |B〉, |d〉}, as schematically illustrated in Fig. 2b, with the corresponding eigenvalues {+ΩD, 0, −ΩD}, respectively. Here, we introduced the states \(|u\rangle =(|0\rangle +|D\rangle )/\sqrt{2}\) and \(|d\rangle =(|0\rangle -|D\rangle )/\sqrt{2}\).

For a strong enough drive, Ω1, robustness to magnetic noise is obtained. As the magnetic noise, δB, couples between the |B〉 state and the |u〉 and |d〉 states, we can set ΩD such that the power spectrum of the noise, SBBD), is much smaller than 1/T1, where T1 is the system lifetime. This condition ensures that the first order effect of the magnetic noise is negligible.

The coherence time of the dressed states is then mainly limited by driving amplitude fluctuations, Ω → Ω(1 + δ(t)), where δ(t) represents a random noise contribution. To additionally obtain robustness to drive-field fluctuations, we consider the effect of the second detuned drive, ΩB, on the dressed states. We therefore move to the basis of the dressed states and to the IP with respect to H02 = Δ|B〉〈B|, and obtain

$$\begin{array}{rcl}{H}_{II} & = & {{\rm{\Omega }}}_{D}(|u\rangle \langle u|-|d\rangle \langle d|)-{\rm{\Delta }}|B\rangle \langle B|\\ & & +\,\frac{{{\rm{\Omega }}}_{B}}{\sqrt{2}}((|B\rangle \langle u|+|B\rangle \langle d|)+{\rm{h}}{\rm{.c}}\mathrm{.).}\end{array}$$
(3)

The eigenstates of HII, denoted by \(\{|\tilde{u}\rangle ,|\tilde{B}\rangle ,|\tilde{d}\rangle \}\), are termed as the doubly-dressed states and their relative level scheme is illustrated in Fig. 2c.

The effect of drive fluctuations can be introduced in HII by replacing Ωi with Ωi(1 + δi). As both driving fields originate from the same source, we can assume that the noise is mostly correlated. Thus, for each set of eigenstates, |k〉 and |j〉, we define the driving coherence time as \({T}_{2}^{{{\rm{\Omega }}}_{k,j}}=\sqrt{2}/|{e}_{\delta }^{k}-{e}_{\delta }^{j}|\), where \({e}_{\delta }^{k}\) is the first order term in δ1 and δ2 of the eigenvalue expansion of |k〉. For a given driving noise configuration, i.e., for a given relation between δ1 and δ2, the driving parameters Ω1, Ω2, and Δ can be chosen such that the driving coherence time of the two negative eigenvalues of HII is \({T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}\gg {T}_{1}\). In this case \({e}_{\delta }^{\tilde{B}}\approx {e}_{\delta }^{\tilde{d}}\) (see Supplementary Mathematica notebook), which means that the transition frequency of the robust qubit is insensitive to first-order driving fluctuations. Hence, with moderate driving fields, the coherence time of this doubly-dressed qubit is mainly limited by the second-order effect of the magnetic noise \(\sim \delta {B}^{2}/{{\rm{\Omega }}}_{D}\). Increasing the strength of the driving fields reduces the second-order effect of the magnetic noise but introduces an increased second-order effect of the drive noise, \(\sim \delta {{\rm{\Omega }}}_{D}^{2}\). For more details and the explicit forms of the leading terms of the magnetic and Rabi frequency noise see the Supplementary Mathematica notebook.

We consider a NV centre electron spin with a pure dephasing time of \({T}_{2}^{\ast }\approx 2\) μs resulting from magnetic noise described by an Ornstein-Uhlenbeck random process45,46 with a correlation time of τc ≈ 15 μs. In this case, with Ω1 = Ω2 = 2π · 6 MHz, a coherence time of ≈1 ms is obtained (see Fig. 3), which is limited by the second-order effect of both magnetic and drive noise. Further increase of the drive strength, Ω, would allow for a further improvement in the coherence time up to the point where the second-order drive noise is too strong and begins to dominate, which in our case is at Ω1 = Ω2 ≈ 2π · 10 MHz (see inset of Fig. 3).

Figure 3
figure 3

Expected coherence times for a drive Ω1 = Ω2 = 2π · 6 MHz and δ1 = δ2 = 0.005. Under the assumption of no magnetic noise, the blue dotted curve predicts the position of optimal detuning, Δ/2π ≈ 19.35 MHz, where first-order drive noise of the system is eliminated. By including magnetic noise (solid orange line) with a pure dephasing time of \({T}_{2}^{\ast }\mathrm{=2}\) μs, the coherence time reaches a limit, which is set by the second-order effects of the magnetic and drive noise, and constitutes the maximum improvement of the scheme (\({T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}\approx 1\) ms). Since the coherence time as function of Δ has a Lorentzian shape, the FWHM of the peak is \( \sim \mathrm{1/}{T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}\). Inset: Plot of the coherence time obtained for different drive fields, Ω = Ω1 = Ω2. For increased drive strengths the second-order magnetic noise is reduced but the second-order drive noise is increased. Hence, the coherence time is improved up to \({T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}\approx 1.2\) ms for Ω1 = Ω2 ≈ 2π · 10 MHz.

Experimental Results

The experimental implementation of the proposed scheme follows the protocol illustrated in Fig. 1b. Four drive fields are applied on the bare basis states {|−1〉, |0〉, |1〉} of the NV centre (see Fig. 1a). The field amplitudes of the on-resonant drives are adjusted to yield an identical Rabi frequency, Ω, for both transitions, ω1 and ω2 (see Suppl. B). The off-resonant drives are obtained by adding a detuning, Δ, to the resonant drives, resulting in the total field

$$\begin{array}{rcl}{{\rm{\Omega }}}_{{\rm{tot}}}(t) & = & {\rm{\Omega }}\cdot (\cos ({\omega }_{1}t)-\,\cos ({\omega }_{2}t)\\ & & +\,\cos (({\omega }_{1}+{\rm{\Delta }})t)+\,\cos (({\omega }_{2}+{\rm{\Delta }})t))\end{array}$$
(4)

synthesised by a signal generator (Ω1 = Ω2 = Ω = 2π · 2.27 MHz) and thereby implementing Eq. (1).

The interaction with the field couples the drive, Ω, to the bare spin states (see Fig. 1a). On-resonant drives induce Rabi oscillations at a rate ΩD, and a positive (negative) detuning results in ‘red’ (‘blue’) detuned AC-Stark shifted energy levels of the |d〉 and |B〉 (|u〉 and |B〉) states, as shown in Fig. 2b. In combination, these drives create the doubly-dressed states, which are depicted in Fig. 2c. The appearing energy levels of the doubly-dressed states, \(|\tilde{u}\rangle ,|\tilde{d}\rangle \), and \(|\tilde{B}\rangle \), are eventually all coupled to the drive fields (see Fig. 2).

By adjusting the detuning, Δ, a configuration can be obtained, in which two states (either \(|\tilde{d}\rangle \leftrightarrow |\tilde{B}\rangle \) or \(|\tilde{u}\rangle \leftrightarrow |\tilde{B}\rangle \)) experience the same drive noise, δΩ. This eliminates the energy gap fluctuations (due to δΩ) between the two considered states and reflects the robustness of the qubit against drive strength fluctuations, δΩ. The large energy gap in the dressed states, ΩD, which originates from the on-resonant drives, ensures a sufficient decoupling from external magnetic noise contributions, δB, as it also increases the energy gap of the robust qubit, ΩRQ (see Fig. 2c).

To determine the performance of the scheme the detuning-dependent coherence times of the protected states have to be recorded, yielding the optimal AC-Stark shifted energy levels that are least sensitive to drive fluctuations. The measurement is performed in the dressed-state basis and is analogous to a free induction decay (FID) or Ramsey measurement (see Fig. 1b). Here, by the application of an on-resonant π/2 pulse with ΩD, a superposition is created between the |B〉 and |0〉 states (which is also a superposition of the |D〉 and |0〉 states, but with a different initial phase factor in the |−1〉 state). In the next step, the double lambda drive (depicted in Fig. 1a) is applied on the superposition states as a function of interaction time τ, revealing the present energy gaps (in Fig. 2c) as a coherent evolution. By mapping the coherences to populations with a consecutive π/2 pulse (with ΩD), spin-state dependent fluorescence is observed upon the application of a laser pulse. Finally, the recorded readout signal, S(τ), contains frequency components proportional to the energy gaps of the doubly-dressed states (between the states in Fig. 2c). The robust state is identified by the longest measured coherence time in Fig. 4 as energy fluctuations in the robust state are significantly suppressed while the oscillations induced by the other energy gaps decay quickly.

Figure 4
figure 4

Coherence time measurement, the theoretical model and the simulation of the double lambda drive. The recording of the coherence time relies on a Ramsey type measurement, performed in the {|0〉, |B〉, |D〉}-basis, with resonant and off-resonant drives corresponding to Ω1 = Ω2 = 2π · 2.27 MHz (see Fig. 1b). The theory reproduces the measurement results by considering four times greater drive noise on |B〉 compared to |D〉 (see Fig. 2a). Full simulations were performed for selected points in the graph to verify both the theoretical model and the measurement. The error bars in the measurement curve represent \({\rm{\Delta }}{T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}\) and originate from fitting the coherence time to \(\propto \,\sin (\omega t+\varphi )\,\exp \{\,-\,(t/{T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }})\}\).

The measured coherence times, \({T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}\), are extracted by fitting a sinusoidal exponential decay to S(τ) and plotted as a function of detuning, Δ, in Fig. 4 (for a detailed explanation of the procedure see Supplementary Information S3). The asymmetric shape of the curve provides insights about the appearing dynamics. Starting from the limit of a very large detuning, Δ, only the dressed states |u〉, |d〉 and |B〉 are present in the scheme and the AC-Stark shifts are negligible (see Fig. 2b). Thus, the coherence time of the robust qubit is then predominantly determined by the noise, δΩ, as δB has a smaller impact at this drive field strength, Ω (see Suppl. S2B). Decreasing the detuning, Δ, introduces Stark shifts on the |u〉, |d〉 and |B〉 states, which effectively reduces the fluctuations of the doubly-dressed state energy gap, thereby prolonging the coherence time of the robust qubit. Hence, the height of the peak is now mainly limited by second-order noise contributions from δB (see the obtained peak in Fig. 4). Further decrease of the detuning starts to drive |0〉 ↔ |B〉 (see Fig. 2a) and introduces thereby again more drive noise, which impacts strongly on the doubly-dressed states. Approaching zero detuning will eventually eliminate the doubly-dressed states, \(|\tilde{u}\rangle \), \(|\tilde{d}\rangle \) and \(|\tilde{B}\rangle \), and at Δ = 0 only the two-level system transition, ω1, remains to be addressed by 2Ω (see Eq. (4) and Fig. 1). The same behaviour as described above is expected for a negative detuning, Δ.

The theoretical model describing the coherence time as a function of detuning allows us to introduce three parameters in order to mimic the experimental situation. These are the drive noise, δΩB and δΩD, on the dressed states (see Fig. 1b) and the magnetic noise, δB. It is important to note that these noise parameters do not change the asymmetric shape of the curve as the shape is fully determined by the model. However, an imbalance between the drive noise strengths impacts the optimal detuning, whereas the magnetic noise solely impacts the attainable coherence time.

The measured free induction decay time, \({T}_{2}^{\ast }\mathrm{=(1.78}\pm \mathrm{24)}\) μs, of the bare states sets the theoretical limited for the coherence time of ~190 μs when the drive noise is eliminated. By selecting a four times higher noise, \(\delta {{\rm{\Omega }}}_{B}\approx 4\,\delta {{\rm{\Omega }}}_{D}\), the theoretical dependence of the coherence time on the detuning plotted in Fig. 4 is obtained. The analytical function of the coherence time is given by \({T}_{2}^{{{\rm{\Omega }}}_{|\tilde{B}\rangle ,|\tilde{d}\rangle }}=\sqrt{2}/((\sqrt{2}\mathrm{/190)}+|{e}_{\delta }^{\tilde{B}}-{e}_{\delta }^{\tilde{d}}|)\) μs. In addition, simulations with magnetic and driving noise models were preformed for several detuning values which reproduce the experimental results very well. These simulation results are presented in Fig. 4 (for more details on the simulations see Supplementary Information S6). In the following, we clarify how quantitatively the noise parameters are grasped in the experiment.

It appears that the DC and AC components of the magnetic noise, δB, have equal contributions to both transitions, ω1 and ω2, as we obtain (within the error bar) the same values for \({T}_{2}^{\ast }\) and T2 = (215 ± 31) μs (see Supplementary Information S2C and D). However, by comparing the coherence time of the Rabi drives, we obtain a drastic difference, \({T}_{2}^{{\rm{\Omega }}({\omega }_{1})}=\mathrm{(62}\pm \mathrm{12)}\) μs and \({T}_{2}^{{\rm{\Omega }}({\omega }_{2})}=\mathrm{(159}\pm \mathrm{24)}\) μs, which hints at a drive frequency dependent noise spectrum. As all the fields are produced by the same signal generator, it is valid to consider correlations in the drive noise. The combination of both effects can truly cause the noise imbalance between δΩB and δΩD, which directly affects the position of the peak with respect to the detuning, Δ. As this is a setup specific setting, the AC-Stark shifts have to be adjusted to compensate for this value. However, the coherence time improving effect, as theoretically predicted, is expected to be within the range of 50 MHz at the utilised drive field, Ω, as larger detunings have a negligible energy shift on the states. A further and more detailed investigation of the drive noise is presented in Supplementary Informations S4 and S5.

Improved Scheme

So far, our scheme shows how to eliminate the first-order effect of the drive fluctuations, δΩ, where for moderate drive fields the coherence time is mainly limited by the second-order effect of the magnetic noise ~δB2/Ω. However, the second-order effect of the magnetic noise can be suppressed in a similar way as demonstrated for the elimination of the first-order drive fluctuations, δΩ.

To see this, we consider the on-resonant drive (Ω1 in Fig. 2). For the dressed states, the second-order effect of the magnetic noise is given by \(\sim \delta {B}^{2}/{{\rm{\Omega }}}_{1}(|u\rangle \langle u|-|d\rangle \langle d|)\), which describes the fluctuation of the robust energy gap (between |B〉 and |d〉) with \( \sim \delta {B}^{2}/{{\rm{\Omega }}}_{1}\). By introducing a one-photon detuning, Δ0, which denotes a detuning of the coupling between |D〉 and |0〉, the symmetry is broken. In this case the second-order effect of the magnetic noise is given by ~δB21(a|u〉〈u| − b|d〉〈d| − c|B〉〈B|). By adjusting the one-photon detuning, Δ0, we can set b = c, and achieve a clock transition that is insensitive to magnetic field fluctuations, δB (up to second-order).

We now combine this idea with the presented elimination of the first-order drive fluctuations, δΩ, to obtain a true clock transition. Including the one-photon detuning, Δ0, in the driving fields of both Λ systems and magnetic noise, which is given by δBSz = δB(|+1〉〈+1| − |1〉〈1|), Eq. (3) results in

$$\begin{array}{rcl}{H^{\prime} }_{II} & = & {{\rm{\Omega }}}_{D}(|u\rangle \langle u|-|d\rangle \langle d|)-{\rm{\Delta }}|B\rangle \langle B|-{{\rm{\Delta }}}_{0}|0\rangle \langle 0|\\ & & +\frac{{{\rm{\Omega }}}_{B}}{\sqrt{2}}((|B\rangle \langle u|+|B\rangle \langle d|)+{\rm{h}}{\rm{.c}}\mathrm{.)}\\ & & +\frac{\delta B}{\sqrt{2}}({e}^{i{\rm{\Delta }}t}(|B\rangle \langle u|+|B\rangle \langle d|)+{\rm{h}}{\rm{.c}}\mathrm{.),}\end{array}$$
(5)

and the IP is now obtained with respect to \({H^{\prime} }_{02}={\rm{\Delta }}|B\rangle \langle B|+{{\rm{\Delta }}}_{0}|0\rangle \langle 0|\). We continue by moving to the basis of the eigenstates of the drives (the double dressed states)

$$\begin{array}{rcl}{H^{\prime\prime} }_{II} & \approx & {E}_{\tilde{u}}|\tilde{u}\rangle \langle \tilde{u}|+{E}_{\tilde{B}}|\tilde{B}\rangle \langle \tilde{B}|+{E}_{\tilde{d}}|\tilde{d}\rangle \langle \tilde{d}|\\ & & +\frac{\delta B}{\sqrt{2}}({e}^{i{\rm{\Delta }}t}(\alpha |\tilde{B}\rangle \langle \tilde{u}|+\beta |\tilde{B}\rangle \langle \tilde{d}|)+{\rm{h}}{\rm{.c}}\mathrm{.),}\end{array}$$
(6)

where Ei are the eigenvalues, and α and β are real coefficients. The drive noise is treated as before, where we require \({e}_{\delta }^{\tilde{B}}\approx {e}_{\delta }^{\tilde{d}}\). This gives us one constraint on Δ and Δ0. The second constraint comes from the elimination of the second-order effect of the magnetic noise. Moving to the IP with respect to \({H^{\prime} }_{03}=-\,{\rm{\Delta }}|\tilde{B}\rangle \langle \tilde{B}|\) we obtain the time independent Hamiltonian

$$\begin{array}{ccc}{{H}^{^{\prime\prime} }}_{III} & \approx & {E}_{\mathop{u}\limits^{ \sim }}|\mathop{u}\limits^{ \sim }\rangle \langle \mathop{u}\limits^{ \sim }|+({E}_{\mathop{B}\limits^{ \sim }}+{\rm{\Delta }})|\mathop{B}\limits^{ \sim }\rangle \langle \mathop{B}\limits^{ \sim }|+{E}_{\mathop{d}\limits^{ \sim }}|\mathop{d}\limits^{ \sim }\rangle \langle \mathop{d}\limits^{ \sim }|\\ & & +\frac{\delta B}{\sqrt{2}}((\alpha |\mathop{B}\limits^{ \sim }\rangle \langle \mathop{u}\limits^{ \sim }|+\beta |\mathop{B}\limits^{ \sim }\rangle \langle \mathop{d}\limits^{ \sim }|)+{\rm{h}}.{\rm{c}}.)\,.\end{array}$$
(7)

This enables the calculation of the second-order contribution of the magnetic noise to the eigenvalues, which are the b and c coefficients, as a function of Δ and Δ0. The two constraints, \({e}_{\delta }^{\tilde{B}}\approx {e}_{\delta }^{\tilde{d}}\) and b ≈ c, allow us to determine the optimal values of Δ and Δ0. For more details and the explicit forms of the leading terms of the magnetic and Rabi frequency noise, see Supplementary Mathematica notebook.

For the considered drive noise, δ1 = δ2 = 0.005, in Fig. 3, and for a moderate drive of Ω1 = Ω2 = 2π · 2 MHz, the optimal detunings would be obtained by Δ = 2π · 8.9956 MHz and Δ0 = 2π · 1.7386 MHz. We simulated the present driving configuration under the effect of the same magnetic noise model considered for the simulations of the experiment in Fig. 4 (with \({T}_{2}^{\ast }\approx 2\) μs). The results of the simulation are shown in the inset of Fig. 5 indicating an improvement of more than 1 order of magnitude in the coherence time compared to the original scheme. There are two limiting factors on the coherence time. The first factor are the higher-order terms of the noise; the second-order term of the driving noise and the fourth order term of the magnetic noise. With the parameters considered in the simulation these terms result in a limit of ~10 ms on the coherence time. The second factor is the amplitude mixing between the eigenstates due to fast rotating terms, which introduces first order driving noise. In our case the mixing is ~0.2%, which means that the coherence time is limited to 500 times the driving noise limited coherence time(~20 μs here), and hence the limit on the coherence time is ~10 ms. Therefore, taking both factors into account we conclude that the coherence time is limited to ~5.3 ms, which is in agreement with the simulation results. For low drive fields, the drive noise contributions (second-order terms and amplitude mixing) is small and the coherence time is mainly limited by the fourth-order magnetic noise. For higher drive fields the fourth order magnetic noise becomes negligible and the coherence time is mainly limited by the drive noise contributions. The estimated maximal coherence time for different drive field strengths is shown in Fig. 5. The amplitude mixing can also be decreased by increasing the Zeeman splitting. Given the noise parameters, one can optimise the driving parameters with respect to these factors and obtain the optimal coherence time.

Figure 5
figure 5

Plot of the estimated maximal coherence time for different drive fields, Ω, assuming δ1 = δ2 = 0.005 and the same magnetic noise model as considered for the simulations of the experimental results with \({T}_{2}^{\ast }\approx 2\) μs. For increased drive strengths the fourth-order magnetic noise is reduced but the drive noise contributions (second-order terms and amplitude mixing) are increased. Inset: Simulation results. Envelope function of the initial state \(|{\psi }_{i}\rangle =(|\tilde{B}\rangle +|\tilde{d}\rangle )/\sqrt{2}\) probability (blue lines), averaged over 64 trials with Ω1 = Ω2 = 2π · 2 MHz, Δ = 2π · 8.996 MHz, and Δ0 = 2π · 1.739 MHz. For comparison, an exponentially decaying (rising) curve with a time constant of 5.3 ms is plotted in green.

Conclusion

In this work we presented and experimentally demonstrated a new scheme for the creation of a robust qubit in a three-level system by means of a clock transition adjustment. The basic scheme is based on the application of continuous resonant and off-resonant drive fields. The resonant drive fields provide robustness to environmental noise, whereas the off-resonant drive fields eliminate the first-order effect of the drive noise by tuning a clock like transition that is insensitive to first-order shifts of the drive-field amplitudes. For the case of the NV centre in diamond, we achieved an improvement of ~2 orders of magnitude in the coherence time compared to the pure dephasing time while utilising moderate drive fields. In the optimal version of the scheme, the clock transition adjustment is extended to also eliminate the second-order effect of the environmental noise without necessitating strong drive fields. Hence, our scheme proposes the possibility to prolong the coherence time towards the lifetime limit using a relatively simple experimental setup and without requiring extremely strong drive fields. However, further measurements are encouraged to verify the performance of the improved scheme.

This scheme facilitates the sensing of AC magnetic fields, and in particular, high frequency fields in the GHz regime, where the sensitivity would be solely limited by the coherence time of the robust qubit. While this work has focused solely on the NV centre, we believe that this scheme is applicable to a variety of atomic and solid-state systems with optical or microwave transitions, such as trapped ions, rare-earth ions, and other defect centres. We therefore believe that the scheme has potential applications in a wide range of tasks in the fields of quantum information science and technology, and in particular quantum sensing.