Introduction

Spin defects in wide-bandgap semiconductors1,2,3 are promising candidates for quantum information processing due to their excellent magneto-optical properties. The negatively charged nitrogen-vacancy (NV) center in diamond1 has become a leading contender among these defects benefiting from efficient optical initialization and readout of the spin state4,5, long spin coherence time6, and high-fidelity quantum control7. Substantial improvement has been achieved toward using these defects for spin-based quantum computation8,9, simulation10,11, nanoscale quantum sensing and imaging12,13,14,15, and quantum networks16,17,18,19. As only the negatively charged NV state is useful for the aforementioned applications, a key challenge is to continuously monitor its charge state and stabilize it. The stabilization of the NV charge state becomes even more important for shallow NV centers20,21 wherein sensitivity and spatial resolution get compromised in quantum sensing and imaging experiments22,23 due to charge instability. Usually, a repump mechanism is invoked using an additional laser to make sure that the defect remains in its correct charge state for further processing as shown in Fig. 1a and b. This additional check and the involved repump mechanisms have been a bottleneck and slow down the performance of these systems for cutting-edge industrial applications, and also increase the overhead in miniaturization trends. The use of a repump laser also causes spurious effects such as spectral diffusion24 deteriorating the spin-photon interfaces25 formed with these defects. Conventionally, this repump laser is used in between the operating pulses to bring the defect back to the correct charge state i.e, a conversion from the neutrally charged NV0 to the negatively charged NV state26,27,28. Here we overcome this limitation by introducing dopants in the diamond lattice acting as electron donors thereby intrinsically assisting this charge state conversion without the need for external repump fields.

Fig. 1: Charge state conversion of NV center in diamond.
figure 1

a Schematic representation of the conventional method to keep the NV center in NV with repump laser. The red sphere with an arrow represents the NV center in diamond. The red and green cones represent the illumination of the red resonant and additional repump lasers respectively. b Illustration of the NV photo- and charge dynamics under the illumination of the resonant and repump lasers. The red solid lines with arrows indicate the population transfer of the NV state due to the resonant laser, which ultimately ionizes the NV center into NV0. The green solid lines with arrows indicate the recombination pathway of population transfer provided by the repump laser. c Schematic representation of NV charge state stabilization assisted by photo-ionization of phosphorus impurities. The red sphere with an arrow represents the NV center in diamond. The red cone represents the illumination of the red laser resonant to the NV excitation. The green spheres show phosphorus impurities. The blue spheres represent electrons created by the photo-ionization of the phosphorus impurities. d Illustration of the photo- and charge dynamics of the NV center in phosphorus-doped diamond under the illumination of the resonant laser. The energy levels of both the NV center and the phosphorus impurity are presented. The red solid lines with arrows indicate the photo-ionization of the NV center and the phosphorus impurity due to the resonant laser excitation. The green solid line indicates the recombination pathway provided by capturing the electrons created by the photo-ionization of the phosphorus impurities.

Among the various methods21,29,30,31,32,33,34,35 developed to control and stabilize the charge state of NV centers in diamond, a promising one is doping of electron donor impurities such as phosphorus32,33,34,35. Previous studies of charge state dynamics of NV centers in phosphorus-doped diamond either used ensemble samples or room temperature experiments, where a relative NV/NV0 population has been analyzed under the illumination of the green or orange laser. While these studies clearly indicate the charge state stabilization by photo-ionized electrons from the dopants, a clear distinction between this stabilization from that caused by a repump laser is not evident. This is due to the fact that the excitation lasers used in their experiment can also cause the NV0 - NV transition alongside those caused by the photoionized electrons. Hence a quantitative description through its experimental verification of how the phosphorus impurities stabilize the NV charge state at the level of a single center is essential to understand the physical mechanism leading to such charge stabilization. Exploring these effects at low temperatures of 4 K opens up the venue for its application in a large number of quantum protocols. For this, we here monitor the charge-state dynamics under resonant excitation for NV centers in phosphorus-doped diamond at cryogenic temperatures and show how the photo-ionization of the phosphorous donors affects the recombination/transition rates among the charge states and explore the differences from the repump mechanism using a repump-laser.

