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.
Python runs on this device. The first run loads the scientific libraries.
The optional OneSimulation calculation uses the local OneSimulation installation. Save this notebook to run that comparison in Jupyter.
Compare indistinguishable static frequency offsets and a fluctuating environment. The detuning is an angular frequency. A perfect midpoint π pulse reverses its sign in the accumulated phase. Predict which noise timescales the pulse will reject before drawing the curves.
Integrate the noise covariance
Use a Gaussian stationary process with covariance σ² exp(−|t−s|/τ). The ensemble coherence is exp(−variance of accumulated phase/2). A series near zero avoids subtracting almost equal floating-point numbers.
Locate the frequencies that the echo transmits
For harmonic noise the squared Fourier integral of the switching function measures sensitivity. At zero frequency these two filters make opposite predictions. The vertical scale of the right panel is normalised by the square of the observation time.
Test the analytic result without using its closed form
Represent the sign function at midpoints of an even time grid. Use the matrix of pair covariances to evaluate the phase variance. Halve the time step and check the convergence. The pulse sign convention may be reversed globally without changing the contrast.
An optional single-spin check with OneSimulation
Use exact matrix exponentiation through a Hermitian eigensystem. This checks the reversal for a constant detuning on one spin; the stochastic variance above describes an ensemble of many spins.