Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Entanglement of dark electron-nuclear spin defects in diamond

## Abstract

A promising approach for multi-qubit quantum registers is to use optically addressable spins to control multiple dark electron-spin defects in the environment. While recent experiments have observed signatures of coherent interactions with such dark spins, it is an open challenge to realize the individual control required for quantum information processing. Here, we demonstrate the heralded initialisation, control and entanglement of individual dark spins associated to multiple P1 centers, which are part of a spin bath surrounding a nitrogen-vacancy center in diamond. We realize projective measurements to prepare the multiple degrees of freedom of P1 centers—their Jahn-Teller axis, nuclear spin and charge state—and exploit these to selectively access multiple P1s in the bath. We develop control and single-shot readout of the nuclear and electron spin, and use this to demonstrate an entangled state of two P1 centers. These results provide a proof-of-principle towards using dark electron-nuclear spin defects as qubits for quantum sensing, computation and networks.

## Introduction

Optically active defects in solids provide promising qubits for quantum sensing1, quantum-information processing2,3,4, quantum simulations5,6, and quantum networks7,8,9. These defects, including the nitrogen-vacancy (NV) and silicon-vacancy (SiV) centers in diamond and various defects in silicon-carbide10,11,12, combine long spin coherence times4,13,14,15,16,17,18, high-quality control and readout2,3,4,14,19,20,21, and a coherent optical interface7,8,9,15,19,22.

Larger-scale systems can be realized by entangling multiple defects together through long-range optical network links7,8,9 and through direct magnetic coupling, as demonstrated for a pair of ion-implanted NV centers23,24. The number of available spins can be further extended by controlling nuclear spins in the vicinity. Multi-qubit quantum registers4,24,25,26,27, quantum error correction2,3, enhanced sensing schemes28, and entanglement distillation29 have been realized using nuclear spins.

The ability to additionally control dark electron–spin defects that cannot be directly detected optically would open new opportunities. Examples are studying single defect dynamics30, extended quantum registers, enhanced sensing protocols28,31,32, and spin chains for quantum computation architectures33,34,35,36. Two pioneering experiments reported signals consistent with an NV center coupled to a single P1 center (a dark substitutional nitrogen defect)37,38, but the absence of the expected P1 electron–spin resonance signal39 and later results revealing identical signals due to NV–13C couplings in combination with an excited state anti-crossing40, make these assignments inconclusive. Recent experiments have revealed signatures of coherent interactions between NV centers and individual dark electron-spin defects, including P1 centers41,42,43, N2 centers44, and not-yet-assigned defects31,45,46,47,48,49. Those results have revealed the prospect of using dark spin defects as qubits. However, high-quality initialization, measurement, and control of multi-qubit quantum states is required to exploit such spins as a quantum resource.

Here, we demonstrate the control and entanglement of individual P1 centers that are part of a bath surrounding an NV center in diamond (Fig. 1a). A key property of the P1 center is that, in addition to its electron spin, it exhibits three extra degrees of freedom: the Jahn–Teller axis, a nuclear spin, and the charge state50,51,52. Underlying our selective control of individual centers is the heralded preparation of specific configurations of these additional degrees of freedom for multiple P1 centers through projective measurements. In contrast, all previous experiments averaged over these additional degrees of freedom41,42,53. We use this capability to develop initialization, single-shot readout, and control of the electron and nuclear spin states of multiple P1s, and investigate their spin relaxation and coherence times. Finally, we demonstrate the potential of these dark spins as a qubit platform by realizing an entangled state between two P1 electron spins through their direct magnetic–dipole coupling.

## Results

### A spin bath with multiple degrees of freedom

We consider a bath of P1 centers surrounding a single NV center at 3.3 K (Fig. 1a). The diamond is isotopically purified with an estimated 13C concentration of 0.01%. The P1 concentration is estimated to be ~75 ppb (see Supplementary Note 5). Three P1 charge states are known51,52. The experiments in this work detect the neutral charge state and do not generate a signal for the positive and negative charge states. In addition to an electron spin (S = 1/2), the P1 center exhibits a 14N nuclear spin (I = 1, 99.6% natural abundance) and a Jahn–Teller (JT) distortion, which results in four possible symmetry axes due to the elongation of one of the four N–C bonds54. Both the 14N state and the JT axis generally fluctuate over time55,56,57. The Hamiltonian for a single neutrally charged P1 defect in one of the four JT axes i {A, B, C, D} is50

$${H}_{{\bf{i}},\text{P1}}={\gamma }_{e}{\bf{B}}\cdot {\bf{S}}+{\gamma }_{n}{\bf{B}}\cdot {\bf{I}}+{\bf{I}}\cdot {\hat{{\bf{P}}}}_{{\bf{i}}}\cdot {\bf{I}}+{\bf{S}}\cdot {\hat{{\bf{A}}}}_{{\bf{i}}}\cdot {\bf{I}},$$
(1)

where γe (γn) is the electron (14N) gyromagnetic ratio, B the external magnetic field vector, S and I are the electron spin-1/2 and nuclear spin-1 operator vectors, and $${\hat{{\bf{A}}}}_{{\bf{i}}}$$ ($${\hat{{\bf{P}}}}_{{\bf{i}}}$$) the hyperfine (quadrupole) tensor. We label the 14N (mI − 1, 0, + 1) and JT states as $$\left|{m}_{I},i\right\rangle$$, and the electron spin states as $$\left|\uparrow \right\rangle$$ and $$\left|\downarrow \right\rangle$$. For convenience, we use the spin eigenstates as labels, while the actual eigenstates are, to some extent, mixtures of the 14N and electron spin states.

We probe the bath surrounding the NV by double electron–electron resonance (DEER) spectroscopy41,42,45,47,53. The DEER sequence consists of a spin-echo on the NV electron spin, which decouples it from the environment, plus a simultaneous π-pulse that selectively recouples resonant P1 centers. Figure 1b reveals a complex spectrum. The degeneracy of three of the JT axes is lifted by a purposely slightly tilted magnetic field with respect to the NV axis (θ ≈ 4°). In combination with the long P1 dephasing time ($${T}_{2}^{* } \sim \,50\,$$ µs, see below) this enables us to resolve all 12 main P1 electron–spin transitions—for four JT axes and three 14N states—and selectively address at least one transition for each JT axis.

