## Abstract

Identifying and fabricating defect qubits in two-dimensional semiconductors are of great interest in exploring candidates for quantum information and sensing applications. A milestone has been recently achieved by demonstrating that single defect, a carbon atom substituting sulphur atom in single layer tungsten disulphide, can be engineered on demand at atomic size level precision, which holds a promise for a scalable and addressable unit. It is an immediate quest to reveal its potential as a qubit. To this end, we determine its electronic structure and optical properties from first principles. We identify the fingerprint of the neutral charge state of the defect in the scanning tunnelling spectrum. In the neutral defect, the giant spin-orbit coupling mixes the singlet and triplet excited states with resulting in phosphorescence at the telecom band that can be used to read out the spin state, and coherent driving with microwave excitation is also viable. Our results establish a scalable qubit in a two-dimensional material with spin-photon interface at the telecom wavelength region.

## Introduction

Point defects with spins in solids which constitute a two-level system are considered as essential building blocks for application in quantum information, computing and sensing^{1,2,3,4} when the electron spin can be initialized and read out with sufficiently long coherence time. The nitrogen-vacancy (NV) centre in diamond has been already identified as a qubit^{5,6,7,8} that can be exploited in diverse quantum technology applications^{1,2,3,4,9}. The NV qubit state is initialised and read out by optical means in which spin-photon interface can be realized for quantum communication in the visible wavelength region^{10}. However, NV centre in diamond is relatively dim, and scalable fabrication and optical waveguide integration of NV centre in diamond and akin defect qubits in three-dimensional (3D) crystals is technologically very challenging^{11,12,13}.

Compared to single photon emitters (SPE) and qubits in 3D materials, defects in two-dimensional (2D) wide bandgap host distinguish themselves with high quantum efficiency and additional functionalities due to spatial confinement and near-surface location^{14,15}. Recently, coherent manipulation of single spins have been reported in van der Waals 2D materials by means of optical initialisation and read-out^{16,17}. In particular, carbon-related defects have been associated with these qubits in hexagonal boron-nitride (hBN)^{17,18,19} but scalable, deterministic preparation or activation of the qubit defects has not yet been achieved. Although, ab initio calculations proposed the atomic composition of the qubits^{17,18} but it has not yet been unambiguously confirmed which stems to create them on demand. Alternatively, boron-vacancy, an identified defect, in hBN may act as qubit^{17,20,21,22}. Boron-vacancies are created by irradiation^{17} or other invasive techniques^{23} but no deterministic single defect creation is in reach and no single spin boron-vacancy qubit has been reported to date. Nevertheless, these efforts motivate scientists to design and fabricate quantum defects in other 2D materials.

Transition metal dichalcogenides (TMDCs) is another ideal 2D host for quantum defects^{24,25,26}. Single photon emitters have been measured in WSe_{2}^{24,27,28} and WS_{2}, but no coherent control of single spins have been reported^{24,29}. The inherit spin-orbit-coupling (SOC) and excitonic effect provides long coherence time and electric controlled spin-valley coupling^{30,31}. Recent investigation realized the creation of single carbon defect in WS_{2} through scanning tunnelling microscopy (STM) tip with atomic precision^{32}, in which carbon replaces sulphur, that could isolate a single defect with a doublet spin state. The highly deterministic location with charge and spin state control provides large-scale defect arrays for integrated quantum systems. Furthermore, the electronic structure of the prepared single defect could be directly measured through scanning tunnelling spectra (STS) in TMDCs. However, it has not been confirmed that the single carbon defect spin can be exploited as a qubit in WS_{2}, i.e., no quantum protocol to initialise and read out the spin state and means to coherently drive the spin states have been demonstrated.

In this paper, we demonstrate that single carbon defect spin in WS_{2}, which can be deterministically prepared at atomic scale precision, can act as a qubit where the spin-photon interface can be realized with emission in the telecom wavelength region. We first carry out ab initio magneto-optical spectroscopy to explore the quantum states generated by the carbon defect. We identify the triplet state of the neutral carbon defect (C_{S}) acting as a suitable qubit state with telecom wavelength phosphorescence. The multiplets of the triplet state can be used as a resource to prepare a given quantum state and store quantum information. We show a quantum optics protocol to initialise, read out and drive the single spin of C_{S} defect in WS_{2}, which converts a scalable defect spin to a promising qubit in a van der Waals material.

## Results and discussion

### Ground state calculations

