Introduction

The last two decades have witnessed a rising focus on the control and application of quantum coherent effects, marking the advent of the so-called “second quantum revolution”. Utilizing quantum coherent functionalities of materials for novel technologies, such as imaging, information processing, and communications, requires robustness of their quantum coherence, addressability, and scalability1. However, these requirements often clash since decoupling the quantum states from the environment prolongs the quantum coherent properties but hinders the possibility of efficient state manipulation.

Lanthanide atoms represent a promising platform to tackle this dilemma. Their well-localized 4f electrons show long spin relaxation T12,3 and coherence times T24,5. In addition, their strong hyperfine interaction facilitates the read-out of nuclear spins6,7. In bulk insulators, exceedingly long T1 and T2 have been demonstrated using optical control and detection8,9,10,11 down to the single atom level12,13. While hybrid optical-electrical approaches have been developed to access individual lanthanide atom’s spins embedded in a silicon transistor14, it is still challenging to achieve efficient control of the quantum states using electrical transport methods. This necessitates the rational design of a quantum platform capable of tackling both control and detection schemes, along with their interactions with local environments. In this context, single crystal surfaces constitute an advantageous framework both for building atomically engineered nanostructures and addressing individual spin centers, in particular using scanning probe techniques15,16,17,18. However, resonant driving and detection of surface-adsorbed lanthanide atoms have so far remained elusive.

In this work, we demonstrate the control and detection of 4f electron spins by building atomic-scale structures on a surface using a scanning tunneling microscope (STM) with electron spin resonance (ESR) capabilities19,20,21,22. The atomic structures are composed of an erbium (Er) atom as the target spin system and a magnetically coupled titanium (Ti) atom as the sensor spin. This architecture allows us to drive ESR transitions on the Er 4f electrons with a projected angular momentum of ħ/223 and to probe them indirectly through Ti. We observed an Er T1 of close to 1 μs, which is about 5 times longer than that previously measured for 3d electrons of a remotely-driven spin-½ system on the same surface18. This novel platform allows for the ESR driving and read-out of the well-screened 4f electron spin states, paving the way to integrate lanthanide atoms in quantum architectures.

Results

Sensing Er Spin States through a Ti Atom

Erbium atoms on a few monolayer-thick MgO(100) on Ag(100) present a 4f11 configuration with no unpaired electrons in the 5d and 6s shells23. The atomic-like spin and orbital momenta are coupled through the large spin-orbit interaction into a total angular momentum \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\) with magnitude of 15ħ/223. When adsorbed on the oxygen site of MgO (Fig. 1a), the crystal field leads to a strong hard-axis magneto-crystalline anisotropy that stabilizes a doubly-degenerate ground state with an out-of-plane component of the angular momentum \({J}_{ \perp }=\,\)±ħ/223, which splits into two singlets when an external magnetic field (B) is applied. This magnetic level scheme differs from the ones of lanthanide single atom magnets studied so far on MgO/Ag(100). For instance, dysprosium24,25 and holmium2,26,27 present a ground state characterized by a large \({J}_{ \perp }\). The level scheme presents two lowest-lying states well separated by a significant anisotropy barrier and greatly suppresses the reversal of angular momentum, thereby stabilizing the magnetic states. Additionally, it impedes the first-order ESR transition induced by the exchange of a single quantum of angular momentum22. As found in a previous work23, the component of \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\) along the magnetic field direction (z), defined as \({J}_{z}\), increases from ±ħ/2 to ±4ħ by rotating B from the out-of-plane (ϑ = 0°) to the in-plane (ϑ = 90°) direction (Fig. 1b), while retaining a large probability for spin dipole transitions. Given these properties, Er can be regarded as a highly tunable two-level system allowing for efficient ESR driving. To characterize the magnetic states and anisotropy of Er, we utilized the dipole field sensing technique28 with a Ti atom on the bridge binding site of MgO as a well-known spin sensor. On this binding site, Ti has a spin STi of magnitude ħ/2 and a relatively weak g-factor anisotropy29 compared to the oxygen binding site30.

Fig. 1: Probing Er 4f electron spins through a Ti spin sensor.
figure 1