Several additional transitions are visible due to the mixing of the electron and nuclear spin in the used magnetic field regime (γeB ~ A, A). We select 11 well-isolated transitions to fit the P1 Hamiltonian parameters and obtain {A, A, P} = {114.0264(9), 81.312(1), − 3.9770(9)} MHz and B = {2.437(2), 1.703(1), 45.5553(5)} G (Supplementary Note 4), closely matching ensemble ESR measurements58. The experimental spectrum is well described by the 60 P1 transitions for these parameters. No signal is observed at the bare electron Larmor frequency (≈128 MHz), confirming that the P1 centers form the dominant electron spin bath.

To probe the coupling strength of the P1 bath to the NV, we sweep the interaction time in the DEER sequences (Fig. 1c). The curves for the different $$\left|+1,i\right\rangle$$ states show oscillatory features, providing a first indication of an underlying microscopic structure of the P1 bath. However, like all previous experiments41,42,53, these measurements are a complex averaging over 14N, JT, and charge states for all the P1 centers, which obscures the underlying structure and hinders control over individual spins.

### Detecting and preparing single P1 centers

To investigate the microscopic structure of the bath we repeatedly apply the DEER sequence and analyze the correlations in the measurement outcomes30. Figure 2a shows a typical time trace for continuous measurements, in which groups of K = 820 measurements are binned together (see Fig. 2b for the sequence). We observe discrete jumps in the signal that indicate individual P1 centers jumping in and out of the $$\left|+1,{\rm{D}}\right\rangle$$ state. The resulting histogram (Fig. 2a) reveals multiple discrete peaks that indicate several P1 centers with different coupling strengths to the NV center, as schematically illustrated in Fig. 2c. We tentatively assign four P1 centers S1, S2, S3 and S4 to these peaks.

We verify whether these peaks originate from single P1 centers by performing cross-correlation measurements. We first apply a DEER measurement on $$\left|+1,{\rm{D}}\right\rangle$$ followed by a measurement on $$\left|+1,{\rm{A}}\right\rangle$$ (Fig. 2d). For a single P1, observing it in $$\left|+1,{\rm{D}}\right\rangle$$ would make it unlikely to subsequently also find it in state $$\left|+1,{\rm{A}}\right\rangle$$. We observe three regions of such anti-correlation (red rectangles in Fig. 2d). We define the correlation

$$C=\frac{{\rm{P}}\left(N_{\rm{A}}^{\min }\le N_{\left|+1,{\rm{A}}\right\rangle }\le N_{\rm{A}}^{\max }|N_{\rm{D}}^{\min }\le N_{\left|+1,{\rm{D}}\right\rangle }\le N_{\rm{D}}^{\max}\right)}{{\rm{P}}({N}_{{\rm{A}}}^{\min }\le {N}_{\left|+1,{\rm{A}}\right\rangle }\le {N}_{{\rm{A}}}^{\max })},$$
(2)

where $${N}_{{\rm{A}}}^{\min }$$, $${N}_{{\rm{A}}}^{\max }$$, $${N}_{{\rm{D}}}^{\min }$$, and $${N}_{{\rm{D}}}^{\max }$$ define the region, and where P(X) is the probability that X is satisfied. Assuming that the states of different P1 centers are uncorrelated, a value C < 0.5 indicates that the signal observed in both the DEER sequences on $$\left|+1,{\rm{A}}\right\rangle$$ and $$\left|+1,{\rm{D}}\right\rangle$$ is associated to a single P1 center, while C < 2/3 indicates 1 or 2 centers (Supplementary Note 8).

For the three areas, we find C = 0.40(5), 0.22(4), and 0.47(5) for S1, S2 and S3/S4, respectively. These correlations corroborate the assignments of a single P1 to both S1 and S2 and one or two P1s for S3/S4 (the result is within one standard deviation from 0.5). In addition, these results reveal which signals for different $$\left|+1,i\right\rangle$$ states belong to which P1 centers. This is nontrivial because the NV–P1 dipolar coupling varies with the JT axis, as exemplified in Fig. 2d (see Supplementary Note 3 for a theoretical treatment).

Next, we develop single-shot readout and heralded initialization of the 14N and JT state of individual P1 centers. For this, we represent the time trace data (Fig. 2a) as a correlation plot between subsequent measurements k and k + 1 (Fig. 2e)59,60,61. We bin the outcomes using K = 820 repetitions, where K is chosen as a trade-off between the ability to distinguish S1 from S2 and the disturbance of the state due to the repeated measurements (1/e value of ~1.5 × 104 repetitions, see Supplementary Note 6). Separated regions are observed for the different P1 centers. Therefore, by setting threshold conditions, one can use the DEER measurement as a projective measurement to initialize or readout the $$\left|{m}_{I},i\right\rangle$$ state of selected P1 centers, which we illustrate for S1.

First, we set an initialization condition N(k) > NS1 (blue dashed line) to herald that S1 is initialized in the $$\left|+1,{\rm{D}}\right\rangle$$ state and that S2, S3/S4 are not in that state. We use N(k) ≤ NnotS1 to prepare a mixture of all other other possibilities. The resulting conditional probability distributions of N(k + 1) are shown in Fig. 2f. Second, we set a threshold for state readout NRO to distinguish between the two cases. We then optimize NS1 for the trade-off between the success rate and signal contrast, and find a combined initialization and readout fidelity F = 0.96(1) (see “Methods”). Other states can be prepared and read out by setting different conditions (Supplementary Note 8).

### Control of the electron and nuclear spin

