- Survey
- Open Access
- Published:

# Optimal control theory for applications in Magnetic Resonance Imaging

*Pacific Journal of Mathematics for Industry*
**volume 9**, Article number: 9 (2017)

## Abstract

We apply innovative mathematical tools coming from optimal control theory to improve theoretical and experimental techniques in Magnetic Resonance Imaging (MRI). This approach allows us to explore and to experimentally reach the physical limits of the corresponding spin dynamics in the presence of typical experimental imperfections and limitations. We study in this paper two important goals, namely the optimization of image contrast and the maximization of the signal to noise per unit time. We anticipate that the proposed techniques will find practical applications in medical imaging in a near future to help the medical diagnosis.

## Introduction

Optimality with respect to a given criterion is vital in many applications, but it presents a complexity that requires a lot of ingenuity to provide a solution. In this context, optimal control tackles the question of bringing a dynamical system from one state to another with minimum expenditure of time and resources [50]. Optimal control theory was born in its modern version with the Pontryagin Maximum Principle (PMP) in the late 1950’s. Its development was originally inspired by problems of space dynamics, but it is now a key tool to study a large spectrum of applications extending from robotics to economics and biology [5, 12, 14, 15, 18, 19, 23, 27, 29]. Optimal control problems can be solved by two different types of approaches, geometric [5, 14, 29] and numerical methods [16, 27, 36] for dynamical systems of low and high dimension, respectively. The geometric techniques lead to a complete mathematical and qualitative understanding of the control problem, from which we can deduce the structure of the optimal solution and the physical limits of a dynamical process, such as the minimum time to achieve a given task [2, 5, 13, 14, 26, 29–31]. The advantages of the numerical approach are complementary to the ones of the geometric method. The relative simplicity of the application of the numerical algorithms makes it possible to adapt them straightforwardly to new classes of control problems. Generally, it is also possible to include constraints in the algorithms to account for experimental imperfections or requirements related to a specific material or device. This point is essential in view of experimental applications and helps to bridge the gap between control theory and control experiments [16, 21, 27, 32, 36, 46, 51, 58].

Since its discovery in the forties, Magnetic Resonance has become a powerful physical tool to study molecules and matter in a variety of domains in chemistry, biology and solid state physics [3, 25, 45]. The efficiency of Magnetic Resonance techniques is maybe best illustrated by medical imaging, where it is now possible to build up a three-dimensional picture of the human brain. Even the mental processes of the brain activity, which modify the oxygenation and the flow of the blood can be detected by this tool. This information is not accessible by any other current method [3]. It is this imaging aspect of the control of spin dynamics which will be at the core of this paper. In Magnetic Resonance Imaging (MRI), the major challenges are based on the maximization of the contrast between volume elements with different physical or chemical properties in order to clearly detect anatomical features and to distinguish healthy tissue e.g. from tumors. It is also crucial to improve sensitivity by compensating instrumental imperfections such as the non-uniformity of signal excitation magnetic pulses. Such goals can be achieved by applying specific magnetic fields to the sample. The development of theoretical techniques, such as composite and shaped pulses in MRI has so far relied on a relatively small number of concepts and numerical tools that have led to many practical improvements in the last decades [45]. However, these improvements were largely incremental, none of those approaches was able to establish physical limits of the best possible performance in terms of energy deposition, sensitivity, robustness and contrast. The revolutionary aspect of optimal control theory in this domain is in its ability to achieve and operate at the physical performance limit, resulting in more detailed information, better sensitivity, and better imaging contrast. Measurement time per patient could also be decreased, making the technique more patient-friendly and also more economical. A crucial issue for pulse design is the implementation of control operations under significant uncertainties stemming from the non-uniform nature of the sample, such as the human body, and of the applied magnetic fields. Recent advances in numerical optimization techniques have made it possible to design high quality control sequences that are robust against the various experimental uncertainties [20, 27, 32, 49, 52]. This requirement of robustness in general is one of the key factors for the development of new technologies. Recently it has been shown that thousands of individual spins with different experimental features can be simultaneously optimized, resulting in an improved experimental performance [28, 33–35, 40, 43, 54–57, 62]. More generally, the flexibility of the optimal control approach allows us to include complex physical and instrumental effects, such as relaxation, radiation damping and power limits in order to find highly robust experimental settings suitable for practical applications under realistic conditions.

The idea of using optimal control techniques in MRI was initially proposed in the eighties [17], but the recent advent of analytical and numerical tools has made possible impressive progresses in this domain, leading to the optimization of the control of complex spin dynamics in MRI [1, 10, 43, 47, 53, 60, 61]. The aim of this paper is to present two examples of recent results obtained in this direction both from the geometric and numerical approaches. These examples will allow us to describe and discuss the efficiency and the limitations of this method in order to solve applied and concrete issues in MRI.