Figure 1a shows the considered C_{S} defect. Carbon replaces sulphur atom on the top layer. This could be formed by hydrogen depassivation of carbon-hydrogen impurity through voltage pulse from the STM tip. The graphene substrate adjusted the Fermi-level alignment, and experiment confirmed the defect exhibit negatively charged state as C\({}_{\,{{{\rm S}}}\,}^{-}\)^{32}. One occupied state and unoccupied state were detected at − 0.4 V and + 0.52 V sample bias, respectively. We could identify the two defect levels of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{-}\) in the ground state by density functional theory (DFT) HSE calculation (see Methods). We note that charge correction is needed to improve the DFT total energy and defect level, as discussed in the Supplementary Note 3. In addition, spin-orbit coupling (SOC) significantly contributes to the electronic structure. For the pristine WS_{2}, the position of valence band maximum (VBM) shifts with respect to the value without SOC, and the final calculated band gap is 2.76 eV. Another consequence of SOC is that the double degenerate VBM splits. Similarly, SOC modifies the defect levels as indicated in Fig. 1c. The calculated occupied defect level lies at 1.09 eV above VBM. The STS measured occupied level is roughly about 1.1 eV above the VBM considering the spectra smearing (about 0.19 eV)^{32}, in good agreement with the theoretical value. In addition to the in-gap defect levels, there are degenerate *e* defect levels (*e*_{x}, *e*_{y}) about − 0.62 eV below the VBM. The degeneracy is lifted due to SOC interaction and the splitting is 113 meV. Such large splitting has been previously measured for sulphur vacancy in WS_{2} by STS^{31}. Figure 1d plots the spatial wavefunction of the defect levels. The distribution of in-gap levels clearly demonstrates *C*_{3v} symmetry with *a*_{1} character. The degenerate states mainly come from the *d* orbitals of neighbour tungsten atoms. However, the unoccupied defect level is located far above the conduction band minimum. Hence the experimentally observed occupied defect level is attributed to the negatively charged defect while the unoccupied level does not correspond to C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{-}\).

We anticipate that, with positive bias in STS, the Fermi-level of the sample shifts down with respect to the Fermi-level of the tip. As a consequence, the electron from the occupied defect level in the gap transfers to the graphene substrate, so the defect level is depleted in the gap with turning the defect charge state from negative to neutral. With the increase of sample bias to +0.52 eV, electron from the tip transfers to the unoccupied state of the neutral C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) and recharges it. Such charge transition during STS measurement has been reported for the silicon dangling bond on the Si surface^{33}. Hence, the unoccupied state observed with positive bias should be associated with the empty level of the neutral defect. This scenario is confirmed by our calculations. The calculated formation energy as a function of Fermi-level is plotted in Fig. 2. The charge transition level (CTL) for (0∣ − 1) is at 1.57 eV above VBM. The graphene substrate tunes this Fermi level of WS_{2} above CTL and maintains negatively charged. However, positive bias sinks the Fermi-level and alters the charge state during experiment. The defect levels of neutral C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) is plotted at Fig. 2b. There is only one non-degenerate unoccupied *a*_{1} level in the gap at 2.11 eV above VBM which again agrees with the observed one at about 2.1 eV above VBM in STS^{32}.

Our interpretation of results clearly shows that the charge state of single C_{S} defect can be well manipulated by the choice of the substrate and/or the applied bias. The spin state of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{-}\) is *S* = 1/2 which might act as qubit. Nevertheless, the calculated excitation energies with involving the defect state in the gap are always larger than the ionisation threshold energy at around 1.2 eV (see Supplementary Note 4). This makes the optical readout of the spin state difficult as ionisation competes with the neutral photo-excitation of the defect upon illumination. The C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) defect ground state is a closed shell singlet but a triplet *S* = 1 metastable state may exist that can act as a qubit similarly to the ST1 centre in diamond^{34}. Next, we explore the fine electronic structure of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) in WS_{2} and its potential as qubit.

### Ab initio spectroscopy of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) in WS_{2}

In the neutral charge state, there is one empty *a*_{1} level in the gap. The ground state is a closed shell singlet ^{1}*A*_{1}. An electron from VBM may be promoted to the empty *a*_{1} level upon illumination. After emptying the VBM state, a localized *e* level pops up in the gap because of the strong Coulomb interaction between the localized electrons which lies at 0.6 eV below VBM when occupied. In the hole picture, the excited state can be described as *e**a*_{1} electronic configuration and the corresponding many-body states can be analysed by group theory within *C*_{3v} symmetry (e.g., Ref. ^{35}). One singlet, ^{1}*E* state exists near the ^{3}*E* triplet state. The ^{3}*E* manifold contains *E*_{x, y} *m*_{s} = 0 and *A*_{1} ⊕ *A*_{2} = *A*_{1,2} and *E*_{1,2} *m*_{s} = ±1 spin projections in double group notation.