To control the electron spin of individual P1 centers, we first determine the effective dipolar NV–P1 coupling. We prepare, for instance, S1 in $$\left|+1,{\rm{D}}\right\rangle$$ and perform a DEER measurement in which we sweep the interaction time (Fig. 3a). By doing so, we selectively couple the NV to S1, while decoupling it from S2 and S3/S4, as well as from all bath spins that are not in $$\left|+1,{\rm{D}}\right\rangle$$. By applying this method we find effective dipolar coupling constants ν of 2π 1.910(5), 2π 1.563(6) and 2π 1.012(8) kHz for S1, S2 and S3/S4, respectively. Note that, if the signal for S3/S4 originates from two P1 centers, the initialization sequence prepares either S3 or S4 in each repetition of the experiment.

We initialize and measure the electron spin state of the P1 centers through a sequence with a modified readout axis that we label DEER(y) (Fig. 3b). Unlike the DEER sequence, this sequence is sensitive to the P1 electron spin state. After initializing the charge, nuclear spin and JT axis, and setting the interaction time τ ≈ π/(2 ν), the DEER(y) sequence projectively measures the spin state of a selected P1 center (Fig. 3c). We first characterize the P1 electron spin relaxation under repeated application of the measurement and find a 1/e value of ~250 repetitions (Supplementary Note 6). We then optimize the number of repetitions and the initialization and readout thresholds to obtain a combined initialization and single-shot readout fidelity for the S1 electron spin of $${F}_{\left|\uparrow \right\rangle /\left|\downarrow \right\rangle }$$ = 0.95(1) (Fig. 3d).

We now show that we can coherently control the P1 nitrogen nuclear spin (Fig. 4a). To speed up the experiment, we choose a shorter initialization sequence that prepares either S1 or S2 in the $$\left|+1,{\rm{D}}\right\rangle$$ state (K = 420, “Methods”). We then apply a radio-frequency (RF) pulse that is resonant with the mI = +1 ↔ 0 transition if the electron spin is in the $$\left|\uparrow \right\rangle$$ state. Varying the RF pulse length reveals a coherent Rabi oscillation. Because the P1 electron spin is not polarized, the RF pulse is on resonance 50% of the time and the amplitude of the Rabi oscillation is half its maximum.

We use the combined control over the electron and nuclear spin to determine the sign of the NV–P1 couplings (Fig. 4b). First, we initialize the 14N, JT axis and electron spin state of a P1 center. Because the DEER(y) sequence is sensitive to the sign of the coupling (Fig. 3c), the sign affects whether the P1 electron spin is prepared in $$\left|\uparrow \right\rangle$$ or $$\left|\downarrow \right\rangle$$. Second, we measure the P1 electron spin through the 14N nuclear spin. We apply an RF pulse, which implements an electron-controlled CNOT gate on the nuclear spin (see Fig. 4a). Subsequently reading out the 14N spin reveals the electron spin state and therefore the sign of the NV–P1 coupling. We plot the normalized difference R (“Methods”) for two different initialization sequences that prepare the electron spin in opposite states. The results show that the NV–P1 coupling is positive for the cases of S1 and S3/S4, but negative for S2 (Fig. 4b). If S3/S4 consists of two P1 centers, then they have the same coupling sign to the NV.

### Spin coherence and relaxation

To assess the potential of P1 centers as qubits, we measure their coherence times. First, we investigate the relaxation times. We prepare either S1 or S2 in $$\left|+1,{\rm{D}}\right\rangle$$, the NV electron spin in ms = 0, and vary the waiting time t before reading out the same state (Fig. 5a). This sequence measures the relaxation of a combination of the nitrogen nuclear spin state, JT axis and charge state, averaged over S1 and S2. An exponential fit gives a relaxation time of $${T}_{\left|+1,{\rm{D}}\right\rangle }$$ = 40(4) s (Fig. 5b, green).

We measure the longitudinal relaxation of the electron spin by preparing either $$\left|\uparrow \right\rangle$$ (S1) or $$\left|\downarrow \right\rangle$$ (S2) (Fig. 5a). We post-select on the $$\left|+1,{\rm{D}}\right\rangle$$ state at the end of the sequence to exclude effects due to relaxation from $$\left|+1,{\rm{D}}\right\rangle$$, and find T1e = 21(7) s. The observed electron spin relaxation time is longer than expected from the typical P1–P1 couplings in the bath (order of 1 kHz). A potential explanation is that flip-flops are suppressed due to couplings to neighboring P1 centers, which our heralding protocol preferentially prepares in other $$\left|{m}_{I},i\right\rangle$$ states. Below, we will show that S1 and S2 have a strong mutual coupling, which could shift them off-resonance from the rest of the bath.

Second, we investigate the electron and nitrogen nuclear spin coherence via Ramsey and spin-echo experiments (Fig. 5c, d). We find $${T}_{2{\rm{e}}}^{* }$$ = 50(3) μs and T2e = 1.00(4) ms for the electron spin, and $${T}_{2{\rm{N}}}^{* }$$ = 0.201(9) ms and T2N = 4.2(2) ms for the nitrogen nuclear spin. The ratio of dephasing times for the electron and nitrogen nuclear spins is ~4, while the difference in bare gyromagnetic ratios is a factor ~9000. The difference is partially explained by electron-nuclear spin mixing due to the large value of A, which changes the effective gyromagnetic ratios of the nitrogen nuclear spin and electron spin. Based on this, a ratio of dephasing times of 12.6 is expected (see Supplementary Note 13). The remaining additional decoherence of the nitrogen nuclear spin is currently not understood.

The electron Ramsey experiment shows a beating frequency of 21.5(1) kHz (Fig. 5d). As the data is an average over S1 and S2, this suggests an interaction between these two P1 centers. Note that, whilst the signal is expected to contain 11 frequencies due to the different Jahn–Teller and nitrogen nuclear spin state combinations, the observation of a single beating frequency indicates that these are not resolved. Next, we will confirm this hypothesis and use the coupling between S1 and S2 to demonstrate an entangled state of two P1 centers.

### Entanglement of two dark electron spins