The paper is organized as follows. Section 2 deals with the optimization of the signal to noise per unit time (SNR) by geometric control techniques. The unbounded case is investigated, showing that the Ernst angle solution is the optimal solution of the control problem. This result is an essential prerequisite for the extension of this analysis to realistic situations, which are numerically much more intricate. Section 3 focuses on the optimization of the contrast in in vivo MRI. We numerically maximize the contrast of the brain of a rat. The experimental results show the efficiency of the applied magnetic fields. Conclusion and prospective views are given in Section 4.

## Optimal control of the signal to noise ratio per unit time

This paragraph deals with an application of geometric optimal control theory to MRI. Recently, this method has been successfully applied to a question of fundamental and practical interest in MRI, the maximization of the achievable signal-to-noise ratio per unit time (SNR) of a spin 1/2 particle [3, 25, 45]. The SNR is practically enhanced in spin systems by using a multitude of identical cycles. In this periodic regime, the SNR increases as the square root of the number of scans. Each elementary block is composed of a detection time and of a control period where the spin is subjected to a radio-frequency magnetic pulse, this latter being mandatory to guarantee the periodic character of the overall process. A first solution to this problem was established in the sixties by R. Ernst and his co-workers [24]. In this proposition, the control law is made of a *δ*- pulse, featured by a specific rotation angle, and known as the *Ernst angle solution*. This pulse sequence is routinely used in magnetic resonance spectroscopic and medical applications. Note also that optimal control theory was not used in Ref. [24]. We have revisited recently this question by applying the powerful tools of geometric control theory. In [38], we have shown in the case of unbounded controls that the Ernst angle solution is the optimal solution of this control problem. This analysis was generalized in [39] to spin dynamics in the presence of radiation damping effects and crusher gradients. We present in this section a brief review of these results.

### 2.1 The model system

We describe in this paragraph the model system used in the theoretical analysis. We consider an ensemble of spin 1/2 particles subjected to a radio-frequency magnetic field, which is assumed to be homogeneous across the sample. The system is described by a magnetization vector \(\vec {M}\) of coordinates (*M*
_{
x
},*M*
_{
y
},*M*
_{
z
}), whose dynamics is governed, in a given rotating frame, by the standard Bloch equations [3, 25, 45]:

where *T*
_{1} and *T*
_{2} are respectively the longitudinal and transverse relaxation constants. *M*
_{0} is the thermal equilibrium of the magnetization and (*ω*
_{
x
},*ω*
_{
y
}) are the two control amplitudes of the radio-frequency magnetic field. Normalizing the time with respect to the detection time *T*
_{
d
} (see below for a description of this parameter), *τ*=*t*/*T*
_{
d
}, and the amplitude of the magnetization vector with respect to *M*
_{0}, (*x,y,z*)=(*M*
_{
x
}/*M*
_{0},*M*
_{
y
}/*M*
_{0},*M*
_{
z
}/*M*
_{0}), we get:

where *γ*=2*π*
*T*
_{
d
}/*T*
_{1}, *Γ*=2*π*
*T*
_{
d
}/*T*
_{2} and *u*
_{
x,y
}=*T*
_{
d
}
*ω*
_{
x,y
}. In the relevant physical case where 0≤*T*
_{2}≤2*T*
_{1}, it can be shown that *x*
^{2}+*y*
^{2}+*z*
^{2}≤1 at any time, which defines the Bloch ball [37]. In the new coordinates, the dynamics only depends on two parameters *γ* and *Γ* and the detection time is fixed to 1. The system admits a symmetry of revolution around the *z*- axis which allows us to consider by setting *u*
_{
y
}=0 only a planar projection onto the (*y,z*)- plane [7, 11]. The final equations used in this paper are then given by:

where *u* stands for *u*
_{
x
}.

In this ideal dynamical system, we introduce a simple scenario to describe the optimization of the SNR per unit time (see the schematic description in Fig. 1. The point reached at the end of the pulse sequence is the measurement point *M* of coordinates (*y*
_{
m
},*z*
_{
m
}). The system has a free evolution from this point to the steady state *S* of coordinates (*y*
_{
s
},*z*
_{
s
}), where the pulse sequence starts. The times *T*
_{
d
} and *T*
_{
c
} denote the detection time (fixed by the experimental setup) and the control time, respectively. The total time *T* during which a series of identical experiments are made is fixed. The total number *N* of experiments is then given by: *T*=*N*(*T*
_{
c
}+*T*
_{
d
}).

Following Refs. [38, 39], the optimization problem is defined through the introduction of the following cost functional \(\mathcal {R}\):

*y*
_{
m
} being the strength of the signal at the beginning of the detection period (only the transverse magnetization can be measured). A white noise is assumed, which explains the \(\sqrt {N}\) factor in the denominator of \(\mathcal {R}\). Simple algebra leads to:

Since the total time *T* and the detection time *T*
_{
d
} are fixed,we can introduce a normalized SNR *Q* with respect to the measurement time *T*
_{
d
} :

which only depends on the position of the *M* point. The factor of quality *Q* is the figure of merit to maximize.

### 2.2 How to move in the Bloch ball

Before entering into the details of the optimization of the SNR, the first question to solve is the optimal control of the magnetization vector in the Bloch ball. Here, we only summarize the main results, which have been recently established in a series of papers [7, 37, 41, 42, 48]. We recall that the dynamics of the system is governed by Eq. (3), with no constraint on the control field, *u*(*t*). At this stage, it is illuminating to introduce the polar coordinates (*R*,*θ*) such that *y*=*R* sin*θ* and *z*=*R* cos*θ*. Equation (3) can then be written as follows:

We immediately note that the angular speed \(\dot {\theta }\) can be directly control by *u*, while the radial one, \(\dot {r}\), does not explicitly depend on the field. The radial coordinate can only be controlled in a two-step process by a judicious choice of *θ*. In the unbounded case, we have therefore a complete control over the angular degree of freedom, but we still have to understand how to manipulate the system along the radial direction. For that purpose, we have plotted in Fig. 2 the evolution of the speed \(\dot {r}\) as a function of the angle *θ*. The characteristic points of this dynamics, maximum, minimum and zero points, are underlined and reported in the (*y,z*)- plane. Such specific points allow us to determine the optimal solution to manipulate in minimum time the system along the radial direction [37]. From a control point of view, this analysis allows to recover the singular trajectories, which are the paths where the control field is not equal, in absolute value, to the maximum bound [41]. We obtain here two types of singular controls: the horizontal one along the plane of equation \(z=z_{0}=\frac {-\gamma }{2(\Gamma -\gamma)}\), denoted *S*
_{
h
} and the vertical one along the *z*- axis denoted *S*
_{
v>0} and *S*
_{
v<0}, for *z*>*z*
_{0} and *z*<*z*
_{0}, respectively. Note that the plane of equation *z*=*z*
_{0} intersects the Bloch ball if

In the standard case where *T*
_{1}≥*T*
_{2}, this leads to the condition 2*T*
_{1}≥3*T*
_{2}. The time-optimal solution is thus the concatenation of bang arcs, denoted *B* where the intensity of the field is maximum (here infinite) and of singular arcs. We refer the reader to previous works for a thorough mathematical and physical analysis of this control process [7, 37, 41, 42], but according to the constraint given below, the horizontal singular arcs can only be used if the condition 2*T*
_{1}≥3*T*
_{2} is satisfied. An example is given in Fig. 3 for the saturation process where the goal is to reach as fast as possible the center of the Bloch ball. According to the values of the relaxation parameters *T*
_{1} and *T*
_{2}, we observe that two different control sequences are used. In the first situation, the optimal control law is composed of a bang pulse followed by two singular arcs, a horizontal and a vertical one. In the second case, an inversion pulse is used to reach the south pole before the application of a zero control along the *z*- axis. It can be shown that the analytical expression of the corresponding minimum times are given by:

where \(\alpha =\frac {T_{2}(T_{2}-2T_{1})}{2T_{1}(T_{1}-T_{2})^{2}}\) and

in the first and second cases, respectively.

A straightforward generalization of this study allows us to design the optimal field bringing in minimum time the system from any initial point to any target state of the Bloch ball, leading to a complete description and understanding of this optimal control problem. Such a classification of all the optimal trajectories is called an optimal synthesis [14]. In each case, we recall that the time-optimal solution can only be the concatenation of different bang arcs and of singular paths along the *z*- axis or along the line *z*=*z*
_{0}.

### 2.3 Optimization of the SNR in the unbounded case

We have now all the tools in hand to optimize the SNR. This optimization is a non-standard and difficult control problem for which a cost functional *Q* has to be maximized, together with the determination of the initial *S* and final *M* points of the control period. Only the position of one of the two points needs to be computed since the *S* and the *M* points are connected by a free evolution. Following Refs. [38, 39], we adopt a brute-force strategy to solve this problem, which consists in replacing this global optimization by a two-step procedure. For any *M* point of coordinates (*y*
_{
m
},*z*
_{
m
}) of the Bloch ball, we first determine as explained in Section 2.2 the time-optimal path going from *S* to *M* and we compute the corresponding value of the figure of merit *Q*. Only five types of control sequences can be optimal. According to the values of the relaxation parameters, only three different optimal syntheses are obtained, as displayed in Fig. 4. We observe the occurring of the Ernst ellipsoid, which is the set of points where *R*
_{
m
}=*R*
_{
s
} (the radii of the *M* and *S* points), i.e. the control sequence where only a *δ*- pulse is used to bring the system from *S* to *M*.

In this unbounded situation, the functional *Q* can also be determined analytically as a function of the coordinates of *M* [38, 39]. Mathematically, *Q* is a non-smooth but continuous surface. This surface is represented in Fig. 5 for the four cases of Fig. 4.

A gradient method gives the maximum of this surface, which belongs to the Ernst ellipsoid. This point can be characterized by the well-known Ernst angle solution:

which was first derived in the original paper by Ernst and his co-workers [24]. The angle *θ* denotes here the angle characterizing the *δ*- pulse of the Ernst sequence.

This first result of optimality on the SNR per unit time paves the way in a near future to a systematic analysis of the optimization of this parameter in spin systems. This method can be generalized to the case of bounded control amplitudes, the use of crusher gradient pulses, to an inhomogeneous ensemble of spins with magnetic field broadening, or to any other experimental constraint. Other aspects will be discussed in the conclusion of the paper.

## Numerical optimal control of the contrast in MRI

In this section, a numerical solution of the contrast optimization problem is presented. Contrast in MRI is a key parameter to visualize and interpret the anatomy and bio-chemical properties of potentially malign tissues. In clinical practice, contrast is usually empirically handled by tuning few acquisition parameters. This approach is however strongly radiologist dependent, only provides limited contrast combinations and offers no guarantee about the optimal nature of the created contrast. The objective of this study is to compute the radio-frequency (RF) magnetic pulse which optimally combines the effect of excitation and relaxation of the spins to produce the maximal signal difference between 2 tissues with different relaxation times. We recall that signal in MRI is directly linked to the norm of the transverse magnetization vector \(\vec {M}\), denoted \(\vec {M}_{\perp }=(M_{x},M_{y},0)\). Geometric approaches have been proposed to solve this problem for different tissues for spins precessing at the nominal Larmor frequency [6, 10, 43]. For the application on a realistic MRI system, it is essential to account for magnet imperfections which induce various resonance frequency offsets. In this case, each isochromat is characterized by a magnetization vector \(\vec {M}(\omega)=(M_{x}(\omega),M_{y}(\omega),M_{z}(\omega))\) whose dynamics is governed by the following differential system:

where the offset term *ω* belongs to a given interval [*ω*
_{
min
},*ω*
_{
max
}]. From a numerical point of view, this control problem is solved by digitizing the distribution of the isochromats. However, the resulting dimensionality increase (several thousands of spins) makes the geometric solution inapplicable, and requires the use of numerical approaches to solve the problem. We also mention that a similar robustness approach can be applied for *T*
_{1} and *T*
_{2} deviations as well as control field inhomogeneities. This section details an example of a contrast experiment, from the optimal control formulation to the in vivo acquisition of a rat brain image.

### 3.1 Numerical optimization

Several numerical schemes have been proposed to solve optimal control problems, including shooting methods [8, 9], Krotov methods [60] and gradient ascent (or descent) based approaches [21, 32]. This work illustrates a practical application of the gradient ascent pulse engineering (GRAPE) algorithm. The application of the algorithm requires the temporal discretization of the control field, where each time step represents an optimization variable. In its simplest version, this algorithm updates each control field time step by minimizing the user-defined cost function at each iteration, while fulfilling the constraints imposed by the Pontryagin Maximum Principle (PMP). The cost function minimization is performed by applying a step in the direction of the cost function gradient with respect to the control field. The reader is referred to [21, 32] for explicit details on the gradient computation. Convergence is reached when the gradient and/or the step norms are bellow a user-defined threshold. Note that unlike the geometric methods, the global nature of the minimum cannot be claimed and global or local minimum is only reached within a certain tolerance. This tolerance is set in accordance with the experimental requirements so that additional improvements of the control field have a negligible impact on the experimental result. The control field initialization also impacts the nature of the minimum. Multiple trials or prior insights on the solution can be used to find the global minimum and to improve the convergence of the algorithm.

The cost function (\(\mathcal {C}\)) that optimizes the contrast must maximize the difference between the transverse magnetization norms of 2 samples *a* and *b*, at the end of the control time (*t*=*t*
_{
f
}). The two species are characterized by different relaxation times *T*
_{1} and *T*
_{2}. It is arbitrarily chosen here that the signal of the samples *a* and *b* are respectively maximized and minimized. Note that other definitions of the contrast could be chosen. Static field inhomogeneities lead to different resonance frequency offsets which in turn result in different trajectories in the Bloch ball, that must be accounted for in the definition of the cost function. This can be done by sampling the frequency offset interval in *N* samples, where each point corresponds to a given trajectory. The cost function thus enforces all trajectories in the considered interval to have similar behaviors:

### 3.2 Example of the rat muscle/brain contrast

To illustrate the impact of optimal contrast pulses, a RF pulse is computed to optimize the contrast between the rat brain (minimize) and surrounding muscles (maximize). This example was chosen as a proof-of-concept because it cannot be created with standard contrast strategies, due to the short transverse relaxation time (*T*
_{2}) of the muscle tissues [3]. The following experiment is performed in agreement with the UCBL’s ethic committee on animal experimentation, on a 4.7 T Bruker MR system. Average relaxation times of both structures, as well as the offset inhomogeneity range are estimated by standard MR sequences [45]. Longitudinal (*T*
_{1}) and transverse (*T*
_{2}) relaxation times are respectively estimated to be [920, 60] ms for the brain and [1011, 30] ms for the muscle. The resonance offset range is of the order of 1 kHz. In order to handle slice selectivity, i.e. the location of the image section plane [3], standard MRI excitation schemes are used [3, 59]. The optimal pulse is thus used as a contrast preparation pulse, implying that the contrast is prepared on the longitudinal axis (*M*
_{
z
}). Only a slight change in the cost function is required to apply this modification [59]. The prepared magnetization is subsequently flipped into the transverse plane with a slice-selective *π*/2-pulse. We recall that the MRI signal is proportional to the amount of transverse magnetization, i.e. the tissue with the highest |*M*
_{
z
}| at the end of the preparation will produce higher intensity in the MR image. The magnitude of the resulting optimized pulse is shown in Fig. 6, together with the magnetization trajectories of the contrasted tissues. Magnetization trajectories are represented in a plane formed by the normalized transverse (*M*
_{⊥}) and longitudinal (*M*
_{
z
}) magnetization.