First, we approximate the singlet and triplet excitation energies by \({e}^{\uparrow }{a}_{1}^{\downarrow }\) and \({e}^{\uparrow }{a}_{1}^{\uparrow }\) electronic configurations (arrows represent the respective spin-up and spin-down spin channels), respectively, in *C*_{3v} symmetry without SOC. The calculated ZPL energies are 1.062 eV and 0.985 eV, respectively. These energies are significantly smaller than the photo-ionisation threshold energy, thus C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) is a photostable quantum emitter in the telecom wavelength region. Furthermore, a high spin triplet state exists that may be used as a qubit.

The fine structure of the excited states of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) depends on the complex interaction of phonons, orbitals and spins. Orbitals and spins are coupled by spin-orbit interaction whereas ^{1}*E* and ^{3}*E* states are Jahn-Teller active, i.e, strong electron-phonon coupling is expected by the symmetry distorting *E* phonons, i.e., it establishes an *E* ⊗ *e* dynamic Jahn-Teller (DJT) system. Since the estimated energy gap between the singlet and triplet levels is Δ = 54.9 meV and the calculated spin-orbit coupling connecting the *E*_{{x, y}} and ^{1}*E* states is *λ*_{z} = −54 meV the singlet and triplet states may be coupled as

where the reference zero energy is the level of the triplet state before applying spin-orbit interaction. The negative sign of *λ*_{z} is due to the hole left on the *e* orbital. Eq. (1) clearly shows that the singlet and the *m*_{s} = 0 part of the triplet are mixed by spin-orbit interaction. The eigenvalues of the matrix provide the electronic part of SOC are discussed in Supplementary Note 5.

However, the strength of the effective spin-orbit coupling which separates the *A*_{1,2}, *E*_{x,y} and *E*_{1,2} levels can be significantly reduced due to the strong electron-phonon coupling which mixes the *m*_{l} = +1 and *m*_{l} = −1 components of the electronic wavefunctions known as Ham reduction^{36}. In the *E* ⊗ *e* DJT system^{37}, the electron-phonon coupling may be described as

where _{ax,y}, \({a}_{x,y}^{{{{\dagger}}} }\) are creation and annihilation operators for *E* phonon, *ℏ**ω*_{e} is the energy of the effective *E* phonon mode. The \({\hat{\sigma }}_{z}=|{e}_{x}\rangle \langle {e}_{x}|-|{e}_{y}\rangle \langle {e}_{y}|\) and \({\hat{\sigma }}_{x}=|{e}_{x}\rangle \langle {e}_{y}|+|{e}_{y}\rangle \langle {e}_{x}|\). *F* is the electron-phonon coupling strength and could be calculated from \(F=\sqrt{2{E}_{{{{{{{\rm{JT}}}}}}}}\hslash {\omega }_{e}}\). The *ℏ**ω*_{e} can be obtained from parabolic fit to the adiabatic potential energy surface (APES) and *E*_{JT} = 89.9 meV is the JT energy as shown in Fig. 3(b). *E*_{1,2} and *A*_{1,2} cannot interact with *E*_{x,y} and ^{1}*E* through DJT, and DJT acts only on the *m*_{s} = ±1 states. The calculated *F* = 74 meV is the same order of magnitude as the spin-orbit coupling strength. In this case, the spin-orbit interaction is not taken like a small perturbation near electron-phonon coupling but the full Hamiltonian \(\hat{H}={\hat{W}}_{{{{{{{\rm{ee}}}}}}}}+{\hat{H}}_{{{{{{{\rm{SOC}}}}}}}}+{\hat{H}}_{{{{{{{\rm{JT}}}}}}}}\) should be solved simultaneously. Nevertheless, we solved this problem perturbatively too, in order to gain more insight about the complex interplay of phonons, orbitals and spins (see Supplementary Note 5). We find that the perturbative solution is surprisingly close to that of the full Hamiltonian solution, and the results can be explained by a Ham reduction factor *p* = 0.017 which means that the spin-orbit coupling is strongly quenched by the electron-phonon coupling with reducing the energy spacing between the *A*_{1,2} and *E*_{1,2} to about 454 GHz whereas the *E*_{x,y} level goes above that of *A*_{1,2} by about 99.1 GHz. As a consequence, the electron spin-spin interaction, typically in the GHz energy region, should be also considered in the spin Hamiltonian.