a Schematic of the experimental set-up for ESR-STM measurement of an Er-Ti dimer built on MgO/Ag(100). The Ti atom (purple) is positioned close to the Er atom (orange) and located under a spin-polarized (SP) STM tip. The external magnetic field (B) defines the z-direction and is applied at an angle ϑ from the out-of-plane direction. b Projected total angular momentum of Er (Jz) onto the B field direction as a function of ϑ. The strong magnetic anisotropy favors an in-plane alignment of JEr. c ESR spectra of the Ti atom placed 0.928 nm apart from the Er atom at different ϑ. At ϑ = 8°, a single ESR peak is visible (pink) while, at ϑ = 68° (purple), the two ESR peaks are separated due to the magnetic interactions between the Er and Ti. For the latter, the relative peak intensity indicates a ferromagnetic interaction (set-point: Vdc = 50 mV, Idc = 20 pA, Vrf = 12 mV, B = 0.3 T). d ESR peak separation, ∆f, as a function of ϑ. The experimental points (black dots) were acquired at different set-points (Vdc = 50 mV, Idc = 12–30 pA, Vrf = 12–20 mV, B = 0.3 T). We give error bars with 95% confidence interval. The total interaction (solid purple line) calculated by the model Hamiltonian is composed of a dipolar contribution (dashed blue line) and an exchange contribution (dashed pink line). eg Schematic of the angular momenta of Er and Ti on MgO/Ag(100). The dipolar fields induced by Er are depicted as black curved arrows. When B is applied along the in-plane direction (ϑ = 90°), the Jz is maximum and aligned with the spin of Ti giving the largest ferromagnetic dipolar interaction. When B is rotated, the spin of Ti follows the direction of B while the total angular momentum of Er is aligned preferentially in-plane (f). In the out-of-plane direction (ϑ = 0°), Jz is minimum and aligned with the spin of Ti (g) giving a small antiferromagnetic dipolar interaction.

We deposited Er and Ti at cryogenic temperatures (~10 K) on 2 monolayers of MgO grown on Ag(100) (“Methods” section and Fig. S1a). Their binding sites on the surface can be changed by atom manipulation (Supplementary Section 2). When isolated, a nuclear spin-free Ti atom presents a single ESR signal under an external magnetic field (Fig. S3a). The ESR peak of Ti splits when coupled to an Er atom (Supplementary Section 4). Figure 1c shows the ESR spectra obtained on Ti in an Er-Ti dimer with the atomic separation of 0.928 nm (Fig. S2b). At the magnetic field of 0.3 T with ϑ = 8°, we observed one ESR peak at the resonance frequency of Ti, which splits into two peaks separated by Δf = 334 ± 3 MHz when rotating B close to the in-plane direction (ϑ = 68°). The two ESR peaks stem from the magnetic interaction with the Er spin fluctuating between two states28 during the measurement, with the relative peak intensity being proportional to the time-averaged population of the Er states. The pronounced difference in the relative intensity of the ESR peaks indicates a large imbalance in the Er state occupation even at B = 0.3 T and 1.3 K, which reflects the large \({J}_{z}\) of Er at ϑ = 68° (Fig. 1b). The polarity of this asymmetry depends on the character of the magnetic interactions between the two atoms (Fig. S4b, e). In Fig. 1c, the peak at the lower frequency is less intense than the one at the higher frequency and, hence, the interaction can be regarded as ferromagnetic31, with this polarity defined as positive Δf in Fig. 1d. We observe changes in polarity at different field directions (Fig. 1d), indicating alternating couplings between ferromagnetic and antiferromagnetic states.

The angle dependence of Δf (Fig. 1d) gives a direct measurement of the Er-Ti interaction energy28,31 and of the magnetic anisotropy23. To interpret it, we model the system through a spin-Hamiltonian including both the single atom Zeeman and anisotropy terms, as well as the interaction between the two spins:

