Anton Pershin, András Tárkányi, Vladimir Verkhovlyuk, Viktor Ivády, Ádám Gali
High spatial resolution quantum sensing of near-surface nitrogen vacancy (NV) centers in diamond has enabled detection of magnetic, electrical, and thermal signals at the nanoscale. At depths of just a few nanometers, NV centers serve as localized quantum probes for external spins or low-dimensional materials, but their proximity to the surface also enhances decoherence caused by fluctuating nuclear spins. While advances in surface engineering have stabilized the charge state of NV centers at depths of tens of nanometers, achieving both ultra-shallow implantation (0.5-2 nm) and long-term spin coherence remains a central challenge. In this work, we show using first-principles modeling that, by exploiting the interaction of surface-induced strain and weak dc magnetic fields, the spin coherence times of 1-nm-deep NV centers can be greatly improved near the spin-phonon-confined regime at room temperature in 12C-rich diamonds. We also demonstrate that this protocol benefits ~ 10-nm-deep NV centers in natural diamond, enabling vector magnetometry at the nanoscale. Shallow NV centers in diamond are advantageous for quantum sensing but suffer from surface magnetic noise. Using first-principles simulations supported by experiments, the authors show that a combination of small magnetic fields and surface strain can significantly enhance spin coherence of 1 nm-deep NV centers.