The electron spin-spin Hamiltonian of the ^{3}*E* state can be expressed by

where the energy gaps between the *m*_{s} = 0 and ± 1 and between the *A*_{1} and *A*_{2} are given by

Here, the *β* is the Bohr magneton and *g* is the Landé factor. The calculated *D* is 2.5 GHz and Λ is 970 MHz. The magnitude manifests itself as perturbation over SOC and DJT and could be treated independently. Due to the non-symmetric character of Λ, it is reduced by the Ham factor discussed above and the reduced gap *p*Λ is about 16.5 MHz. We note that the energy gap between *E*_{x,y} and *A*_{1} ⊕ *A*_{2} levels are indicative as will be discussed below.

The *E*_{x,y} level shifts above the *m*_{s} = ±1 levels because its interaction with the singlet ^{1}*E* state. This interaction results in a singlet inmixture into the *E*_{x,y} state by 2.1%. As a consequence, C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) may act like a phosphorescence centre with emission between the triplet state and the singlet ground state. The calculated ZPL energy is 0.847 eV (~1460 nm) which nicely falls to the desired telecom wavelength for efficient quantum communication via optical fibre links. We note here that the estimated accuracy in the absolute value of the ZPL energy is about 0.1 eV (see Methods). Next, we discuss whether the triplet spin levels may be exploited to realize a qubit.

### Quantum optics protocol for C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\)

The intriguing electronic and phonon properties of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) motivate us to propose a set of quantum protocol for qubit application. We start at the ^{1}*A*_{1} ground state of the defect. The absorption by ^{1}*E* state upon illumination in the near infrared (NIR) region (about 1340 nm) should be very effective by {*x*, *y*} polarized photons as the calculated optical transition dipole moment is about 24.7 Debye which corresponds to a radiative lifetime at 1.52 ns.

After arrival at ^{1}*E*, a very fast intersystem crossing (ISC) occurs selectively to the *m*_{s} = 0* of E*_{x,y} state because of the following arguments. According to the theory and measurements for NV centre in diamond with similar electronic structure in the excited state,^{38} the cooling of excited vibronic levels to the ground state vibronic level occurs within the order of 100 fs it is slowed down for C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) to about 38.2 ps because of the overlap spin function of ^{1}*E* and *E*_{x,y} state. Here we estimate the ISC rate from ^{1}*E* with

where *F* is the function of overlap between the vibrational spectrum of singlet and triplet and Δ*E* is the energy splitting between singlet and triplet. The final estimate for the ISC lifetime is in the order of picosecundum (see Supplementary Note 9) which is much shorter than the radiative lifetime of the ^{1}*E* state. The *E*_{x,y} state (or one of them in the presence of constant electric fields or strain, e.g., Ref. ^{35}) can be used as one of the quantum levels that can be initialized by optical pumping.

Here we note that the ^{3}*E* states are highly sensitive to strain or constant electric fields as manifested already by the strong electron-phonon coupling. Up to 0.64% strain could be applied to monolayer WS_{2}^{39}. As a comparison, 0.005% strain induces about 38 GHz energy splitting between *E*_{x,y} in diamond NV centre^{35}. Thus, the actual strain in WS_{2} may largely split and shift the spin levels of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) that can be tuned towards the desired microwave resonance fields.

The optical lifetime of the ^{3}*E* state can be calculated with