Thus far we have shown selective initialization, control and single-shot readout of individual P1 centers within the bath. We now combine all these results to realize coherent interactions and entanglement between the electron spins of two P1 centers.

We first sequentially initialize both P1 centers (Fig. 6a). To overcome the small probability for both P1 centers to be in the desired state, we use fast logic to identify failed attempts in real-time and actively reset the states (“Methods”). We prepare S1 in the $$\left|+1,{\rm{D}}\right\rangle$$ state and S2 in the $$\left|+1,{\rm{A}}\right\rangle$$ state. By initializing the two P1 centers in these different states, we ensure that the spin transitions are strongly detuned, so that mutual flip-flops are suppressed and the interaction is effectively of the form SzSz. We then sequentially initialize both electron spins to obtain the initial state $${\left|\uparrow \right\rangle }_{{\rm{S}}1}{\left|\downarrow \right\rangle }_{S{\rm{2}}}$$. As consecutive measurements can disturb the previously prepared degrees of freedom, the number of repetitions in each step is optimized for high total initialization fidelity and success rate (Supplementary Note 15C).

Next, we characterize the dipolar coupling J between S1 and S2 (Fig. 6b). We apply two π/2 pulses to prepare both spins in a superposition. We then apply simultaneous echo pulses on each spin. This double echo sequence decouples the spins from all P1s that are not in $$\left|+1,{\rm{D}}\right\rangle$$ or $$\left|+1,{\rm{A}}\right\rangle$$, as well as from the 13C nuclear spin bath and other noise sources. This way, the coherence of both spins is extended from $${T}_{2}^{* }$$ to T2, while their mutual interaction is maintained. We determine the coupling J by letting the spins evolve and measuring 〈XZ〉 as a function of the interaction time 2t through a consecutive measurement of both electron spins (Fig. 6b). From this curve we extract a dipolar coupling J = −2π 17.8(5) kHz between S1 in $$\left|+1,{\rm{D}}\right\rangle$$ and S2 in $$\left|+1,{\rm{A}}\right\rangle$$.

Finally, we create an entangled state of S1 and S2 using the sequence in Fig. 6a. We set the interaction time 2t = π/J so that a 2-qubit CPHASE gate is performed. The final state is (see Supplementary Note 14)

$$\left|{{\Psi }}\right\rangle =\frac{{\left|\uparrow \right\rangle }_{{\rm{S}}1}{\left|-\right\rangle }_{{\rm{S2}}}+{\left|\downarrow \right\rangle }_{{\rm{S}}1}{\left|+\right\rangle }_{{\rm{S}}2}}{\sqrt{2}},$$
(3)

with $$\left|\pm \right\rangle$$ = $$\frac{\left|\uparrow \right\rangle \pm \left|\downarrow \right\rangle }{\sqrt{2}}$$. We then perform full two-qubit state tomography and reconstruct the density matrix as shown in Fig. 6c. The resulting state fidelity with the ideal state is F = (1 + 〈XZ〉 − 〈ZX〉 − 〈YY〉)/4 = 0.81(5). The fact that F > 0.5 is a witness for two-qubit entanglement62. The coherence time during the echo sequence (~700 μs, see “Methods”) is long compared to π/J (~28 μs), and thus the dephasing during the 2-qubit gate is estimated to be at most 2%. Therefore we expect the main sources of infidelity to be the final sequential single-shot readout of the two-electron spin states—no readout correction is made—and the sequential initialization of the two-electron spins (Supplementary Note 15).

## Discussion

In conclusion, we have developed initialization, control, single-shot readout, and entanglement of multiple individual P1 centers that are part of a bath surrounding an NV center. These results establish the P1 center as a promising qubit platform. Our methods to control individual dark spins can enable enhanced sensing schemes based on entanglement28,31,32, as well as electron spin chains for quantum computation architectures33,34,35,36. Larger quantum registers might be formed by using P1 centers to control nearby 13C nuclear spins with recently developed quantum gates4. Such nuclear spin qubits are connected to the optically active defect only indirectly through the P1 electron spin and could provide isolated robust quantum memories for quantum networks63. Finally, these results create new opportunities to investigate the physics of decoherence, spin diffusion, and Jahn–Teller dynamics30 in complex spin baths with control over the microscopic single-spin dynamics.

## Methods

### Sample

We use a single NV center in a homoepitaxially chemical-vapor-deposition (CVD) grown diamond with a 〈100〉 crystal orientation (Element Six). The diamond is isotopically purified to an approximate 0.01% abundance of 13C. The nitrogen concentration is ~75 parts per billion, see Supplementary Note 5. To enhance the collection efficiency a solid-immersion lens was fabricated on top of the NV center64,65 and a single-layer aluminum-oxide anti-reflection coating was deposited66,67.

### Setup

The experiments are performed at 3.3 K (Montana Cryostation) with the magnetic field B applied using three permanent magnets on motorized linear translation stages (UTS100PP) outside of the cryostat housing. We realize a long relaxation time for the NV electron spin (T1 > 30 s) in combination with fast NV spin operations (peak Rabi frequency ~26 MHz) and readout/initialization (~40 μs/100 μs), by minimizing noise and background from the microwave and optical controls13. Amplifier (AR 20S1G4) noise is suppressed by a fast microwave switch (TriQuint TGS2355-SM). Video leakage noise generated by the switch is filtered with a high pass filter.

### Error analysis

The data presented in this work is either a probability derived from the measurements, the mean of a distribution, or a quantity derived from those. For probabilities, a binomial error analysis is used, where p is the probability and $$\sigma =\sqrt{p\cdot (1-p)/Q}$$, Q being the number of measured binary values. For the mean μ of a distribution, σμ is calculated as $$\sigma /\sqrt{Q}$$, where σ is the square root average of the squared deviations from the mean and Q is the number of measurements. Uncertainties on all quantities derived from a probability or a mean are calculated using error propagation.

### NV spin control and readout