$$H={\mu }_{{{{{{\rm{B}}}}}}}{g}_{{{{{{\rm{Er}}}}}}}{{{{{\bf{B}}}}}}\cdot {{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}+D{J}_{{{{{{\rm{ \perp }}}}}}}^{2}+{\mu }_{{{{{{\rm{B}}}}}}}{{{{{\bf{B}}}}}}\cdot {\bar{\bar{{{{{\rm{g}}}}}}}}_{{{{{{\rm{Ti}}}}}}}\cdot {{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}+{H}_{{{{{{\rm{dip}}}}}}}+{H}_{{{{{{\rm{exc}}}}}}}.$$
(1)

Here, \({\mu }_{{{{{{\rm{B}}}}}}}\) is the Bohr magneton, \({J}_{ \perp }\) is the out-of-plane component of \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\), \({g}_{{{{{{\rm{Er}}}}}}}=1.2\) is the Er Landé g-factor obtained from its atomic quantum numbers, and \({\overline{\bar{{{{{\rm{g}}}}}}}}_{{{{{{\rm{Ti}}}}}}}\) is the Ti anisotropic g-tensor29. We use a magnetic anisotropy parameter \(D=2.4\) meV to match the Er energy splitting found in a previous study23. The magnetic coupling consists of dipolar (\({H}_{{{{{{\rm{dip}}}}}}}\)) and Heisenberg exchange interactions (\({H}_{{{{{{\rm{exc}}}}}}}\)):

$${H}_{{{{{{\rm{dip}}}}}}}=\frac{{\mu }_{0}{\mu }_{{{{{{\rm{B}}}}}}}^{2}}{4\pi {{{\hbar }}}^{2}{r}^{3}}\left[{g}_{{{{{{\rm{Er}}}}}}}{{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\cdot {\bar{\bar{{{{{\rm{g}}}}}}}}_{{{{{{\rm{Ti}}}}}}}\cdot {{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}-3\left(\hat{{{{{{\bf{r}}}}}}}\cdot {g}_{{{{{{\rm{Er}}}}}}}{{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\right)\left(\hat{{{{{{\bf{r}}}}}}}\cdot {\bar{\bar{{{{{\rm{g}}}}}}}}_{{{{{{\rm{Ti}}}}}}}\cdot {{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}\right)\right],$$
(2)
$${H}_{{{{{{\rm{exc}}}}}}}=\frac{{{{{{{\mathscr{J}}}}}}}_{{{{{{\rm{exc}}}}}}}}{{{{\hbar }}}^{2}}\left({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\cdot {{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}\right),$$
(3)

where \({\mu }_{0}\) is the vacuum permittivity, \(r\) the separation between the two atoms, \(\hat{{{{{{\bf{r}}}}}}}\) the unit vector connecting them28, and \({{{{{{\mathscr{J}}}}}}}_{{{{{{\rm{exc}}}}}}}\) the exchange interaction energy expressed in terms of \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\)32. In our model, \({{{{{{\mathscr{J}}}}}}}_{{{{{{\rm{exc}}}}}}}\) is the only free parameter for the fit. As shown in Fig. 1d, our model accurately reproduces the data for \({{{{{{\mathscr{J}}}}}}}_{{{{{{\rm{exc}}}}}}}/{{{{{\rm{h}}}}}}=\) 48 MHz, where the positive sign indicates an antiferromagnetic coupling. This value is more than 20 times smaller than that observed for a Ti-Ti dimer at the same distance (1.16 GHz)33. We ascribe the smaller Er-Ti coupling to the localization of the 4f orbitals near the atom’s core, which limits the overlap between Er and Ti orbitals when compared to the Ti-Ti case.

The strong angle dependence of Δf can be understood by considering the large magneto-crystalline anisotropy of \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\). At ϑ = 90°, \({J}_{z}\) is at its maximum (4ħ), and the angular momenta of both atoms are parallel to \(\hat{{{{{{\bf{r}}}}}}}\) (Fig. 1e), which maximizes the contribution of the dipolar coupling in a ferromagnetic configuration (positive Δf). When rotating B away from the in-plane direction, \({{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}\) follows the direction of B, while the anisotropy of Er preserves a large component of \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\) mainly aligned along the in-plane direction (Fig. 1f). This misalignment between the two angular momenta reduces the dipolar interaction. Finally, as B approaches the surface normal (Fig. 1g), \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\) turns towards the out-of-plane direction with a much smaller value of \({J}_{z}=\) ħ/2. With the two momenta being perpendicular to \(\hat{{{{{{\bf{r}}}}}}}\), the dipolar interaction is antiferromagnetic (negative Δf). Conversely, the mutual projection of \({{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}\) and \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\) is the only factor modulating the exchange interaction term, which remains negative Δf (antiferromagnetic coupling with positive \({{{{{{\mathscr{J}}}}}}}_{{{{{{\rm{exc}}}}}}}\)) at all angles (dashed pink curve in Fig. 1d).

Spin resonance of Er 4f electrons

The direct drive of ESR in STM requires positioning the tip directly on top of the target atom19. However, despite using a tip showing ESR signal on an isolated Ti atom (Fig. S3a), we observed no ESR when positioning the tip over an Er atom (Fig. S3b), which we attribute to the small polarization of the 5d and 6s shells of Er and to the weak interaction between the 4f and tunneling electrons. The weak polarization of the outer shell is reflected in the absence of spin excitations in the dI/dV spectra (Fig. S1d, e, h). These factors were found to limit the tunneling magnetoresistance at the STM junction in other lanthanide atoms24,34, possibly hindering both the ESR drive and detection23.

To overcome this limitation, we built a strongly interacting Er-Ti dimer by positioning Ti at 0.72 nm from Er through atom manipulation (Fig. 2a and Supplementary Section 2). Similar to the isolated atom, we observed no ESR peaks at the Er position in the dimer (yellow curve in Fig. 2b). However, when the tip was positioned on Ti, we observed up to 5 peaks (pink and purple curves in Fig. 2b). The first two peaks below 10 GHz with |Δf | = 2.70 ± 0.01 GHz correspond to the ESR transitions of Ti that were similarly found in the dimer with larger atomic separations (Fig. 1c). Hence, we label them as \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\), respectively. In this dimer, we observed that \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) shows a higher intensity than \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\), indicating an antiferromagnetic exchange interaction31 (Fig. S4c, f) dominating over the dipolar coupling at this atomic separation. At higher frequencies, we further observed two peaks that are significantly blue-shifted when rotating B from ϑ = 52° (pink curve in Fig. 2b) to 97° (purple). The higher resonance frequencies and pronounced angle dependence indicate that those transitions involve the large and anisotropic angular momentum of Er, and, thus, we label them as \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) and \({f}_{4}^{{{{{{\rm{Er}}}}}}}\). These transitions are not observed for all Er atoms, possibly due to the presence of isotopes with large nuclear spins for which the intensity of the ESR signal is spread over multiple peaks and is below the sensitivity of our measurements (Fig. S5). In addition, their frequency separation exactly matches the one between \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\), reflecting the same Er-Ti interaction. On the other hand, \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) and \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) are approximately equal in intensity, indicating that Ti fluctuates between two spin states with almost equal occupations. The comparable Ti states’ occupation stems from the scattering with tunneling electrons and from the Zeeman splitting of Ti (~7 GHz) being smaller than the thermal energy at the measurement temperature of 1.3 K (~27 GHz). With B at ϑ = 52°, we observed one more peak at even higher frequencies. Its frequency exactly matches the sum of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) (or equivalently \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{3}^{{{{{{\rm{Er}}}}}}}\)), which suggests an ESR transition involving both Ti and Er spins. We label this peak as \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\). Remarkably, the sign of \({f}_{3}^{{{{{{\rm{Er}}}}}}}\), \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) and \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\) is opposite to that of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\), indicating a different detection mechanism for the transitions involving the Er spin, which will be discussed below. Finally, we observed an energy level crossing between Er and Ti transitions at ϑ ~ 12°, with the Er resonance frequencies further shifting below the Ti transitions at ϑ ~ 0° (Fig. 2c and Fig. S6). This peculiar behavior is a consequence of the large difference in magnetic anisotropy between Er and Ti23.

