Experimental limits on the fidelity of adiabatic geometric phase gates in a single solid-state spin qubit

While it is often thought that the geometric phase is less sensitive to fluctuations in the control fields, a very general feature of adiabatic Hamiltonians is the unavoidable dynamic phase that accompanies the geometric phase. The effect of control field noise during adiabatic geometric quantum gate operations has not been probed experimentally, especially in the canonical spin qubit system that is of interest for quantum information. We present measurement of the Berry phase and carry out adiabatic geometric phase gate in a single solid-state spin qubit associated with the nitrogen-vacancy center in diamond. We manipulate the spin qubit geometrically by careful application of microwave radiation that creates an effective rotating magnetic field, and observe the resulting Berry phase signal via spin echo interferometry. Our results show that control field noise at frequencies higher than the spin echo clock frequency causes decay of the quantum phase, and degrades the fidelity of the geometric phase gate to the classical threshold after a few (∼10) operations. This occurs inspite of the geometric nature of the state preparation, due to unavoidable dynamic contributions. We have carried out systematic analysis and numerical simulations to study the effects of the control field noise and imperfect driving waveforms on the quantum phase gate.


Introduction
In the field of quantum information science, holonomic quantum computation [1][2][3] was proposed to take advantage of the geometric phase [4][5][6] which is believed to be impervious to certain types of errors. Geometric quantum logic gates were realized first with nuclear spins in liquid solutions of molecules using NMR techniques [7]. Geometric phase signal has also been observed with single superconducting qubits [8] and trapped ions [9].
While it is often thought that geometric phase is less sensitive to fluctuations in the control fields, it was realized that a very general feature of such adiabatic Hamiltonians is the unavoidable decay of the quantum state caused by control field fluctuations [10]. The fundamental reason for this decay is that the geometric phase is always accompanied by the dynamic phase in non-degenerate quantum systems. Dynamical decoupling techniques such as spin echo and XY sequences can cancel the average dynamic phase caused by the control field, and filter out environmental noise that remains correlated within the clock time τ between the decoupling pulses within the sequence [11][12][13]. But the sequences are still sensitive to the second moment in the fluctuations of the dynamic phase caused by the control fields at frequencies which are on the order of, or higher than, the clock frequency. The real question then is how much protection do adiabatic geometric quantum logic gates have from such control field noise.
Nitrogen-vacancy (NV) centers in diamond are among the most promising candidates for quantum information applications, highly sensitive nanoscale quantum sensors, biological markers, and as single photon emitters in quantum communication [14]. Such solid-state single spin qubit is ideal for exploring geometric phase and the fidelity of geometric logic gates because of the remarkable degree of coherent control achievable with modern technology [15]. Proposals to measure Berry phase in mechanically rotating diamond crystal [16], and for application in gyroscopes [17,18] also motivate our experiments.
In this work, we report our measurement of the Berry phase, and the fidelity of adiabatic single qubit geometric phase gates, in the system of a single NV center in diamond. We apply a carefully tailored timedependent adiabatic Hamiltonian, via rotating frame off-resonant microwave driving waveforms; as well as a resonant spin echo interferometry sequence to filter out environmental noise, and cancel the accompanying average dynamic phase from the time-dependent Hamiltonian. We have studied through careful experiments and numerical calculations, the systematic deviations in the geometric phase caused by imperfect driving waveforms, as well as the decay of the fidelity in the phase gate from various noise sources. We conclude that the fidelity is ultimately limited by dynamical phase contributions occuring due to the naturally present control field noise.
Our work is the first to experimentally measure the decay of the gate fidelity of an adiabatic geometric phase gate in the complex solid-state environment that is created by the interaction of a single solid-state electronic spin qubit with the slowly varying nuclear spin bath in diamond. Theoretical work in adiabatic and nonadiabatic quantum control settings [10,19,20], and in other solid-state qubits such as quantum dots [21,22] and superconducting qubits [23,24] has found that geometric phase can be affected by the environment and control field noise. At the end of our paper, we also speculate on what our results could potentially mean for geometric quantum information processing with solid-state qubits.