In this figure, different trajectories represent a specific frequency offset. Notice how all trajectories of a given tissue start from the thermal equilibrium (\(\overrightarrow {M_{0}}\) = (0, 0, 1)) and reach the same final magnetization state despite important trajectory disparities. This validates the pulse robustness against resonance offset variations. It can be observed that the brain is saturated at the end of the pulse, i.e. that trajectories reach the center of the Bloch sphere, while a significant amount of longitudinal magnetization is left for the muscle tissues. This implies that unlike muscle tissues, brain tissues will have a very low contribution to the acquired MRI signal. The corresponding acquired MR image is shown in Fig. 7. As expected, the average tissue intensity within the brain is much lower than the surrounding muscles.

Interestingly, some internal brain structures can be distinguished. It corresponds to structures whose relaxation times slightly differ from the major brain components which are mostly gray matter. In particular, the corpus callosum, the largest white matter structure in the brain, can be observed as an hypersignal element. As white matter has a lower *T*
_{2} than gray matter [22], this validate the ability of the optimal pulse to enhance short *T*
_{2} tissues. This particular contrast opens interesting perspectives in both pre-clinical and clinical neuro-imaging applications since white matter usually appears in hyposignal due to its short *T*
_{2}. Such a contrast, keeping in mind its optimal nature, could help to improve the visualization of white matter in the human brain, which is a key factor in actual clinical challenges such as the effect of aging or Alzheimer disease [4]. This approach could also be used to highlight the differences between the structures of the brain.