Fig. 2: Measurement of Er ESR transitions through a strongly coupled Ti atom.
figure 2

a Constant-current STM image of the engineered Er-Ti dimer with the atomic separation of 0.72 nm. The intersection of grids represents the oxygen sites of MgO. The Er atom (circled in yellow) is adsorbed on the oxygen site of MgO, while the Ti atom (circled in purple) is adsorbed on the bridge site (set-point: Vdc = 100 mV, Idc = 20 pA). b ESR spectra of the dimer given in a. When the STM tip is located on top of Er, no peaks are observed (yellow) (set-point: Vdc = 50 mV, Idc = 20 pA, Vrf = 20 mV, B = 0.28 T, ϑ = 97°). When the STM tip is located on top of Ti, 5 ESR peaks are detected (\({f}_{{{{{\mathrm{1,2}}}}}}^{{{{{{\rm{Ti}}}}}}}\), \({f}_{{{{{\mathrm{3,4}}}}}}^{{{{{{\rm{Er}}}}}}}\) and \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\)) with ϑ = 52° (pink), while 4 ESR peaks are detected (\({f}_{{{{{\mathrm{1,2}}}}}}^{{{{{{\rm{Ti}}}}}}}\), and \({f}_{{{{{\mathrm{3,4}}}}}}^{{{{{{\rm{Er}}}}}}}\)) with ϑ = 97° (purple) (set-point: Vdc = 70, 60 mV, Idc = 30, 40 pA, Vrf = 20, 15 mV, B = 0.3 T). c ESR frequencies as a function of ϑ at B = 0.32 T. The ESR frequencies obtained from each measurement are given as black dots with error bars with 95% confidence interval alongside the transition energies predicted from the model Hamiltonian for \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) (blue line), \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\) (light blue line), \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) (red line), \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) (orange line), \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\) (green line), and flip-flop transition (dashed gray line). The experimental points were obtained at different set-points (Vdc = 60─70 mV, Idc = 12─40 pA, Vrf = 15─25 mV, B = 0.28─0.8 T); the resonance frequencies were rescaled by 0.32 T/B. d, e Four-level schemes corresponding to the energies of the 4 spin states of the Er-Ti dimer and the corresponding transitions depicted as colored arrows at B = 0.32 T with different ϑ (90° and 0°, respectively). At ϑ = 90° (d), the spin states are given by the Zeeman product states, while at ϑ = 0° (e), a linear combination of the Zeeman product states is needed to describe the levels.