Berry phase measurement and geometric phase gate
In quantum mechanics, the Hamiltonian for a spin-1 2 qubit interacting with an external magnetic field is given by x y z are the Pauli operators, ÿ is Planck's constant, g s is the appropriate gyromagnetic ratio for the particle, and | | B is the magnetic field vector. When the external magnetic field varies adiabatically, the spin vector precesses around the external field B, and acquires a dynamic B , which depends on the closed path. In addition, Berry showed that the spin acquires an additional phase b g that is independent of the nature of the path and depends purely on the geometry [4] as shown in figure 1(a). In the Bloch sphere picture ( figure 1(b)), as the field ( ) t B traces out a cone with angle θ, the spin vector ( ) t S remains perpendicular to B. When B completes a closed circuit which traces out the solid angle Θ, the spin vector has acquired an additional geometric phase b = Q g . In classical dynamics, an analog to this phenomenon is the Hannay angle, which can be illustrated by the rotation angle acquired by a rigid disc spinning around an axle that adiabatically traces out a closed contour [25].
The NV center (figure 2(a)) is a spin-1 system in the ground state, quantized along the C v 3 symmetry axis between the nitrogen and vacancy sites, with the | = ñ m 0 s and | =  ñ m 1 s levels split by 2.87GHz at zero magnetic field. The spin state can be initialized by optical pumping with 532 nm laser excitation, and the spin polarization can be detected by measuring the spin-dependent fluorescence signal. We use a single NV center in a type-IIa bulk diamond sample, and apply a static magnetic field B 0 oriented along the NV centers z-axis, allowing us to form a pseudo-spin-1/2 qubit system with the | | = ñ « = -ñ m m 0 1 s s spin states. The magnetic field is chosen to bias the system near the excited-state level anti-crossing, resulting in complete polarization of the associated N 14 nuclear spin of the NV center [26] and realizing a nearly ideal two-level system for our experiments. Microwave pulses are applied to the NV center using an impedance-matched microstrip line coupled to a thin copper wire on the diamond surface, allowing us to attain a p 2 rotation in ∼20ns.
In the rotating frame of the microwave drive, and under the rotating wave approximation, the Hamiltonian for the NV center can be written as Here Δ is the detuning between the microwave and the transition frequency, Ω is the Rabi frequency of the drive field and Φ is an adjustable control phase of the microwave. In the rotating frame, we can immediately identify the effective magnetic field as given by cos , sin , . In our experiments, we typically keep Δ fixed and trace circular paths with different radii Ω. The cone angle in our experiment would therefore by given by ( ) q = D W + D cos 2 21 2 . The corresponding adiabatic circuit for the magnetic field can be achieved by fast amplitude and phase modulation of the applied microwave drive field [7,8], using an IQ modulator and arbitrary waveform generator (AWG), as shown in figure 2(b). We measure Berry's phase using a spin echo interference experiment. We apply two types of microwaves to the system as shown in figure 2(c): one at a frequency f det that carries out the adiabatic circuit for B, and another tuned to the resonance transition frequency f res that is used for the spin echo interference, and subsequent state tomography to extract the spin vector. The spin echo sequence initializes the qubit into an eigen-state of s x with a resonant p 2 pulse. The effective field B created by the off-resonant drive traces out a contour C in figure 1(a), and the direction is set by the phase modulation Φ. The relative quantum phase between the states | ñ 0 and | ñ 1 during the adiabatic circuit is given by g where±denotes counter-clockwise (clockwise) direction. Due to the resonant π-pulse in the spin echo sequence, the cumulative relative phase becomes f f f b = -= -+ 2 g , and increasing the number of times (N) that we trace the contour gives us The resonant π-pulse also cancels any fluctuations in environmental or other fields that occur on timescales slower than the echo sequence, thereby extending the decoherence time from the Ramsey dephasing time * T 2 to T 2 . At the end of the sequence, we can extract the values of the spin vector through quantum state tomography. The value of á ñ S z can be obtained using either Rabi oscillations or rapid adiabatic passage experiment to calibrate our fluorescence levels (see appendices D and E). The á ñ S x and á ñ S y values can be obtained by applying a p 2 pulse around the different axes x or y, serving as a tomography pulse. The experimental phase can then be extracted as x . Even in the presence of decoherence, which is a minor effect in our experiments, the coherence in either x or y direction would be equally affected and thereby will not alter the geometric phase we measure from taking the ratio. The total pulse sequence time and the shape of the waveforms was chosen to both preserve adiabaticity and to allow for the local spin environment of our qubit to return to its original state. (See appendix E.) The data in figure 3(a) shows the values of á ñ S x and á ñ S y measurements as the Rabi frequency Ω was varied while the detuning Δ remains fixed. The expected signal here from theory is as shown in figure 3 (a) dashed lines. To verify that the data observed is really due to geometric phase and not other artifacts, we carried out measurement where we do not reverse the direction of the contour in second half of sequence. We observed no oscillations since both dynamic and geometric phase are canceled. This result is shown in appendix H, and also replotted in figure 3(c) as the N = 0 data. We can use the Berry phase for quantum logic by carrying out a single qubit geometric phase gate , then for N = 2, we obtain a p 2 phase gate. The gate fidelity F U is obtained by averaging the state fidelity j [27]. Our state tomography measurements of á ñ S x and á ñ S y in figure 3(a) allow us to calculate the state fidelity for . In our numerical simulations below (section 4), we show that this gate fidelity is primarily limited by the dynamical phase contribution to the adiabatic geometric gate. . Each measurement point is obtained by repeating the experiment2 10 6 times. The N = 0 data is obtained by letting the field continue in the same direction for both halves of spin echo, rather than flipping the direction.

