Abstract
The efficient computer optimization of magnetic resonance pulses and pulse sequences involves the calculation of a problem-adapted cost function as well as its gradients with respect to all controls applied. The gradients generally can be calculated as a finite difference approximation, as a GRAPE approximation, or as an exact function, e.g. by the use of the augmented matrix exponentiation, where the exact gradient should lead to best optimization convergence. The calculation of the exact gradient, on the other hand, is computationally demanding and is one of the determining factors for the overall time needed for optimization. Its improved calculation, e.g. by faster analytical solutions, is therefore highly desired. The majority of pulse optimizations involve a single spin 1/2, for which propagation is either represented by 3D-rotations or quaternions. Here, highly efficient analytical solutions for gradients for both cases are derived with respect to various possible controls. Controls are either x and y pulses, but also z-controls, as well as gradients with respect to amplitude and phase of a pulse shape. In addition, analytical solutions with respect to pseudo controls, involving holonomic constraints to maximum rf-amplitudes, maximum rf-power, or maximum rf-energy, are introduced. Using the hyperbolic tangent function, maximum values are imposed in a fully continuous and differentiable way. The obtained analytical gradients allow the calculation two orders of magnitude faster than the augmented matrix exponential approach, automatically speeding up any optimization in any optimization program by the same factor for the corresponding set of controls. The use of exact gradients for different controls is finally demonstrated in a number of optimizations involving broadband pulses of potential use in biomolecular applications for N, C, and F.
Supplementary Information
The online version contains supplementary material available at 10.1007/s10858-025-00486-7.
Keywords: Shaped pulses, Optimal control, Exact gradient, Optimization, Analytical gradients, Holonomic constraints
Introduction
Biomolecular NMR spectroscopy depends strongly on a large number of highly optimized shaped pulses, typically for selective or broadband excitation, inversion, and refocusing. Particularly ultra high field NMR spectroscopy poses requirements on shaped pulses that can only be fulfilled using the latest state-of-the-art optimization procedures, which themselves rely on efficient mathematical algorithms for convergence. A central and time-determining calculation in all modern optimization tools is the gradient of a given constant element of a shaped pulse with respect to the applicable controls, for example the x- and y-components of the pulse. Here, in this article, analytical solutions are introduced that can calculate such gradients for a single spin 1/2 and various types of controls with utmost efficiency and may thereby improve overall optimization times of applicable problems irrespective of a specific program used.
Due to spectroscopic requirements, computer optimization of pulses and pulse sequence building blocks has a long standing history in the NMR community. Starting out with composite pulses (Levitt and Freeman 1979; Levitt 1986; Lurie 1986; Tycko et al. 1985), shaped pulses (Emsley and Bodenhausen 1990, 1992; Ewing et al. 1990; Garwood and Ke 1991; Kupce and Freeman 1993, 1994; Smith et al. 2001; Tannús and Garwood 1997; Zax et al. 1988), heteronuclear decoupling (Levitt et al. 1982; Shaka et al. 1983) and Hartmann-Hahn-transfer building blocks (Kadkhodaie et al. 1991; Shaka et al. 1988), the success of todays liquid state NMR spectroscopy is largely built on these elements. With the advent of optimal control based algorithms (Conolly et al. 1986; Mao et al. 1986; Rosenfeld and Zur 1996) and in particular with the GRAPE algorithm (de Fouquieres et al. 2011; Khaneja et al. 2005; Skinner et al. 2003), possibilities in pulse design increased dramatically in the past two decades and examples in pulse shape design (Ehni and Luy 2013; Ehni et al. 2022; Ehni and Luy 2014, 2012; Gershenzon et al. 2008, 2007; Haller et al. 2022; Kobzar et al. 2005; Koos et al. 2015, 2017; Martikyan et al. 2021; Slad et al. 2022; Spindler et al. 2012, 2017; Odedra and Wimperis 2012; Spindler et al. 2013; Joseph and Griesinger 2023; Buchanan et al. 2025; He et al. 2024) show utmost performance close to the physical limits (Kobzar et al. 2004, 2008, 2012; Lapert et al. 2012). However, even larger bandwidths and/or lower rf-energies will have to be explored as well as extremely complex optimizations like whole heternuclear decoupling periods (Neves et al. 2009; Schilling et al. 2014), that easily lead to very long optimization times lasting weeks to months on highly parallelized supercomputers. It is therefore worth looking into the basic mathematics to look for analytical solutions of spin system treatment wherever possible to significantly speed up corresponding calculations.
The majority of current pulse and pulse sequence optimizations are performed using a single spin in Liouville superoperator (Hogben et al. 2011) or Bloch space (Bonnard et al. 2012; Skinner et al. 2004). This description is perfectly suited for optimizing the transfer from an intial to a final state, as e.g. the case for so-called point-to-point pulses (Kobzar et al. 2004; Skinner et al. 2003; Kobzar et al. 2008). Other optimizations, like having a defined propagator in universal rotation pulses (Khaneja et al. 2005; Kobzar et al. 2012) as a target, are better described using either Cayley-Klein parameters (Cayley 1997) or the related quaternion formalism (Hamilton 1843; Rodrigues 1840). In each type of optimization, a Hamiltonian needs to be diagonalized, which can be done by numerical exponentiation using for example the Padé algorithm, or by analytical formulae, which are particularly straightforward in the case of a single spin in Bloch space, where this is resembled by well-studied three dimensional Cartesian rotation matrices. In addition, partial derivatives to all controls need to be calculated in gradient and hessian based optimization algorithms. This can be achieved by a linear approximation as in the original GRAPE formalism (Khaneja et al. 2005; Skinner et al. 2003), but exact gradients are more efficient for the convergence of optimizations (de Fouquieres et al. 2011; Kuprov 2023). Such exact gradients can be calculated using a general approach described by Aizu (1963); Levante et al. (1996), or by a recent development in algebra based on the matrix exponentiation of co-propagators (Goodwin and Kuprov 2015, 2016). For a single spin, however, analytical solutions with respect to conventional controls were recently introduced with the ESCALADE approach (Foroozandeh and Singh 2021) and it was shown that very fast optimizations are possible based on a mixture of exact analytical gradients and numerical hessian calculations (Goodwin and Vinding 2023).
The goal of computational optimization in NMR spectroscopy must be to be able to address more and more complex problems. In this publication we focus on the improvement of extremely complex optimizations that can be performed with single spin calculations. One goal is, for example, to achieve broadband pulses that can cover bandwidths 20 to 100 times the applied maximum rf-amplitude to address the full chemical shift bandwidths of nuclei relevant for biological and pharmaceutical problems like N, F, P, as well as other nuclei of broader chemical interest like Sn, or Pt. In such cases, computational demands rise non-linearly and while short pulse shapes can be optimized in a matter of seconds to minutes on a conventional PC, the desired demanding pulses may take months on high level supercomputers or are not at all feasible with current technology due to limitations in memory. This memory issue is particularly pressing in the case of hessian-based optimization algorithms. If, for example, a 10 ms pulse with 0.1 s digitization is considered, 100.000 digits result in 200.000 controls (x and y component), which in turn lead to a 200.000200.000 hessian matrix with double precision numbers, which corresponds to 320 GB memory for the calculation of a single condition hessian in an optimization. As our aim is at this type of optimization complexity, we do not consider second derivative hessian matrices in the following and reduce our view to exact gradients only, which can be calculated much more memory efficient and are readily combined with e.g. the Limited-memory Broyden–Fletcher–Goldfarb–Shanno (LBFGS) optimization algorithm. In this context, we here derive analytical derivatives in the Bloch picture based on rotational matrices, as well as for four-dimensional quaternions for propagator-based optimizations in a tabular form. It is thereby closely related to the ESCALADE approach, for which a very nice abstract way of gradient and hessian calculations based on the Rodrigues expansion has been developed (Foroozandeh and Singh 2021). In the present approach, however, we use a much simpler method in which the quaternions and the Rodrigues formula for rotations are directly used to derive gradients simply from individual matrix components. We therefore can extent the ESCALADE approach to more individualized optimization concepts: next to the conventional case with x and y-controls, we also consider several special cases, like the formulation in Cartesian coordinates for x,y pulses including z-controls, or the equivalent description using polar amplitude, phase and z-controls for pulse shapes. Also direct derivatives for holonomic constraints using based pseudo-parameters for amplitude, power, and energy-limited pulse optimizations are derived.
Theory
GRAPE algorithm formulation for a single spin 1/2
Optimization of point-to-point pulses
A shaped pulse can be seen as a sequence of N short pulses of length with piecewise constant rf-amplitudes, where the pulse normally consists of two controls and that represent the x and y-components of the shaped pulse. While the offset frequency at a certain position in the spectrum relative to the irradiation frequency constitutes the free evolution or drift Hamiltonian
| 1 |
the pulses constitute the control Hamiltonian at the pulse
| 2 |
For a given sequence of N pulses with duration at a specific offset the propagator is given by
| 3 |
and the propagation of an initial spin density operator can be written as
| 4 |
The goal of a point-to-point optimization is to find values of the controls that minimize the differences between the desired final state of the spin () and the obtained final density operator with the current control amplitudes (), which is identical to maximizing their overlap according to (Khaneja et al. 2005)
| 5 |
In order to maximize the cost function , we have to minimize its gradient with respect to every control at every timestep, which for the time point is resulting in
| 6 |
with , and and being the x and y components of the control Hamiltonian. Thus, for each iteration i of the optimization, the controls , , are guaranteed to increase the cost function for an infinitesimal according to
| 7 |
until convergence to a (local) optimum is reached. Please note that the partial derivatives may also be calculated using the rotation angles
| 8 |
In this case, the update can be rewritten into
| 9 |
using the relation . Instead of the GRAPE-approximation given at the end of Eq. 6, it is advantageous to use the computationally more costly exact gradients for the pulse sequence update (de Fouquieres et al. 2011). The critical point in these exact gradients is the calculation of or , respectively, and its complex conjugate, for which several solutions have been proposed (Goodwin and Kuprov 2015; Levante et al. 1996), but elegant analytical solutions might be of particular interest for specific problems. For a single spin we will derive such very compact analytical forms for various optimization types in the following.
In order to design broadband PP pulses with inhomogeneity compensation, it is further necessary to calculate the cost function and the gradient for offsets linearly distributed over the desired bandwdith and different rf-amplitudes covering the desired -compensated range. The global quality factor and the global gradient can be calculated as averages according to
| 10 |
and
| 11 |
Optimization of universal rotation pulses
If not the transformation of a given state to a final state, but rather the rotation in Hilbert space itself is the target, the propagator itself can be optimized (de Fouquieres et al. 2011; Khaneja et al. 2005; Kobzar et al. 2012; Luy et al. 2005; Skinner et al. 2012). Considering the total propagator U(T) at time point given by
| 12 |
a cost function with respect to the desired propagator can be formulated as
| 13 |
and the corresponding gradients to the time step for x and y components of the pulse train s are approximated by (Khaneja et al. 2005)
| 14 |
with , and previously used notations for the control Hamiltonian components and .
Analytical exact point-to-point gradients using x, y, and optional z controls
The usual equations for evolution of a spin density matrix have been used in the previous section. However, it might be advantageous to use the Liouville superoperator formalism for a single spin in Cartesian coordinate representation. The spin density operator can then be represented by a four vector , where the contribution of the identity matrix may be neglected. If furthermore relaxation is neglected, the spin density at time point j is fully represented by the vector
| 15 |
and propagation is achieved by the Liouville superoperators in the reduced Cartesian representation
| 16 |
and the co-state is represented accordingly by
| 17 |
Please note, that the spin density as well as the co-state vector only have to be multiplied single-sided by the corresponding Liouville superoperators. Since we are in the Cartesian component basis set, we furthermore see that the superoperator is represented by a simple rotation matrix, which can be written as
| 18 |
with the overall rotation angle and the normalized components , and of the rotation axis of timestep j. It can also be noted more compact using the Rodrigues formula using its individual elements :
| 19 |
where is the Levi-Civita symbol.
In each step j, , , and can be calculated from the control values , and as follows:
| 20 |
| 21 |
| 22 |
| 23 |
with the effective flip angles around the Cartesian axes , , , where the rotation around the z-axis now consists of the offset term introduced above and the introduction of a potential z-control that cannot be applied directly on a spectrometer, but that can be used to allow direct implementation of pulse sequence bound offset changes in optimizations (Stockmann and Wald 2018; Vinding et al. 2017, 2021). With these equations in hand, it is straightforward to reformulate the cost function for point-to-point pulses in Cartesian Liouvielle representation as
| 24 |
Accordingly, the gradients for time point for the single spin is
| 25 |
which leaves an analytical derivation of the derivative of the rotation matrix with respect to the Cartesian controls to obtain an overall exact gradient. With the formulae given in this section, the derivatives of the individual matrix components can be straightforwardly achieved and corresponding results are shown in Table 1 for the x andy derivatives and in Table 2 for the z-control.
Table 1.
Derivatives of rotation matrix components with respect to
and
for point-to-point optimizations
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
Table 2.
Derivatives of rotation matrix components with respect to
for point-to-point optimizations
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
Analytical exact point-to-point gradients using amplitude, phase, and optional z controls
The normalized components of the rotation axes , and can also be written in polar coordinates, resulting in the pulse phase and rf-amplitude as the input parameters for pulse shapes. The corresponding notation is
| 26 |
with
| 27 |
The derivatives for the rotational matrix components with respect to , and can then be derived the same way as in the previous section. The gradients for the time point for the single spin are
| 28 |
which again leaves an analytical derivation of the derivative of the rotation matrix with respect to the Cartesian controls to obtain an overall exact gradient. The calculation can be done by hand or a symbolic mathematics program and the result for the rotation matrix components are listed in Tables 3 and 4, respectively. The amplitude and phase representation is particularly useful in cases of restricted rf-amplitudes or even constant rf-amplitudes (Skinner et al. 2006), where in the latter case only derivatives to the phase need to be considered for a minimum set of parameters.
Table 3.
Derivatives of rotation matrix components with respect to phase
and rf-amplitude
for point-to-point optimizations
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
Table 4.
Derivatives of rotation matrix components with respect to z rotations in polar coordinates of the xy-plane for point-to-point optimizations
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
Analytical exact universal rotation gradients
We have seen that propagation can be expressed in terms of simple rotations in the case of a single spin . If effective rotations themselves need to be optimized, it is best to express them with minimum storage and computation time. As such, Cayley (1997) or, equivalently, quaternions (Emsley and Bodenhausen 1990; Hamilton 1843; Rodrigues 1840; Slad et al. 2022) can be used to express rotations. Although the minimum set of numbers to represent a rotation is the vector spanned by , it is better to use a four-dimensional vector
| 29 |
for the rotation at time step j, where the four components are defined by
| 30 |
| 31 |
| 32 |
| 33 |
using the definitions of Eqs. (20)-(22). Quaternions have the advantage that a series of rotations can be directly evaluated via the product
| 34 |
which, with its 16 simple multiplications and sums, is computationally more efficient than the construction of a rotation matrix involving at least one sine/cosine calculation.
Using the formalism for universal rotation pulses, the cost function can be written directly as
| 35 |
and the gradients are derived as
| 36 |
where again the overall gradient calculation is reduced to simple quaternion propagation plus the calculation of the rotation derivative - this time in quaternion notation. With Eqs. (30)-(33) the involved partial derivatives of the individual quaternion components can be calculated and corresponding results are summarized in Table 5. Obviously, the components of interest can also be derived with respect to polar coordinates and in the xy-plane, for which the terms are given in the right column of the same Table. It should be noted that the derivatives with respect to are particularly simple, which guarantees fastest gradient calculation times for the case of constant amplitude pulses.
Table 5.
Exact gradients of the quaternion elements A, B, C, D with respect to cartesian coordinates (, and ) and polar coordinates (, and ). Auxiliary variable is , other variables as defined in the main text
| Cartesian | Polar | ||
|---|---|---|---|
| 0 | |||
| 0 | |||
Limited rf-amplitudes as holonomic constraints
Optimizing efficient pulses in magnetic resonance usually implies optimizations with boundary conditions. One of the fundamental boundaries concern large rf-amplitudes that can cause experimental problems in the form of arching, violated duty cycles, and exceedance of allowed energy depositions. As such, they pose clear restrictions to applicable rf-amplitudes, rf-power, or rf-energy, respectively. Simple implementations with hard cut-off limits have been proposed early on in optimal control optimizations (Gershenzon et al. 2008, 2007; Kobzar et al. 2004, 2008; Skinner et al. 2004). However, mathematically more sound are so-called holonomic constraints that can be included in optimizations as Lagrange multipliers. Holonomic constraints essentially require continuously differentiable functions for restrictions and are usually implemented by auxiliary variables. A multitude of periodic functions have been proposed as auxiliary functions (Goodwin 2017), but we will concentrate here on a widely used trigonometric function, the hyperbolic tangent , which can be incorporated as a reduced rf-amplitude in polar coordinate systems according to
| 37 |
where the reduced amplitude of the digit continuously converges only to the maximum value . In an optimization, instead can now be changed as an auxiliary variable without any restriction, while will be used for the actual values of rf-amplitudes in the pulse shape.
For a simple amplitude restriction to a j-dependent maximum value,
| 38 |
with maximum rf-amplitude can be imposed. Usually a constant restriction for all time steps is chosen, but in special cases, physics may imply a j-dependent upper limit function (Skinner et al. 2012). In an actual optimization, we restrict ourselves to the polar case where the rf-amplitude is inherently included in the variable . However, using the auxiliary approach, the variables , , , , and from equations (18,19,26,27,29 - 33) used in the rotation matrices as well as in the quaternion formalism, have to be replaced by their reduced variants according to
| 39 |
| 40 |
| 41 |
| 42 |
| 43 |
The resulting gradients and are then essentially of the same form as derived above. Only for the derivation to the auxiliary variable itself the is not a constant and care has to be taken. Taking the derivation of the element of an UR optimization as an example, we can derive
| 44 |
With the auxiliary derivative term the actual control (i.e. the rf-amplitudes of the shaped pulse) can be used, for the optimization, instead, the variable has to be used, making it necessary to include the terms
| 45 |
into the equations of the gradient in question. Please note that the second solution is derived from the general relation and results in a computationally friendly term, as has to be calculated anyway.
If overall rf-power restrictions have to be imposed, the maximum rotation angle can also be defined via the reduced angle at time point j according to
| 46 |
with the squareroots of the maximum allowed average rf-power and actual average rf-power expressed by
| 47 |
where piecewise constant rf-amplitudes and uniform time steps have been assumed. Again, the derivative of the reduced rotation angle has to be calculated for the gradient, but this time the reduction involves rotation angles at all time steps and the derivative in e.g. an UR optimization with rf-power restriction will involve
| 48 |
with the reduced rotation angle derivatives defined by
| 49 |
| 50 |
Finally, also the overall rf-energy of a pulse can be restricted, using, for example, the energy defined in Hz
| 51 |
or the more convenient expression in terms of rotation angles
| 52 |
when equations (46 - 50) are used with substituting with the maximum allowed energy and by .
Results and Discussion
Runtime comparisons
All analytical solutions for the different gradients have been derived to significantly enhance computational performance. As the runtime performance of already existing optimization programs depends on a large number of different parameters which do not allow a fair comparison. Furthermore, some programs are limited to certain types of pulse shapes (SEEDLESS, for example, is fast, but also limited to constant amplitude pulses with exclusive optimization of pulse phases and does not include other options). All of the existing programs may, nevertheless, benefit from the analytical solutions derived here. We therefore implemented the analytical solutions in Julia, a modern compiling programming language with a comfortable interface similar to Python or Matlab. The implementation of linear algebra routines in Julia is furthermore based on efficient BLAS routines, that still represent today’s standard. We compared the analytical solutions derived in the various Tables with the exact solution provided by the augmented matrix exponential (Floether et al. 2012; Goodwin and Kuprov 2015; Van Loan 1978) approach and, in addition, to a finite difference approximation. All calculations were performed with double precision (Float64) accuracy.
For the Cartesian point-to-point case, the augmented matrix exponential approach for a specific Cartesian control can be implemented in a 6-dimensional matrix that consists of two identical rotation matrices along the diagonal, and the generator of corresponding the x, y, or z-control in the right upper corner. Solving the equation
| 53 |
and
| 54 |
gives the desired result for the first derivative in place of the control. It should be noted, that the augmented matrix exponential approach cannot directly be applied to polar coordinates, as no generator is available for a change of the phase-angle or the overall rotation angle . This would imply the calculation of an x- and y-control and then combine the two results for obtaining phase and amplitude. We did not attempt this, as this clearly would result in doubling of calculation time and an even larger gap in performance of this approach. Correspondingly, the auxiliary approach was not attempted, as it only makes sense in polar coordinates.
Equivalent to rotational matrices, the augmented matrix exponential approach can be applied using a single spin propagator defined via the Pauli matrices. The corresponding equation involves matrices according to
| 55 |
and
| 56 |
Finite difference approximations were performed using 3D rotation matrices and quaternions in the PP and UR cases, respectively. They essentially consist of two rotations and the corresponding calculations are mainly determined by the computation of trigonometric terms. Averaged computation times were calculated using the Julia package BenchmarkTools. The resulting times averaged over 1000 derivative calculations are summarized in Table 6. In all cases the analytical derivative solutions introduced here outperforms the other approaches. Compared to the other exact calculations based on the augmented matrix exponential approach, improvements of factors 100–150 are observed. The finite differences approach, on the other hand, is quite fast with factors of approximately 1–3 for the different types of optimization. The gain of the analytical solution compared in this case is not so much in the speed, but, of course, in the higher accuracy of the gradient and therefore a faster overall convergence of the gradient-based optimizations.
Table 6.
| PP (Cartesian) | Laptop | Workstation | UR (Cartesian) | Laptop | Workstation |
|---|---|---|---|---|---|
| Analytical | Analytical | ||||
| 325.9s | 368.0s | 271.4s | 331.3s | ||
| 298.2s | 361.7s | 278.4s | 329.7s | ||
| 326.0s | 362.6s | 288.7s | 333.4s | ||
| Exponential | Exponential | ||||
| 45788.0s | 33467.0s | 43774.0s | 32058.0s | ||
| 49442.0s | 33990.0s | 49276.0s | 32492.0s | ||
| 51196.0s | 33152.0s | 48715.0s | 32651.0s | ||
| Finite differences | Finite differences | ||||
| 490.8s | 915.5s | 311.3s | 328.9s | ||
| 505.4s | 907.5s | 302.7s | 325.3s | ||
| 501.5s | 908.0s | 307.3s | 325.3s | ||
| PP (polar) | UR (polar) | ||||
| analytical | analytical | ||||
| 286.6s | 337.4s | 287.4s | 330.2s | ||
| 293.5s | 349.2s | 281.9s | 354.0s | ||
| 276.1s | 335.5s | 277.0s | 332.5s | ||
| Finite differences | Finite differences | ||||
| 453.1s | 435.8s | 342.3s | 407.3s | ||
| 451.6s | 433.9s | 410.9s | 412.9s | ||
| 457.3s | 443.6s | 412.7s | 416.0s |
Lenovo Thinkpad X1 (2023) 12th Gen Intel Core i7-1260P 2.10 GHz;AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz
Example optimizations
To test the performance of the analytical exact gradients, we also looked into three different optimization scenarios. The first one concerns with a relatively simple, but nevertheless important application: the development of N pulses that cover the full 50 ppm amide bandwidth on a 1.2 GHz spectrometer with a maximum rf-amplitude that corresponds to a rectangular 90 pulse of 50 s. The aim was not to produce the best pulse possible, but to monitor and compare how well the analytical solutions were able to produce a good pulse and what the average duration per iteration as a measure of computation speed was. The results are summarized in Table 7 for excitation (so-called BEBOP pulses (Skinner et al. 2003, 2005; Kobzar et al. 2012)) and inversion (so-called BIBOP pulses (Ehni and Luy 2013; Kobzar et al. 2004, 2012; Nimbalkar et al. 2013)) pulse optimizations.
Table 7.
Summary of individual optimizations performed using the different formulae from Tables 1-3. In all cases, pulses of 500 s duration, maximum rf-amplitude of 5 kHz with ±10% B-compensation (3 points), and a bandwidth of 6000 kHz (11 offset points, covering 50 ppm in N at a 1.2 GHz spectrometer) were optimized using a BFGS optimization algorithm on a single core of a laptop
| Controls | t | Iterations | Optimization | Time per | Quality |
|---|---|---|---|---|---|
| [s] | # | time [s] | iter. [s] | factor | |
| Excitation | |||||
| , | 1/10/50 | 4944/424/148 | 665,4/7,4/0,598 | 134,5/17,4/4,0 | 0,9987/0,9960/0,9973 |
| ,, | 1/10/50 | 1294/152/98 | 306,2/7,2/0,277 | 236,6/47,3/2,8 | 0,9990/0,9938/0,9955 |
| , | 1/10/50 | 777/134/119 | 383,9/7,6/0,608 | 494,0/56,7/5,1 | 0,9962/0,9949/0,9923 |
| ,, | 1/10/50 | 1083/198/65 | 991,3/12,8/0,428 | 915,3/64,6/6,5 | 0,9978/0,9981/0,9968 |
| , | 1/10/50 | 147/146/105 | 17,7/2,8/0,407 | 120,4/19,1/3,8 | 0,9966/0,9991/0,9985 |
| ,, | 1/10/50 | 765/247/85 | 82,7/5,5/0,421 | 108,1/22,2/4,9 | 0,9989/0,9989/0,9968 |
| 1/10/50 | 847/1018/82 | 53,7/8,1/0,126 | 63,4/7,9/1,5 | 0,9981/0,9995/0,9963 | |
| Inversion | |||||
| , | 1/10/50 | 4805/231/87 | 727.4/5.4/0.277 | 151.3/23.3/3.1 | 0.9978/0.9947/0.9926 |
| ,, | 1/10/50 | 1427/185/70 | 316.7/6.8/0.418 | 221.9/36.7/5.9 | 0.9972/0.9971/0.9946 |
| , | 1/10/50 | 809/1192/78 | 488.6/21/0.318 | 603.9/17.6/4.0 | 0.9926/0.9996/0.9972 |
| ,, | 1/10/50 | 819/173/132 | 632.9/11.3/0.74 | 772.7/65.3/5.6 | 0.9950/0.9961/0.9987 |
| , | 1/10/50 | 331/302/95 | 46.2/3.5/0.376 | 139.5/11.5/3.9 | 0.9972/0.9995/0.9973 |
| ,, | 1/10/50 | 260/121/54 | 40.8/2.5/0.228 | 156.9/20.6/4.2 | 0.9965/0.9995/0.9926 |
| 1/10/50 | 573/753/88 | 39.2/4.4/0.215 | 68.4/5.8/2.4 | 0.9997/0.9981/0.9932 |
For parameters we decided to focus on amplitude-restricted pulses with a maximum rf-amplitude of 5 kHz and ±10% B-compensation. The bandwidth is 6000 kHz, which is only slightly larger than the rf-amplitude of the pulse. Pulse shapes fulfilling this condition have been optimized already as early as 2004 (Kobzar et al. 2004), although not with exactly the same parameters. For the optimization we used the Optim.jl Julia package (https://julianlsolvers.github.io/Optim.jl/stable/), with its BFGS implementation. We ran all optimizations on the very same laptop with which we compared the runtime performance in Table 6. Independent of the parameters used for optimization, the resulting pulses generally gave high quality factors larger than 0.99. Three different digitizations were used in the optimizations, where durations of the digits of 1, 10, and 50 s led to 500, 50, and 10 piecewise constant pulse elements, respectively. It is no surprise that the latter led to fastest overall optimization times in the sub-second range, as well as the shortest computation times per iteration and also on average less iterations for convergence. Interestingly, the resulting quality factors for the short optimizations are overall in the same range as for the other optimizations. Particularly for initial screens it might therefore be of use to start a large number of fast optimizations with long elements, which then form a good basis to choose optimization parameters for a more detailed search. However, it should be noted, that there are profound differences between pulses with quality factors on the order of 0.992 and ones with quality factors of 0.999. This can nicely be seen in Fig. 1, where corresponding excitation and inversion pulses are compared in their performance. Clearly the higher quality factors correspond to significantly better performing pulse shapes.
Fig. 1.
Offset profiles for excitation (A, B) and inversion (C, D) pulses optimized for amide nitrogen excitation of proteins on a 1.2 GHz spectrometer. The quality factors of the corresponding pulse shapes are written in italics in Table 7. For both types, worst (A, C) and best (B, D) pulses were simulated and differences are clearly visible
Comparing the different controls, it is no surprise that constant amplitude optimizations that only control the pulse phase , resulted in shortest calculation times. This approach simply has the least amount of controls and also the smallest parameter space in the optimizations. More unexpectedly, the second fastest overall optimization times were reached by the reduced amplitude parameters using the tanh-based restriction of equation (46). Although the additional computation of the tanh terms is computationally costly, it seems to clearly outperform the Lagrange multiplier type amplitude restriction used in the other cases. It seems therefore worth following the pseudo parameter approach when dealing with such type of restrictions.
For the more conventional approaches using either x, y or , controls, no real difference in performance can be seen. Also the addition of z-controls did not really change the convergence characteristic. However, we experienced that z-controls lead to many optimizations that stop at a very early stage of an optimization. Apparently, the unrestricted z-controls lead sometimes to erratic behaviour with large frequency jumps between neighbouring digits. In principle, z-control should allow better convergence and a larger parameter space when rough digitizations are used in pulse optimization. The situation might change, when additional constraints like smoothness restrictions are applied to z-controls.
The second studied scenario concerns pulses with a bandwidth of 40 kHz, which corresponds to a 266 ppm carbon chemical shift range on a 600 MHz spectrometer, and to 160 ppm on a 1.0 GHz spectrometer. Several pulse shapes are available covering the desired bandwidth, although usually with longer pulse shapes than needed (Kobzar et al. 2004, 2008, 2012). We optimized here a basic set of excitation, inversion and different universal rotation pulses fulfilling roughly the physical minimu durations with either constant amplitude of 10 kHz, or with a combined Lagrange multiplier type rf-amplitude (20 kHz) and rf-power () restrictions. Corresponding pulse shapes generally resulted in very good performance pulses, as can also be seen in Figs. 2, 3, 4 for the different pulse types. In all cases the amplitude and power-restricted pulse shapes perform better than the constant amplitude pulses with identical overall rf-power, which could be expected from the results of previous systematic studies of BEBOP/BIBOP (Kobzar et al. 2004) and power-BEBOP/power-BIBOP (Kobzar et al. 2008) pulses.
Fig. 2.
Offset profiles for two excitation pulses with identical overall rf-power (A,B) and optimization parameters given in Table 8. The best obtained BEBOP pulse shape with constant amplitude and overall quality factor 0.99715 has significantly lower performance (A’) than the power-BEBOP with quality factor 0.99982 (B’), corroborating well-known results regarding physical limits studies (Kobzar et al. 2008)
Fig. 3.
Offset profiles for two inversion pulses with identical overall rf-power (A, B) and optimization parameters given in Table 8. The best obtained BIBOP pulse shape with constant amplitude and overall quality factor 0.99744 has significantly lower performance (A’) than the power-BIBOP with quality factor 0.99983 (B’), corroborating well-known results regarding physical limits studies (Kobzar et al. 2008)
Fig. 4.
Offset profiles for a universal rotation power-BURBOP-90 (A) and a universal rotation power-BURBOP-180 (B) pulse with identical overall rf-power and optimization parameters given in Table 8. Both pulses show exceptional performance
Finally, we optimized a set of pulses for F spectroscopy on a 600 MHz spectrometer, where previously two universal rotation pulses were optimized for screening experiments with essentially identical parameters (Lingel et al. 2020). The rational behind the optimizations is, that for other screening experiments, as well as biomolecular NMR on fluorinated samples, particularly short excitation and inversion pulses might be beneficial. The large bandwidth and considerable B-compensation for most pulses is challenging, but resulting pulse shapes lead to remarkable results, which is nicely documented in Fig. 5.
Fig. 5.
Summary of pulse shapes optimized for fluorine excitation. (A, B) extremely short saturation pulse of 120 s covering the full bandwidth of 120 kHz. Although the pulse was optimized without B-compensation, considerable compensation is achieved in the ±10% range. (C, D) power-BEBOP excitation and power-BIBOP inversion pulses with the squareroot of the average rf-power of only 10 kHz and 1.4 ms duration. (E,F) corresponding BEBOP excitation and BIBOP inversion pulses with constant rf-amplitude of 20 kHz and durations of 350 s and below. (G,H) Universal rotation BURBOP-90 and BURBOP-180 pulses of 600 s and 700 s duration equivalent to previously published pulse shapes (Lingel et al. 2020). The Offset/B region used for most pulse optimizations is highlighted by the yellow dashed boxes
A first pulse is a saturation pulse bringing z magnetization efficiently into the x,y plane. As has been previously experienced (Enders et al. 2014; Luy et al. 2009; Woordes et al. 2025), the wide offset range can be covered with a very short pulse shape. It should also be noted that the overall optimization time of this difficult pulse on a single processor core required only 1.6 seconds with a close to perfect performance. Although no B-compensation was applied, the pulse will be very well applicable, as can be seen in Fig. 5B. Surprisingly good are also the excitation and inversion pulses with their overall rf-power restricted to the equivalent to a 10 kHz constant amplitude pulse. The restriction in this case has been applied via the tanh-type pseudo controls with inherent power-based scaling. Both pulse shapes with a high number of offset checks, 700 piecewise constant pulse digits, and detailed B-compensation were the most complex optimizations attempted here. Correspondingly, optimization times comprise half a day to a day on a single core. The bandwidth-over-B-ratio in this case is 12, which is much larger than for most previously optimized excitation and inversion pulses, and demonstrates to some extent the increase in complexity and optimization duration with more demanding pulse shapes. Both optimizations did not fully converge, but stopped after the maximum number of iterations specified (5000 iterations). It can be expected that optimizations that run until convergence is reached will lead to better pulse shapes, but most likely with only slight improvements. Finally, constant amplitude pulse shapes with a bandwidth-over-B-ratio of 6 were optimized for excitation, inversion, and universal rotation 90 and 180 pulses. All of the pulses are rather short for their performance and should be readily suited for corresponding F-based applications.
Conclusion
Cost functions and corresponding exact gradients for point-to-point and universal rotation type single spin optimizations have been derived analytically. Their implementation into the self-written program PulseOptimizer (will be published somewhere else) resulted into improvements in computation times compared to other analytical gradient calculations like the augmented matrix exponentiation approach by roughly two orders of magnitude. Correspondingly, very different types of conventional pulse shapes could be optimized in a matter of seconds to few hours using a single processor core on a laptop. With this increase in optimization speed an important step towards the optimization of pulse shapes with very large bandwidth-over-B-ratios is done. However, already some of the example pulses have shown that further technical improvements in optimization software will be necessary to tackle pulses with bandwidths that are 100 times larger than the corresponding B field strenghts. As such, massive parallelization and eventually efficient implementation in GPU architectures either on a quality factor level and/or on an optimizer level seem to be appropriate additional future steps.
Table 8.
Different pulse types optimized for a typical C scenario, where 250 ppm on a 600 MHz spectrometer or 160 ppm on a 1.0 GHz spectrometer have to be covered. Pulses were optimized using an L-BFGS optimization algorithm on a single core of a laptop
| Pulse type |
Controls | Offset | BW | B | t | / | iter. | opt. | Quality | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| # | [kHz] | # | [%] | [s] | [s] | [kHz] | # | time [s] | factor | ||
| excitation | , | 31 | 40 | 3 | 5 | 1 | 500 | 10/20 | 3956 | 1664.0 | 0.99982 |
| excitation | ,, | 31 | 40 | 3 | 5 | 10 | 500 | 10/20 | 90 | 6.4 | 0.99914 |
| excitation | 31 | 40 | 3 | 5 | 1 | 500 | -/10 | 1248 | 293.0 | 0.99715 | |
| inversion | , | 31 | 40 | 3 | 5 | 1 | 500 | 10/20 | 1966 | 690.0 | 0.99983 |
| inversion | ,, | 31 | 40 | 3 | 5 | 10 | 500 | 10/20 | 104 | 7.5 | 0.99839 |
| inversion | 31 | 40 | 3 | 5 | 1 | 500 | -/10 | 1473 | 344.0 | 0.99744 | |
| UR-90 | , | 61 | 40 | 3 | 5 | 1 | 1000 | 10/20 | 5000 | 3170.0 | 0.99996 |
| UR-180 | , | 61 | 40 | 3 | 5 | 1 | 1000 | 10/20 | 2854 | 3353.6 | 0.99998 |
optimization stopped after reaching maximum number of iterations
Table 9.
Different pulse types optimized for a typical F scenario, where 200 ppm need to be covered on a 600 MHz spectrometer. Pulses were optimized using an L-BFGS optimization algorithm on a single core of a laptop
| Pulse type | Controls | Offset | BW | B | t | / | iter. | Opt. | Quality | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| # | [kHz] | # | [%] | [s] | [s] | [kHz] | # | time [s] | Factor | ||
| saturation | 31 | 120 | 1 | - | 2 | 120 | -/10 | 244 | 1.6 | 0.99999 | |
| excitation | , | 301 | 120 | 5 | 10 | 2 | 1400 | 10/- | 5000 | 94570 | 0.99627 |
| excitation | 121 | 120 | 5 | 10 | 1 | 350 | -/20 | 894 | 904.4 | 0.99419 | |
| inversion | , | 301 | 120 | 5 | 10 | 2 | 1400 | 10/- | 5000 | 42864 | 0.99989 |
| inversion | 121 | 120 | 5 | 10 | 1 | 300 | -/20 | 567 | 757.1 | 0.99885 | |
| UR-90 | 121 | 120 | 5 | 10 | 1 | 600 | -/20 | 2587 | 2833.2 | 0.99915 | |
| UR-180 | 121 | 120 | 5 | 10 | 1 | 700 | -/20 | 10000 | 15411.0 | 0.99951 |
optimization stopped after reaching maximum number of iterations
Supplementary Information
Below is the link to the electronic supplementary material.
Acknowledgements
B.L. thanks the Deutsche Forschungsgemeinschaft (CRC 1527 - HyPERION, project C01) and the HGF programme MSE Information (43.35.02) for financial support. We also thank very much David L. Goodwin (Aarhus and Oxford) for many detailed and decisive discussions.
Author Contributions
Both authors were involved in all aspects of the scientific work and the manuscript.
Funding
Open Access funding enabled and organized by Projekt DEAL.
Data Availability
No datasets were generated or analysed during the current study.
Declarations
Competing interests
The authors declare no competing interests.
Ethical Approval
The authors have no relevant financial or non-financial interests to disclose.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- Aizu K (1963) Parameter differentiation of quantum-mechanical linear operators. J Math Phys 4(6):762–775. 10.1063/1.1724318 [Google Scholar]
- Bonnard B, Glaser SJ, Sugny D (2012) A review of geometric optimal control for quantum systems in nuclear magnetic resonance. Adv Math Phys 2012(1):857493. 10.1155/2012/857493 [Google Scholar]
- Buchanan CJ, Bhole G, Karunanithy G, Casablancas-Antràs V, Poh AWJ, Davis BG et al (2025) Seedless: on-the-fly pulse calculation for NMR experiments. Nat Commun 16(1):7276. 10.1038/s41467-025-61663-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cayley A IV (1997) A sixth memoir upon quantics. Philos Trans R Soc Lond 149:61–90. 10.1098/rstl.1859.0004 [Google Scholar]
- Conolly S, Nishimura D, Macovski A (1986) Optimal control solutions to the magnetic resonance selective excitation problem. IEEE Trans Med Imaging 5(2):106–115. 10.1109/TMI.1986.4307754 [DOI] [PubMed] [Google Scholar]
- de Fouquieres P, Schirmer SG, Glaser SJ, Kuprov I (2011) Second order gradient ascent pulse engineering. J Magn Reson 212(2):412–417. 10.1016/j.jmr.2011.07.023 [DOI] [PubMed] [Google Scholar]
- Ehni S, Koos MRM, Reinsperger T, Haller JD, Goodwin DL, Luy B (2022) Concurrent J-evolving refocusing pulses. J Magn Reson 336:107152. 10.1016/j.jmr.2022.107152 [DOI] [PubMed] [Google Scholar]
- Ehni S, Luy B (2012) A systematic approach for optimizing the robustness of pulse sequence elements with respect to couplings, offsets, and -field inhomogeneities (COB). Magn Reson Chem. 50(S1):S63–S72. 10.1002/mrc.3846 [DOI] [PubMed] [Google Scholar]
- Ehni S, Luy B (2013) BEBEtr and BUBI: j-compensated concurrent shaped pulses for 1H–13C experiments. J Magn Reson 232:7–17. 10.1016/j.jmr.2013.04.007 [DOI] [PubMed] [Google Scholar]
- Ehni S, Luy B (2014) Robust INEPT and refocused INEPT transfer with compensation of a wide range of couplings, offsets, and B 1 -field inhomogeneities (COB3). J Magn Reson 247:111–117. 10.1016/j.jmr.2014.07.010 [DOI] [PubMed] [Google Scholar]
- Emsley L, Bodenhausen G (1990) Gaussian pulse cascades: new analytical functions for rectangular selective inversion and in-phase excitation in NMR. Chem Phys Lett 165(6):469–476. 10.1016/0009-2614(90)87025-M [Google Scholar]
- Emsley L, Bodenhausen G (1992) Optimization of shaped selective pulses for NMR using a quaternion description of their overall propagators. J Magn Reson 97(1):135–148. 10.1016/0022-2364(92)90242-Y [Google Scholar]
- Enders M, Görling B, Braun AB, Seltenreich JE, Reichenbach LF, Rissanen K et al (2014) Cytotoxicity and NMR studies of platinum complexes with cyclooctadiene ligands. Organometallics 33(15):4027–4034. 10.1021/om500540x [Google Scholar]
- Ewing B, Glaser SJ, Drobny GP (1990) Development and optimization of shaped NMR pulses for the study of coupled spin systems. Chem Phys 147(1):121–129. 10.1016/0301-0104(90)85028-U [Google Scholar]
- Floether FF, Fouquieres PD, Schirmer SG (2012) Robust quantum gates for open systems via optimal control: markovian versus non-markovian dynamics. New J Phys 14(7):073023. 10.1088/1367-2630/14/7/073023 [Google Scholar]
- Foroozandeh M, Singh P (2021) Optimal control of spins by analytical lie algebraic derivatives. Automatica 129:109611. 10.1016/j.automatica.2021.109611 [Google Scholar]
- Garwood M, Ke Y (1991) Symmetric pulses to induce arbitrary flip angles with compensation for Rf inhomogeneity and resonance offsets. Journal of Magnetic Resonance (1969) 94(3):511–525. 10.1016/0022-2364(91)90137-I [Google Scholar]
- Gershenzon NI, Kobzar K, Luy B, Glaser SJ, Skinner TE (2007) Optimal control design of excitation pulses that accommodate relaxation. J Magn Reson 188(2):330–336. 10.1016/j.jmr.2007.08.007 [DOI] [PubMed] [Google Scholar]
- Gershenzon NI, Skinner TE, Brutscher B, Khaneja N, Nimbalkar M, Luy B et al (2008) Linear phase slope in pulse design: application to coherence transfer. J Magn Reson 192(2):235–243. 10.1016/j.jmr.2008.02.021 [DOI] [PubMed] [Google Scholar]
- Goodwin DL, Kuprov I (2015) Auxiliary matrix formalism for interaction representation transformations, optimal control, and spin relaxation theories. J Chem Phys 143(8):084113. 10.1063/1.4928978 [DOI] [PubMed] [Google Scholar]
- Goodwin DL, Kuprov I (2016) Modified Newton-Raphson GRAPE methods for optimal control of spin systems. J Chem Phys 144(20):204107. 10.1063/1.4949534 [DOI] [PubMed] [Google Scholar]
- Goodwin DL (2017) Advanced optimal control methods for spin systems. PhD thesis
- Goodwin DL, Vinding MS (2023) Accelerated Newton-Raphson GRAPE methods for optimal control. Phys Rev Res 5(1):L012042. 10.1103/PhysRevResearch.5.L012042 [Google Scholar]
- Haller JD, Goodwin DL, Luy B (2022) SORDOR pulses: expansion of the Böhlen-Bodenhausen scheme for low-power broadband magnetic resonance. Magn Reson 3(1):53–63. 10.5194/mr-3-53-2022 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hamilton WR (1843) On quaternions; or on a new system of imaginaries in algebra. Letter to John T. Graves
- He M, Faderl D, MacKinnon N, Cheng YT, Buyens D, Jouda M et al (2024) A digital twin for parallel liquid-state nuclear magnetic resonance spectroscopy. Commun Eng 3(1):1–13. 10.1038/s44172-024-00233-0 [Google Scholar]
- Hogben HJ, Krzystyniak M, Charnock GTP, Hore PJ, Kuprov I (2011) Spinach - A Software Library for Simulation of Spin Dynamics in Large Spin Systems. J Magn Reson 208(2):179–194. 10.1016/j.jmr.2010.11.008 [DOI] [PubMed] [Google Scholar]
- Joseph D, Griesinger C (2023) Optimal Control Pulses for the 1.2-GHz (28.2-T) NMR Spectrometers. Sci Adv 9(45):eadj1133. 10.1126/sciadv.adj1133 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kadkhodaie M, Rivas O, Tan M, Mohebbi A, Shaka AJ (1991) Broadband Homonuclear Cross Polarization Using Flip-Flop Spectroscopy. Journal of Magnetic Resonance. 91(2):437–443. 10.1016/0022-2364(91)90210-K [Google Scholar]
- Khaneja N, Reiss T, Kehlet C, Schulte-Herbrüggen T, Glaser SJ (2005) Optimal Control of Coupled Spin Dynamics: Design of NMR Pulse Sequences by Gradient Ascent Algorithms. J Magn Reson 172(2):296–305. 10.1016/j.jmr.2004.11.004 [DOI] [PubMed] [Google Scholar]
- Kobzar K, Ehni S, Skinner TE, Glaser SJ, Luy B (2012) Exploring the Limits of Broadband 90 and 180 Universal Rotation Pulses. J Magn Reson 225:142–160. 10.1016/j.jmr.2012.09.013 [DOI] [PubMed] [Google Scholar]
- Kobzar K, Luy B, Khaneja N, Glaser SJ (2005) Pattern Pulses: Design of Arbitrary Excitation Profiles as a Function of Pulse Amplitude and Offset. J Magn Reson 173(2):229–235. 10.1016/j.jmr.2004.12.005 [DOI] [PubMed] [Google Scholar]
- Kobzar K, Skinner TE, Khaneja N, Glaser SJ, Luy B (2004) Exploring the Limits of Broadband Excitation and Inversion Pulses. J Magn Reson 170(2):236–243. 10.1016/j.jmr.2004.06.017 [DOI] [PubMed] [Google Scholar]
- Kobzar K, Skinner TE, Khaneja N, Glaser SJ, Luy B (2008) Exploring the Limits of Broadband Excitation and Inversion: II. Rf-power Optimized Pulses J Magn Reson 194(1):58–66. 10.1016/j.jmr.2008.05.023 [DOI] [PubMed] [Google Scholar]
- Koos MRM, Feyrer H, Luy B (2015) Broadband excitation pulses with variable RF amplitude-dependent flip angle (RADFA). Magn Reson Chem 53(11):886–893. 10.1002/mrc.4297 [DOI] [PubMed] [Google Scholar]
- Koos MRM, Feyrer H, Luy B (2017) Broadband RF-amplitude-dependent flip angle pulses with linear phase slope. Magn Reson Chem 55(9):797–803. 10.1002/mrc.4593 [DOI] [PubMed] [Google Scholar]
- Kupce E, Freeman R (1993) Polychromatic selective pulses. J Magn Reson Ser A 102(1):122–126. 10.1006/jmra.1993.1079 [Google Scholar]
- Kupce E, Freeman R (1994) Wideband excitation with polychromatic pulses. J Magn Reson Ser A 108(2):268–273. 10.1006/jmra.1994.1123 [Google Scholar]
- Kuprov I (2023) Optimal Control of Spin Systems. In: KUPROV ILYA, editor. Spin: From Basic Symmetries to Quantum Optimal Control. Cham: Springer International Publishing. p 313–349
- Lapert M, Zhang Y, Janich MA, Glaser SJ, Sugny D (2012) Exploring the physical limits of saturation contrast in magnetic resonance imaging. Sci Rep 2(1):589. 10.1038/srep00589 [Google Scholar]
- Levante TO, Bremi T, Ernst RR (1996) Pulse-sequence optimization with analytical derivatives. Application to deuterium decoupling in oriented phases. J Magn Reson Ser A 121(2):167–177. 10.1006/jmra.1996.0157 [Google Scholar]
- Levitt MH (1986) Composite pulses. Prog Nucl Magn Reson Spectrosc 18(2):61–122. 10.1016/0079-6565(86)80005-X [Google Scholar]
- Levitt MH, Freeman R (1979) NMR population inversion using a composite pulse. J Magn Reson 33(2):473–476. 10.1016/0022-2364(79)90265-8 [DOI] [PubMed] [Google Scholar]
- Levitt MH, Freeman R, Frenkiel T (1982) Broadband heteronuclear decoupling. J Magn Reson 47(2):328–330. 10.1016/0022-2364(82)90124-X [Google Scholar]
- Lingel A, Vulpetti A, Reinsperger T, Proudfoot A, Denay R, Frommlet A et al (2020) Comprehensive and high-throughput exploration of chemical space using broadband 19F NMR-based screening. Angew Chem Int Ed 59(35):14809–14817. 10.1002/anie.202002463 [DOI] [PubMed] [Google Scholar]
- Lurie DJ (1986) Numerical design of composite radiofrequency pulses. J Magn Reson 70(1):11–20. 10.1016/0022-2364(86)90359-8 [Google Scholar]
- Luy B, Kobzar K, Glaser SJ, Khaneja N (2009) Ultrabroadband NMR Spectroscopy Using Xy-BEBOP Saturation Pulses. In: 50th Experimental NMR Conference Pacific Grove, CA
- Luy B, Kobzar K, Skinner TE, Khaneja N, Glaser SJ (2005) Construction of universal rotations from point-to-point transformations. J Magn Reson 176(2):179–186. 10.1016/j.jmr.2005.06.002 [DOI] [PubMed] [Google Scholar]
- Mao J, Mareci TH, Scott KN, Andrew ER (1986) Selective inversion radiofrequency pulses by optimal control. J Magn Reson 70(2):310–318. 10.1016/0022-2364(86)90016-8 [Google Scholar]
- Martikyan V, Beluffi C, Glaser SJ, Delsuc MA, Sugny D (2021) Application of optimal control theory to Fourier transform ion cyclotron resonance. Molecules 26(10):2860. 10.3390/molecules26102860 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Neves JL, Heitmann B, Khaneja N, Glaser SJ (2009) Heteronuclear decoupling by optimal tracking. J Magn Reson 201(1):7–17. 10.1016/j.jmr.2009.07.024 [DOI] [PubMed] [Google Scholar]
- Nimbalkar M, Luy B, Skinner TE, Neves JL, Gershenzon NI, Kobzar K et al (2013) The fantastic four: a plug ‘n’ play set of optimal control pulses for enhancing NMR spectroscopy. J Magn Reson 228:16–31. 10.1016/j.jmr.2012.12.007 [DOI] [PubMed] [Google Scholar]
- Odedra S, Wimperis S (2012) Use of composite refocusing pulses to form spin echoes. J Magn Reson 214:68–75. 10.1016/j.jmr.2011.10.006 [DOI] [PubMed] [Google Scholar]
- Rodrigues O (1840) Des Lois Géométriques Qui Régissent Les Déplacements d’un Système Solide Dans l’espace, et de La Variation Des Coordonnées Provenant de Ces Déplacements Considérés Indépendamment Des Causes Qui Peuvent Les Produire. Journal de mathématiques pures et appliquées. p 380–440
- Rosenfeld D, Zur Y (1996) Design of adiabatic selective pulses using optimal control theory. Magn Reson Med 36(3):401–409. 10.1002/mrm.1910360311 [DOI] [PubMed] [Google Scholar]
- Schilling F, Warner LR, Gershenzon NI, Skinner TE, Sattler M, Glaser SJ (2014) Next-generation heteronuclear decoupling for high-field biomolecular NMR spectroscopy. Angew Chem Int Ed 53(17):4475–4479. 10.1002/anie.201400178 [DOI] [PubMed] [Google Scholar]
- Shaka AJ, Keeler J, Freeman R (1983) Evaluation of a new broadband decoupling sequence: WALTZ-16. J Magn Reson 53(2):313–340. 10.1016/0022-2364(83)90035-5 [Google Scholar]
- Shaka AJ, Lee CJ, Pines A (1988) Iterative schemes for bilinear operators; application to spin decoupling. J Magn Reson 77(2):274–293. 10.1016/0022-2364(88)90178-3 [Google Scholar]
- Skinner TE, Gershenzon NI, Nimbalkar M, Bermel W, Luy B, Glaser SJ (2012) New strategies for designing robust universal rotation pulses: application to broadband refocusing at low power. J Magn Reson 216:78–87. 10.1016/j.jmr.2012.01.005 [DOI] [PubMed] [Google Scholar]
- Skinner TE, Kobzar K, Luy B, Bendall MR, Bermel W, Khaneja N et al (2006) Optimal control design of constant amplitude phase-modulated pulses: application to calibration-free broadband excitation. J Magn Reson 179(2):241–249. 10.1016/j.jmr.2005.12.010 [DOI] [PubMed] [Google Scholar]
- Skinner TE, Reiss TO, Luy B, Khaneja N, Glaser SJ (2003) Application of Optimal Control Theory to the Design of Broadband Excitation Pulses for High-Resolution NMR. J Magn Reson 163(1):8–15. 10.1016/S1090-7807(03)00153-8 [DOI] [PubMed] [Google Scholar]
- Skinner TE, Reiss TO, Luy B, Khaneja N, Glaser SJ (2004) Reducing the Duration of Broadband Excitation Pulses Using Optimal Control with Limited RF Amplitude. J Magn Reson 167(1):68–74. 10.1016/j.jmr.2003.12.001 [DOI] [PubMed] [Google Scholar]
- Skinner TE, Reiss TO, Luy B, Khaneja N, Glaser SJ (2005) Tailoring the Optimal Control Cost Function to a Desired Output: Application to Minimizing Phase Errors in Short Broadband Excitation Pulses. J Magn Reson 172(1):17–23. 10.1016/j.jmr.2004.09.011 [DOI] [PubMed] [Google Scholar]
- Slad S, Bermel W, Kümmerle R, Mathieu D, Luy B (2022) Band-Selective Universal 90 and 180 Rotation Pulses Covering the Aliphatic Carbon Chemical Shift Range for Triple Resonance Experiments on 1.2 GHz Spectrometers. J Biomol NMR 76(5–6):185–195. 10.1007/s10858-022-00404-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Smith MA, Hu H, Shaka AJ (2001) Improved Broadband Inversion Performance for NMR in Liquids. J Magn Reson 151(2):269–283. 10.1006/jmre.2001.2364 [Google Scholar]
- Spindler PE, Glaser SJ, Skinner TE, Prisner TF (2013) Broadband Inversion PELDOR Spectroscopy with Partially Adiabatic Shaped Pulses. Angew Chem Int Ed 52(12):3425–3429. 10.1002/anie.201207777 [DOI] [PubMed] [Google Scholar]
- Spindler PE, Schöps P, Kallies W, Glaser SJ, Prisner TF (2017) Perspectives of Shaped Pulses for EPR Spectroscopy. J Magn Reson 280:30–45. 10.1016/j.jmr.2017.02.023 [DOI] [PubMed] [Google Scholar]
- Spindler PE, Zhang Y, Endeward B, Gershernzon N, Skinner TE, Glaser SJ et al (2012) Shaped Optimal Control Pulses for Increased Excitation Bandwidth in EPR. J Magn Reson 218:49–58. 10.1016/j.jmr.2012.02.013 [DOI] [PubMed] [Google Scholar]
- Stockmann JP, Wald LL (2018) In Vivo B0 Field Shimming Methods for MRI at 7 T. Neuroimage 168:71–87. 10.1016/j.neuroimage.2017.06.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tannús A, Garwood M (1997) Adiabatic pulses. NMR Biomed 10(8):423–434. https://doi.org/10.1002/(SICI)1099-1492(199712)10:8<423::AID-NBM488>3.0.CO;2-X [DOI] [PubMed] [Google Scholar]
- Tycko R, Cho HM, Schneider E, Pines A (1985) Composite pulses without phase distortion. J Magn Reson 61(1):90–101. 10.1016/0022-2364(85)90270-7 [Google Scholar]
- Van Loan C (1978) Computing integrals involving the matrix exponential. IEEE Trans Automat Control 23(3):395–404. 10.1109/TAC.1978.1101743 [Google Scholar]
- Vinding MS, Guérin B, Vosegaard T, Nielsen NC (2017) Local SAR, global SAR, and power-constrained large-flip-angle pulses with optimal control and virtual observation points. Magn Reson Med 77(1):374–384. 10.1002/mrm.26086 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vinding MS, Goodwin DL, Kuprov I, Lund TE (2021) Optimal control gradient precision trade-offs: application to fast generation of DeepControl libraries for MRI. J Magn Reson 333:107094. 10.1016/j.jmr.2021.107094 [DOI] [PubMed] [Google Scholar]
- Woordes YT, Kobzar K, Ehni S, Görling B, Schilling F, Pianowski ZL, et al (2025) Ultrabroadband 1D and 2D NMR Spectroscopy. Angew Chem Int Ed. p. accepted. Preprint: 10.26434/chemrxiv-2025-b2zhn [DOI] [PMC free article] [PubMed]
- Zax DB, Goelman G, Vega S (1988) Amplitude-modulated composite pulses. J Magn Reson 80(2):375–382. 10.1016/0022-2364(88)90312-5 [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
No datasets were generated or analysed during the current study.



























