As shown in Fig. 2c, the angular dependence of the ESR frequencies is well reproduced by using Eq. 1 with \({{{{{{\mathscr{J}}}}}}}_{{{{{{\rm{exc}}}}}}}/{{{{{\rm{h}}}}}}\) = 326 MHz for this Ti-Er pair with 0.72 nm separation. We observed small deviations for \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\), \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\), which we ascribe to different experimental conditions and magnetic interaction of Ti with the tip, which is not included in our model. Diagonalizing the Hamiltonian in Eq. 1 allows us to analyze the quantum states of the Er-Ti dimer in terms of individual Er and Ti spin states. For an in-plane B = 0.3 T, the energy detuning between the Er and Ti spins (30 GHz) is much larger than the interaction energy (about 3 GHz). Therefore, the Er-Ti dimer can be modeled with the 4 Zeeman product states of the Er and Ti spins. Following this picture, we can support the assignment of \({f}_{{{{{\mathrm{1,2}}}}}}^{{{{{{\rm{Ti}}}}}}}\) as Ti spin transitions occurring with no changes in the Er state, while \({f}_{{{{{\mathrm{3,4}}}}}}^{{{{{{\rm{Er}}}}}}}\) correspond to Er spin transitions without altering Ti. Finally, we attribute \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\) to a double-flip transition involving both Er and Ti spins. Even though a \(\left|\triangle m\right|\) > 1ħ process is generally forbidden to first order, anisotropic terms in the magnetic interaction can give rise to higher order matrix elements connecting states with Δm = ±2ħ35.

When the field is oriented at ϑ = 0°, both \({{{{{{\bf{J}}}}}}}_{{{{{{\rm{Er}}}}}}}\) and \({{{{{{\bf{S}}}}}}}_{{{{{{\rm{Ti}}}}}}}\) show an expectation value of ħ/2, but a detuning still occurs due to the difference between the out-of-plane g-factors, \({g}_{{{{{{\rm{Er}}}}}}}\) = 1.2 and \({g}_{{{{{{\rm{Ti}}}}}}}\) = 1.989 ± 0.02429. This detuning is comparable to their interaction energy and, thus, the two middle levels are no longer described by Zeeman product states (Fig. 2e). Finally, at the level crossing angle (ϑ ~ 12°), the two Er and Ti middle levels become singlet and triplet states33. However, measuring ESR spectra under these conditions becomes challenging (Fig. S7), possibly due to the limitation in our detection as discussed in the following.

Erbium ESR detection and driving mechanisms

The detection of ESR peaks exclusively occurs when the tip is positioned on top of Ti. Moving the tip from Ti to Er, the intensities of \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) and \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) gradually decrease and eventually vanish at ~0.3 nm from the Ti center (Fig. S8). This behavior indicates that driving an ESR transition on Er must induce a change in the Ti state occupation, subsequently modifying the spin polarization of the tunnel junction. In addition, while the Ti transitions always yield positive peaks \({f}_{{{{{\mathrm{1,2}}}}}}^{{{{{{\rm{Ti}}}}}}}\), Er ESR signals differ depending on specific tip conditions, i.e., different tips show positive or negative sign for \({f}_{{{{{\mathrm{3,4}}}}}}^{{{{{{\rm{Er}}}}}}}\) (Fig. 3a).

Fig. 3: Detection and driving mechanisms of Er ESR transitions.
figure 3

a ESR spectra showing \({f}_{{{{{\mathrm{3,4}}}}}}^{{{{{{\rm{Er}}}}}}}\) for two different STM tips: negative peaks related to negative spin pumping (yellow line) and positive peaks related to positive spin pumping (orange line) (set-point: Idc = 12, 20 pA, Vdc = 70 mV, Vrf = 25 mV, B = 0.28, 0.32 T, ϑ = 67°). b ESR peak intensities as a function of Vrf. The measured values for \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) are given by black dots while the intensities predicted from the rate equation model (Supplementary Section 9) for \({f}_{{{{{\mathrm{1,2}}}}}}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{{{{{\mathrm{3,4}}}}}}^{{{{{{\rm{Er}}}}}}}\) are given as blue, light blue, red solid lines and an orange dashed line, respectively (set-point: Idc = 40 pA, Vdc = 70 mV, B = 0.28 T, ϑ = 97°). c Four-level scheme explaining the rate equation model while driving \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) (red arrow). The Ti’s spin relaxation rates \({\varGamma }_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({\varGamma }_{2}^{{{{{{\rm{Ti}}}}}}}\) are depicted as purple arrows while the Er spin relaxation rates \({\varGamma }_{3}^{{{{{{\rm{Er}}}}}}}\) and \({\varGamma }_{4}^{{{{{{\rm{Er}}}}}}}\) are given as dashed yellow arrows. The negative spin pumping effect is represented as blue double arrows. d Normalized ESR peak intensities (ΔI/Idc) for \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) (blue circles) and for \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) (orange circles) at different tip heights. Here, the tip height is controlled by the set-point current Idc (set-point: Vdc = 70 mV, Vrf = 10 mV, B = 0.28 T, ϑ = 97°). The blue and orange lines serve as guides for the eye. The insets show two different tip-Ti distances: larger for lower Idc and smaller for higher Idc. In b and d, the error bars are given with 95% confidence interval.