Effect of imperfect driving waveforms
The theoretical prediction shown in figure 3(a) differs from the measured values in a systematic fashion. The experimental data oscillates faster than theory, meaning the measured phase is larger than theoretical prediction with our microwave parameters. We should also note that a similar deviation from theory can be seen in another solid-state qubit system, although it was not explicitly investigated in that work [8]. The systematic deviation is not simply due to incorrect calibration of our microwave drive amplitude or other parameters. In figure 3(c) we have extracted the quantum phase f for different values of N from our experiments (markers), and compared it to the analytical expressions in equation (2) (dashed lines). The data in figure 3(c) does not scale linearly with the solid angle, as would be expected from Berry's result, but instead shows clear nonlinearity with increasing solid angle. Shifts of the Berry phase due to non-closed paths in parameter space caused by environmental or control field noise are expected, but the magnitude of the shifts are typically quite small [22]. We note that the discrepancy does not change our conclusion above on the fidelity of the geometric quantum phase gate, as we merely have to recalibrate the solid angle Q C required to carry out the p 2 geometric phase gate.
To search for an explanation of this discrepancy, a series of test experiments were carried out including power calibration test, fluorescence levels test, adiabaticity test and test of single channel nonlinearity of IQ modulator. We have verified that the microwave power is correctly calibrated, the fluorescence level used for qubit measurement is correctly calibrated, and the adiabaticity parameter is kept small (see appendices C-E) in our experiments. However, in the test of single channel nonlinearity of IQ modulator, we noticed a misalignment between the experimental data and theory (see appendix F). Figure 4(a) shows the distortion of the modulating waveform caused by the single channel nonlinearity. The corresponding circuit traced out by the hamiltonian is shown in figure 4(b). The distortion of the contour results in changing the solid angle Q  Q exp .
An additional source for distortion is amplitude imbalance in I and Q channel. If we input the same DC voltage to I or Q channel, the output microwave amplitude may be different because of IQ imbalance. When we measure the output microwave amplitude, a microwave mixer is used to step down the frequency of microwave into the bandwidth of our oscilloscope, and the amplitude of microwave is measured with the oscilloscope. We estimated the amplitude imbalance to be ~10%, same as the accuracy of our measurement.
We performed numerical simulation of our Berry phase experiment for comparison with our experimental data. The microwave sequence is separated into small time steps 1 1 , and the time-dependent Hamiltonian in the rotating frame is approximately constant during each time step. The quantum state will evolve as: Any imperfections in our microwave drive field can be easily taken into account by modifying the Hamiltonian ( ) H t . Here we took both single channel nonlinearity and amplitude imbalance of the IQ modulator into account. The on-resonance microwave pulses for spin echo are assumed perfect, and decoherence is not taken into account because the sequence time  t T 2 . The complete Hamiltonian used in our simulation is: where a and b are extracted from our measurement of single channel nonlinearity (see appendix F).
In figure 3(b), the results of the numerical simulation for Berry Phase experiments are shown, using the Hamiltonian from equation (4); with parameters a, b, ò measured from experiments (see appendix F). In figure 3(c) we have extracted the quantum phase f for different values of N from both experiments and simulations. As seen in both these figures, the experimental results more closely match our numerical simulations rather than the simple analytical expressions of equation (2). Although the agreement is not perfect, the nonlinear scaling with increasing solid angle is evident in our simulation results.

