Distinguish the state of a spin from the signal of a collection
Prepare each spin in the same equal superposition of the two \(z\) eigenstates. In a frame turning at the reference drive frequency, write its Hamiltonian during free evolution as \(H(t)=\hbar\,\delta(t)\sigma_z/2\). The frequency error \(\delta\) is angular frequency. At a constant detuning, the transverse spin vector simply rotates through angle \(\delta T\). Its length does not change. An ensemble detector, however, adds the individual vectors. Two equally large transverse vectors pointing in opposite directions give no net signal.
It is useful to represent a transverse vector by a complex number and normalise its initially positive real value to one. The free-evolution contrast is the modulus of \(W(T)=\langle e^{i\phi}\rangle\) with \(\phi=\int_0^T\delta(t)\,dt\). The plus sign follows one choice of transverse quadrature and the modulus removes its arbitrary overall phase. If detunings are constant during each shot but Gaussian distributed between shots with standard deviation \(\sigma\), the characteristic function gives
Every spin can still be in a pure state even when this average is very small.
Now apply an ideal \(\pi\) rotation about the \(x\) axis at \(T/2\). The Pauli identity \(\sigma_x\sigma_z\sigma_x=-\sigma_z\) reverses the sign of the detuning Hamiltonian in the frame that follows the pulse. This algebra gives more than the common picture of fast and slow runners. It specifies exactly which operator the reversal changes. A Hamiltonian proportional to \(\sigma_x\) would retain its sign, and irreversible transitions into other degrees of freedom generally would not be undone. Treat the pulse as instantaneous and perfect for the derivation, and take preparation and readout axes to be phase locked.
Encode a pulse sequence by its signed accumulation time
Introduce the switching function \(y(t)\). It is one throughout a free experiment, and it is one up to \(T/2\) and minus one thereafter for a single echo. Observable dephasing is then controlled by \(\phi_y=\int y(t)\delta(t)\,dt\), up to a global sign. A constant \(\delta\) accumulates equal and opposite signed times and cancels exactly at the echo. For a linear drift \(\delta(t)=a+bt\), the constant term cancels while the residual phase is \(-bT^2/4\). The echo rejects a static error even when the distribution of that error is not Gaussian. The cancellation says nothing yet about time-dependent fields.
Assume next a zero-mean stationary Gaussian process with covariance \(C(t-s)=\sigma^2e^{-|t-s|/\tau_c}\). Its integrated phase is again Gaussian because integration is a linear operation. The logarithm of the coherence is minus one half of the phase variance. Substituting the two integrals gives
The double integral counts correlated pieces of phase accumulation. In free evolution every product \(y(t)y(s)\) is positive. For the echo, a time before the pulse and a time after it carry opposite signs. Long-lived correlations make substantial negative contributions that compensate the two positive within-half blocks. Noise whose memory is short cannot maintain a useful correlation across much of the pulse interval. Its effects are correspondingly harder to refocus.
Evaluate the covariance integral and inspect its limits
For free evolution the integrand is symmetric about \(s=t\). Twice the area below that diagonal cancels the explicit one half. At fixed \(t\) the inner integral of the exponential covariance is \(\sigma^2\tau_c(1-e^{-t/\tau_c})\). Integrate once more and introduce \(x=T/\tau_c\). For the echo it is efficient to partition the square into two identical within-half blocks and two cross blocks. Across one cross block the exponential separates into one integral over the first half and one over the second; its integral is \(\sigma^2\tau_c^2(1-e^{-x/2})^2\). Combining these terms gives
A direct subtraction is revealing:
It is nonnegative for this covariance at all \(T\). This inequality depends on the chosen positive exponential correlation. A coherent narrow-band field can accumulate more phase under the echo than under free motion at certain frequencies, as the frequency filter will show.
For \(T\ll\tau_c\), expand the exponentials before inserting numbers. The leading free exponent is \(\sigma^2T^2/2\); the echo instead starts at \(\sigma^2T^3/(12\tau_c)\). A cubic leading exponent carries information that simply fitting a single decay time would throw away. For \(T\gg\tau_c\), both exponents grow with leading slope \(\sigma^2\tau_c\) but differ by a constant. The long-time experiments can therefore have equal logarithmic slopes and visibly unequal amplitudes. A result quoted as one fitted coherence time needs its sequence, fitting interval and underlying noise assumption.
Translate the pulse into a frequency filter
Test the same sequence using a single complex Fourier component of the detuning. Its contribution is proportional to \(Y(\omega)=\int_0^T y(t)e^{i\omega t}dt\). Integrating the two constant pieces, and taking moduli to eliminate irrelevant origin phases, gives
Each quantity has units of time squared. At the origin take limits before evaluating: free accumulation gives \(T^2\) and the echo gives zero. At one complete noise cycle during \(T\), the free integral vanishes. The echo can instead turn the two signed halves into constructive accumulation, depending on the phase of the driving signal. Thus the relative response contains information about which frequencies contribute to the observed loss. Measuring a single echo is insufficient to reconstruct an arbitrary noise spectrum; many spectra have the same weighted integral.
Open full-size diagram
Try it · Echo
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.
In the notebook take \(\sigma=1.2\) rad/ms, \(\tau_c=1.5\) ms and \(T=2.0\) ms. The free contrast is about 0.145 and the echo gives about 0.670. First vary only \(\tau_c\), keeping the instantaneous width \(\sigma\) fixed. Then compare the analytic result with a double sum over a time grid. Make the pulse lie on a cell boundary; an odd number of equal cells otherwise assigns unequal signed areas unless the central cell is split. A separate optional OneSimulation eigensolve constructs the propagator of one spin with a static detuning. Its unit return probability and the finite ensemble echo describe different preparations and different levels of modelling.
What can an imperfect apparatus identify?
A uniform offset in pulse timing puts the nominal \(\pi\) pulse at \(T/2+\varepsilon\). A static detuning now accumulates signed time \(2\varepsilon\), so a Gaussian ensemble is attenuated by \(\exp[-2\sigma^2\varepsilon^2]\). A small flip-angle error also leaves part of the coherence in the wrong component. Neither effect is environmental loss of memory. One diagnostic is to vary the programmed pulse position slightly in both directions while holding the final observation time fixed. Static inhomogeneity predicts a peak centred at balanced signed times.
Longitudinal relaxation, non-Gaussian telegraph noise, finite readout contrast and pulse bandwidth can all alter a measured sequence. An independently measured readout visibility can normalise the signal, while a separate population-relaxation measurement tests whether the transverse amplitude must decay even with perfect static refocusing. The Gaussian characteristic-function derivation uses the full probability law, not just its second moment. Specifying the same covariance for a non-Gaussian process need not reproduce the same contrast at strong coupling. The simpler second-moment calculation survives as a leading weak-phase approximation and can be challenged by repeating the experiment at different noise amplitudes.
Tutorial on timing, units and environmental memory
A static ensemble has an rms ordinary-frequency spread of 100 Hz. What free contrast and ideal echo contrast are expected after 2.0 ms?
Work through the solution
Convert cycles per second to angular frequency first. The dimensionless spread of phase is \(2\pi(100)(0.002)=1.257\), giving \(\exp[-1.257^2/2]\simeq0.454\) for the free contrast. The ideal echo cancels every static phase and returns unit contrast when there are no other losses. Inserting 100 directly as an angular frequency would substantially overestimate the free signal.
The midpoint pulse in that experiment is late by 0.20 ms. Compute the echo attenuation due only to this error.
Work through the solution
The remaining signed time is twice the timing error, or 0.40 ms. The rms residual phase is about 0.251 rad. Its characteristic function is about 0.969. A timing mistake can therefore look like a few per cent intrinsic signal loss even when every individual spin remains perfectly coherent.
A single-cycle sinusoidal disturbance causes little free dephasing over its exact period. Must the echo also remove it? Compare the normalised filter powers.
Work through the solution
For \(\omega T=2\pi\), the free numerator vanishes. The echo numerator contains \(\sin^4(\pi/2)=1\), giving \(|Y|^2/T^2=4/\pi^2\simeq0.405\). The phase of a deterministic sinusoid still matters for an individual shot. Averaging uniformly random starting phase turns the squared filter into the relevant sensitivity factor.
Further reading · E. L. Hahn · Spin Echoes, original experiment