To further delve into the driving and detection mechanisms of the Er spin, we measured the intensities of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) as a function of Vrf using a tip that shows negative Er peaks (Fig. 3b). While \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) exhibits a continuous increase in intensity with increasing Vrf, \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) reaches saturation at Vrf ~ 20 mV. The result for \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) aligns with previous measurements on Ti33, while the low-power saturation of Er is comparable to that of Fe, which might reflect a long T1 and/or a high Rabi rate (Ω)36. To understand this Vrf-dependence as well as the signs of ESR signals, we developed a rate equation model (Supplementary Section 7) based on the four-level scheme depicted in Fig. 3c. When driving \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) (red arrow), the populations of the initial and final states involved in the transition tend to equalize through a population transfer37. The changes in population are counteracted by the relaxation rates of each state (\({\varGamma }_{1,2}^{{{{{{\rm{Ti}}}}}}}\) and \({\varGamma }_{3,4}^{{{{{{\rm{Er}}}}}}}\)), which tend to repopulate the depleted states. These rates are inversely proportional to the T1 of the atom involved in the spin flip. These relaxations happen due to an exchange of energy with the environment which tends to relax the populations towards the thermal equilibrium. An exchange of energy to (from) the environment leads to a transition to a lower (higher) energy level. Since Ti located under the tip is strongly influenced by tunneling electrons, relaxation events occur on a much shorter timescale than for Er38, providing a more efficient pathway to attain the steady state. In addition, to account for the tip-dependent sign and intensity of Er ESR signals, we included a spin pumping term originating from the spin-polarized tunnel current (Fig. 3c for a negatively polarized tip)17,39. In inelastic scattering events, the exchange of angular momenta occurs while retaining the total angular momentum of the system39. That is, the spin-polarized tunneling electrons lead to scattering events with preferential polarization, as depicted in the inset of Fig. 3ac. Thus, the tunneling electrons can shift the Ti spin occupation altering the population balance with respect to the thermal equilibrium (see Supplementary Section 9). The proposed detection scheme based on the change of Ti state population accurately describes the Vrf-dependence (Fig. 3b) and the tip-dependent sign variations of the ESR signals (Fig. S10b).

Finally, to identify the ESR driving source of the Er spin, we follow the relative peak intensity (ΔI/Idc) at different tip heights, as controlled by Idc. As shown in Fig. 3d, ΔI/Idc of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) increases with reducing the tip-sample distance (increasing Idc), indicating that the main driving term for Ti arises from the exchange interaction with the spin-polarized tip40,41. On the other hand, ΔI/Idc for \({f}_{4}^{{{{{{\rm{Er}}}}}}}\) remains independent of Idc, which identifies the modulation of the magnetic interaction with Ti as the ESR driving source of Er42. The modulation of the magnetic coupling43, in combination with anisotropic interaction terms35, additionally explains the drive of the double-flip transition \({f}_{5}^{{{{{{\rm{TiEr}}}}}}}\).

Relaxation time measurement through electron-electron double resonance

As previously discussed about the Er-Ti dimer with 0.928 nm separation, the relative peak intensity of the Ti peaks \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\) reflects the time averaged population of the Er states (Fig. 4a), i.e., changes in the time-averaged spin states of Er will induce the change of the relative peak intensity of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\). Thus, by monitoring the Ti ESR signals, we can observe the evolution of the Er spin state. In this way, we characterize the characteristic relaxation time \({T}_{1}^{{{{{{\rm{Er}}}}}}}\) by exciting the Er into an out-of-equilibrium state and monitoring its relaxation towards the thermal state.

Fig. 4: Determination of Er spin relaxation time.
figure 4