Decay of Berry phase signal and gate fidelity
Our final set of measurements explores the question of how the geometric phase decays. Decay of the geometric phase is an important parameter to be measured for feasibility of geometric quantum information processing [1,2] and for NV spin gyroscopes and mechanical rotation sensors [16][17][18]. As shown in figure 3(a), we were unable to detect any obvious geometric dephasing over the solid angles obtainable by scanning the Rabi frequency Ω. To increase the amount of geometric phase accumulated, we used the fact that the total quantum phase f = Q N C . Hence, we carried out an experiment with N (number of cycles the spin traces out) continuously varying while keeping the solid angle Q C fixed, using the pulse sequence in figure 5(a).
Our experimental data in figure 5(b) clearly showed decay as the amount of geometric phase is increased. The inset to figure 5(b) depicts the measured gate fidelity F U for multiple operations of the p 2 phase-shift gate Note that the signal decays and the gate fidelity rapidly approaches the classical limit = F 2 3 c for a single qubit gate [28] after ∼10 repetitions. We also compare our results to the numerical simulation in figure 5(c), which is explained in more detail below. Our conclusion from the simulation is that both the decay in the geometric phase, and the decay in the fidelity, are well explained by the dynamical phase fluctuations caused by control field noise.
Before discussing the numerical simulation results, we examine the potential theoretical sources for decay of the geometric phase The decay could be potentially assigned into two major sources (1) Geometric dephasing due to slow fluctuation in Δ.
(2) Geometric dephasing due to slow fluctuation in Ω here the word 'slow' means frequencies lower than the clock frequency of the spin echo. Indeed this was the model used in [8] to study geometric dephasing. We can estimate the strength of these fluctuations for Δ and Ω independently for our NV center from Ramsey and Rabi measurements. Assuming a gaussian model for the noise spectrum in Δ, we obtain the following expression for the decay in the Berry phase as a function of the circuital number N: 14 from the fits shown in figure 5(b). Therefore, we eliminate the slow noise in Δ from this environment as a main source of the decay in our data.
The slow noise in Ω can be independently measured with a long-time on-resonance Rabi experiment. From this we get s s < W D (see appendix G). This implies that the slow noise in Ω contributes even less than in Δ. Because the Berry phase depends only on Δ and Ω, and neither fluctuation in Δ nor in Ω is sufficient to explain such a large decay, we concluded that this decay of signal is not due to geometric dephasing.
We note here that slow noise in Δ dominates as the geometric dephasing in superconducting qubit systems, as shown in [8]. Previous experimental work in superconducting qubits was restricted to studying symmetric, artificially induced control noise on geometric phase, and measuring only the decay of the quantum phase [29,30]. Our experiments are conducted in a different regime, where the noise is asymmetric, intrinsic to the signal generators, and we explicitly examine the effect of the control noise on the fidelity decay of the geometric quantum phase gate.
We attribute the decay to fluctuations in dynamic phase. This effect has been predicted in [10], but has not previously been measured with single spin qubit systems. The average dynamic phase accumulated during each half of the sequence is: where τ is the spin echo sequence time. As previously explained, in our experiments, the measured phase is  (fluctuations occurring within the sequence time) in b d cannot be canceled. Such fluctuations in dynamic phase will result in fluctuation in our measured phase f, causing dephasing. So the reason for the decay of signal could be (1) Dynamic dephasing due to fast fluctuation in Δ.
Fast fluctuations in Δ, from the environment field itself, should also result in decay when no external microwave field is present, i.e. spin echo decay which is characterized by T 2 . The value of m T 300 s 2 we measured is significantly larger than the decay time observed here. We cannot completely eliminate fast frequency fluctuations in the microwave synthesizer or in the AWG, but we know that we can use either synthesizer to perform the spin echo measurements with similar results, implying that the phase noise of the synthesizers could not result in this decay. We therefore conclude that fast fluctuations in Ω are most likely the important cause of dynamic dephasing.
We set a simplified model for our numerical simulation: the microwave amplitude has a random Gaussian fluctuation (s W ) from the first half of spin echo to the second half. With this simplified model, the results of our simulation with all other parameters taken from the experiment are shown in figure 5(c), and show good consistency with our experimental data. The inset to figure 5(c) shows the calculated gate fidelity F U for our numerical simulation, and also agrees well with our experimentally measured gate fidelity. The fast fluctuation s W W used in simulation is 8×10 −3 , close to the bit resolution of our AWG (∼2×10 −3 , 10 bit from −1 to 1), and is consistent with decay observed in our long time Rabi data (see appendix G). Finally, in our numerical simulations, we have assumed perfect state preparation, no decoherence, and no readout noise. The only deviation from the ideal case is the control field noise, and the results of the simulation shown in figure 5(c) agrees well with the data of figure 5(b). In particular, note that the gate fidelity for 1 gate operation from experimental data in figure 5(b) is 0.978±0.040, and the gate fidelity for 1 gate operation in our numerical simulation in figure 5(c) is 0.973±0.017.
We also performed experiments to measure dynamic dephasing without Berry phase involved, to further verify our claim that the decay is due to dynamic phase fluctuation. As shown in the inset to figure 6 (a), we used similar microwave sequence as our experiments to measure geometric dephasing ( figure 5(a)). However, instead of letting the effective drive field trace a contour in parameter space, here the drive field remains in the same direction during the time t. We observed the decay in our measured signal shown in figure 6(a). This decay must be due to dynamic dephasing, because no geometric phase is involved at all. In figure 6(b), we carried out the numerical simulations for the experiments in figure 6(a) and obtain good agreement with the data. Just as importantly, this decay in dynamic phase signal matches the time scale of our Berry phase decay data.