## Conclusion

In MRI, there exists an immense potential for improvement as well as for reduction of the energy deposit and time a patient has to spend in a scanner during an examination. In this work, we have presented two benchmark examples showing the efficiency of this technique. In the ideal case of a homogeneous ensemble of spin systems, we have demonstrated the optimality in the limit of unbounded controls of the Ernst angle solution, derived in the sixties, to enhance the SNR. Numerical optimization techniques were used to illustrate the possibility of maximizing the contrast of the image in MRI by using a particular pulse sequence. This approach was applied with success theoretically and experimentally on the brain of a rat. We emphasize that one of the main advantages of this contrast enhancement is its general character since the optimal control magnetic fields can be computed with standard routines published in the literature and implemented on a MRI scanner without requiring specific materials and process techniques. An important issue is the use of this method in clinics to optimize the contrast of human body imaging. We anticipate that this technique could be a complementary tool to contrast agents whose successful application has been an important aspect of the development of MRI in recent years. The joint use of these two methods could therefore limit the concentration of contrast agents needed for the imaging, which could be beneficial to the patient.

These two examples validate the potential of optimal control as an accurate pulse design tool to solve non-trivial practical problems in MRI. This ability can be extended to other contexts in MRI, as shown very recently in [44] with the introduction of optimal control pulses for magnetization phase control in MRI. There is a huge interest for accurate phase control in many important applications in MRI, such as diffusion imaging, thermometry and elastography, to improve the signal sensitivity to specific bio-markers.

The use of optimal control for these applications relies on further developments in robust optimal control analytic and numerical tools, accurate modeling of the MR physics and tailored acquisition sequences, that will further improve existing MR methods and approach the system’s physical limits.

## References

- 1
Aigner, CS, Clason, C, Rund, A, Stollberger, R: Efficient high resolution rf pulse design applied to simultaneous multi-slice excitation. J. Magn. Reson. 263, 33 (2016).