where *ϵ*_{0} is the vacuum permittivity and *c* is the speed of light. Here *n* = 3.04 is the refractive index of WS_{2} and *μ* is the optical transition dipole moment. *p*_{1} is the mix fraction of the singlet into ^{3}*E* state. Finally, the calculated optical lifetime is about 145 ns with a corresponding radiative rate at 1.10(2*π*) MHz (in angular frequency). We note that the non-radiative decay may compete with the radiative one at elevated temperatures which shorten the lifetime and decrease the quantum efficiency (see Supplementary Fig. 15). The estimated lifetime at low temperature implies that it is viable to apply quantum operation for this state, for instance, by employing a *π* microwave pulse resonant with *A*_{2} state. Since *A*_{1,2} states are completely dark it should provide a large optical read-out contrast with respect to the *E*_{x,y} states. Thus, the electron spin qubit state can be optically initialised and read out, as sketched in Fig. 4. According to recent studies^{40}, the coherence time of the *S* = 1 qubit should be about 11 ms in WS_{2} thus the coherence time may be limited by the large hyperfine interaction of the electron to the nearest nuclear spins of the defect. According to our results (see Supplementary Note 7), ^{13}C has a large hyperfine interaction (in the order of 100 MHz), thus should be avoided as a potential ancilla qubit because it would cause decoherence. Although, the immediate three ^{183}W neighbour nuclear spins have an interaction strength of about 10 MHz which could also decoherent the electron spin. On the other hand, farther nuclear spins (see Supplementary Fig. 12) with an interaction strength of about 100 kHz may be used as a resource to store the quantum information before decaying to the ground state that may be realized at excited state level anticrossing with applying a small well tuned external magnetic field^{41,42}. That qubit can be a very long living quantum memory in WS_{2} host, similarly to the concept of ST1 centre in diamond^{34}. We note that the ZPL emission could be small over the phonon-assisted emission because the estimated Debye-Waller factor is about 0.002 based on the Huang-Rhys theory applied to the *C*_{s} geometry of the ^{3}*E* state (see Supplementary Note 6). We estimate about 1 million counts per second total emission from a single neutral C defect based on radiative lifetime and estimated collection efficiency (19.1% in Ref. ^{43}) which can be readily observed. The coherent ZPL emission would be in the order of 2500 counts per second which is still observable. Nevertheless, optical cavities were already built from WS_{2}^{44,45} that can be used to significantly enhance ZPL emission of C_{s} qubit by Purcell effect.

In conclusion, we determined the electronic and vibronic properties of carbon defect in WS_{2} that has been recently observed in experiments. The signal measured in STS could be attributed to the localized states in different charge states. The energy diagram of C\({}_{\,{{{{{{\rm{S}}}}}}}\,}^{0}\) manifests itself as promising qubit candidate as the spin can be initialised and read out optically, and microwave excitation can be applied to prepare a coherent state. To produce the periodic pattern of this optically active defect, other unintentional impurities should be avoided surrounding the defects. A hBN capping layer can be used to prevent potential hydrogen reattachment (see Supplementary Note 2). Owing to the controllable fabrication, surface accessibility, mechanically and electrically tunable electro-optical properties, and optical cavities from the material, we propose C_{S} in WS_{2} as a scalable qubit operating at the near infrared region close to the ideal telecom wavelength.

## Methods

### Details on DFT calculations

Our calculations are performed using the density functional theory (DFT) implemented in Vienna ab initio simulation package (VASP)^{46,47}. Projector augmented wave (PAW) formalism^{48,49} is selected to describe the valence electrons close to nuclei. The energy cutoff for the expansion of the plane-wave basis set was set to 520 eV. The screened hybrid density functional of Heyd, Scuseria, and Ernzerhof (HSE)^{50,51} is used to calculate the electronic structure. In this approach, the short-range exchange potential is described by mixing with part of nonlocal Hartree-Fock exchange with fraction *α*. The electron-electron interaction between short and long ranged part is adjusted by separation parameter *μ*. To overcome this difficulty, these two parameters are adjusted. The HSE parameters were attested against many-body perturbation methods (see Supplementary Note 1), resulting in *α* = 0.40 with *μ* = 0.10 Å^{−1}, which could closely reproduce the experimental fundamental band gap at about 2.76 eV^{32,52} with SOC interaction included as shown in Supplementary Fig. 2.

A 6 × 6 monolayer supercell is constructed and the perfect supercell contains 108 atoms which is sufficient to avoid the periodic defect-defect interaction, a vacuum layer of 12 Å is applied to separate the periodic layer images. We also consider a graphene substrate which is a direct simulation of the experiments,^{32} together with calculation containing hBN capping layer to protect the defect, as shown in Supplementary Fig. 3. In this case we apply 4 × 4 supercell for WS_{2} and 5 × 5 supercell for graphene or hBN that are nearly commensurate. The result shows the graphene or hBN substrate would not change the electronic structure of WS_{2} and the defect levels are well kept. Γ-point scheme is converged for the k-point sampling of the Brillouin zone for these sizes of supercell. During structural optimization, the internal coordinates are allowed to relax until the forces of each atom are less than 0.01 eV/Å. The calculated lattice constant is 3.14 Å and agrees well with experimental value (3.155 Å)^{53,54}. The optical transition energies were obtained from the differences in total energies between the different electronic configurations through ΔSCF method which has a typical accuracy of about 0.1 eV with involving localized defect states^{55}. We note that the Kohn-Sham orbitals change their localization in the ΔSCF procedure with respect to those in the ground state electronic configuration for the neutral C defect. Our ab initio many-body perturbation theory based GW and Bethe-Salpeter equation (BSE) calculations partially support the construction of the lowest energy excitonic state of the neutral C defect in the ΔSCF method as discussed in Supplementary Note 8. We note that ΔSCF method for the negatively charged C defect may produce less accurate results than that for the neutral defect because the former involves delocalized states split from the conduction band that may be treated by many-body perturbation methods^{56,57,58}.