a, b Double resonance spectra in the frequency range covering Ti ESR transitions \({{f}}_{{1}{,}{2}}^{{{{{{{\rm{Ti}}}}}}}}\) (a) without and (b) with simultaneous driving of Er at the ESR frequency of \({{f}}_{{3}}^{{{{{{{\rm{Er}}}}}}}}\). The peak intensities of \({{f}}_{{1}{,}{2}}^{{{{{{{\rm{Ti}}}}}}}}\) are related to the relative population of the Er spin states (insets). The spectra were normalized to the sum of their peak intensity. c ESR intensity ratios between \({\triangle I}_{{f}_{2}}^{{{{{{\rm{Ti}}}}}}}\) and \({\triangle I}_{{f}_{1}}^{{{{{{\rm{Ti}}}}}}}\) as a function of the driving strength Vrf2 at different Er ESR transition states (red, orange, and gray circles for \({{f}}_{{3}}^{{{{{{{\rm{Er}}}}}}}}\), \({{f}}_{{4}}^{{{{{{{\rm{Er}}}}}}}}\), and off-resonance, respectively). The solid curves show the correspondent simulation results by the rate equation model (Supplementary Section 9) for \({{f}}_{{3}}^{{{{{{{\rm{Er}}}}}}}}\) (red line), \({{f}}_{{4}}^{{{{{{{\rm{Er}}}}}}}}\) (orange line) and at an off-resonance frequency (gray line). The experimental points are given as black dots with error bars corresponding to 95% confidence interval. Set-point: Idc = 15 pA, Vdc = 70 mV, Vrf = 30 mV, Vrf2 = 1–50 mV, B = 0.28 T, ϑ = 97°. d Schematics of the inversion recovery measurement in a pump-probe pulse scheme to determine the Er spin relaxation time \({T}_{1}^{{{{{{\rm{Er}}}}}}}\). Each sequence is composed of a pump pulse at the resonance frequency of \({{f}}_{{3}}^{{{{{{{\rm{Er}}}}}}}}\) (red box) and a probe pulse at the resonance frequency of \({{f}}_{{1}}^{{{{{{{\rm{Ti}}}}}}}}\) (blue box). The probe pulse follows the pump pulse after a delay time Δt. The population of the Er states after the pump pulse relaxes back to the thermal state following its T1. e The experimental data for the inversion recovery measurement (blue circles) show the intensity of the ESR signal at the probe pulse \({{f}}_{{1}}^{{{{{{{\rm{Ti}}}}}}}}\) as a function of Δt. The black line shows the fit using an exponential function with \({T}_{1}^{{{{{{\rm{Er}}}}}}}\) of about 1 μs. Set-point: Idc = 50 pA, Vdc = 70 mV, Vrf pump = 60 mV, Vrf probe = 100 mV, B = 0.28 T, ϑ = 97°.

By applying an additional rf voltage (Vrf2), Ti and Er spins can be simultaneously driven in the so-called “electron-electron double resonance” scheme44. With this scheme, it is possible to drive Er transitions and sense the change in population through the Ti ones. For instance, in double resonance experiment, the relative intensities of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\) are equalized when \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) is simultaneously driven (Fig. 4b). As shown in Fig. 4c, the intensity ratio of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) and \({f}_{2}^{{{{{{\rm{Ti}}}}}}}\) (\({\Delta I}_{{f}_{2}}^{{{{{{\rm{Ti}}}}}}}/{\Delta I}_{{f}_{1}}^{{{{{{\rm{Ti}}}}}}}\)) increases with increasing Vrf only when Vrf2 is applied at the resonance frequency of \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) or \({f}_{4}^{{{{{{\rm{Er}}}}}}}\), enabling selective modulation of the Er states to an out-of-equilibrium configuration.

Taking advantage of this selective driving mechanism, we implemented an inversion recovery measurement to estimate the spin relaxation time of Er (\({T}_{1}^{{{{{{\rm{Er}}}}}}}\)) in a pump-probe scheme (Fig. 4d). After exciting \({f}_{3}^{{{{{{\rm{Er}}}}}}}\) with a pumping rf pulse of 200 ns duration that equalized the Er population, we applied a probe pulse of 500 ns for \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) after a delay time Δt. Using this sequence, we monitored the time evolution of the intensity of \({f}_{1}^{{{{{{\rm{Ti}}}}}}}\) as a function of Δt from the out-of-equilibrium to the thermal state (Fig. 4e). The fit to an exponential function (Fig. 4e) gives \({T}_{1}^{{{{{{\rm{Er}}}}}}}\) = 0.818 ± 0.115 μs, which is five times longer than that previously measured for Fe-Ti dimers in the absence of tunnel current18. We attribute this enhancement to the efficient decoupling of 4f electrons from the environment, which reduces the relaxation events arising from the scattering with substrate electrons.