- 2
Assémat, E, Lapert, M, Zhang, Y, Braun, M, Glaser, SJ, Sugny, D: Simultaneous time-optimal control of the inversion of two spin-\(\frac {1}{2}\) particles. Phys. Rev. A. 82(1), 013415 (2010).

- 3
Bernstein, MA, King, KF, Zhou: Handbook of MRI Pulse Sequences. Elsevier, Burlington-San Diego-London, London (2004).

- 4
Black, S, Gao, F, Bilbao, J: Understanding white matter disease. Stroke. 40(3 suppl 1), 48–52 (2009).

- 5
Bonnard, B, Chyba, M: Singular Trajectories and Their Role in Control Theory, Mathematics and applications, vol. 40 edn. Springer, Berlin (2003).

- 6
Bonnard, B, Chyba, M, Marriott, J: Singular trajectories and the contrast imaging problem in nuclear magnetic resonance. SIAM J. Control. Optim. 51(2), 1325–1349 (2013).

- 7
Bonnard, B, Chyba, M, Sugny, D: Time-minimal control of dissipative two-level quantum systems: The generic case. IEEE Trans. Automat. Control. 54(11), 2598–2610 (2009).

- 8
Bonnard, B, Claeys, M, Cots, O, Martinon, P: Geometric and numerical methods in the contrast imaging problem in nuclear magnetic resonance. Acta Applicandae Math. 135(1), 5–45 (2014).

- 9
Bonnard, B, Cots, O: Geometric numerical methods and results in the contrast imaging problem in nuclear magnetic resonance. Math. Model. Methods Appl. Sci. 24(01), 187–212 (2014).

- 10
Bonnard, B, Cots, O, Glaser, SJ, Lapert, M, Sugny, D, Zhang, Y: Geometric optimal control of the contrast imaging problem in nuclear magnetic resonance. IEEE IEEE Trans. Autom. Control. 57(8), 1957–1969 (2012).

- 11
Bonnard, B, Sugny, D: Time-minimal control of dissipative two-level quantum systems: The integrable case. SIAM J. Control Optim. 48(3), 1289–1308 (2009).

- 12
Bonnard, B, Sugny, D: Optimal Control with Applications in Space and Quantum Dynamics vol. 5. AIMS: Applied mathematics, New York (2012).

- 13
Boscain, U, Mason, P: Time minimal trajectories for a spin 1/2 particle in a magnetic field. J. Math. Phys. 47(6), 062101 (2006).

- 14
Boscain, U, Picolli, B: Optimal Syntheses for Control Systems on 2-D Manifolds vol. 43. 29 B. Springer, Berlin (2004).

- 15
Brif, C, Chakrabarti, R, Rabitz, H: Control of quantum phenomena: Past, present and future. New J. Phys. 12(7), 075008 (2010).

- 16
Bryson, AJ, Ho, Y-C: Applied Optimal Control. Hemisphere, Washington, DC (1975).

- 17
Conolly, S, Nishimura, D, Macovski, A: Optimal control methods in NMR spectroscopy. IEEE Trans. Med. Imaging. MI-5, 106–115 (1986).

- 18
D’Alessandro, D: Introduction to Quantum Control and Dynamics, Applied mathematics and nonlinear science series edn. Chapman and Hall, Boca Raton (2008).

- 19
D’Alessandro, D, Dahled, M: Optimal control of two-level quantum systems. IEEE Trans. Automat. Control. 46(6), 866–876 (2001).

- 20
Daems, D, Ruschhaupt, A, Sugny, D, Guérin, S: Robust quantum control by a single-shot shaped pulse. Phys. Rev. Lett. 111, 050404 (2013).

- 21
de Fouquiere, P, Schirmer, SG, Glaser, SJ, Kuprov, I: Second order gradient ascent pulse engineering. J. Magn. Reson. 212, 412 (2011).

- 22
de Graaf, RA, Brown, PB, McIntyre, S, Nixon, TW, Behar, KL, Rothman, DL: High magnetic field water and metabolite proton T1 and T2 relaxation in rat brain in vivo. Magn. Reson. Med. 56(2), 386–394 (2006).

- 23
Dong, D, Petersen, IA: Quantum control theory and applications: A survey. IET Control Theory A. 4(12), 2651–2671 (2010).

- 24
Ernst, RR, Anderson, WA. Rev. Sci. Instrum. 37, 93 (1966).

- 25
Ernst, RR, Bodenhausen, G, Wokaun, A: Principles of Nuclear Magnetic Resonance in One and Two Dimensions vol. 14. Clarendon Press, Oxford (1987).

- 26
Garon, A, Glaser, SJ, Sugny, D: Time-optimal control of SU(2) quantum operations. Phys. Rev. A. 88, 043422 (2013).

- 27
Glaser, SJ, Boscain, U, Calarco, T, Koch, CP, Kockenberger, W, Kosloff, R, Kuprov, I, Luy, B, Schirmer, S, Schulte-Herbrüggen, T, Sugny, D, Wilhelm, FK: Training schrödinger’s cat: Quantum optimal control. Eur. Phys. J. D. 69, 279 (2015).