In this letter, we investigate the charge state stability of NV centers in phosphorus-doped diamond under resonant excitation at liquid helium temperatures and reveal the key role of photo-ionization of phosphorus impurities in the charge-state stabilization of the defect. Consequently, stable photoluminescence-excitation (PLE) spectra of NV centers created during the growth process are obtained without any repump laser. This enables us to realize real-time monitoring of the NV charge state by recording fluorescence under 636 nm resonant excitation. Ionization and recombination rates of the NV centers are extracted from time traces of the fluorescence at various excitation powers. Further, the linear power dependence of the recombination rate was observed, distinguished from the well-known quadratic dependence26 for NV centers in the intrinsic diamond when a repump laser is applied. This linear power dependence could be attributed to the dependence of the photo-ionization-induced carrier density on the laser power. Finally, a theoretical model is developed to gain insight into the charge state stabilization of NV centers assisted by photo-ionization of the phosphorus impurities, which is helpful in the optimization of phosphorus concentration to realize stable and narrow PLE spectra of NV centers created during the growth process.

Results

Experiment

The measurements were performed on NV centers in a phosphorus-doped diamond with a home-built cryogenic confocal setup. The phosphorus-doped layer was epitaxially grown onto Ib-type (111)-oriented diamond substrate by CVD with phosphorus concentration of 5 × 1016 atoms cm−3. NV centers created during growth could be found in the phosphorus-doped layer. Additional NV centers were created by implantation of 15N+ ions in the phosphorus-doped layer with an energy of 9.8 keV and a dose of 1.3 × 1010 atoms cm−2. Arrays of nanopillars36 with apex sizes of 400, 450, and 500 nm were fabricated to enhance the photon collection efficiency of NV centers created by ion implantation. The NV centers created during growth and those created by ion implantation could be distinguished from their position, depth, and from the hyperfine spectrum seen in the ODMR signal. We performed measurements on both types of NV centers for comparison and to gain deep insight into the role of phosphorus impurities in the NV spin and charge-state properties. The average spin coherence (Hahn Echo) time at liquid helium temperatures was measured to be (i) T2 = 1.94 ms for NV centers created during growth and (ii) T2 = 11.53 μs for those created by ion implantation. The long spin coherence time of NV centers created during growth is attributed to the suppression of paramagnetic vacancy complexes due to their charging by phosphorus atoms34. Further details on the experimental setup, sample preparation, and spin coherence time measurements are given in Supplementary Note 13 and Supplementary Figs. 1 and 2 of the Supplementary Information.

Figure 2 shows the PLE measurements of an NV center created during the growth in a phosphorus-doped diamond at liquid helium temperature. The measurements were performed by recording the fluorescence while sweeping the laser frequency across the NV resonance (637 nm). A peak in the PLE spectrum is observed when the NV center gets resonantly excited. However, since the resonant excitation could photo-ionize NV into NV0 and not excite NV0 back into NV37, the NV center would essentially stay in NV0 charge state leading to the disappearance of the PLE peak. A recombination pathway from NV0 to NV requires an additional electron which becomes available by an additional laser i.e., optical repumping either with a 488 nm37, 532 nm24, or 575 nm laser27. On the other hand, as shown in Fig. 2a we observe a stable PLE spectrum of the NV center even in the absence of the repump laser. Disappearance and recovery of fluorescence could be observed in a single PLE scan when the laser frequency is swept across a resonant transition while still being within the linewidth estimated with other PLE scans. Also observed is the disappearance and recovery of fluorescence at the resonant transition during the repetitions. The disappearance of fluorescence indicates the ionization of NV into NV0, and the fluorescence recovery indicates the recombination of NV0 to NV. Due to this continuous ionization and recombination processes, we observe a stable PLE spectrum of all measured NV centers created during growth in the phosphorus-doped layer of diamond without the need for a repump laser (see Supplementary Note 4 and Supplementary Fig. 3 of the Supplementary Information). This clearly indicates that a recombination pathway has been provided by the phosphorus impurities.

Fig. 2: Stable PLE spectrum of an NV center created during growth in the phosphorus-doped diamond.
figure 2

a PL intensity as a function of laser detuning (detuned from 636.60 nm) in several individual repetitions without repumping. Sharp changes in the PL intensity indicate NV ionization or recombination events. The measurements show a stable but broad PLE spectrum of NV over multiple repetitions. b PLE spectrum averaged over multiple repetitions in a. The circles are experimental data and the solid line is fit with a multi-Lorentz function. Blue, green, red, and yellow marked regions correspond to 4 different observed peaks. c Resonant laser power dependence of PLE full width at half maximum (FWHM). The circles with error bars represent the FWHMs obtained by fitting the PLE spectra at various laser powers. The error bars are from fitting and indicate the 95% confidence interval. Colors represent the FWHM values for each individual peak in b respectively. The fit of the laser power dependence of FWHM is shown by solid lines.