We use Hermite pulse envelopes68,69 to obtain effective microwave pulses without initialization of the intrinsic 14N nuclear spin of the NV. We initialize and read out the NV electron spin through spin selective resonant excitation (F = 0.850(5))64. Laser pulses are generated by acoustic optical modulators (637 nm Toptica DL Pro, for spin pumping and New Focus TLB-6704-P for single-shot spin readout) or by direct current modulation (515 nm laser, Cobolt MLD—for charge state control, and scrambling the P1 center state, see Supplementary Note 7). We place two modulators in series (Gooch and Housego Fiber Q) for an improved on/off ratio for the 637 nm lasers.

### Magnetic field stabilization

During several of the experiments, we actively stabilize the magnetic field via a feedback loop to one of the translation stages. The feedback signal is obtained from interleaved measurements of the NV $$\left|0\right\rangle \leftrightarrow \left|-1\right\rangle$$ transition frequency. We use the P1 bath as a three-axis magnetometer to verify the stability of the magnetic field during this protocol (see Supplementary Note 11), and find a magnetic field that is stable to <3 mG along z and <20 mG along the x, y directions.

### Heralded initialization protocols

Initialization of the P1 14N spin, JT axis, charge, and electron spin states is achieved by heralded preparation. Before starting an experimental sequence, we perform a set of measurements that, given certain outcomes, signals that the system is in the desired state.

A challenge is that the probability for the system to be in a given desired state is low, especially in experiments with multiple P1 centers (e.g., Fig. 6). We realize fast initialization by combining the heralded preparation with fast logic (ADwin-Pro II) to identify unsuccessful attempts in real-time and then actively reset the system to a random state. This way each step is performed only if all previous steps were successful, and one avoids being trapped in an undesired state.

To reset the P1 centers to a random state, we use photoexcitation70 of the P1s. We apply a ~5 μs 515 nm laser pulse to scramble the 14N, JT, and charge states of P1 centers. See Supplementary Note 7 for details and the optimization procedure.

The most time-consuming step is the selective initialization of the Jahn-Teller and 14N spin states, as K = 820 repetitions are required to distinguish the signals from the P1 centers (S1, S2 and S3/S4). However, cases for which none of these P1 centers are in the desired state can be identified already after a few repetitions (Supplementary Note 7). So after K = 5 repetitions we infer the likelihood for the desired configuration and use fast logic to determine whether to apply a new optical reset pulse or continue with the full sequence (K = 820). This procedure significantly speeds up the experiments (Supplementary Note 7). For creating the entangled state (Fig. 6) we use a more extensive procedure, which is detailed in Supplementary Note 15C.

In the experiments in Figs. 4a and 5, we take an alternative approach to speed up the experiments by using a shorter initialization sequence (K = 420) that does not distinguish between S1 and S2. Such a sequence prepares either S1 or S2, and the resulting data is an average over the two cases. Note that this method cannot be used in experiments where a selective initialization is required (e.g., Fig. 3, Fig. 4b, Fig. 6).

The optimization of the heralded initialization fidelities is discussed in Supplementary Note 15.

### Initialization and single-shot readout fidelity

We define the combined initialization and readout fidelity for S1 in $$\left|+1,{\rm{D}}\right\rangle$$ and S2, S3/S4 not in that state as

$${F}_{{\rm{S}}1}={\rm{P}}({\rm{N}}(k+1)\, > \, {N}_{{\rm{RO}}}| {\rm{N}}(k)\, > \, {N}_{{\rm{S}}1}),$$
(4)

whereas for a mixture of all other possibilities we define

$${F}_{{\rm{notS}}1}={\rm{P}}({\rm{N}}(k+1)\le {N}_{{\rm{RO}}}| {\rm{N}}(k)\le {N}_{{\rm{notS1}}}).$$
(5)

In both cases P(XY) is the probability to obtain X given Y. We then take the average fidelity of these two cases:

$$F=\frac{{F}_{{\rm{S}}1}+{F}_{{\rm{notS}}1}}{2}.$$
(6)

We initialize and measure the electron spin state of P1 centers through a DEER(y) sequence following the initialization of the $$\left|+1,{\rm{D}}\right\rangle$$ state. Similarly, we use the correlation of consecutive measurements M(k) and M(k + 1) to determine the combined initialization and readout fidelity $${F}_{\left|\uparrow \right\rangle /\left|\downarrow \right\rangle }$$. First, we define the fidelity for $$\left|\uparrow \right\rangle$$ as

$${F}_{\left|\uparrow \right\rangle }={\rm{P}}({\rm{M}}(k+1)> {M}_{{\rm{RO}}}| {\rm{M}}(k)> {M}_{\left|\uparrow \right\rangle }),$$
(7)

and the fidelity for $$\left|\downarrow \right\rangle$$ as

$${F}_{\left|\downarrow \right\rangle }={\rm{P}}({\rm{M}}(k+1)\le {M}_{{\rm{RO}}}| {\rm{M}}(k)\le {M}_{\left|\downarrow \right\rangle }).$$
(8)

Finally, the average combined initialization and readout fidelity is given as

$${F}_{\left|\uparrow \right\rangle /\left|\downarrow \right\rangle }=\frac{{F}_{\left|\uparrow \right\rangle }+{F}_{\left|\downarrow \right\rangle }}{2}.$$
(9)

For a description of the optimization of the single-shot readout fidelities, we refer to Supplementary Note 15.

### Data analysis

The DEER measurements in Fig. 1c are fitted to

$${a}_{0}+{A}_{0}\cdot {\rm{Exp}}[-{(2\tau /{T}_{2,{\rm{DEER}}})}^{2}]\cdot (1+{B}_{0}\cos (\omega \cdot \tau ))$$
(10)