The phonon calculation at Γ-point scheme for the supercell is done by calculating Hessian matrix based on the derivative forces. The HSE optimized geometry is fixed to calculate the phonon at Perdew-Burke-Ernzerhof (PBE)^{59} level. The SOC is calculated within the noncollinear approach. The spin quantization axis is aligned with symmetry axis of the defect. The SOC is evaluated based on geometry from spin-polarized calculation. Here supercell size scaling method, Freysoldt-Neugebauer-Van de Walle (FNV) correction and self-consistent charge correction^{60,61} are used to calculate the formation energy and defect levels as discussed in Supplementary Note 3. The non-radiative transition is calculated based on NONRAD code^{62}, as discussed in Supplementary Note 9.

## Data availability

The authors declare that the main data supporting the findings of this study are available within the paper and its Supplementary files. Part of source data is provided with this paper. Other data that support the findings of this study are available from the corresponding author upon reasonable request.

## Code availability

The codes that were used in this study are available upon request to the corresponding author.

## References

Wolfowicz, G. et al. Quantum guidelines for solid-state spin defects.

*Nat. Rev. Mater.***6**, 906–925 (2021).Atatüre, M., Englund, D., Vamivakas, N., Lee, S.-Y. & Wrachtrup, J. Material platforms for spin-based photonic quantum technologies.

*Nat. Rev. Mater.***3**, 38–51 (2018).Chatterjee, A. et al. Semiconductor qubits in practice.

*Nat. Rev. Phys.***3**, 157–177 (2021).de Leon, N. P. et al. Materials challenges and opportunities for quantum computing hardware.

*Science***372**, eabb2823 (2021).Gruber, A. et al. Scanning confocal optical microscopy and magnetic resonance on single defect centers.

*Science***276**, 2012–2014 (1997).Childress, L. et al. Coherent dynamics of coupled electron and nuclear spin qubits in diamond.

*Science***314**, 281–285 (2006).Doherty, M. W. et al. The nitrogen-vacancy colour centre in diamond.

*Phys. Rep.***528**, 1–45 (2013).Gali, Á. Ab initio theory of the nitrogen-vacancy center in diamond.

*Nanophotonics***8**, 1907–1943 (2019).Rondin, L. et al. Magnetometry with nitrogen-vacancy defects in diamond.

*Rep. Prog. Phys.***77**, 056503 (2014).Bernien, H. et al. Heralded entanglement between solid-state qubits separated by three metres.

*Nature***497**, 86–90 (2013).Aharonovich, I. & Neu, E. Diamond nanophotonics.

*Adv. Opt. Mater.***2**, 911–928 (2014).Clevenson, H. et al. Broadband magnetometry and temperature sensing with a light-trapping diamond waveguide.

*Nat. Phys.***11**, 393–397 (2015).Castelletto, S., Johnson, B. C. & Boretti, A. Quantum effects in silicon carbide hold promise for novel integrated devices and sensors.

*Adv. Opt. Mater.***1**, 609–625 (2013).Tran, T. T., Bray, K., Ford, M. J., Toth, M. & Aharonovich, I. Quantum emission from hexagonal boron nitride monolayers.

*Nat. Nanotechnol.***11**, 37–41 (2016).Zhang, G., Cheng, Y., Chou, J.-P. & Gali, A. Material platforms for defect qubits and single-photon emitters.

*Appl. Phys. Rev.***7**, 031308 (2020).Gottscholl, A. et al. Initialization and read-out of intrinsic spin defects in a van der waals crystal at room temperature.

*Nat. Mater.***19**, 540–545 (2020).Chejanovsky, N. et al. Single-spin resonance in a van der Waals embedded paramagnetic defect.