Phosphorus is a shallow electron donor in diamond with an energy level located at 0.57 eV below the conduction band edge38,39, and thus could be photo-ionized by the 636 nm laser used in the PLE measurements. Electrons created by photo-ionization of the phosphorus impurities could be captured by NV0, providing the recombination pathway. Figure 2b shows the PLE spectrum of an NV center averaged over multiple repetitions, which is fitted by a multi-Lorentz function. The PLE spectrum shows four peaks. By comparing the four resonant frequencies with calculation from the NV Hamiltonian1,40,41, we attribute the peaks to the transitions from the NV ground to excited states with a transverse strain of about 4.5 GHz (see Supplementary Note 5 and Supplementary Fig. 5 of the Supplementary Information). At this transverse strain the spin mixing between \(\left\vert {m}_{s}=0\right\rangle\) and \(\left\vert {m}_{s}=\pm 1\right\rangle\) in the excited state is negligible, and only a single transition from the ground-state \(\left\vert {m}_{s}=0\right\rangle\) or \(\left\vert {m}_{s}=\pm 1\right\rangle\) should be observed for each excited-state level. Due to the large PLE linewidth in order of 1 GHz, two pairs of transitions are overlapped and could not be distinguished from each other in the PLE measurements, and four PLE peaks are experimentally observed. The linewidth of the PLE peaks is much broader than the Fourier transform limited linewidth of NV centers in intrinsic diamond42. The broadening is attributed to the environmental charge fluctuation induced by photo-ionized electrons of the phosphorus impurities. We measured PLE spectra at various excitation powers (see Supplementary Note 5 and Supplementary Fig. 4 of the Supplementary Information) and various laser polarizations (see Supplementary Note 7 and Supplementary Fig. 7 of the Supplementary Information), and the power dependence of the PLE linewidths is shown in Fig. 2c.

The charge dynamics of the NV centers that are created during growth are investigated under the resonant excitation of a 636 nm laser. We would like to note that at this frequency only the NV charge state is excited but not the NV0 i.e., fluorescence from the NV center can be detected only when it is in the NV charge state. Therefore, the charge state could be real-time monitored by recording the fluorescence. If the excitation is spin selective, driving the spin transitions in the NV ground state by an appropriate microwave field would suppress any spin polarization5 and maintain the NV fluorescence. In our experiment, a microwave drive was not necessary, because all the spin levels could be simultaneously excited by a single excitation as the PLE lines are quite broad. Figure 3a shows a typical time trace of the fluorescence where the resonant excitation power is chosen to be 148 nW. The high count level indicates the NV center in NV charge state and the low level is the background counts with the NV center in NV0. As we can see, the NV center stays for a much shorter time in NV0 than in NV, corresponding to a larger recombination rate than the ionization rate. The intensity histogram of the time trace is presented in Fig. 3b, showing a relatively larger population of NV than the NV0 charge state. The histogram is fitted with the function derived by Shields et al.43, in which the photon count distribution is described by count rates for NV and NV0 charge states together with the ionization and recombination rates determining the charge-state switching. A set of distributions of the photon count within various counting times from the same time trace is fitted to improve the fitting precision of the rates (see Supplementary Note 8 and Supplementary Fig. 8 of the Supplementary Information). The fitting result is shown as the solid line in Fig. 3b, which gives an ionization rate of kion = 0.5(1) s−1 and a recombination rate of krec = 11(3) s−1, and thus an NV population of P = krec/(kion + krec) = 96(2)%. The time traces of fluorescence are recorded at various excitation powers, and corresponding photon count distributions are fitted to extract the rates. Figure 3c and d show the excitation power dependence of the ionization and recombination rate, respectively. The ionization rate could be well fitted with function \({k}_{{{{\rm{ion}}}}}=a{P}_{{{{\rm{L}}}}}^{2}/(1+{P}_{{{{\rm{L}}}}}/{P}_{{{{\rm{s}}}}})\), where PL is the excitation power, Ps is the saturation power, and a is a fitting coefficient. The good agreement of the numerical fit to the obtained experimental data indicates a two-photon process of the photo-ionization of NV, which is consistent with previous research26,27. However, the recombination rate shows a linear excitation power dependence which is in contrast to the previous observations26 where a similar two-photon excitation pathway has been known. Measurements on several various NV centers give consistent linear excitation power dependence of the recombination rates (see Supplementary Note 9 and Supplementary Fig. 9 of the Supplementary Information). This linear dependence could be attributed to the additional electrons provided by the photoionized phosphorus atoms, and in the following, we present a simple model to explain this power dependence.