from which we find T2,DEER of 0.767(6), 0.756(7), 0.802(6), and 0.803(5) ms for $$\left|+1,{\rm{A}}\right\rangle$$, $$\left|+1,{\rm{B}}\right\rangle$$, $$\left|+1,{\rm{C}}\right\rangle$$, and $$\left|+1,{\rm{D}}\right\rangle$$, respectively. The obtained values for ω are 2π 2.12(5), 2π 2.14(3), and 2π 2.78(6) kHz with corresponding amplitudes B0 of 0.105(5), 0.218(7), and 0.073(4) for $$\left|+1,{\rm{A}}\right\rangle$$, $$\left|+1,{\rm{B}}\right\rangle$$, and $$\left|+1,{\rm{C}}\right\rangle$$, respectively. For $$\left|+1,{\rm{D}}\right\rangle$$ we fix B0 = 0.

The DEER measurements with P1 initialization (Fig. 3a) and the P1 nitrogen nuclear spin Ramsey (Fig. 5c) are fitted to

$${A}_{1}\cdot {e}^{-{(t/T)}^{2}}(\cos (\nu \cdot t/2))+{a}_{1}.$$
(11)

For the dephasing time during the DEER sequence (here t = 2τ) we find T = 0.893(5), 0.763(8), and 0.790(8) ms for S1, S2 and S3/S4, respectively. The obtained respective dipolar coupling constants ν are 2π 1.894(3), 2π 1.572(6), and 2π 1.001(6) kHz. For the P1 nitrogen nuclear spin Ramsey we find a dephasing time of T = $${T}_{2{\rm{N}}}^{* }$$ = 0.201(9) ms.

Spin-echo experiments (Fig. 1c and Fig. 5) are fitted to

$${A}_{2}\cdot {e}^{-{(t/T)}^{n}}+{a}_{2}.$$
(12)

For the NV spin-echo (Fig. 1c), T = T2 = 0.992(4) ms with n = 3.91(7). For the P1 nitrogen nuclear spin and electron (insets of Fig. 5c, d) T is T2N = 4.2(2) ms or T2e = 1.00(4) ms with the exponents n = 3.9(8) and n = 3.1(5), respectively.

The Ramsey signal for the P1 electron spin in Fig. 5d is fitted to a sum of two frequencies with a Gaussian decay according to

$${a}_{3}+{e}^{-{(t/{T}_{2,e}^{* })}^{2}}\cdot \mathop{\sum }\limits_{j=1}^{2}({A}_{j}\cos (\,({f}_{\det }+{(-1)}^{\, j}\,{f}_{b}/2)t+{\phi }_{j}))/2,$$
(13)

which gives a beating frequency fb = 2π 21.5(5) kHz.

The value R (Fig. 4b) is defined as

$$R=\frac{{P}_{(+y)}-{P}_{(-y)}}{{P}_{(+y)}+{P}_{(-y)}},$$
(14)

where P(+y) (P(−y)) is the probability to read out the 14N spin in the mI = +1 state when using a +y (−y) readout basis in the DEER(y) sequence used to initialize the electron spin (Fig. 4b, see Supplementary Note 9).

### Two-qubit gate fidelity

We estimate the dephasing during the two-qubit CPHASE gate in Fig. 6 by extrapolation of the measured P1 electron T2e = 1.00(4) ms for a single spin-echo pulse (decoupled from all spins except those in $$\left|+1,{\rm{D}}\right\rangle$$). We use the scaling $${T}_{2}\propto 1/\sqrt{\langle {n}_{{\rm{spins}}}\rangle }$$ with 〈nspins〉 the average number of spins coupled to during the measurement53. The two-qubit gate is implemented by a double echo and the two P1s are thus not decoupled from spins in $$\left|+1,{\rm{D}}\right\rangle$$ and $$\left|+1,{\rm{A}}\right\rangle$$, resulting in $${T}_{2} \sim {T}_{2e}/\sqrt{2}\approx$$ 700 μs. Assuming the same decay curve as for T2e (n = 3.1) this implies a loss of fidelity due to dephasing of ~0.4%. For a Gaussian decay (n = 2) the infidelity would be ~2%.

## Data availability

The data and code underlying the figures of this research article are available online through https://doi.org/10.4121/14376611.

## References

1. 1.

Degen, C. L., Reinhard, F. & Cappellaro, P. Quantum sensing. Rev. Mod. Phys. 89, 035002 (2017).

2. 2.

Waldherr, G. et al. Quantum error correction in a solid-state hybrid spin register. Nature 506, 204–207 (2014).

3. 3.

Cramer, J. et al. Repeated quantum error correction on a continuously encoded qubit by real-time feedback. Nat. Commun. 7, 1–7 (2016).

4. 4.

Bradley, C. et al. A ten-qubit solid-state spin register with quantum memory up to one minute. Phys. Rev. X 9, 031045 (2019).

5. 5.

Cai, J., Retzker, A., Jelezko, F. & Plenio, M. B. A large-scale quantum simulator on a diamond surface at room temperature. Nat. Phys. 9, 168–173 (2013).

6. 6.

Wang, Y. et al. Quantum simulation of helium hydride cation in a solid-state spin register. ACS Nano 9, 7769–7774 (2015).

7. 7.

Bernien, H. et al. Heralded entanglement between solid-state qubits separated by three metres. Nature 497, 86–90 (2013).

8. 8.

Hensen, B. et al. Loophole-free bell inequality violation using electron spins separated by 1.3 kilometres. Nature 526, 682–686 (2015).

9. 9.

Sipahigil, A. et al. An integrated diamond nanophotonics platform for quantum-optical networks. Science 354, 847–850 (2016).

10. 10.

Awschalom, D. D., Hanson, R., Wrachtrup, J. & Zhou, B. B. Quantum technologies with optically interfaced solid-state spins. Nat. Photonics 12, 516–527 (2018).

11. 11.

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).

12. 12.

Castelletto, S. & Boretti, A. Silicon carbide color centers for quantum applications. J. Phys. Photonics 2, 022001 (2020).

13. 13.

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

14. 14.

Sukachev, D. D. et al. Silicon-vacancy spin qubit in diamond: a quantum memory exceeding 10 ms with single-shot state readout. Phys. Rev. Lett. 119, 223602 (2017).

15. 15.