- 28
Gershenzon, NI, Kobzar, K, Luy, B, Glaser, SJ, Skinner, TE: Optimal control design of excitation pulses that accomodate relaxation. J. Magn. Reson. 188, 330 (2007).

- 29
Jurdjevic, V: Geometric Control Theory. Cambridge University Press, Cambridge, Cambridge (1997).

- 30
Khaneja, N, Brockett, R, Glaser, SJ: Time optimal control in spin systems. Phys. Rev. A. 63, 032308 (2001).

- 31
Khaneja, N, Glaser, SJ, Brockett, R: Sub-Riemannian geometry and time optimal control of three spin systems: Quantum gates and coherence transfer. Phys. Rev. A. 65, 032301 (2002).

- 32
Khaneja, N, Reiss, T, Kehlet, C, Schulte-Herbrüggen, T, Glaser, SJ: Optimal control of coupled spin dynamics: design of NMR pulse sequences by gradient ascent algorithms. J. Magn. Reson. 172(2), 296–305 (2005).

- 33
Kobzar, K, Skinner, TE, Khaneja, N, Glaser, SJ, Luy, B: Exploring the limits of broadband excitation and inversion pulses. J. Magn. Reson. 170, 236 (2004).

- 34
Kobzar, K, Skinner, TE, Khaneja, N, Glaser, SJ, Luy, B: Exploring the limits of excitation and inversion pulses ii: Rf-power optimized pulses. J. Magn. Reson. 194, 58 (2008).

- 35
Kobzar, K, Ehni, S, Skinner, TE, Glaser, SJ, Luy, B: Exploring the limits of broadband 90 and 180 universal rotation pulses. J. Magn. Reson. 225, 142 (2012).

- 36
Krotov, VF: Global Methods in Optimal Control. Marcel Dekker, New-York (1996).

- 37
Lapert, M, Assémat, E, Glaser, SJ, Sugny, D: Understanding the global structure of two-level quantum systems with relaxation: Vector fields organized through the magic plane and the steady-state ellipsoid. Phys. Rev. A. 88, 033407 (2013).

- 38
Lapert, M, Assémat, E, Glaser, SJ, Sugny, D: Optimal control of the signal-to-noise ratio per unit time for a spin-1/2 particle. Phys. Rev. A. 90, 023411 (2014).

- 39
Lapert, M, Assémat, E, Glaser, SJ, Sugny, D: Optimal control of the signal-to-noise ratio per unit time of a spin 1/2 particle: The crusher gradient and the radiation damping cases. J. Chem. Phys. 142, 044202–19 (2015).

- 40
Lapert, M, Salomon, J, Sugny, D: Time-optimal monotonically convergent algorithm with an application to the control of spin systems. Phys. Rev. A. 85, 033406 (2012).

- 41
Lapert, M, Zhang, Y, Braun, M, Glaser, SJ, Sugny, D: Singular extremals for the time-optimal control of dissipative spin \(\frac {1}{2}\) particles. Phys. Rev. Lett. 104, 083001 (2010).

- 42
Lapert, M, Zhang, Y, Glaser, SJ, Sugny, D: Towards the time-optimal control of dissipative spin 1/2 particles in nuclear magnetic resonance. J. Phys. B: At., Mol. Opt. Phys. 44, 154014 (2011).

- 43
Lapert, M, Zhang, Y, Janich, M, Glaser, SJ, Sugny, D: Exploring the physical limits of saturation contrast in magnetic resonance imaging. Sci. Rep. 2, 589 (2012).

- 44
Lefebvre, PM, Van Reeth, E, Ratiney, H, Beuf, O, Brusseau, E, Lambert, SA, Glaser, SJ, Sugny, D, Grenier, D, Tse Ve Koon, K: Active Control of the Spatial MRI Phase Distribution with Optimal Control Theory. J. Magn. Reson. 281, 82–93 (2017).

- 45
Levitt, MH: Spin Dynamics: Basics of Nuclear Magnetic Resonance. Wiley, New York (2008).

- 46
Machnes, S, Sander, U, Glaser, SJ, de Fouquieres, P, Gruslys, A, Schirmer, S, Schulte-Herbrüggen, T: Comparing, optimising and benchmarking quantum control algorithms in a unifying programming framework. Phys. Rev. A. 84, 022305 (2011).

- 47
Massire, A, Cloos, MA, Vignaud, A, Bihan, DL, Amadon, A, Boulant, N: Design of non-selective refocusing pulses with phase-free rotation axis by gradient ascent pulse engineering algorithm in parallel transmission at 7 t. J. Magn. Reson. 230, 76 (2013).