Fig. 3: Experimental charge dynamics at various laser powers of an NV center created during growth in the phosphorus-doped diamond.
figure 3

a Time trace of the fluorescence under continuous illumination of 148 nW, 636 nm resonant laser. Blinking events arise from dynamic NV charge ionization and recombination. b Histogram of a, showing a larger population of NV (right peak) than NV0 (left peak). The solid line is a fit. c Laser power dependence of ionization rate. The circles represent experimental data and the solid line is a fit with a saturation-modified quadratic function. The saturation power is fixed as 4.5 μW in the fitting. d Laser power dependence of recombination rate. The circles are experimental data and the solid line is a linear fit according to the model. For comparison, the dashed line is a quadratic fit according to the laser power dependence for NV centers in the non-doped diamond. Each experimental data in c and d is obtained by measuring the time trace and fitting the histogram at corresponding laser power. At each laser power various time-trace measurements are performed and similar but different values of the rates are obtained. The error bars on the experimental data are from fitting and indicate the 95% confidence interval.

Model

As mentioned before, the resonant excitation is absorbed only by NV and hence alone cannot contribute to the recombination pathway from NV0 to NV. Therefore, the recombination pathway could only be provided by the electrons from the donor impurities. The laser power dependence of the recombination rate indicates the interplay of the laser intensity and the concentration of phosphorus impurities. Photoconductivity studies of photoionized phosphorus impurities in diamond44,45 have clearly shown dependence on the excitation laser and impurity concentration. From these studies and our experimental observations, we develop below a simple model to extract the recombination rate and its dependence on the above-mentioned parameters.

As illustrated in Fig. 1c, we consider phosphorus impurities within the focal volume of the NV center excitation. The phosphorus concentration of 5 × 1016 cm−3 gives a number of about 5 × 104 phosphorus atoms in the focal volume of roughly 1 μm3, which is much larger than the number of NV center since the measurements are on single NV centers. Therefore, we neglect the influence of the NV charge dynamics on the charge dynamics of the phosphorus impurities and only consider the opposite one. Photo-ionized electrons created by the photo-ionization of the impurities could diffuse spatially and get captured by the NV center to convert it from NV0 to NV. The spatial power distribution of the laser (beam profile) can be described as

$$I({{{\bf{r}}}})={P}_{{{{\rm{L}}}}}f({{{\bf{r}}}}),$$
(1)

where PL is the laser power, f(r) is the normalized intensity distribution satisfying ∫f(r)dS = 1, and I(r) is the laser intensity at position r. The photo-ionization of the phosphorus impurity is modeled with the transition of the electron from the phosphorus level to the conduction band, as is shown in Fig. 1d. The transition rate kpc is proportional to the laser intensity, and is thus a function of r,

$${k}_{{{{\rm{pc}}}}}({{{\bf{r}}}})=\alpha I({{{\bf{r}}}}),$$
(2)

where α is determined by the photo-ionization cross-section of phosphorous atoms in a diamond lattice. The rate of the electron transition from the conduction band back to the phosphorus level is denoted as kcp. We can now estimate the population of the electron in the conduction band due to the photo-ionization of a phosphorus impurity at position r as

$${P}_{{{{\rm{e}}}}}({{{\bf{r}}}})=\frac{{k}_{{{{\rm{pc}}}}}({{{\bf{r}}}})}{{k}_{{{{\rm{pc}}}}}({{{\bf{r}}}})+{k}_{{{{\rm{cp}}}}}}.$$
(3)

The electron density ne at the position of the NV center due to diffusion of the electrons created by photo-ionization of the phosphorus impurities can be written as

$${n}_{{{{\rm{e}}}}}=\int\eta ({{{\bf{r}}}}){P}_{{{{\rm{e}}}}}({{{\bf{r}}}}){n}_{{{{\rm{P}}}}}dV,$$
(4)