Geometric quantum information processing with NV centers
Experiments probing the effect of noise on geometric phase and geometric quantum logic gates are surprisingly few and far between. Our work reports on detailed measurements of the adiabatic geometric phase in a single solid-state spin qubit, and on the effects of noise and control field imperfections on the geometric phase signal as well as the fidelity of geometric phase gate. We have found that the spin echo sequence cancels the average dynamic phase imparted by control field as well as slow dynamic phase fluctuations from the environment, but it cannot cancel the second-order moment of the control noise that occurs faster than the spin echo clock frequency. Our experimental results and numerical simulation show that the decay in the fidelity of the phase gate is due to these fluctuations. In general, we expect that any adiabatic geometric quantum logic gate operation that relies on cancellation of the dynamic phase will have to account for such control field fluctuations, which agrees also with the conclusions of [10].
One possible direction for future work is to probe the spectrum of fast fluctuations. While our frequency is sufficiently high that f 1 noise in the electronics should become small, we could potentially use our highly sensitive measurement to map out the spectral dependence of the noise by changing the spin echo clock frequency. Another direction is to start with signal generators that have much lower levels of amplitude noise (higher vertical bit resolution), and add in specially tailored noise to examine the effects on the geometric quantum logic gate fidelity. We can then compare the measured values using our numerical simulations, which seem to be in good agreement with our experimental results reported here.
Fundamentally, the problem is that the adiabaticity condition imposes an upper limit to the rate with which the Hamiltonian can be modulated for non-degenerate quantum systems, and this makes the experiment sensitive to fluctuations in dynamical phase that occur faster than the modulation rate. An obvious question would be to ask what happens when non-adiabatic, non-Abelian geometric phases in degenerate quantum systems are used instead, as proposed for instance in [3]. Typically, the states themselves are not perfectly degenerate but are instead shifted close to degeneracy using a pair of driving fields tuned to the transitions with a third level, for instance in a V or Λ-level configuration. Reference [31] has studied theoretically the effect of control field fluctuations on non-adiabatic geometric quantum logic operations and found that such fluctuations can be mitigated under specially tuned circumstances but in general do play an important role.
Recently, [32] demonstrated non-adiabatic non-Abelian geometric gates with superconducting qubits. In their work, they concluded that the decrease in fidelity reported is partially due to dynamic phase fluctuations, similar to our results with Berry phase. We expect that our results and extensions of our work could also be important in understanding recent experimental results for non-adiabatic geometric gates with NV centers [33] and alloptical geometrical phase manipulation with NV centers [34].  figure A1 (a)). Detuned microwave for Berry phase experiment is generated by Rohde and Schwarz (SMIQ03B) signal generator with built-in IQ modulator. On resonance microwave is generated by PTS3200 synthesizer. Both microwaves are delivered via a 20 μm diameter copper wire placed on the diamond sample. The input waveforms for IQ channels are generated by Tektronics AWG520 AWG (1G sample/s). The value of Δ is extremely well controlled in our experiments as we frequently track the resonance frequency of the NV center. Both synthesizers in our experiment are synchronized by an atomic clock and measured to drift less than~´-1 10 Hz 3 , and this is tested by mixing the two microwaves from the two synthesizers under the same command frequency with a mixer and measuring the DC output of the mixer.