The \({T}_{1}^{{{{{{\rm{Er}}}}}}}\) observed through Ti likely differs from the intrinsic relaxation time of Er on this surface due to its strong interaction with the Ti atom. Nevertheless, the large \({T}_{1}^{{{{{{\rm{Er}}}}}}}\) indicates that the rapid spin fluctuations of Ti occurring on the timescale of a few ns38 do not significantly perturb the stability of the Er states. This property partially originates from the large energy detuning between Er and Ti levels, which prevents the energy exchange required for spin-flip events. Using the experimentally obtained value of \({T}_{1}^{{{{{{\rm{Er}}}}}}}\) in the rate equation model, we extract a driving term W = Ω2T2/2 for Er that is two times larger than for Ti in the same dimer (Supplementary Section 9). Despite the long spin lifetime and large driving term, attempts to drive Er Rabi oscillations through Ti do not yield a complete cycle (Fig. S11b), preventing a direct measure of the Er T2. This is most likely due to a relatively low Rabi rate Ω provided by the moderate Er-Ti exchange coupling, which is about 2─3 times smaller than in the Fe-Ti dimer42. In turn, a low value of Ω together with a large driving term W would imply much longer T2 for Er than previous 3d elements, highlighting the potential of 4f electrons to realize higher performance atomic-scale qubits.

Discussion

We demonstrated a new experimental approach to electrically drive ESR on the elusive 4f electrons in a surface-adsorbed lanthanide atom with long spin relaxation time. Given the reduced scattering with the substrate electrons, it is reasonable to anticipate an enhancement in the coherence time of Er in comparison to 3d elements. This allows one to develop more advanced pulse sequences for quantum coherent manipulation on atomic-scale spin platforms. We expect that, by employing a similar approach to different atomic structures, we can reduce the influence of the spin fluctuations of the atom used for the detection and amplify the ESR driving on the 4f electrons, enabling the use of lanthanide atoms as surface spin qubits with superior properties compared to the routinely adopted 3d elements.

Methods

STM measurements

Our experiment was performed in a home-built STM operating at the cryogenic temperature of ~1.3 K in an ultrahigh vacuum environment (<1 × 10─9 Torr)45. Using a two-axis vector magnet (6 T in-plane/4 T out-of-plane), the magnetic fields were varied from 0.28 T to 0.9 T at different angles from the surface normal45. To allow atom deposition on the sample kept in the STM stage, the sample is slightly tilted from the axis of the magnet by ~7° as estimated from the fit to the data shown in Fig. 1d. Considering this misalignment, all our experimental ϑ were offset by that amount accordingly. The magnetic tips used in our measurements were prepared by picking up ~4─9 Fe atoms from the MgO surface until the tips presented good ESR signals on isolated Ti atoms.

ESR measurements

We used two different schemes to apply Vrf to the STM junction: one through the tip and one through an antenna (rf generators: Keysight E8257D and E8267D)45. In all our measurement involving a single rf sweep, we applied the Vrf using an antenna located near the sample45 except for the data in Fig. 3b, where the Vrf was combined with the dc bias voltage Vdc using a bias tee at room temperature and then applied to the STM tip. The data in Fig. 4a─c were acquired by applying Vrf to the tip and simultaneously Vrf2 to the antenna. For the measurements reported in Figs. 4e and S11, the two rf voltages (Vrf and Vrf2) were combined through a power splitter (minicircuits ZC2PD-K0244 + ) and applied to the STM tip. For these measurements, both rf generators were gated by an arbitrary waveform generator (Tektronix, AWG 70002B).

Sample preparation

The surface of a Ag(100) substrate was cleaned by repeated cycles of Ar+ sputtering and annealing (700 K). We grew atomically thin layers of MgO(100) on the Ag(100) by evaporating Mg metal in an oxygen atmosphere with partial pressure of 10─6 Torr while maintaining the sample at a temperature of ~590 K, following a procedure described in a previous work46. We deposited Fe, Ti and Er atoms (<1% of monolayer) from high purity rods (>99%) using an e-beam evaporator. During the deposition the sample was held at ~10 K in order to have well-isolated single atoms on the surface. As described in previous works, the Ti atoms on 2 ML MgO/Ag(100) show a spin magnitude of ħ/2 with g-factor anisotropy29, a behavior previously attributed to hydrogenation31.

Analysis of ESR spectra

We fit the ESR spectra using a model given in33 in order to extract the resonance frequency, peak intensity, and peak width for the data shown in Figs. 1d, 2c, 3b, d, and 4c.

ESR spectra normalization

Figure 1c: The spectrum at ϑ = 8° (pink) was normalized at its maximum intensity, while the spectrum at ϑ = 68° (purple) was normalized to the sum of the intensities of its two peaks. The frequency detuning is defined with respect to 9.1 GHz (8.1 GHz) for the spectrum at ϑ = 8° (ϑ = 68°).

Figure 2b: The spectra measured on Ti at ϑ = 52° (pink) and at ϑ = 97° (purple) were normalized at their respective maxima, while the spectrum measured on top of Er was rescaled by the same amount used for the spectrum measured on Ti at ϑ = 97°. The spectra measured on Ti at ϑ = 52° and on Er are offset for clarity.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.