*Nat. Mater.***20**, 1079–1084 (2021).Mendelson, N. et al. Identifying carbon as the source of visible single-photon emission from hexagonal boron nitride.

*Nat. Mater.***20**, 321–328 (2021).Stern, H. L. et al. Room-temperature optically detected magnetic resonance of single defects in hexagonal boron nitride (2021).

*Nat. Commun.***13**, 618 (2022).Abdi, M., Chou, J.-P., Gali, A. & Plenio, M. B. Color centers in hexagonal boron nitride monolayers: a group theory and ab initio analysis.

*ACS Photonics***5**, 1967–1976 (2018).Ivády, V. et al. Ab initio theory of the negatively charged boron vacancy qubit in hexagonal boron nitride.

*Npj Comput. Mater.***6**, 1–6 (2020).Gottscholl, A. et al. Room temperature coherent control of spin defects in hexagonal boron nitride.

*Sci. Adv.***7**, eabf3630 (2021).Gao, X. et al. Femtosecond laser writing of spin defects in hexagonal boron nitride.

*ACS Photonics***8**, 994–1000 (2021).Palacios-Berraquero, C. et al. Large-scale quantum-emitter arrays in atomically thin semiconductors.

*Nat. Commun.***8**, 15093 (2017).Hong, J. et al. Exploring atomic defects in molybdenum disulphide monolayers.

*Nat. Commun.***6**, 6293 (2015).Tian, X. et al. Correlating the three-dimensional atomic defects and electronic properties of two-dimensional transition metal dichalcogenides.

*Nat. Mater.***19**, 867–873 (2020).He, Y.-M. et al. Single quantum emitters in monolayer semiconductors.

*Nat. Nanotechnol.***10**, 497–502 (2015).Koperski, M. et al. Single photon emitters in exfoliated WSe

_{2}structures.*Nat. Nanotechnol.***10**, 503–506 (2015).Barja, S. et al. Identifying substitutional oxygen as a prolific point defect in monolayer transition metal dichalcogenides.

*Nat. Commun.***10**, 3382 (2019).Yuan, H. et al. Generation and electric control of spin–valley-coupled circular photogalvanic current in WSe

_{2}.*Nat. Nanotechnol.***9**, 851–857 (2014).Schuler, B. et al. Large spin-orbit splitting of deep in-gap defect states of engineered sulfur vacancies in monolayer WS

_{2}.*Phys. Rev. Lett.***123**, 076801 (2019).Cochrane, K. A. et al. Spin-dependent vibronic response of a carbon radical ion in two-dimensional WS

_{2}.*Nat. Commun.***12**, 7287 (2021).Labidi, H. et al. Scanning tunneling spectroscopy reveals a silicon dangling bond charge state transition.

*New J. Phys.***17**, 073023 (2015).Lee, S.-Y. et al. Readout and control of a single nuclear spin with a metastable electron spin ancilla.

*Nat. Nanotechnol.***8**, 487–492 (2013).Maze, J. R. et al. Properties of nitrogen-vacancy centers in diamond: the group theoretic approach.

*New J. Phys.***13**, 025025 (2011).Ham, F. S. Dynamical Jahn-Teller effect in paramagnetic resonance spectra: orbital reduction factors and partial quenching of spin-orbit interaction.

*Phys. Rev.***138**, A1727 (1965).Bersuker, I. The Jahn-Teller Effect (Cambridge University Press, 2006).

Ulbricht, R., Dong, S., Gali, A., Meng, S. & Loh, Z.-H. Vibrational relaxation dynamics of the nitrogen-vacancy center in diamond.

*Phys. Rev. B***97**, 220302 (2018).He, X. et al. Strain engineering in monolayer WS

_{2}, MoS_{2}, and the WS_{2}/MoS_{2}heterostructure.*Appl. Phys. Lett.***109**, 173105 (2016).Kanai, S. et al. Generalized scaling of spin qubit coherence in over 12,000 host materials (2021). arXiv:2008.12196.

Jacques, V. et al. Dynamic polarization of single nuclear spins by optical pumping of nitrogen-vacancy color centers in diamond at room temperature.

*Phys. Rev. Lett.***102**, 057403 (2009).Gulka, M. et al. Room-temperature control and electrical readout of individual nitrogen-vacancy nuclear spins.

*Nat. Commun.***12**, 4421 (2021).Li, X. et al. Enhancement of the second harmonic generation from WS

