Preprints
https://doi.org/10.5194/mr-2026-13
https://doi.org/10.5194/mr-2026-13
04 Dec 2026
 | 04 Dec 2026
Status: this preprint is currently under review for the journal MR.

Gradient ascent pulse engineering (GRAPE) – a primer on quality functions and pulse shape penalties

Armin J. Römer, Josef Granwehr, and Simone S. Köcher

Abstract. Quantum optimal control is a versatile, powerful method to tailor quantum experiments. In NMR, numerical quantum optimal control algorithms such as the gradient ascent pulse engineering (GRAPE) algorithm have sparked many developments in pulse shaping, pushing the limits of pulse selectivity and robustness. To provide an overview of its core principles and the many expansions it has undergone ever since its introduction, the most common quality functions are benchmarked in their ability to guide the spin state transfer for facilitating excitation, inversion, and maximum quantum coherence. Explicit derivations of gradient and Hessian formulas are given, both summarizing what is known from the literature and complementing it. The derivations also give due consideration to the fact that spin states can be represented as density operators or spin operators. Analogously, the most common penalties to guide optimization toward experimentally feasible controls are discussed along with their explicit gradient and Hessian formula derivations. The discussion is complemented by thorough benchmarking for the most commonly used optimization algorithms.

Competing interests: The authors are currently preparing a comment article on a paper by David L. Goodwin and Mads S. Vinding.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Armin J. Römer, Josef Granwehr, and Simone S. Köcher

Status: open (until 01 Jan 2027)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Armin J. Römer, Josef Granwehr, and Simone S. Köcher
Armin J. Römer, Josef Granwehr, and Simone S. Köcher
Metrics will be available soon.
Latest update: 04 Dec 2026
Download
Short summary
The educational article provides an introduction to the field of NMR pulse design with quantum optimal control by summarizing the existing literature and developments of the gradient pulse engineering algorithm, complementing mathematical derivations, and highlighting practical aspects essential for implementation and application. A systematic benchmark of quality functions and penalties guides the user in successfully applying GRAPE to experimental NMR.
Share