Appendix B. Spin echo sequence: Larmor revivals
The C 13 nuclear spin bath that has a natural abundance of »1.1% effectively produces a random field with frequency set by the nuclear gyromagnetic ratio ( ) g p = 2 10.75 n MHz T −1 and the DC bias field B 0 . This random field causes collapses and revivals in the CP signals, as shown in figure B1. For Berry phase experiment, it is required to operate on a revival point of spin echo sequence. In our Berry phase amplitude scan, the spin echo sequence time is set to the first revival. In N scan, the sequence time is set to the fifth revival.

Appendix C. Calibration of microwave power
To test the frequency response of our microwave power, Rabi oscillation were measured under detuned microwave driving field with different detuning frequencies. As microwave detuning increases, observed Rabi oscillation frequency will increase as:  oscillation amplitude will decrease as: and the equilibrium position of oscillation will increase as: This measurement of Rabi oscillations are taken with synthesizer for detuned microwave and through IQ modulator show in figure 2(b). The data (figure C1) shows no evidence of mis-calibration of our Rabi frequency Ω in detuned microwave.
Appendix D. Fluorescence level of | ñ 0 and | ñ 1 state In our experiments, the direct signal we were measuring is fluorescence counts. The fluorescence counts signal was mapped to probability in | ñ 0 or | ñ 1 state by calibration of fluorescence levels at | ñ 0 and | ñ 1 states with Rabi oscillation. However, imperfections in π pulses might result in imperfect rotations and thereby cause errors in the fluorescence calibration.
Adiabatic passage is another way of calibrating fluorescence levels, and is used to check our Rabi oscillation calibration. By modulating both the amplitude and frequency of the driving microwave, an effective magnetic field adiabatically varying from +z direction to -z direction was created, as shown in figure D1(a). The detuned microwave starts ramping up at = t t 0 while modulating its frequency, and then ramps back down to 0 with an opposite detuning at = t t f . The magnitude of the effective B field is 12.5 MHz. Fluorescence level at different time t was measured and shown in figure D1(b).
The data points before t 0 and after t f is fitted to fluorescence levels in | ñ 0 and | ñ 1 state resplectively. The fitted fluorescence levels fall in the confidence interval from our Rabi calibration, meaning our fluorescence level calibration is accurate.