where nP is the phosphorus concentration, and η(r) is the probability that an electron in the conduction band at position r diffuses into a unit volume at the position of the NV center. We assume a homogeneous phosphorus concentration nP for simplicity. η(r) is dependent on the electron diffusion constant and lifetime due to capture by impurities. The capture of electrons by the NV0 center gives the NV recombination rate

$${k}_{{{{\rm{rec}}}}}=\kappa {n}_{e},$$
(5)

where κ is the electron capture coefficient of NV0. With Eq. (1)–(5), krec could be derived as

$${k}_{{{{\rm{rec}}}}}=\kappa \alpha \int\frac{\eta ({{{\bf{r}}}})f({{{\bf{r}}}})}{\alpha {P}_{{{{\rm{L}}}}}f({{{\bf{r}}}})+{k}_{{{{\rm{cp}}}}}}dV{n}_{{{{\rm{P}}}}}{P}_{{{{\rm{L}}}}}.$$
(6)

The linear laser power dependence of the recombination rate would be immediately obtained if the laser power is small, i.e. αPLf(r) kcp, which gives

$${k}_{{{{\rm{rec}}}}}=\kappa \frac{\alpha }{{k}_{{{{\rm{cp}}}}}}\int\eta ({{{\bf{r}}}})f({{{\bf{r}}}})dV{n}_{{{{\rm{P}}}}}{P}_{{{{\rm{L}}}}},$$
(7)

consistent with the experimental results.

The model is further confirmed with measurements on NV centers created by ion implantation in the phosphorus-doped diamond. The implantation could create a large number of impurities such as vacancy-complex. The impurities play the role of either electron traps or electron acceptors which capture electrons from the valance band and create holes under the laser illumination. In each case, the probability η(r) decreases due to the trap or combination of the electrons by the impurities or holes. According to Eq. (7), this causes a decrease in the recombination rate but doesn’t change the linear laser power dependence. We performed PLE measurements on multiple NV centers created by ion implantation without repump laser. For many of them, the PLE spectra weren’t detectable. For others, PLE peaks are observable only in certain repetitions as shown in Fig. 4a. In most repetitions of the PLE scan, the NV centers are in a dark state. These measurements indicate a much smaller recombination rate of NV centers created by ion implantation than those created during growth, which are further confirmed by the comparison of NV population between the two types of NV centers (see Supplementary Note 10 and Supplementary Fig. 10 of the Supplementary Information) and by measurements of excitation power dependence of the total charge-dynamics rate of the NV center created by ion implantation under illumination of green and orange lasers (see Supplementary Note 11 and 12 and Supplementary Figs. 11 and 12 of the Supplementary Information). Real-time monitoring of the charge state of these NV centers by recording fluorescence under resonant excitation becomes challenging due to the too small recombination rates. That’s why we real-time monitor the charge state with 594 nm excitation. A typical time trace of the fluorescence and its histogram is shown in Fig. 4b, c, where a small but non-zero NV population is observed. The extracted ionization and recombination rate as a function of laser power is shown in Fig. 4d, e, respectively. The ionization rate shows a quadratic power dependence, and the recombination rate could be fitted with a linear function of the laser power. These results coincide with the expectation from the model.

Fig. 4: PLE spectrum and charge dynamics of an NV center created by ion implantation in the phosphorus-doped diamond.
figure 4

a PL intensity as a function of laser detuning (detuned from 636.6 nm) in several individual repetitions without repumping. Unstable resonant excitation is observed only at certain individual repetitions, indicating the NV center in NV0 charge state most of the time. b Time trace of the fluorescence of the NV center under continuous illumination with 290 nW, 594 nm laser, showing NV charge state with higher counts and NV0 with lower counts. c Histogram of b, showing a larger population of NV0 (left peak) than NV (right peak). The solid line is a fit. d Laser power dependence of ionization rate. The circles represent experimental data and the solid line is a fit with a saturation-modified quadratic function. Each circle corresponds to an individual measurement. e Laser power dependence of recombination rate. The circles are experimental data and the solid line is a linear fit according to the model. For comparison, the dashed line is a quadratic fit according to the laser power dependence for NV centers in the non-doped diamond. Each experimental data in d and e is obtained by measuring the time trace and fitting the histogram at corresponding laser power. At each laser power various time-trace measurements are performed and similar but different values of the rates are obtained. The error bars on the experimental data are from fitting and indicate the 95% confidence interval.