Rose, B. C. et al. Observation of an environmentally insensitive solid-state spin defect in diamond. Science 361, 60–63 (2018).

16. 16.

Nagy, R. et al. Quantum properties of dichroic silicon vacancies in silicon carbide. Phys. Rev. Appl. 9, 034022 (2018).

17. 17.

Simin, D. et al. Locking of electron spin coherence above 20 ms in natural silicon carbide. Phys. Rev. B 95, 161201 (2017).

18. 18.

Bar-Gill, N., Pham, L. M., Jarmola, A., Budker, D. & Walsworth, R. L. Solid-state electronic spin coherence time approaching one second. Nat. Commun. 4, 1–6 (2013).

19. 19.

Nagy, R. et al. High-fidelity spin and optical control of single silicon-vacancy centres in silicon carbide. Nat. Commun. 10, 1–8 (2019).

20. 20.

Koehl, W. F., Buckley, B. B., Heremans, F. J., Calusine, G. & Awschalom, D. D. Room temperature coherent control of defect spin qubits in silicon carbide. Nature 479, 84–87 (2011).

21. 21.

Maity, S. et al. Coherent acoustic control of a single silicon vacancy spin in diamond. Nat. Commun. 11, 1–6 (2020).

22. 22.

Green, B. L. et al. Electronic structure of the neutral silicon-vacancy center in diamond. Phys. Rev. B 99, 161112 (2019).

23. 23.

Dolde, F. et al. Room-temperature entanglement between single defect spins in diamond. Nat. Phys. 9, 139–143 (2013).

24. 24.

Dolde, F. et al. High-fidelity spin entanglement using optimal control. Nat. Commun. 5, 1–9 (2014).

25. 25.

Van Dam, S. B., Cramer, J., Taminiau, T. H. & Hanson, R. Multipartite entanglement generation and contextuality tests using nondestructive three-qubit parity measurements. Phys. Rev. Lett. 123, 050401 (2019).

26. 26.

Unden, T. K., Louzon, D., Zwolak, M., Zurek, W. H. & Jelezko, F. Revealing the emergence of classicality using nitrogen-vacancy centers. Phys. Rev. Lett. 123, 140402 (2019).

27. 27.

Hou, P. Y. et al. Experimental hamiltonian learning of an 11-qubit solid-state quantum spin register. Chin. Phys. Lett. 36, 100303 (2019).

28. 28.

Vorobyov, V. et al. Quantum Fourier transform for quantum sensing. Preprint at arXiv https://arxiv.org/abs/2008.09716 (2020).

29. 29.

Kalb, N. et al. Entanglement distillation between solid-state quantum network nodes. Science 356, 928–932 (2017).

30. 30.

Xiao, X. & Zhao, N. Proposal for observing dynamic Jahn–Teller effect by single solid-state defects. N. J. Phys. 18, 103022 (2016).

31. 31.

Cooper, A., Kyu, W., Sun, C., Jaskula, J.-C. & Cappellaro, P. Environment-assisted quantum-enhanced sensing with electronic spins in diamond. Phys. Rev. Appl. 10, 44047 (2019).

32. 32.

Goldstein, G. et al. Environment-assisted precision measurement. Phys. Rev. Lett. 106, 140502 (2011).

33. 33.

Yao, N. Y. et al. Scalable architecture for a room temperature solid-state quantum information processor. Nat. Commun. 3, 1–8 (2012).

34. 34.

Ping, Y., Lovett, B. W., Benjamin, S. C. & Gauger, E. M. Practicality of spin chain wiring in diamond quantum technologies. Phys. Rev. Lett. 110, 100503 (2013).

35. 35.

Yao, N. Y. et al. Quantum logic between remote quantum registers. Phys. Rev. A 87, 22306 (2013).

36. 36.

Schlipf, L. et al. A molecular quantum spin network controlled by a single qubit. Sci. Adv. 3, e1701116 (2017).

37. 37.

Gaebel, T. et al. Room-temperature coherent coupling of single spins in diamond. Nat. Phys. 2, 408–413 (2006).

38. 38.

Hanson, R., Mendoza, F., Epstein, R. & Awschalom, D. Polarization and readout of coupled single spins in diamond. Phys. Rev. Lett. 97, 087601 (2006).

39. 39.

Hanson, R. & Wrachtrup, J. Private communication.

40. 40.

Dréau, A., Maze, J.-R., Lesik, M., Roch, J.-F. & Jacques, V. High-resolution spectroscopy of single nv defects coupled with nearby 13 c nuclear spins in diamond. Phys. Rev. B 85, 134107 (2012).

41. 41.

Knowles, H. S., Kara, D. M. & Atatüre, M. Observing bulk diamond spin coherence in high-purity nanodiamonds. Nat. Mater. 13, 21–25 (2014).

42. 42.

Knowles, H. S., Kara, D. M. & Atatüre, M. Demonstration of a coherent electronic spin cluster in diamond. Phys. Rev. Lett. 117, 1–5 (2016).

43. 43.

Belthangady, C. et al. Dressed-state resonant coupling between bright and dark spins in diamond. Phys. Rev. Lett. 110, 157601 (2013).

44. 44.

Shi, F. et al. Quantum logic readout and cooling of a single dark electron spin. Phys. Rev. B 87, 195414 (2013).

45. 45.

Cooper, A., Sun, W. K. C., Jaskula, J.-C. & Cappellaro, P. Identification and control of electron-nuclear spin defects in diamond. Phys. Rev. Lett. 124, 083602 (2020).

46. 46.

Yamamoto, T. et al. Strongly coupled diamond spin qubits by molecular nitrogen implantation. Phys. Rev. B 88, 201201 (2013).

47. 47.

Rosenfeld, E. L., Pham, L. M., Lukin, M. D. & Walsworth, R. L. Sensing coherent dynamics of electronic spin clusters in solids. Phys. Rev. Lett. 120, 243604 (2018).

48. 48.

Grinolds, M. et al. Subnanometre resolution in three-dimensional magnetic resonance imaging of individual dark spins. Nat. Nanotechnol. 9, 279 (2014).