Appendix E. Adiabaticity
The Berry phase theory is based on adiabatic approximation. The Berry phase is not robust to transitions between | ñ 0 and | ñ 1 state, and there could be a discrepancy from the theory if the transition probability is not negligible.
In order to check our adiabaticity, almost the same waveform as Berry phase experiment (N=2) was used. The only difference is that the first p 2 pulse and the last p 2 pulse were removed figure E1. If the adiabatic condition is good, the spin should stay in | ñ 0 state before the π pulse and stay in | ñ 1 state after the π pulse. The probability in state | ñ 0 at the end of the sequence should be close to 0. This probability in state | ñ 0 for both scanning ramping up/down time T a and the scanning cyclic period T is shown in figure E1. The data is taken at 5 MHz detuning, 12.5 MHz Rabi frequency. Adiabaticity parameter (shown as red curves) was calculated according to T(T a ) using equations:

Appendix F. Single channel nonlinearity
The single channel nonlinearity test is based on Rabi oscillation measurement. In Rabi experiment, we sent the microwave through IQ modulator, and we can change the DC voltage input for I channel, while Q channel input Figure C1. Fitted frequencies (a), amplitudes (b) and equilibrium positions (c) from Rabi oscillations at different detuning. Error bars come from standard error of fitted parameters. Green curve is the theoretical prediction based on our on-resonance Rabi data (another set of data from 0 detuning data).
stays at 0. The measured signal is: Here V i is normalized DC input for I channel, and Ω is the Rabi frequency when V i reaches 1. To test single channel linearity, the microwave pulse length t is fixed to 100 ns, we measured the signal at different V i . As shown in figure F1(a), a clear discrepancy between data and expected values (green curve) was found. The data is fitted to nonlinear function + aV bV i i 3 instead. The fit parameters are = =a b 1.17, 0.17. Noticing figure F1(a) inset, because of this nonlinearity, the actual value of V i is slightly larger than the command value. As a result, the actual trajectory in parameter space the spin will trace out is distorted (figure   F1(b)). The actual trajectory spans a larger solid angle, which coincides our Berry phase data. The single channel nonlinearity of the IQ modulator could be an important reason of our Berry phase data discrepancy.

Appendix G. Microwave power stability
A simple long time Rabi experiment was done to test the microwave power stability. If the microwave amplitude has a probability distribution around the expected value, the Rabi signal will decay as pulse length increases,   which is shown in figure G1. The data is taken at the same microwave power as the Berry phase experiment (12.5 MHz), and the total experiment time is comparable to Berry phase experiment. From the fit parameter we get the time scale of decay m = r T 2.2 s 1 , larger than the * T 2 (about m 0.8 s for this NV). This long-time Rabi oscillation data shows that the noise in Ω is even smaller and cannot explain the decay in Berry phase signal.

Appendix H. Cancellation of Berry phase
By flipping the direction of phase modulation at the 2nd half of the Berry phase sequence, the accumulated Berry phase survives while the dynamic phase gets cancelled by the spin echo. This implies that the Berry phase will be cancelled if the direction of phase modulation is not flipped. The cancellation of Berry phase is proved experimentally by applying the same sequence as amplitude scan (N=2), but without flipping the direction of phase modulation in the 2nd half.
The data in figure H1 shows no oscillation at all, meaning a perfect cancellation of Berry phase by spin echo. And this is the raw data from which the N = 0 phase data in the main paper is extracted.