Accelerated nanoscale magnetic resonance imaging through phase multiplexing
We report a method for accelerated nanoscale nuclear magnetic resonance imaging by detecting several signals in parallel. Our technique relies on phase multiplexing, where the signals from different nuclear spin ensembles are encoded in the phase of an ultrasensitive magnetic detector. We demonstrate this technique by simultaneously acquiring statistically polarized spin signals from two different nuclear species (H, F) and from up to six spatial locations in a nanowire test sample using a magnetic resonance force microscope. We obtain one-dimensional imaging resolution better than nm, and subnanometer positional accuracy.
Nanoscale magnetic resonance imaging (nanoMRI) is a promising, yet challenging microscopy technique for three-dimensional imaging of single objects with nanometer spatial resolution sidles91 (); degen08APL (). Among the advantages of nanoMRI are the possibility of site-specific image contrast, the absence of radiation damage, and the fact that only a single copy of an object is required. These qualities are particularly well-suited to provide structural information of large biomolecular complexes that are known to overwhelm nuclear magnetic resonance (NMR) spectroscopy and that evade crystallization for X-ray analysis. Recent proof-of-concept experiments showed that nanoMRI is capable of imaging individual virus particles in three dimensions with spatial resolution degen09 (), as well as isotope-specific image contrast mamin09 (). The best detection sensitivities achieved to date are in the range of statistically polarized nuclear spins mamin13 (); staudacher13 (); loretz14 (); muller14 (). NanoMRI has been demonstrated using several ultrasensitive signal detection techniques, especially magnetic resonance force microscopy (MRFM) sidles95 (); poggio10 () and diamond-based magnetometry mamin13 (); staudacher13 (); schirhagl14 ().
Although nm spatial resolution has been reached in several experiments degen09 (); mamin09 (); nichol13 (), realizing this resolution in three-dimensional images required long averaging times. For instance, imaging the proton density (H) in a single tobacco mosaic virus required two weeks of data acquisition degen09 (), even for coarsely sampled data. The long averaging times are prohibitive if one intends to refine voxel sizes or to image multiple nuclear spin species (e.g. H and C). The slow data acquisition is in part due to the point-by-point measurement procedure where only a small subset of nuclei in a sample is detected at a given time.
An interesting avenue for speeding up the image acquisition process is to measure multiple signals in parallel and to use post processing to calculate the contributions from each individual signal. Signal encoding is especially well-suited for MRI since nuclear spins can be separately addressed by radio-frequency (RF) pulses based on their differing Larmor frequencies. In micron-to-millimeter scale MRI, Fourier-transform kumar75 () and Hadamard bolinger88 (); eberhardt07hadamard () encoding provide efficient means for detecting the thermal (Boltzmann) polarization of nuclear spins.
When imaging voxels are less than the thermal polarization becomes exceedingly small and is dominated by statistical polarization fluctuations herzog14 (). It is the variance of these statistical fluctuations that then serves as the imaging signal degen07 (). Since variance measurements cannot be coherently averaged, traditional encoding techniques fail and parallel signal detection is considerably more challenging. One effort for parallel detection of statistical spin polarization included the use of multiple detector frequencies oosterkamp10 (). Unfortunately this approach is limited by detector bandwidth, and often only a single short-lived spin signal (which is the case for most biological samples) can be accommodated. An exciting prospect is to Fourier encode statistically polarized nuclei by a correlation measurement kempf03 (); nichol13 (), however these methods require pulsed gradients or mechanical shuttling and have yet to be applied to 3D imaging.
In this work we introduce a simple multiplexing technique capable of reducing data acquisition times for statistically polarized spins, irrespective of detector bandwidth or availability of pulsed gradients. Our technique relies on phase multiplexing, whereby spin signals are encoded into the in-phase and quadrature channels of a phase-sensitive nuclear spin detector. We demonstrate the technique by simultaneously acquiring spin signals from different nuclear species, and from multiple spatial locations in a nanowire test sample using MRFM. Additionally, we show that the imaging resolution can be improved by subdividing voxels at undiminished signal-to-noise ratio (SNR).
In nanoscale MRI, the number of spins in an imaging voxel is measured as the variance of the fluctuating nuclear magnetization degen07 (). Phase-sensitive detection can be obtained by periodically reversing the sign of to create an oscillating magnetic signal, and by synchronizing this ac signal with the detector reference clock degen07 (); mamin13 (). The signal is usually evaluated at and with a lock-in amplifier. However, when squaring the signal to calculate its variance, the signs of the two lock-in quadratures are lost and the phase cannot be evaluated. We overcome this problem by demodulating the signal at , , , and . This four-channel lock-in technique allows retrieving the signal phase from the variances of the four channels SM (). It thus reconciles nanoMRI with phase-sensitive detection in the regime of small, statistically polarized spin ensembles.
In MRFM, the detector consists of a micromechanical cantilever that is coupled to the nuclear magnetization by the sharp magnetic gradient of a nanoscale ferromagnetic tip (see Fig. 1(a)). The cantilever then converts the variance of the magnetic force into a measurable oscillating motion.
Phase multiplexing is achieved by exciting several nuclear spin ensembles simultaneously, while introducing a time delay between magnetization reversals. Since signal detection is phase-sensitive, a time delay corresponds to a phase shift , where is the duration of one clock cycle and is the detector frequency. When measuring statistically independent spin ensembles, the total (complex) signal is
where is the variance of the ’th ensemble’s magnetization and denotes the phase shift of the periodic reversal of relative to the detector clock SM (). In order to separate the different signal components, one may carry out measurements, each with a different combination of phases, yielding . The reconstruction of the original spin signals then follows by linear recombination as
where the transfer matrix
contains the phase of each spin inversion during the cantilever period, as depicted in Fig. 1(d). The phase at which the spin signal due to the ’th ensemble appears changes between different experiments . Although any linearly independent set of phases will allow for the reconstruction of , only a suitable choice of will evade amplification of detector noise SM ().
Since each measurement simultaneously detects the magnetization of all nuclear ensembles, the signal collected after a complete sequence is times larger compared to a sequential collection of without multiplexing. By contrast, the same amount of detector noise is added to each measurement regardless of whether multiplexing is applied. Phase multiplexing can therefore improve the SNR by for a fixed acquisition time. Alternatively, the acquisition time can be reduced by without any loss in SNR.
Whether the improvement by is realized depends on the choice of phases . Poorly selected phases will amplify detector noise when reconstructing from . We find that for white detector noise (such as thermal noise), the noise amplification factor is given by the matrix 2-norm: , where are the matrix elements of SM (). For an optimum set of phases . Although such an optimum set can be constructed (e.g., using the digital Fourier transform matrix ), we used a heuristic search in order to satisfy additional constraints, especially peak RF pulse power. Other potential noise sources include spin noise degen07 (), correlations between spin ensembles, and instabilities in detector phase, gain or frequency SM ().
We demonstrated phase multiplexing by measuring the statistical polarization of H and F spins on an InAs nanowire test sample. The nanowire had a diameter of , and was coated with of CaF by thermal evaporation (see Fig. 2(a)). H spins were present in a layer of surface adsorbates that naturally formed in ambient air degen09 (); mamin09 (); loretz14 (). For nanoscale MRI measurements, the nanowire was attached to the end of an ultrasensitive silicon cantilever and mounted in an MRFM apparatus operating at temperature and magnetic bias field. Under measurement conditions, the cantilever had a resonant frequency , a spring constant of N/m, and a mechanical , equivalent to a thermal force noise of about . For the imaging, the nanowire was approached to within of a -nm-diameter FeCo magnetic tip poggio07 ().
Nuclear magnetization reversals were performed using periodic application of adiabatic RF pulses. These pulses had a center frequency and bandwidth of . They inverted nuclear spins only in a thin “resonance slice” (RS) in space whose Larmor frequencies lay within , where is the magnetic field at a spin’s location (see Fig. 2(a)), and is the nuclear gyromagnetic ratio. For the multiplexing, several adiabatic pulses with different center frequencies were co-added poggio07 (). Signal detection used a fiber-optic interferometer to read out the cantilever oscillation, and four-phase lock-in demodulation to extract the complex signal variance SM ().
In a first experiment we performed multiplexing of two different nuclear isotopes (H and F). In order to identify the nuclear species, we parked the nanowire above the nanomagnetic tip and measured the nuclear magnetization as a function of RF center frequency (Fig. 2(b)). Two peaks at 111 MHz and 118 MHz confirmed the presence of both H and F nuclear species. To demonstrate multiplexing, we performed a one-dimensional spatial scan over the magnetic tip while exciting both H and F. At each location, signals were acquired with different phase sequences, resulting in the two scans and shown in Fig. 2(c)-(d). Application of Eq. (2) then directly reproduced the reconstructed signals (Fig. 2(e)-(f)). We found excellent agreement between reconstructed signals and sequential control measurements of H and F .
In addition to chemical contrast imaging, multiplexing can also be applied to detect signals of the same isotope in different spatial regions of a sample. Such multi-slice imaging provides depth information with a single lateral scan, and may be useful to improve the fidelity of 3D image reconstruction. Fig. 3(a) shows an example of spatial multiplexing by detecting resonant slices of H. A shifting peak is seen as the nanowire moves across the different slices, and the six signal traces clearly reflect the geometry of imaging slice and nanowire.
We have tested multiplexing down to very low values of to estimate the limits towards high spatial resolution. Figure 3(c) shows such a high resolution scan acquired with frequency increments of . By comparing the signal onset as a function of position, we find that the lateral distance between slices is about . This corresponds to a lateral magnetic gradient of . A comparison with similar nanomagnetic tips, where mamin12APL (), indicates that our tip had a lower-than-expected gradient, probably due to partial oxidation. Note that the imaging resolution is not limited by the step size , but by the bandwidth of the frequency modulation . As the full width at half maximum of the resonant slice is approximately degen09 (), the imaging resolution is about . With an improved nanomagnetic tip, an imaging resolution of can therefore be expected.
To compare the quality of multiplexed data to that of sequential measurements, we have quantified the signal error by analyzing the standard deviation of point-to-point fluctuations in the data sets. For the multiplexed scans in Fig. 2(e)-(f) we find and , while the separate measurements have and . The differences in amplitude between multiplexed and separately measured signals have standard deviations of aN for H and aN for F SM (). These results confirm that phase multiplexing produces the same signal amplitude and SNR as sequential acquisition within half the averaging time.
While imaging step sizes and resolution for our experiments were on the order of a few nanometers, we found that the imaging precision was below one nanometer. For example, in the leftmost trace of Fig. 3(c) ( MHz center frequency), we observed that the signal rose with around . Comparing this slope with the measurement error we derive a position uncertainty of . Although this precision is probably overestimated, we note that the signal onsets of the two scans in Fig. 2(e) coincide within nm SM (). Such good positional accuracy is an important prerequisite for extending nanoMRI to subnanometer resolution.
Finally, we briefly comment on the limits of phase-multiplexed detection. When applying RF frequencies simultaneously, both average and peak power increase by at least regardless of the finer details of RF pulses. Phase multiplexing therefore puts progressive demands on RF excitation, which in our experiments limited . Moreover, error analysis shows that strong signals tend to transmit noise to weak signals and eventually deteriorate the SNR of the latter SM (), which we found to become noticeable as .
In summary, we have introduced a simple phase multiplexing method for accelerated detection of nanoscale NMR signals. The method is applicable even if spin ensembles are randomly polarized. It can in principle be used with any phase-sensitive excitation/detection scheme, including those used in recent diamond-based magnetometry experiments mamin13 (); kotler11 (). Using an MRFM apparatus, we have demonstrated simultaneous acquisition of nuclear spin signals from two different nuclear species and from up to six different sections within a sample. One-dimensional imaging scans reached a nominal spatial resolution with subnanometer positional accuracy. The reduction in measurement time offered by our technique will be especially useful for 3D images of biomolecular complexes with isotope contrast.
Acknowledgements.We thank Cecil Barengo, Urs Grob, Christoph Keck, Heike Riel and the Physics machine shop for providing samples and experimental assistance. We also appreciate the insightful discussions with Martino Poggio, Fei Xue, and Benedikt Herzog. This work has been supported by the ERC through Starting Grant 309301, and by the Swiss NSF through the NCCR QSIT. B.A.M. acknowledges an NSERC fellowship.
- (1) J. A. Sidles, Appl. Phys. Lett. 58, 2854 (1991).
- (2) C. L. Degen, Appl. Phys. Lett. 92, 243111 (2008).
- (3) C. L. Degen, M. Poggio, H. J. Mamin, C. T. Rettner, and D. Rugar, PNAS 106, 1313 (2009).
- (4) H. J. Mamin, T. H. Oosterkamp, M. Poggio, C. L. Degen, C. T. Rettner, and D. Rugar, Nano Lett. 9, 3020 (2009).
- (5) H. J. Mamin, M. Kim, M. H. Sherwood, C. T. Rettner, K. Ohno, D. D. Awschalom, and D. Rugar, Science 339, 557 (2013).
- (6) T. Staudacher, F. Shi, S. Pezzagna, J. Meijer, J. Du, C. A. Meriles, F. Reinhard, and J. Wrachtrup, Science 339, 561 (2013).
- (7) M. Loretz, S. Pezzagna, J. Meijer, and C. L. Degen, Appl. Phys. Lett. 104, 033102 (2014).
- (8) C. Müller, X. Kong, J. M. Cai, K. Melentijevi, A. Stacey, M. Markham, D. Twitchen, J. Isoya, S. Pezzagna, J. Meijer, et al., Nature Comm. 5, 4703 (2014).
- (9) J. Sidles, J. Garbini, K. Bruland, D. Rugar, O. Züger, S. Hoen, and C. Yannoni, Rev. Mod. Phys. 67, 249 (1995).
- (10) M. Poggio and C. L. Degen, Nanotechnology 21, 342001 (2010).
- (11) R. Schirhagl, K. Chang, M. Loretz, and C. L. Degen, Ann. Rev. Phys. Chem. 65, 83 (2014).
- (12) J. M. Nichol, T. R. Naibert, E. R. Hemesath, L. J. Lauhon, and R. Budakian, Phys. Rev. X 3, 049901 (2013).
- (13) A. Kumar, D. Welti, and R. R. Ernst, J. Magn. Reson. 18, 69 (1975).
- (14) L. Bolinger and J. S. Leigh, J. Magn. Reson. 80, 162 (1988).
- (15) K. Eberhardt, C. Degen, and B. Meier, Phys. Rev. B 76 (2007).
- (16) B. E. Herzog, D. Cadeddu, F. Xue, P. Peddibhotla, and M. Poggio, Appl. Phys. Lett. 105, 043112 (2014).
- (17) C. Degen, M. Poggio, H. Mamin, and D. Rugar, Phys. Rev. Lett. 99, 250601 (2007).
- (18) T. H. Oosterkamp, M. Poggio, C. L. Degen, H. J. Mamin, and D. Rugar, Appl. Phys. Lett. 96, 083107 (2010).
- (19) J. Kempf and J. Marohn, Phys. Rev. Lett. 90, 087601 (2003).
- (20) See supplemental material for details concerning the measurement technique, error propagation, and noise analysis.
- (21) M. Poggio, C. L. Degen, C. T. Rettner, H. J. Mamin, and D. Rugar, Appl. Phys. Lett. 90, 263111 (2007).
- (22) H. J. Mamin, C. T. Rettner, M. H. Sherwood, L. Gao, and D. Rugar, Appl. Phys. Lett. 100, 013102 (2012).
- (23) S. Kotler, N. Akerman, Y. Glickman, A. Keselman, and R. Ozeri, Nature 473, 61 (2011).
Supplementary Material for: Accelerated nanoscale magnetic resonance imaging through phase multiplexing
Bradley A. Moores, Alexander Eichler, Ye Tao, Hiroki Takahashi, Paolo Navaretti, and Christian L. Degen
Department of Physics, ETH Zurich, Otto-Stern-Weg 1, 8093 Zurich, Switzerland, and
Department of Chemistry, Massachusetts Institute of Technology, 77 Massachusetts Avenue, Cambridge, Massachusetts 02139, USA
Appendix A Measurement Setup
Our magnetic resonance force microscope operated at a pressure of mbar and at a temperature of K in a liquid helium cryostat. All components shown in Fig. 1 were mounted on a spring-suspended sample plate to attenuate mechanical vibrations. The cantilever and laser interferometer were mechanically fixed, while the chip carrying the FeCo nanomagnet and the radio-frequency (RF) stripline could be mechanically scanned in three dimensions using remote controlled nanopositioners. The laser for cantilever position readout had a wavelength of nm and an intensity of nW, and was operated in a fiber-optic interferometer configuration formed between the end of a coated optical fiber and the cantilever. The cantilever had a spring constant of N/m and a resonance frequency around kHz. The mechanical quality was around at , and dropped to about when brought close to the nanomagnet due to non-contact friction. The cantilever was actively damped in a negative feedback loop using an FPGA controller in order to increase the measurement bandwidth. The damped quality factor was on the order of , but would vary from depending on position as the magnetic tip was scanned over the cantilever.
Appendix B Adiabatic Spin Inversions
Nuclear spins were inverted using adiabatic rapid passages based on frequency-modulated RF pulses. Two inversions were carried out within a cantilever period ( ms) so that the nuclear magnetization became modulated at the resonance frequency of the cantilever. Two different frequency modulation schemes were used, including linear sweeps and sech/tanh-type sweeps.
For linear sweeps, the RF frequency was linearly increased from to over the duration of the pulse , which was equal to , where was the number of phase slots (see D). The amplitude was modulated with a trapezoidal shape to ensure phase continuity at the beginning and end of each pulse. Linear sweeps were used for the measurements shown in Fig. 2.
For sech/tanh-type sweeps, the frequency modulation followed a hyperbolic secant (sech) and amplitude modulation used a hyperbolic tangent (tanh) profile, which can improve adiabaticity tomka13 (). In addition, consecutive pulses were allowed to have overlapping tails such that the pulse was effectively longer than , further aiding adiabaticity. Sech/tanh sweeps (with ) were used for the measurements shown in Fig 3.
The maximum RF amplitude that could be employed in our apparatus was limited by undesired electrostatic driving (of the cantilever) that set in above , corresponding to a Rabi frequency for H nuclei. This allowed for about phase slots before the adiabatic condition became violated.
Appendix C Signal Acquisition and Reconstruction
Nuclear spin noise is characterized by slow fluctuations of net magnetization, with time constants ranging between . However, the cantilever motion is influenced by both undesired thermal noise (), and a much smaller force generated by the desired nuclear spin noise (). These forces collectively influence the cantilever motion, which is then measured by the laser interferometer.
In order to detect the weak spin noise over the large thermal noise background, the cantilever motion can be measured using lock-in amplification and directing the spin signal into the in-phase channel. The in-phase channel then receives both spin signal and thermal noise, while the quadrature channel only receives thermal noise. If the variances of both channels are calculated and subtracted, one obtains a differential variance that now only contains the spin signal. The signal-to-noise ratio can be optimized by choosing a lock-in filter time constant that is close to the intrinsic correlation time . We achieved this by calculating variances for a bank of filters and post-picking of the desired filter.
Since calculating the variance requires squaring the input signals, information concerning the sign (and hence the phase) of the signal is lost. However, we note that the full phase of the spin signal can be retrieved by using a four-channel lock-in detection, where the interferometer signal is demodulated at the phases , , and . (A conventional lock-in amplifier would only demodulate at and ). To understand this, consider measuring a spin signal with variance and phase in the presence of thermal noise with variance . If we denote the four demodulated signals by , , , and ,
Note that the thermal noise, being incoherent, is equally distributed over the phase space. We can subtract the thermal noise signal contributions by forming the differences
These two terms correspond to the real and imaginary parts of a signal ,
We implemented the four-channel lock-in detection technique by first demodulating by a conventional two-channel lock-in amplifier (SR830, Stanford Research), and then rotating lock-in outputs by on an FPGA controller. The same FPGA then also performed the filtering and variance estimation to produce , , , and .
For all imaging scans, two additional corrections were applied in order to account for position-dependent changes in cantilever gain (represented by the damped quality factor) and phase. Both parameters were measured at each location prior to data collection. For typical one dimensional scans, we found to vary between while changes in phase were only within a few percent. Since these changes vary slowly with position, roughly with a length scale similar to the tip-sample spacing, they can be easily corrected for by low-order polynomial fit or heavy low-pass filtering. Note that these corrections apply to all imaging scans, including both single signal measurements and multiplexed measurements.
Appendix D Transfer Matrix
Transfer matrices were chosen such that the element-wise 2-norm of the inverse matrix was . These matrices minimize the propagation of thermal noise, which is the dominant noise in our measurements (see E). To form the matrix, we first divided the cantilever half-period into equally spaced phase slots (i.e., for ). We additionally required all phases within an experiment to be different in order to evenly distribute RF power over the cantilever period, thus minimizing peak power and spurious mechanical excitation. This constraint precludes the use of digital Fourier transform matrices, which would otherwise be the obvious choice.
In the case of multiplexing signals (Fig. 2), we used phase slots with matrix
This matrix has .
In the case of multiplexing signals, we performed a heuristic search to find an optimal matrix. The matrix used for Fig. 3 had with phases
This matrix has . This means that the SNR improvement is reduced from to .
Appendix E Error Propagation
The reconstruction of phase multiplexed signals can sometimes lead to enhanced noise compared to single sweeps, which in turn deteriorates multiplexing performance. We have analyzed the effect of detector noise, spin noise, detector gain, and phase fluctuations on the reconstructed signal. In our experiments, detector noise was typically the dominating noise.
e.1 Detector Noise
In MRFM, detector noise arises from thermal force noise acting on the micromechanical cantilever. It leads to thermomechanical noise with a Lorentzian distribution as shown in Fig. S2 (b), and is added equally to all measurements. If the thermal noise leads to a standard error in each experiment (on both the real and imaginary channel), error propagation predicts a standard error on reconstructed signals as
where are the matrix elements of the inverse transfer matrix . A “good” transfer matrix will have little amplification of . As a measure for the total propagated error we use the sum of all individual errors
Here denotes the element-wise 2-norm of the matrix. As shown above, one can often find transfer matrix phases such that or . Thus, amplification of thermal noise can be avoided by a suitable choice of .
e.2 Spin noise
Spin noise reflects the uncertainty in the variance measurement of spin fluctuations. If the spin signal has variance , the standard error of this variance estimate is , where is the number of independent samples that can be performed during measurement time and is the correlation time of nuclear spin fluctuations degen07sup ().
In a multiplexed experiment, each spin signal carries a spin noise error . This error is propagated to the measurements as
and to the reconstructed signals as
and denote real and imaginary parts. The expression above allows one to compute explicitly the error introduced by spin noise for a specific choice of transfer matrix A.
If one does not want to calculate errors explicitly, as an approximation, one finds that
This follows from and and assuming that, approximately, all entries have real and imaginary parts of similar magnitudes. The error added to each reconstructed signal is therefore approximately
That is, the strongest spin noise will transmit to all reconstructed signals , and all reconstructed signals will now carry a similar error. This may be an issue if one tries to detect a weak signal in the presence of a strong signal.
e.3 Detector phase variation between experiments
If there are variations in the detector reference phase between experiments , reconstruction will lead to cross-talk between the that appears as additional noise. In MRFM, detector phase fluctuations are due to changes in the cantilever resonance frequency that alter the phase response. Since phase fluctuations affect all signals equally, no relative phase errors are expected between different signals within an experiment .
In a multiplexed experiment, phase variations will mainly occur between different experiments . If we assume that there is a small phase uncertainty between different experiments , the matrix elements become
If denotes the standard deviation of , then the error propagates to the measurements as
and to the reconstructed signals as
From the above expression one finds again that, approximately, the error added to each reconstructed signal is
That is, phase noise again transmits to all reconstructed signals and the dominating effect will come from the strongest signal. As with spin noise, this may be an issue if one tries to detect a weak signal in the presence of a strong signal.
e.4 Detector phase variation during an experiment
Fast fluctuations in the cantilever resonance frequency (jitter) will change both the phase and amplitude response of the detector. Since the amplitude is only affected to second order in frequency, the dominant influence is through the phase response.
If we consider a small frequency jump during an experiment, with the cantilever resonance frequency and the feedback-damped quality factor, the corresponding phase jump will be . If is the standard deviation of frequency jumps during an experiment, then the associated standard deviation of phase is
e.5 Detector gain variation
If there are variations in the detector gain between experiments , reconstruction will likewise lead to cross-talk between the . In MRFM, detector gain fluctuations are due to changes in the cantilever resonance frequency that alter the amplitude response, or due to variations in the damped quality factor .
As with phase variations, gain variations will occur between different experiments , but no relative gain errors are expected between different signals within an experiment . If we assume that there is relative gain uncertainty between different experiments , the matrix elements become
If denotes the standard deviation of , then the error propagates to the measurements as
and to the reconstructed signals as
From the above expression one finds again that, approximately, the error added to each reconstructed signal is
Appendix F Comparison of noise between single and multiplexed scans
We used three methods to analyze the noise affecting our signal. First, the point-to-point fluctuations of a data set can be quantified by the standard deviation of the data points, or, equivalently, by the standard deviation of the differences of consecutive points . According to error propagation, . In practice, we found that is a more reliable measure of the noise than because it is less susceptible to a signal bias that will artificially increase . We therefore calculated for all sweeps and used it as an upper bound for the real signal fluctuations or .
Second, for each data point, we calculated the statistical uncertainty of the signal (which should be equal to ). For a statistical quantity with mean that is sampled times, this amounts to degen07sup (). In our case, corresponds to the signal while is the number of statistically independent samples during an averaging period.
Third, we use a noise model to compute the signal fluctuations as . The model includes thermal vibrations of the cantilever, amplifier noise, and laser shot noise. From this model, we can estimate the contributions of the different noise sources. We take into account the effective temperature of the mechanical mode, which is lower than the cryostat temperature since the cantilever is actively cooled by a feedback loop. However, will slightly underestimate the total signal fluctuations because it does not include the spin noise, i.e. it neglects the fact that our signal is itself the variance of a fluctuating quantity.
We compared the values obtained with all three methods. For this comparison, we measured a signal times at the same location to avoid calibration uncertainties arising from varying surface interaction as a function of . Figure S2 (a) shows the absolute value of the measured signal. We obtained aN, aN, aN, and aN. The modeled noise spectral density is shown in Fig. S2 (b). As mentioned above, is slightly smaller than the other two values because it neglects the influence of spin noise. The contribution of the thermomechanical noise amounted to aN and that of the electrical amplifier noise to aN. The laser shot noise was negligible with a contribution of aN. Based on the good agreement between different noise calculations, we relied on to quantify the noise because it allowed a direct measure of signal fluctuations.
As a measure for the overall fidelity of multiplexed signals relative to separately measured signals, we subtracted the two data curves for H in Fig. 2e from each other and evaluated the standard deviation of the point-to-point fluctuations of the result (and likewise for the two data curves for F in Fig. 2f). From error propagation, the difference of two data sets is expected to have larger noise than an individual data set by . We found aN for H and aN for F , which is close to the values we obtained for all four individual curves (see main text).
Appendix G Estimation of positional accuracy
The point-to-point fluctuations that arise mainly from thermomechanical noise and amplifier noise (see previous section) are not only a measure of the signal quality, but also set the resolvable scanning step size. A step in with magnitude is resolvable when the signal change exceeds the signal noise, i.e. when is at least as large as the standard deviation of the point-to-point fluctuations. The filtered data in Fig. 2b of the main text have fluctuations with standard deviations of aN and aN for multiplexed and single sweep data, respectively. Compared with the maximum signal slope of aNnm around nm, this gives a best positional accuracy of close to nm. The data in Fig. 3a with center frequencies MHz and MHz have fluctuations with standard deviations equal to aN and aN, maximum signal slopes of aNnm and aNnm around and nm, and thus best positional accuracies corresponding to nm and nm, respectively. The data in Fig. 3d with center frequency MHz have fluctuations with a standard deviation of aN, a maximum signal slope of aNnm around nm, and thus a best positional accuracy of nm. The fluctuation standard deviations vary between different data sets because of different averaging times, different low-pass filtering, and because the effective temperature of the cantilever mechanical mode depends on the undamped and damped mechanical quality factors.
An alternative estimation of the positional accuracy can be obtained by comparing the signal onset for the multiplexed and separately measured H signals in Fig. 2e of the main text. Figure S3 shows a zoom of the two data sets. We first performed a linear fit to both data sets to determine a common slope ( aNnm). We then performed linear fits to the two sets individually where we kept the slope fixed. The resulting offset in between the fitted lines is nm.
Appendix H Mechanical coupling between cantilevers
X-position scans presented in this work contain data points with hollow squares that correspond to spin signals with higher uncertainty. At these positions, we observed that the cantilever was driven to a large amplitude in spite of the damping feedback. This made a ringdown measurement, and therefore a precise determination of the quality factor, impossible. This problem arose whenever the resonance frequency of the measured cantilever matched that of a second cantilever mounted on the same chip ( Hz). We believe that the feedback loop is then responsible for a coupling that drove the measured cantilever. Interpolated values were used to approximate the spin signals at these locations.
- (24) I. T. Tomka, J. D. van Beek, R. Joss, and B. H. Meier, Phys. Chem. Chem. Phys. 15, 3438 (2011).
- (25) C. L. Degen, M. Poggio, H. J. Mamin, and D. Rugar, Phys. Rev. Lett. 99, 250601 (2007).