_{2}monolayers by cooperating with dielectric microspheres.*Adv. Opt. Mater.***7**, 1801270 (2019).Wang, S. et al. Coherent coupling of WS

_{2}monolayers with metallic photonic nanostructures at room temperature.*Nano Lett.***16**, 4368–4374 (2016).Epstein, I. et al. Near-unity light absorption in a monolayer WS

_{2}van der Waals heterostructure cavity.*Nano Lett.***20**, 3545–3552 (2020).Kresse, G. & Furthmüller, J. Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set.

*Comput. Mater. Sci.***6**, 15–50 (1996).Kresse, G. & Furthmüller, J. Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set.

*Phys. Rev. B***54**, 11169 (1996).Blöchl, P. E. Projector augmented-wave method.

*Phys. Rev. B***50**, 17953 (1994).Kresse, G. & Joubert, D. From ultrasoft pseudopotentials to the projector augmented-wave method.

*Phys. Rev. B***59**, 1758 (1999).Heyd, J., Scuseria, G. E. & Ernzerhof, M. Hybrid functionals based on a screened coulomb potential.

*J. Chem. Phys.***118**, 8207–8215 (2003).Paier, J. et al. Screened hybrid density functionals applied to solids.

*J. Chem. Phys.***124**, 154709 (2006).Zhu, B., Chen, X. & Cui, X. Exciton binding energy of monolayer WS

_{2}.*Sci. Rep.***5**, 1–5 (2015).Ramasubramaniam, A. Large excitonic effects in monolayers of molybdenum and tungsten dichalcogenides.

*Phys. Rev. B***86**, 115409 (2012).Wang, H. et al. The role of collective motion in the ultrafast charge transfer in van der waals heterostructures.

*Nat. Commun.***7**, 11504 (2016).Gali, A., Janzén, E., Deák, P., Kresse, G. & Kaxiras, E. Theory of spin-conserving excitation of the N-V center in diamond.

*Phys. Rev. Lett.***103**, 186404 (2009).Refaely-Abramson, S., Qiu, D. Y., Louie, S. G. & Neaton, J. B. Defect-induced modification of low-lying excitons and valley selectivity in monolayer transition metal dichalcogenides.

*Phys. Rev. Lett.***121**, 167402 (2018).Mitterreiter, E. et al. The role of chalcogen vacancies for atomic defect emission in MoS

_{2}.*Nat. Commun.***12**, 3822 (2021).Thygesen, K. S. Calculating excitons, plasmons, and quasiparticles in 2D materials and van der Waals heterostructures.

*2D Materials***4**, 022004 (2017).Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized Gradient Approximation Made Simple.

*Phys. Rev. Lett.***77**, 3865–3868 (1996).Freysoldt, C. & Neugebauer, J. First-principles calculations for charged defects at surfaces, interfaces, and two-dimensional materials in the presence of electric fields.

*Phys. Rev. B***97**, 205425 (2018).da Silva, M. C. et al. Self-consistent potential correction for charged periodic systems.

*Phys. Rev. Lett.***126**, 076401 (2021).Turiansky, M. E. et al. Nonrad: Computing nonradiative capture coefficients from first principles.

*Comput. Phys. Commun.***267**, 108056 (2021).

## Acknowledgements

A.G. acknowledges the Hungarian NKFIH grant No. KKP129866 of the National Excellence Program of Quantum-coherent materials project and the support for the Quantum Information National Laboratory from the Ministry of Innovation and Technology of Hungary, and the EU H2020 Quantum Technology Flagship project ASTERIQS (Grant No. 820394).

## Funding

Open access funding provided by ELKH Wigner Research Centre for Physics.

## Author information

### Authors and Affiliations

### Contributions

S.L. carried out the DFT calculations under the supervision of A.G., P.U., G.T. and V.I. developed and applied the electron-phonon coupling theory on the defect under the supervision of A.G. All authors contributed to the discussion and writing the manuscript. A.G. conceived and led the entire scientific project.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Peer review

### Peer review information

*Nature Communications* thanks Yuan Ping, and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

## Additional information

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

## Supplementary information

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Li, S., Thiering, G., Udvarhelyi, P. *et al.* Carbon defect qubit in two-dimensional WS_{2}.
*Nat Commun* **13**, 1210 (2022). https://doi.org/10.1038/s41467-022-28876-7

Received:

Accepted:

Published:

DOI: https://doi.org/10.1038/s41467-022-28876-7

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.