Pulse Simulation
Pulse simulation maps a specified waveform to a quantum trajectory and a measured outcome. A pulse is not fully defined by its duration and peak amplitude: carrier phase, envelope interpolation, truncation, timing, and filtering can change its action. This page treats forward simulation; optimal control treats choosing a waveform by optimization.
Helpful background. Driven two-level systems fixes Rabi and rotating-frame conventions.
Waveforms are part of the Hamiltonian
Section titled “Waveforms are part of the Hamiltonian”Write the model explicitly, for example
Specify whether stored samples represent values at bin centers, endpoints, or coefficients of a piecewise-constant hold. Linear, cubic, and constant interpolation define different Hamiltonians between samples. Cubic interpolation can overshoot amplitude bounds; a visually smooth line does not guarantee a physically admissible pulse.
For a carrier-modulated drive, distinguish the real laboratory waveform from a complex rotating-frame envelope. State the sign of the carrier phase and the frame transformation. A sample rate that resolves an envelope need not resolve the laboratory carrier.
A Gaussian envelope has infinite support. Truncating it to a finite interval changes its area and introduces endpoint behavior; record the truncation and any smooth window.
Pulse area as an exact commuting benchmark
Section titled “Pulse area as an exact commuting benchmark”For the resonant Hamiltonian , all times commute and
For an untruncated Gaussian on the whole line, . A symmetric truncation at instead gives
Comparing the simulated rotation with the integral of the actual interpolated waveform tests quadrature and timing. Comparing with the infinite Gaussian formula without including its omitted tails tests the wrong pulse.
Pulse area ceases to characterize the full action when detuning, changing control axes, or additional levels introduce noncommuting Hamiltonians. Equal areas can then produce different final states.
Ordering, discontinuities, and filters
Section titled “Ordering, discontinuities, and filters”For consecutive pulses, the earliest propagator appears on the right: . An rotation followed by a rotation generally differs from the reverse sequence. A two-pulse test with a phase-sensitive observable detects a reversed multiplication order that population-only tests may miss.
End an integration step exactly at each discontinuity of a piecewise pulse. High-order methods assume smoothness within a step, and adaptive error estimators may overlook a jump if no stage samples it. Use a time grid fine enough to represent the waveform independently of the internal solver tolerance.
If hardware filtering is included, simulate with the stated impulse response. Include delay, finite bandwidth, and ring-down in the simulation interval. Normalizing a filtered pulse to restore its area does not automatically restore its noncommuting action.
Validation and uncertainty in the model
Section titled “Validation and uncertainty in the model”Refine waveform sampling and propagation tolerance separately. Compare an analytic rectangular or commuting Gaussian pulse before introducing detuning and extra levels. Check norm, final state fidelity, and observables during the sequence.
Repeat with small timing, amplitude, detuning, and phase changes when sensitivity matters. Distinguish numerical error from uncertainty in these model parameters. A two-level truncation can miss leakage into higher states even with a perfect integrator; enlarge the represented Hilbert space and monitor leakage probabilities.
For finite pulse trains, record whether phase is continuous across gaps or reset for each pulse. The distinction changes Ramsey interference and cannot be inferred from a plotted envelope alone.
Exercises
Section titled “Exercises”Two resonant rectangular pulses about the same axis have areas and . What is their total action, and why does the answer change for different axes?
Solution
For the same axis, the generators commute and areas add to , giving . For different axes, the Pauli matrices do not commute, so the product cannot in general be replaced by one rotation whose angle is the sum of the two areas.
References
Section titled “References”- Allen, L., and J. H. Eberly, Optical Resonance and Two-Level Atoms, Wiley, 1975 — pulse areas, phases, and coherent sequences.
- Khaneja, N., T. Reiss, C. Kehlet, T. Schulte-Herbrüggen, and S. J. Glaser, “Optimal control of coupled spin dynamics: design of NMR pulse sequences by gradient ascent algorithms,” Journal of Magnetic Resonance 172, 296–305 (2005), doi:10.1016/j.jmr.2004.11.004 — discretized controls and propagation-based objectives.