<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" specific-use="SMUR" dtd-version="3.0" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher">MRD</journal-id>
<journal-title-group>
<journal-title>Magnetic Resonance Discussions</journal-title>
<abbrev-journal-title abbrev-type="publisher">MRD</abbrev-journal-title>
<abbrev-journal-title abbrev-type="nlm-ta">Magn. Reson. Discuss.</abbrev-journal-title>
</journal-title-group>
<publisher><publisher-name></publisher-name>
<publisher-loc>Göttingen, Germany</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.5194/mr-2026-13</article-id>
<title-group>
<article-title>Gradient ascent pulse engineering (GRAPE) &amp;ndash; a primer on quality functions and pulse shape penalties</article-title>
</title-group>
<contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Römer</surname>
<given-names>Armin J.</given-names>
<ext-link>https://orcid.org/0009-0001-8498-8452</ext-link>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Granwehr</surname>
<given-names>Josef</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Köcher</surname>
<given-names>Simone S.</given-names>
<ext-link>https://orcid.org/0000-0001-9501-1703</ext-link>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
</contrib-group><aff id="aff1">
<label>1</label>
<addr-line>Institute of Energy Technologies (IET-1), Forschungszentrum Jülich GmbH, Jülich, Germany</addr-line>
</aff>
<aff id="aff2">
<label>2</label>
<addr-line>Institute of Technical and Macromolecular Chemistry, RWTH Aachen University, Aachen, Germany</addr-line>
</aff>
<aff id="aff3">
<label>3</label>
<addr-line>Fritz Haber Institute of the Max Planck Society, Berlin, Germany</addr-line>
</aff>
<pub-date pub-type="epub">
<day>04</day>
<month>12</month>
<year>2026</year>
</pub-date>
<volume>2026</volume>
<fpage>1</fpage>
<lpage>55</lpage>
<permissions>
<copyright-statement>Copyright: &#x000a9; 2026 Armin J. Römer et al.</copyright-statement>
<copyright-year>2026</copyright-year>
<license license-type="open-access">
<license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri"  xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p>
</license>
</permissions>
<self-uri xlink:href="https://mr.copernicus.org/preprints/mr-2026-13/">This article is available from https://mr.copernicus.org/preprints/mr-2026-13/</self-uri>
<self-uri xlink:href="https://mr.copernicus.org/preprints/mr-2026-13/mr-2026-13.pdf">The full text article is available as a PDF file from https://mr.copernicus.org/preprints/mr-2026-13/mr-2026-13.pdf</self-uri>
<abstract>
<p>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.</p>
</abstract>
<counts><page-count count="55"/></counts>
<funding-group>
<award-group id="gs1">
<funding-source>Deutsche Forschungsgemeinschaft</funding-source>
<award-id>EXC 2186/2 390919832</award-id>
</award-group>
</funding-group>
</article-meta>
</front>
<body/>
<back>
</back>
</article>