- 48
Mukherjee, V, Carlini, A, Mari, A, Caneva, TSM, Carlarco, T, Fazio, R, Giovannetti, V: Speeding up and slowing down the relaxation of a qubit by optimal control. Phys. Rev. A. 88, 062326 (2013).

- 49
Nielsen, NC, Kehlet, C, Glaser, SJ, Khaneja, N: Optimal control methods in NMR spectroscopy. Encycl. Nucl. Magn. Reson. 9, 100 (2010).

- 50
Pontryagin, LS, Boltyanskii, VG, Gamkrelidze, RV, Mishchenko, EF: The Mathematical Theory of the Optimal Process. Wiley-Interscience, New-York (1962).

- 51
Reich, D, Ndong, M, Koch, CP: Monotonically convergent optimization in quantum control using Krotov’s method. J. Chem. Phys. 136, 104103 (2012).

- 52
Ruschhaupt, A, Chen, X, Alonso, D, Muga, JG: Optimally robust shortcuts to population inversion in two-level quantum systems. New J. Phys. 14(9), 093040 (2012).

- 53
Sbrizzi, A, Hoogduin, H, Hajnal, JV, van der Berg, CA, Luijten, PR: Optimal control design of turbo spin-echo sequences with applications to parallel-transmit systems. Magn. Reson. Med. 77, 361 (2017).

- 54
Skinner, TE, Reiss, TO, Luy, B, Khaneja, N, Glaser, SJ: Application of optimal control theory to the design of broadband excitation pulses for high resolution nmr. J. Magn. Reson. 163, 8 (2003).

- 55
Skinner, TE, Reiss, TO, Luy, B, Khaneja, N, Glaser, SJ: Reducing the duration of broadband excitation pulses using optimal control with limited rf amplitude. J. Magn. Reson. 167, 68 (2004).

- 56
Skinner, TE, Reiss, O, Luy, B, Khaneja, N, Glaser, SJ: Tailoring the optimal control cost function to a desired output: Application to minimizing phase errors in short broadband excitation pulses. J. Magn. Reson. 172, 17 (2005).

- 57
Skinner, TE, Kobzar, K, Luy, B, Bendall, R, Bermel, W, Khaneja, N, Glaser, SJ: Optimal control design of constant amplitude phase-modulated pulses: Application to calibration-free broadband excitation. J. Magn. Reson. 179, 241 (2006).

- 58
Tosner, Z, Vosegaard, T, Kehlet, CT, Khaneja, N, Glaser, SJ, Nielsen, NC: Optimal control in nmr spectroscopy: Numerical implementation in simpson. J. Magn. Reson. 197, 120 (2009).

- 59
Van Reeth, E, Ratiney, H, Tesch, M, Grenier, D, Beuf, O, Glaser, SJ, Sugny, D: Optimal control design of preparation pulses for contrast optimization in mri. J. Magn. Reson. 279, 39–50 (2017).

- 60
Vinding, MS, Maximov, II, Tošner, Z, Nielsen, NC: Fast numerical design of spatial-selective rf pulses in mri using krotov and quasi-newton based optimal control methods. J. Chem. Phys. 137, 054203 (2012).

- 61
Xu, D, King, KF, Zhu, Y, McKinnon, GC, Liang, Z-P: Designing multichannel, multidimensional, arbitrary flip angle rf pulses using an optimal control approach. Magn. Reson. Med. 59, 547 (2008).

- 62
Zhang, Y, Lapert, M, Sugny, D, Braun, M, Glaser, SJ: Time-optimal control of spin 1/2 particles in the presence of radiation damping and relaxation. J. Chem. Phys. 134, 054103 (2011).

## Acknowledgements

This work is supported by the ANR-DFG research program Explosys (Grant No. ANR-14-CE35-0013-01; GL203/9-1) and from the Technische Universität München Institute for Advanced Study, funded by the German Excellence Initiative and the E. U. Seventh Framework Programme under Grant No. 291763. This work was performed within the framework of the LABEX PRIMES (ANR-11-LABX-0063/ ANR-11-IDEX-0007). M.L. acknowledges support from the Bayerische Forschungsstiftung.

## Author information

### Affiliations

### Contributions

All authors contributed to the writing of the paper. DS and SJG contributed to the theoretical and numerical analysis of the results. Numerical computations have been done by ML and EV-R, the experimental work and the acquisition of the data were performed by EV-R and HR. All authors read and approved the final manuscript.

### Corresponding author

Correspondence to Dominique Sugny.

## Ethics declarations

### Competing interests

The authors declare that they have no competing interests.

### Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Van Reeth, E., Ratiney, H., Lapert, M. *et al.* Optimal control theory for applications in Magnetic Resonance Imaging.
*Pac. J. Math. Ind.* **9, **9 (2017). https://doi.org/10.1186/s40736-017-0034-3

Received:

Revised:

Accepted:

Published:

### Keywords

- Optimal control theory
- Spin dynamics
- Magnetic resonance imaging