49. 49.

Sun, W. K. C., Cooper, A. & Cappellaro, P. Improved entanglement detection with subspace witnesses. Phys. Rev. A 101, 012319 (2020).

50. 50.

Smith, W., Sorokin, P., Gelles, I. & Lasher, G. Electron-spin resonance of nitrogen donors in diamond. Phys. Rev. 115, 1546 (1959).

51. 51.

Ulbricht, R. et al. Single substitutional nitrogen defects revealed as electron acceptor states in diamond using ultrafast spectroscopy. Phys. Rev. B 84, 165202 (2011).

52. 52.

Deák, P., Aradi, B., Kaviani, M., Frauenheim, T. & Gali, A. Formation of NV centers in diamond: a theoretical study based on calculated transitions and migration of nitrogen and vacancy related defects. Phys. Rev. B 89, 075203 (2014).

53. 53.

De Lange, G. et al. Controlling the quantum dynamics of a mesoscopic spin bath in diamond. Sci. Rep. 2, 1–5 (2012).

54. 54.

Loubser, J. & van Wyk, J. Electron spin resonance in the study of diamond. Rep. Prog. Phys. 41, 1201 (1978).

55. 55.

Zaritskii, I. M. et al. Spin-lattice relaxation of a Jahn-Teller nitrogen center in diamond. Sov. Phys. Solid State 18, 1883–1885 (1976).

56. 56.

Shul’man, L. A., Zaritskii, M. I. & Podzyarei, G. A. Reorientation of the Jahn-Teller distortion in nitrogen impurity centers in diamond. Sov. Phys. Solid State 8, 1842–1845 (1967).

57. 57.

Ammerlaan, C. A. & Burgemeister, E. A. Reorientation of nitrogen in type-Ib diamond by thermal excitation and tunneling. Phys. Rev. Lett. 47, 954–957 (1981).

58. 58.

Cook, R. & Whiffen, D. H. Electron nuclear double resonance study of a nitrogen centre in diamond. Proc. Math. Phys. Eng. Sci. 295, 99–106 (1966).

59. 59.

Dréau, A., Spinicelli, P., Maze, J., Roch, J.-F. & Jacques, V. Single-shot readout of multiple nuclear spin qubits in diamond under ambient conditions. Phys. Rev. Lett. 110, 060502 (2013).

60. 60.

Liu, G.-Q. et al. Single-shot readout of a nuclear spin weakly coupled to a nitrogen-vacancy center at room temperature. Phys. Rev. Lett. 118, 150504 (2017).

61. 61.

Neumann, P. et al. Single-shot readout of a single nuclear spin. Science 329, 542–544 (2010).

62. 62.

Gühne, O. & Tóth, G. Entanglement detection. Phys. Rep. 474, 1–75 (2009).

63. 63.

Reiserer, A. et al. Robust quantum-network memory using decoherence-protected subspaces of nuclear spins. Phys. Rev. X 6, 021040 (2016).

64. 64.

Robledo, L. et al. High-fidelity projective read-out of a solid-state spin quantum register. Nature 477, 574–578 (2011).

65. 65.

Hadden, J. et al. Strongly enhanced photon collection from diamond defect centers under microfabricated integrated solid immersion lenses. Appl. Phys. Lett. 97, 241901 (2010).

66. 66.

Pfaff, W. et al. Unconditional quantum teleportation between distant solid-state quantum bits. Science 345, 532–535 (2014).

67. 67.

Yeung, T., Le Sage, D., Pham, L. M., Stanwix, P. & Walsworth, R. L. Anti-reflection coating for nitrogen-vacancy optical measurements in diamond. Appl. Phys. Lett. 100, 251111 (2012).

68. 68.

Vandersypen, L. M. & Chuang, I. L. Nmr techniques for quantum control and computation. Rev. Mod. Phys. 76, 1037 (2005).

69. 69.

Warren, W. S. Effects of arbitrary laser or nmr pulse shapes on population inversion and coherence. J. Chem. Phys. 81, 5437–5448 (1984).

70. 70.

Heremans, F., Fuchs, G., Wang, C., Hanson, R. & Awschalom, D. Generation and transport of photoexcited electrons in single-crystal diamond. Appl. Phys. Lett. 94, 152102 (2009).

## Acknowledgements

We thank V.V. Dobrovitski, G. de Lange, and R. Hanson for useful discussions. This work was supported by the Netherlands Organization for Scientific Research (NWO/OCW) through a Vidi grant and as part of the Frontiers of Nanoscience (NanoFront) program. This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (grant agreement No. 852410). This project (QIA) has received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No. 820445.

## Author information

Authors

### Contributions

M.J.D., S.J.H.L., and T.H.T. devised the project and the experiments. C.E.B., M.J.D., S.J.H.L., and H.P.B. constructed the experimental apparatus. M.J.D. and S.J.H.L. performed the experiments. M.J.D., S.J.H.L., H.P.B., and T.H.T. analyzed the data. A.L.M. and M.J.D. performed the preliminary experiments. M.M. and D.J.T. grew the diamond sample. M.J.D., S.J.H.L., and T.H.T. wrote the paper with input from all authors. T.H.T. supervised the project.

### Corresponding author

Correspondence to T. H. Taminiau.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Peer review information Nature Communications thanks Ren-Bao Liu and the other, anonymous, reviewer for their contribution to the peer review of this work. Peer reviewer reports are available.

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

## Rights and permissions

Reprints and Permissions

Degen, M.J., Loenen, S.J.H., Bartling, H.P. et al. Entanglement of dark electron-nuclear spin defects in diamond. Nat Commun 12, 3470 (2021). https://doi.org/10.1038/s41467-021-23454-9

• Accepted:

• Published:

• ### Detecting initial correlations via correlated spectroscopy in hybrid quantum systems

• Parth Jatakia
• Sai Vinjanampathy
• Kasturi Saha

Scientific Reports (2021)

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.