Discussion

While the photo-ionized electrons have a positive impact on the recombination rate they on the other hand could have a negative effect on the optical linewidth due to increased electric noise. Counterintuitively we have found that the line width is insensitive to the applied power of the resonant laser (Fig. 2c), and remained little changed for increasing laser power up to a μW. This counterintuitive effect can be understood only upon properly evaluating the electric field noise taking into consideration the screening effects caused by the photo-ionized free charge carriers. Using the Thomas-Fermi model for free electron gas at low temperatures we find the electron density dependence of the screening length and further the modified electric field (see Supplementary Note 6 and Supplementary Fig. 6 of the Supplementary Information for more details). We find that the electric field shows a linear increase with increasing electron density ne when ne is small, and an exponential decay when ne is large. At a certain value of ne the electric field reaches a maximum and remains almost unchanged for a considerable change of the electron density ne near this value. From our experimental measurements, we conclude that we are in such a field-insensitive regime, from which we obtain the mean typical electron density to be ~1010–~1014 cm−3. This is in line with the actual phosphorous concentration of 1016 cm−3, and assuming that not all the phosphorous dopants are ionized as explained above, an almost unchanged PLE linewidth dependence on the laser power can be understood.

Several protocols could be implemented to reduce the PLE linewidth. Since the electric field on the NV center caused by photo-ionization of phosphorus impurities would decrease with increasing electron density ne due to screening effect, a straightforward method to reduce the linewidth would be to increase the electron density. This could be realized by increasing the laser power to improve the photo-ionization of phosphorus impurities. However, increasing laser power would also increase the NV ionization rate, leading to a decreased population of NV charge state. In addition, a large laser power could still lead to a large linewidth due to power broadening. To avoid these drawbacks, the excitation of NV center and photo-ionization of phosphorus impurities should be separated from each other. An available protocol would be to use an additional infrared laser to photo-ionize phosphorus impurities, since the NV center could not be excited by the infrared laser. In this case, the PLE and charge dynamics measurements could be implemented with minimum power of red laser to keep small power broadening and NV ionization rate, while strong infrared laser could be continuously applied to ionize phosphorus impurities to reach a large electron density ne for a large NV recombination rate and screening effect. Another protocol would be spatial separation of the NV center and phosphorus impurities, which is possible by growth of a phosphorus layer on intrinsic diamond with delta-doping46. An electric field could be applied to control the spatial distribution of the electron density ne. With these protocols reduced PLE linewidth could be expected.

In conclusion, we report PLE and charge-state measurements on single NV centers in phosphorus-doped diamond at 4 K. Stable PLE spectra without a repump laser, and a near unity probability to find the ingrown NV center in its correct charge state (NV) under resonant excitation are observed. A linear excitation power dependence of the recombination rate is observed on NV centers created during growth clearly distinguishing the dopant-assisted recombination pathway from the laser-assisted process. For defect centers created by ion implantation, while no stable PLE spectrum could be observed, a recombination pathway from NV0 to NV (with low probability) is observed due to the presence of phosphorous impurities. Here once again a linear laser power dependence of the recombination rate is detected indicating a dopant-assisted recombination process. A simple model is developed to briefly describe various dependencies of the recombination rate on the laser and the dopant concentration. Further optimization of phosphorus concentration for stable and narrow PLE spectrum could be advantageous for quantum network applications as it removes the necessity of time-consuming repump which might enhance entanglement rates substantially18,19.

Methods

Experimental setup

The measurements were performed with a home-built cryogenic confocal microscope. The phosphorus-doped diamond with a phosphorus concentration of 5 × 1016 cm−3 was mounted inside a Janis ST-500 cold finger Helium flow cryostat at 4 K. The chamber was evacuated to 10−8 mbar. The lasers for excitation and phonon-sideband fluorescence from the NV centers went through the same air objective (Nikon LU Plan Fluor 100 × , NA0.9). Each laser passed through an acousto-optic modulator (AOM) twice for pulse generation before going into the objective. The fluorescence was separated from the excitation lasers with a dichroic mirror and a 660-800 nm bandpass filter, and then detected by Perkin-Elmer avalanche photodiodes (APDs). More details about the experimental setup could be found in Supplementary Note 1 and Supplementary Fig. 1 of the Supplementary Information.