The robustness of composite pulses elucidated by classical mechanics: stability around the globe

Jonathan Berkheim * and David J. Tannor
Department of Chemical and Biological Physics, Weizmann Institute of Science, 76100, Rehovot, Israel. E-mail: jonathan.berkheim@weizmann.ac.il

Received 17th August 2025 , Accepted 24th November 2025

First published on 9th December 2025


Abstract

Composite pulses (CPs) are widely used in nuclear magnetic resonance (NMR), optical spectroscopy, optimal control experiments and quantum computing to manipulate systems that are well-described by a two-level Hamiltonian. A careful design of these pulses can allow the refocusing of an ensemble at a desired state, even if the ensemble experiences imperfections in the magnitude of the external field or resonance offsets. Since the introduction of CPs, several theoretical justifications for their robustness have been suggested. In this work, we suggest another justification based on the classical mechanical concept of a stability matrix. The motion on the Bloch sphere is mapped to a canonical system of coordinates and the focusing of an ensemble corresponds to caustics, or the vanishing of an appropriate stability matrix element in the canonical coordinates. Our approach highlights the directionality of the refocusing of the ensemble on the Bloch sphere, revealing how different ensembles refocus along different directions. The approach also clarifies when CPs can induce a change in the width of the ensemble as opposed to simply a rotation of the axes. As a case study, we investigate the 90(x)180(y)90(x) CP introduced by Levitt, where the approach provides a new perspective into why this CP is effective.


I. Introduction: from a purely quantum problem to a purely classical treatment

A. Main goals

Many experiments in atomic, molecular, and optical physics aim to invert a population of particles subjected to an external pulse. For example, in nuclear magnetic resonance (NMR) an ensemble of nuclei that evolves under a constant field and a radiofrequency (RF) field has to undergo a synchronized population inversion between the two spin states in order to detect a considerable signal. In several fields of modern optics (e.g., pump–probe spectroscopy and quantum computing), it is sometimes desirable to invert an ensemble of electrons, initially localized in the ground state, to an excited electronic state in order to maximize the radiative signal or to perform other operations.

Consider an idealized ensemble of spins-1/2 in state |a〉 subjected to an external RF field. If one introduces simplifying assumptions so that (1) there are no correlations or couplings between spins, (2) the magnitude of the RF field is homogeneous along the ensemble and (3) the external RF field is on-resonance with the induced level separation, a monochromatic continuous-wave (CW) RF field will invert all spins to state |b〉 in half of the period associated with the Rabi frequency. However, when the ensemble experiences either an inhomogeneity in the magnitude of the RF field or a distribution of resonance offsets, the final state is a superposition of |a〉 and |b〉. The challenge is to find simple sequences of pulses that can produce population inversion under these circumstances for the entire ensemble.

It is with this challenge in mind that composite pulses (CPs) were invented. CPs consist of a short sequence of CW pulses, where each segment in the sequence has a characteristic amplitude, duration and phase. These pulses can compensate for the two imperfections described above: (1) field inhomogeneity and (2) resonance offset. Levitt and Freeman were the first to introduce such a pulse sequence,1 though it was inspired by earlier notions, particularly, Hahn's spin echo2 and the Carr–Purcell–Meiboom–Gill sequence.3,4 Since Levitt's original work, many extensions have been suggested.5–8

The first justification for the success of a CP was provided by Levitt himself, who used perturbation theory to develop an expression for the error caused by the pulse imperfections;9,10 later he developed a figure of merit based on the quaternion formalism of Blümlich and Spiess.11,12 An alternative approach based on optimal control theory was proposed by Boscain and Sugny.13,14 Each of these justifications can serve as a tool to design optimal pulses.

In this work, we suggest another justification based on the classical mechanical concept of a stability matrix. The motion on the Bloch sphere is mapped to a canonical system of coordinates and the focusing of an ensemble corresponds to caustics, or the vanishing of an appropriate stability matrix element in the canonical coordinates. The caustics in CPs are unusual in the sense that each member is governed by a slightly different Hamiltonian, so that averaging is required for the stability analysis. Our approach highlights the directionality of the refocusing of the ensemble on the Bloch sphere, revealing how different ensembles refocus along different directions. As a case study, we investigate the 90(x)180(y)90(x) CP introduced by Levitt, where the approach provides a new perspective into why this CP is effective: the focusing produced by Levitt's CP corresponds to a caustic, as manifested in the elements of the stability matrix. The approach clarifies why the 90(x)180(y)90(x) CP changes the width of the ensemble in the case of resonance offset, as opposed to simply a rotation of the axes in the case of field inhomogeneity. To our knowledge, this work is the first attempt to explore the application of classical stability analysis and caustics to dynamics on the Bloch sphere, formulated in canonical coordinates.

B. Dynamics of two-level system

The evolution of a quantum two-level system is given by the Liouville–von-Neumann equation (LvN) (ħ = 1 is considered throughout work):
 
image file: d5cp03162a-t1.tif(1)
where [small rho, Greek, circumflex], in the basis of the states |a〉, |b〉, is a 2 × 2 density matrix:
 
image file: d5cp03162a-t2.tif(2)
and Ĥ is the quantum Hamiltonian. The following two-level Hamiltonian is employed:
 
image file: d5cp03162a-t3.tif(3)
where ω0 = −γB0 is the Larmor frequency and Ω1(t) = −γB1(t)/2 is an RF field polarized along the x-axis, with γ the gyromagnetic ratio of the nucleus; the RF field's carrier frequency is denoted ω. At this point, B1(t) is assumed to be real, but later, when we make the rotating wave approximation, B1(t) will become complex; in anticipation of this, we have written Ω1 and image file: d5cp03162a-t4.tif for full generality. In the optical nomenclature, ω0 = εbεa is the level spacing between states |a〉, |b〉 and Ω1(t) plays the role of the time-dependent coupling image file: d5cp03162a-t5.tif, arising from the dipole interaction.15

In the SO(3) representation, the matrix [small rho, Greek, circumflex] is replaced by the so-called Bloch vector r:

 
r = (x, y, z)T = (ρba + ρab, i(ρbaρab), ρbbρaa)T,(4)

In a similar manner, the Hamiltonian is replaced by the 3-vector Ω:

 
image file: d5cp03162a-t6.tif(5)
and the commutator is replaced by a cross-product. Altogether, we obtain the so-called Bloch equations (or the optical Bloch equations):9,16–18
 
= Ω × r,(6)
which are the EOMs for the precession of a classical gyromagnet in a magnetic field.19 In this sense, one can understand in eqn (6) as analogous to a classical torque. Without loss of generality, the initial state in this work is taken to be at the north pole of the Bloch sphere, and the desired final state is at the south pole.

Eqn (6) can be also written as:

 
image file: d5cp03162a-t7.tif(7)
where now image file: d5cp03162a-t8.tif is a skew-symmetric matrix that represents the cross product of r with the Cartesian components of Ω.

Following the standard procedure of moving to the rotating frame and applying the rotating wave approximation (RWA), we can define the resonance offset Δ = ω0ω. In the rotating frame, Ω is time-independent. Its norm, denoted Ω, is called the Rabi frequency:

 
image file: d5cp03162a-t9.tif(8)
where Ω1 is the magnitude of the external field. In the rotating frame, the vector Ω plays the role of a fixed rotation axis about which the Bloch vector precesses. The transformation to the rotating frame conserves the structure of the Bloch equations, with the final state of one segment serving as the initial condition for the next segment.

C. Composite pulses

When CPs in the rotating frame are visualized as a function of time, since the carrier frequency is removed, they appear as a sequence of rectangles.20 Each rectangular segment, enumerated k, in general possesses a characteristic amplitude, duration τk, and phase φk; the latter determines the azimuthal angle of the rotation axis. The general notation τN([n with combining circumflex]N)τN−1([n with combining circumflex]N−1)…τ1([n with combining circumflex]1) represents a series of back-to-back rotations. Also, τk = tk/T where τk is the dimensionless ratio of the clock time tk and the nominal period T = 2π/Ω(0)1; Ω(0)1 is the nominal magnitude of the RF field, which serves as a reference value for the ensemble of fields. As a consequence, we obtain an elegant formula for the overall effect of a CP on an initial state, which also provides the formal solution for the Bloch equations in the rotating frame:
 
image file: d5cp03162a-t10.tif(9)
where rfr(tf) is the final state, and each image file: d5cp03162a-t11.tif is a general rotation matrix21
 
image file: d5cp03162a-t12.tif(10)

The CP conceived by Levitt and Freeman is a symmetric sequence comprised of three rectangular segments.1 In Levitt's nomenclature, this sequence is denoted 90°(x)180°(y)90°(x). In the notation of eqn (9):

 
image file: d5cp03162a-t13.tif(11)

Levitt found that this pulse sequence can compensate for two imperfections of the Hamiltonian in eqn (3): (1) field inhomogeneity and (2) resonance offset. In case (1), each member of the ensemble is driven by a slightly different external field, i.e., if the magnitude of the nominal external field is Ω(0)1 = 1, then the magnitude of the RF field felt by the j-th member is Ω(j)1. In case (2), each member of the ensemble has a slightly different offset Δ(j) = ω(j)0ω. Following Levitt's work, various extensions have been suggested, many of them consisting of more than just three segments; Levitt himself suggested a five-segment sequence that outperformed his original sequence (eqn (11)).10

These two imperfections lead to variations in the overall effect of the pulse on each member of the ensemble; the effect is two-fold – on the effective rotation axis and the effective flip angle:

 
image file: d5cp03162a-t14.tif(12)

Note that ϑ(j) does not contain the subscript k, since all segments have the same magnitude Ω1 for a certain member j of the ensemble; Ω(j) is the Rabi frequency of the j-th member. In this work, we will treat imperfections (1) and (2) separately; this isolation of variables will put our findings in a clearer context. Fig. 1 shows the effect of these two imperfections.


image file: d5cp03162a-f1.tif
Fig. 1 A set of trajectories on the Bloch sphere, representing the time-evolution of an ensemble under the Levitt pulse sequence 90°(x)180°(y)90°(x) with two characteristic imperfections: field inhomogeneity, ranging from 0.8 to 0.9 with respect to the nominal field magnitude (left) and resonance offsets ranging from 0.4 to 0.6 (right). The solid black lines at ti = /T/4 and tf = T mark the initial and the final manifold discussed along this work.

Levitt found that his pulse sequence can compensate for both imperfections, as seen by the endpoints of the trajectories, which are strikingly close to the antipode of the starting point. We note that these cases are rather different: in case (1), the endpoints are spread along the azimuth ϕ and focused in the polar angle θ, while in case (2) the focusing is apparent in both θ and ϕ. We will return to this difference later in this work.

Throughout this work, we consider: Ω(0)1 = 1, Ω(j)1 ∈ [0.8, 0.9]Ω(0)1 and Δ(j) ∈ [0.4, 0.6] with j = 1, 2, …, 101 and j = 1, 2, …, 201 respectively; these numerical values were considered in the seminal work by Levitt;1 105 time steps were taken per each trajectory. As said, all trajectories start from the north pole. Convergence of trajectories is verified with respect to the time step dt, and stability calculations are converged with respect to the numerical steps dΩ1 and dΔ. Numerical differentiations are done with finite differences.

II. Derivations and methods: a canonical formulation for Bloch equations

A. Non-canonical coordinates

Since we are using SO(3) as a surrogate for SU(2), it is well to revisit the physical interpretation of the Bloch vector r. In classical mechanics, the sets of functions fμ(q, p, t) and gν(q, p, t) define a canonical pair if they provide the following Poisson bracket relations (q and p have the usual meaning of position and momentum, respectively):
 
image file: d5cp03162a-t15.tif(13)
where δνμ is the Kronecker delta; in particular, if {qν, pν} = 1, then the position coordinate and its conjugate momentum are canonical.

Spin is an angular momentum and therefore, like any classical angular momentum, satisfies the Poisson bracket relations (μ, ν, λ = 1, 2, 3):

 
{rμ, rν} = εμνλrλδμν,(14)
where εμνλ is the Levi-Civita symbol. The components of r satisfy a special algebraic structure, called the Lie–Poisson structure;22 together with the constraint of pure states to live on the Bloch sphere, the components of r are not independent and therefore are non-canonical. The EOMs for r are identical to those of the angular momentum, and indeed, eqn (14) is satisfied by the components of angular momentum. In the case of angular momentum ℓ, it can be explicitly verified that {ℓμ, ℓν} = εμνλλδμν because each of these components are defined in terms of q and p. In the case of the Bloch vector r, eqn (13) cannot be evaluated explicitly, because r is not a function of q and p, but by analogy with the angular momentum vector, again {rμ, rν} = εμνλrλδμν.

B. Defining the Hamiltonian for non-canonical coordinates

At this point, we aim to define a classical Hamiltonian. Isomorphically with angular momentum in many situations in classical mechanics, the Hamiltonian takes the form:
 
H(x, y, z) = Ω·r = Ωxx + Ωyy + Ωzz.(15)

This Hamiltonian resembles the quantum Hamiltonian in eqn (3), where now the components of r play the role of Pauli matrices; note that for real-valued electric fields, i.e., Ω = (Ω1, 0, ω0), both the quantum and the classical Hamiltonians have the structure of x-term plus z-term. In this non-canonical representation, the components of r cover the entire phase space; there are no variables conjugate to the components of r. This Hamiltonian is sometimes called the Zeeman Hamiltonian, due to its connection to the Zeeman effect, where a magnetic field interacts with the total angular momentum of a quantum system.21

The EOMs for r have the following form, which is a general Lie–Poisson structure:

 
image file: d5cp03162a-t16.tif(16)
where W(r) expresses the cross-product operation with r in matrix form:
 
image file: d5cp03162a-t17.tif(17)

Since

 
image file: d5cp03162a-t18.tif(18)
we obtain the following EOMs:
 
= −r × Ω = Ω × r,(19)
which are the Bloch equations, now understood as Hamilton's equations for the Zeeman Hamiltonian. In this context, we note that a unitary transformation from the lab frame to the rotating frame can be considered a canonical transformation since it preserves the structure of Hamilton's equations. With this understanding, we see why the Bloch equations represent a unique situation: we are able to solve a quantum problem by mapping it to a classical problem; the classical solutions may be mapped to give the exact quantum solutions with no approximations.

Note that W(r) is the Poisson tensor, the inverse of the two-form dq∧dp;22 for Hamiltonians in canonical form, W(r) is the inverse of the symplectic matrix image file: d5cp03162a-t19.tif, which is independent of r.

C. Canonical coordinates

Now that we have found the classical Hamiltonian in terms of Cartesian coordinates, we will change variables to spherical coordinates, a natural choice for a physical system that lives on a sphere. Given the conventional transformation from Cartesian to spherical coordinates:18
 
image file: d5cp03162a-t20.tif(20)
where R = 1 in the case of pure states, the Hamiltonian in spherical coordinates is
 
H(θ, ϕ) = Ωx[thin space (1/6-em)]sin[thin space (1/6-em)]θ[thin space (1/6-em)]cos[thin space (1/6-em)]ϕ + Ωy[thin space (1/6-em)]sin[thin space (1/6-em)]θ[thin space (1/6-em)]sin[thin space (1/6-em)]ϕ + Ωz[thin space (1/6-em)]cos[thin space (1/6-em)]θ.(21)

The Cartesian components of Ω are left as-is intentionally; transforming them to a spherical representation is unnecessary since only the coordinates are of interest to us. Now, we make the following additional change of variables:

 
image file: d5cp03162a-t21.tif(22)
so that
 
image file: d5cp03162a-t22.tif(23)

We may identify the structure of an internal Hamiltonian H0 = Ωzη and an external field image file: d5cp03162a-t23.tif, analogous to the structure of the original quantum Hamiltonian, eqn (3). This classical Hamiltonian is integrable if Ω is time-independent, and the energy is conserved according to Noether's theorem; for CPs, with their piecewise time-dependence, the energy will be piecewise-conserved. If Ω has general time-dependence, then the EOMs are non-autonomous (“1.5D”), and the dynamics might be chaotic under certain circumstances. Previous works showed that this is indeed the case, e.g. if the external field is two-color with incommensurate frequencies chaos can ensue.23,24

The variables ϕ and η are in fact canonical. To show this, we calculate their Poisson brackets:

 
image file: d5cp03162a-t24.tif(24)

In the first step, we have used the chain rule for Poisson brackets. In the second step, we used eqn (16). In the third step we used the inverse of eqn (20) to obtain the partial derivatives of ϕ.

We have chosen ϕ as the position and η as its conjugate momentum; we will show later why this choice is natural. In terms of the new canonical coordinates, Hamilton's equations take the form:

 
image file: d5cp03162a-t25.tif(25)
whose solutions are equivalent to the solutions of the Cartesian Bloch equations. However, the compact representation of two-level dynamics in eqn (25) suffers from a singularity: at the poles (η = ±1), which are extremely meaningful in this work, ϕ is not well-defined; also, [small phi, Greek, dot above] diverges and image file: d5cp03162a-t26.tif vanishes there, requiring careful numerical attention around these points.

A bypass for the singularity issue is to obtain the trajectories with the Cartesian Bloch equations (eqn (6)), then to calculate image file: d5cp03162a-t27.tif, and trivially, η(t) = z(t). It can be shown that both the Cartesian components of r and the new canonical coordinates satisfy Liouville's theorem. Liouville's theorem expresses itself in terms of the conservation of area A on the surface of the Bloch sphere. Fig. 2 shows the time-evolution of the populated area in phase space in the case of canonical coordinates; the small deviations from A(t) = π/2 are due to numerical noise.


image file: d5cp03162a-f2.tif
Fig. 2 Left: Canonical phase space representation of a trajectory starting from (ϕ0, η0) = (0.6π, 0.5), evolving under Levitt's pulse sequence (note that the time-series ϕ(t) is plotted without considering mod 2π). The solution obtained by direct integration of the canonical Bloch eqn (25), and via an indirect calculation based on an integration of the Cartesian Bloch equations are in excellent agreement; such agreement is obtained for any initial conditions, except η = ±1. Right: The time-evolution of the populated area (classical density) in the terms of ϕ and η, starting from an initially rectangular population, showing that Liouville's theorem is satisfied within numerical precision.

D. Stability matrix elements and caustics

In classical mechanics, the stability matrix (or monodromy matrix) describes the stability of the EOMs’ solutions under small changes in the initial conditions. Consider a dynamical system corresponding to the EOMs image file: d5cp03162a-t28.tif and let ζ0 be a particular solution of this system. In Hamiltonian dynamics, ζ = (q, p). By linearizing the EOMs about ζ0 we obtain image file: d5cp03162a-t29.tif, where image file: d5cp03162a-t30.tif is the Jacobian matrix. The linearized system provides the stability matrix image file: d5cp03162a-t31.tif, which satisfies the equation image file: d5cp03162a-t32.tif with the initial condition image file: d5cp03162a-t33.tif. Integrating this system gives the stability matrix image file: d5cp03162a-t34.tif with elements
 
image file: d5cp03162a-t35.tif(26)
expressing how the final variables (subscript f) are affected by small changes in initial variables (subscript i). The changes in initial variables are associated with the so-called tangent space, which is orthogonal to the usual view of Hamiltonian time-evolution in terms of trajectories. The eigenvalues of the stability matrix are the precursors of the Lyapunov exponents; the latter indicate the emergence of chaos versus long-time regularity.15,25

With the help of the stability matrix, we can define the concept of a caustic, as a position and a time at which a block of the image file: d5cp03162a-t36.tif matrix, specifically ∂qf/∂pi decreases in rank, which in one-dimensional systems means ∂qf/∂pi goes to 0.26 This signifies that locally, the final coordinate is independent of initial momentum, corresponding to a focusing of all the initial momenta in a certain region to a certain final coordinate. The term “caustics” originated in optics, where this focusing of light can lead to burning. The notion of caustics, although originating in coordinate space, can be generalized to the vanishing of other blocks of the stability matrix.27 For example, ∂pf/∂pi and ∂qf/∂qi. We will need both of these objects in the analysis below.

The canonical framework of eqn (25) allows an immediate implementation of eqn (26), where q = ϕ and p = η. Formally, we also need to include R, to obtain the following stability matrix:

 
image file: d5cp03162a-t37.tif(27)
where we have set R = 1; the subscript “s” stands for “spherical”. Clearly, there are only four stability elements, so that the effective stability matrix is 2 × 2.

Numerically, the calculation of the stability elements is done by considering small separations Δϕi, Δηi and propagating a central swarm and the requisite satellite swarms: each trajectory evolves with its own Hamiltonian and the stability elements are obtained at each moment using finite-difference derivatives. This procedure is based on the suggestion of Heller (ζ = (ϕ, η)):28

 
image file: d5cp03162a-t38.tif(28)
where Δζi and Δζf are finite differences. Since we are not interested in characterizing chaotic motion, which in the case of simple CPs does not exist, we shall not carry out any renormalization scheme. The approximation is justified since ζf is smooth, so we only have to choose Δζi small enough compared to Δζf. Calculations were successfully checked for numerical convergence.

E. Adaptations of the traditional stability analysis

There are three challenges that come up here: (1) contrary to previous works in which ensembles comprise many initial positions and/or momenta, we are interested in the case where all trajectories start from the same initial conditions at ti = 0; (2) contrary to the traditional stability analysis, where all trajectories evolve under the same Hamiltonian, here the Hamiltonian is characterized by slightly different parameters per each trajectory, making the analysis more challenging; (3) the straightforward implementation of the eqn (25) precludes examining ϕ at the poles.

In order to overcome challenge (1) for the stability analysis, we take the initial time ti = T/4, where the swarm features maximal spreading, and we consider tf ∈ [T/4, T]. To distinguish ti from the moment when the trajectories actually start, we will denote the latter as t0 = 0.

In order to overcome challenge (2), we bin the stability matrix elements over very small windows:

 
image file: d5cp03162a-t39.tif(29)
where w = Ω(j)1 or Δ(j). Δw29 represents a small increment in one of these components, i.e., the imperfection. Because the dependence on w is smooth, these average stability matrix elements generally change smoothly from bin to bin. The average stability elements are an excellent qualitative tool to characterize the evolution of the stability matrix elements of the entire ensemble. In this averaging, we obtain a qualitative, coarse-grained picture of refocusing trends across the ensemble; while individual trajectories evolve under slightly different Hamiltonians, the average stability elements capture the overall tendency toward or away from points of refocusing. The averaging procedure smooths over microscopic detail and highlights the collective evolution of the ensemble under the CP.

We extend the ordinary framework of caustics, and conjecture that the average stability matrix elements shall indicate refocusing. If the refocusing happens close to the desired endpoint, this signifies that the ensemble has undergone a successful population inversion. In particular, if the histogram of the stability matrix element 〈∂ζf/∂ζi〉 collapses into a relatively narrow band, this indicates refocusing in a certain direction in phase space. To measure the size of the band of certain stability element (even before averaging and the absolute value), we define the range parameter hζ

 
image file: d5cp03162a-t40.tif(30)
which we will use as a supplemental measure of refocusing; consequently, we expect hζ to obtain its minimum at tf = T. In other words, when we look for refocusing of a quantum ensemble, we are actually looking for a classical caustic.

In order to overcome challenge (3), in calculating ∂ϕf/∂ϕi we launch the central and satellite swarms of trajectories not from η0 = 1 but from η0 = 1 − ε where ε is a parameter much smaller than the shift Δϕ0.

F. The Lagrangian and canonical momentum

Using the canonical coordinates and the Legendre transform, image file: d5cp03162a-t41.tif, we may define a Lagrangian. Using eqn (23) and (25) we get:
 
image file: d5cp03162a-t42.tif(31)

We may also express η in terms of [small phi, Greek, dot above]. Inverting the ϕ-equation in eqn (25) we obtain:

 
image file: d5cp03162a-t43.tif(32)
so that the Lagrangian has the following form:
 
image file: d5cp03162a-t44.tif(33)

Identifying the [small phi (variant), Greek, dot above]-terms as those associated with the “kinetic energy” K and the ϕ-terms as those associated with the “potential energy” V:

 
K([small phi (variant), Greek, dot above]) = (Ωz[small phi, Greek, dot above])2, V(ϕ) = −(Ωx[thin space (1/6-em)]cos[thin space (1/6-em)]ϕ + Ωy[thin space (1/6-em)]sin[thin space (1/6-em)]ϕ)2,(34)
the structure of (KV)1/2 is evident. Accordingly, the canonical momentum is
 
image file: d5cp03162a-t45.tif(35)
or, in other words, |pϕ| = |η|. We see that η is indeed a momentum variable as intuitively designated earlier. Numerical simulations show that the correct sign (“correct” here is compared to the direct integration of η(t) = z(t) from the Cartesian Bloch equations) alternates along the dynamics; the canonical momentum has two branches, and it hops between them throughout the time-evolution.

At this point, we differentiate the Lagrangian in order to obtain the Euler–Lagrange equation. We assume that image file: d5cp03162a-t46.tif, which is valid if Ω is piecewise-constant, as in CPs, except in a finite number of moments; if Ω is strictly time-independent, this approximation is accurate and we obtain:

 
image file: d5cp03162a-t47.tif(36)

Eqn (36) is easily checked to be equivalent to Hamilton's equations (eqn (25)) under the assumption on the time-independence of the Lagrangian.

III. Numerical results and analysis

A. The ensemble of RF field inhomogeneity

Fig. 1 (left) shows the evolution of an ensemble under Levitt's pulse sequence with the RF field inhomogeneity. The “initial manifold” at ti = T/4 has a spread in ηi with a single ϕi, while the “final manifold” at tf = T has a spread in ϕf with minimal spread in ηf, corresponding to refocusing in the η-direction.

In the rotating frame, we launch at t0 = 0 a central swarm of trajectories, from η0 = 1, and a satellite swarm from η0 − Δη0 = 1–2 × 10−6. From t0 = 0 to ti = T/4, the pulse keeps all trajectories in a line. For each moment tf ∈ [T/4, T], the set ∂ηf/∂ηi is calculated using finite-difference and binned according to eqn (29). Fig. 3 shows representative slices of this time-evolution: from tf = T/4 to tf = T/2, the histogram becomes wider, then it becomes narrower, until tf ≈ 7T/8, where the range of the histogram becomes wider again, and eventually, at tf = T the histogram collapses to a relatively narrow column, compared to the maximal range at tf = T/2. Note that between tf ≈ 3T/4 and tf = 1 the refocusing is somewhat better, but does not take place in the vicinity of η = −1 (note that the histogram plots do not indicate where the refocusing takes place).


image file: d5cp03162a-f3.tif
Fig. 3 The time-evolution of a histogram representing the absolute value of the average stability matrix element 〈∂ηf/∂ηi〉, with RF field inhomogeneity. Since η is the canonical momentum, this quantity measures the sensitivity of the final momentum to changes in the initial momentum. Note the collapse of the histogram into a relatively narrow band at tf = T. The collapse indicates that a wide range of initial momentum variations results in a very narrow band of final momentum variations, which signals the formation of a classical caustic in the momentum direction. The rightmost subfigure in the lower panel shows the time-evolution of the range parameter hη. The small value of hη at tf = T confirms the successful refocusing in the η-direction.

For completeness, we repeat the same procedure in the ϕ-direction. At t0 = 0 we launch a central swarm of trajectories, from ϕ0 = 0 and a satellite swarm from ϕ0 + Δϕ0 = 10−6 (and, to overcome the abovmentioned challenge, η0 = 1–10−6). For each moment tf ∈ [T/4, T], the set ∂ϕf/∂ϕi is calculated using finite-difference and binned according to eqn (29). Fig. 4 shows representative slices of this time-evolution: from tf = T/4 to tf = T, the histogram becomes wider, and towards the end its range diverges in width to represent a defocusing in the ϕ-direction.


image file: d5cp03162a-f4.tif
Fig. 4 The time-evolution of a histogram representing the absolute value of the average stability matrix element 〈∂ϕf/∂ϕi〉 with RF field inhomogeneity. Since ϕ is the canonical position, this quantity measures the sensitivity of the final position to changes in the initial position. Note the defocusing in the ϕ-direction at tf = T. This confirms that for field inhomogeneity, the refocusing produced by the Levitt sequence is highly directional, occurring in the η-direction but not the ϕ-direction. The rightmost subfigure in the lower panel shows the time-evolution of the range parameter hϕ, indicating the defocusing in the ϕ-direction at tf = T.

B. The ensemble of resonance offset

Fig. 1 (right) shows the evolution of an ensemble under Levitt's pulse sequence with resonance offset. The “initial manifold” at ti = T/4 has a spread in both ϕi and ηi, while the “final manifold” at tf = T comprises minimal spread in both ϕi and ηi, corresponding to refocusing in both the ϕ- and η-directions.

In the rotating frame, we propagate a central swarm and a satellite swarm with parameters as presented in the previous subsection. In contrast to the ensemble of field inhomogeneity, here, the trajectories are not aligned between t0 = 0 and ti = T/4, in any of the directions. For each moment tf ∈ [T/4, T], the sets ∂ϕf/∂ϕi and ∂ηf/∂ηi are calculated using finite-difference and binned according to eqn (29). Fig. 5 and 6 show representative slices of this time-evolution. At tf = T/4, both histograms are wide, and they become even wider at later times until tf = T/2 (for η) and tf ≈ 5T/8 (for ϕ). At this point, the ranges of both histograms become narrower and eventually, at tf = T, the histograms collapse to narrow bands.


image file: d5cp03162a-f5.tif
Fig. 5 The time-evolution of a histogram representing the absolute value of the average stability matrix element 〈∂ηf/∂ηi〉, with RF field inhomogeneity. Since η is the canonical momentum, this quantity measures the sensitivity of the final momentum to changes in the initial momentum. Note the collapse of the histogram into a relatively narrow band at tf = T. The collapse indicates that a wide range of initial momentum variations results in a very narrow band of final momentum variations, which signals the formation of a classical caustic in the momentum direction. The rightmost subfigure in the lower panel shows the time-evolution of the range parameter hη. The small value of hη at tf = T confirms the successful refocusing in the η-direction.

image file: d5cp03162a-f6.tif
Fig. 6 The time-evolution of a histogram representing the absolute value of the average stability matrix element 〈∂ϕf/∂ϕi〉, with RF field inhomogeneity. Since η is the canonical momentum, this quantity measures the sensitivity of the final momentum to changes in the initial momentum. Note the collapse of the histogram into a relatively narrow band at tf = T. The collapse indicates that a wide range of initial momentum variations results in a very narrow band of final momentum variations, which signals the formation of a classical caustic in the momentum direction. The rightmost subfigure in the lower panel shows the time-evolution of the range parameter hϕ. The small value of hϕ at tf = T confirms the successful refocusing in the η-direction.

In the η-direction, the tightest refocusing occurs at tf = T, although there are other moments where the refocusing is almost as good; in the ϕ-direction, there is good refocusing at tf = T although there are regions around tf = 0.4T and tf = 0.8T where the refocusing is better.

C. Variation of the ensemble's width

With the classical understanding in hand, we can address the question: why does the imperfection of field inhomogeneity conserve the width of the ensemble along the second and the third segment, while the imperfection of resonance offset expands or contracts the width along all segments?

For simplicity, we use a Euclidean measure of the width of an ensemble:

 
image file: d5cp03162a-t48.tif(37)
where rj(t) is a trajectory in the ensemble and [r with combining macron](t) is the mean of the ensemble; N is the total number of trajectories in the ensemble. For convenience, we will suppress the time-parameterization below.

We differentiate σ2 with respect to time to obtain:

 
image file: d5cp03162a-t49.tif(38)

We will now treat each of the four terms. The first term appears as quadratic form with a skew-symmetric operator:

 
image file: d5cp03162a-t50.tif(39)

The second and third terms are cross terms:

 
image file: d5cp03162a-t51.tif(40)
 
image file: d5cp03162a-t52.tif(41)
where in the last transition we used the anti-symmetric property of the triple product. Now we combine these terms, and as we recall the j-summation, we get:
 
image file: d5cp03162a-t53.tif(42)
where again we used skew-symmetry. Finally, the fourth term leads to:
 
image file: d5cp03162a-t54.tif(43)
so we are left with the fourth term solely:
 
image file: d5cp03162a-t55.tif(44)
and it does not vanish in general.

In the case of field inhomogeneity, all rotations take place about fixed axes. Numerical simulations indicate that along the first segment, σ(t) varies, whereas along the second and the third segment, it is approximately constant. We will explain that.

Along the first segment we have:

 
image file: d5cp03162a-t56.tif(45)
so that:
 
image file: d5cp03162a-t57.tif(46)

Note that we could factor out the Ω(k)1 since all the members of the ensemble rotate about the same axis. Along the second segment we have:

 
image file: d5cp03162a-t58.tif(47)
so that, approximately:
 
image file: d5cp03162a-t59.tif(48)

The approximation is justified as we consider a narrow band of Ω(i)1 around the nominal frequency, and:

 
z(0)1 = cos[thin space (1/6-em)]Ω(0)1T/4 = cos[thin space (1/6-em)]π/2 = 0.(49)

Now we will examine the third segment, where we have:

 
image file: d5cp03162a-t60.tif(50)
so that, in the same sense as the previous segment, we get:
 
image file: d5cp03162a-t61.tif(51)
where
 
y(0)2 = y(0)1[thin space (1/6-em)]sin[thin space (1/6-em)]Ω(0)1T/2 = sin[thin space (1/6-em)]π/2 = 1, z(0)2 = z(0)1[thin space (1/6-em)]cos[thin space (1/6-em)]Ω(0)1T/2 = 0,(52)
and the approximation is justified as we consider a narrow band of Ω(i)1 around the nominal frequency, so that:
 
sin((Ω(i)1Ω(k)1)t) ≈ sin(0) = 0.(53)

In the case of resonance offset, each trajectory rotates about a different axis which is inclined with respect to the xy plane. For example, in along the first segment, the rotation is specified by the matrix

 
image file: d5cp03162a-t62.tif(54)
and a time-dependent trajectory ri(t) outcomes from the exponentiation of this matrix; in the former case, the exponentiation was trivial and led to x- or y- rotation matrices. Numerical simulations indicate that along all segments, σ(t) varies. We will explain that based on the previous derivations.

In contrast to the former case, we cannot factor out either of the frequency components, so that each sum over i, k is supposed to contain various combinations of trigonometric functions, rather than a single function as before. The prefactors of the summands will contain the initial conditions of each segment, which in general do not vanish, as opposed to the previous case. Altogether, dσ2/dt is not predicted to vanish at any segment.

Fig. 7 demonstrates the numerical results for the Levitt's sequence. The left subfigure corresponds to field inhomogeneity and the right subfigure corresponds to resonance offsets. Note that the width of the ensemble is preserved in second and the third segment of the former case, and not conserved in the latter case.


image file: d5cp03162a-f7.tif
Fig. 7 A time-evolution of the width σ(t) in the case of field inhomogeneity (left) and in the case of resonance offsets (right) for Levitt's pulse sequence. It is evident that the width is approximately conserved along the second and the third segments in the former case, and definitely not conserved in the latter case.

IV. Conclusion

In this work, we suggest another justification for the robustness of composite pulses, based on the classical mechanical concept of a stability matrix. The motion on the Bloch sphere is mapped to a canonical system of coordinates and the focusing of an ensemble corresponds to caustics, or the vanishing of an appropriate stability matrix element in the canonical coordinates.

The caustics in CPs are unusual in the sense that each member is governed by a slightly different Hamiltonian, so that averaging is required for the stability analysis. The average stability matrix elements turned out to be particularly informative: when they collapse to a narrow band, the ensemble refocuses, and when they diverge, the ensemble exhibits a maximal spread. This is a clear, visual, and quantitative way to track robustness.

Our approach highlights the directionality of the refocusing of the ensemble on the Bloch sphere, revealing how different ensembles refocus along different directions. As a case study, we investigated the 90(x)180(y)90(x) CP introduced by Levitt, where the approach provides a new perspective into why this CP is effective: the focusing produced by Levitt's CP corresponds to a caustic, as manifested in the elements of the stability matrix.

The approach clarifies why the 90(x)180(y)90(x) CP changes the width of the ensemble in the case of field inhomogeneity, as opposed to simply a rotation of the axes in the case of resonance offset. In the case of field inhomogeneity, the pulse leads to refocusing in the η-direction, while in the ϕ-direction the ensemble diverges, meaning the refocusing is highly directional. In the case of resonance offsets, refocusing occurs in both directions. This directional aspect goes beyond what was discussed by Levitt.

Although we focused here on the 90(x)180(y)90(x) pulse sequence, our method can be applied to any pulse sequence. In fact, we successfully checked our method in two additional pulses: (1) Levitt's five-segment sequence, which is robust for resonance offsets;10 (2) Dridi's three-segment sequence, which is robust for both ensembles.14 We stress that our method does not rely on a specific form of the pulse or any assumption about the ensemble; all one needs is the pulse sequence and its imperfections. In this sense, we believe that our classical point of view can be useful for analyzing almost all types of CPs.

In summary, we believe that the transfer of ideas from classical mechanics to quantum control is intellectually satisfying, and that notions like stability analysis, manifolds and caustics, can provide new insights into this widely studied system. This ultimately may suggest new pulse sequences for NMR, optical spectroscopy, quantum information processing and quantum computing.

Conflicts of interest

There are no conflicts to declare.

Data availability

The MATLAB codes, used to generate the data in this manuscript are publicly available at my GitHub repository: https://github.com/jonathanbrkm/Stability-around-the-globe.

Acknowledgements

J. B. and D. J. T. thank Jacob Higer and Ilya Kuprov for helpful discussions. Financial support for this work was provided by the German-Israeli Foundation for Scientific Research and Development (GIF), and the historic generosity of the Harold Perlman family.

References

  1. M. H. Levitt and R. Freeman, J. Magn. Reson., 1979, 33, 473–476 Search PubMed.
  2. E. L. Hahn, Phys. Rev., 1950, 80, 580–594 CrossRef.
  3. H. Y. Carr and E. M. Purcell, Phys. Rev., 1954, 94, 630–638 CrossRef CAS.
  4. S. Meiboom and D. Gill, Rev. Sci. Instrum., 1958, 29, 688–691 CrossRef CAS.
  5. S. Wimperis, J. Magn. Reson., 1994, 109, 221–231 CrossRef CAS.
  6. H. Cummins and J. Jones, J. Magn. Reson., 2001, 148, 338–342 CrossRef CAS PubMed.
  7. B. T. Torosov and N. V. Vitanov, Phys. Rev. A, 2019, 100, 023410 CrossRef CAS.
  8. M. Bando, T. Ichikawa, Y. Kondo, N. Nemoto, M. Nakahara and Y. Shikano, Sci. Rep., 2020, 10, 2126 CrossRef CAS PubMed.
  9. M. H. Levitt, J. Magn. Reson., 1982, 48, 234–264 CAS.
  10. M. H. Levitt, J. Magn. Reson., 1982, 50, 95–110 CAS.
  11. C. Counsell, M. Levitt and R. Ernst, J. Magn. Reson., 1985, 63, 133–141 CAS.
  12. B. Blümlich and H. Spiess, J. Magn. Reson., 1985, 61, 356–362 Search PubMed.
  13. S. J. Glaser, U. Boscain, T. Calarco, C. P. Koch, W. Köckenberger, R. Kosloff, I. Kuprov, B. Luy, S. Schirmer, T. Schulte-Herbrüggen, D. Sugny and F. K. Wilhelm, Eur. Phys. J. D, 2015, 69, 279 CrossRef.
  14. G. Dridi, M. Mejatty, S. J. Glaser and D. Sugny, Phys. Rev. A, 2020, 101, 012321 CrossRef CAS.
  15. D. J. Tannor, Introduction to Quantum Mechanics: A Time-Dependent Perspective, University Science Books, 2007, pp. 227–272 Search PubMed.
  16. F. Bloch, Phys. Rev., 1946, 70, 460–474 CrossRef CAS.
  17. A. Abragam, The Principles of Nuclear Magnetism, Oxford University Press, 1961 Search PubMed.
  18. C. P. Slichter, Principles of Magnetic Resonance, Springer Berlin Heidelberg, Berlin, Heidelberg, 1990, vol. 1 Search PubMed.
  19. R. P. Feynman, F. L. Vernon and R. W. Hellwarth, J. Appl. Phys., 1957, 28, 49–52 CrossRef CAS.
  20. M. H. Levitt, Prog. Nucl. Magn. Reson. Spectrosc., 1986, 18, 61–122 CrossRef CAS.
  21. I. Kuprov, Spin, Springer International Publishing, Cham, 2023 Search PubMed.
  22. J. E. Marsden and T. S. Ratiu, Introduction to Mechanics and Symmetry, Springer New York, New York, NY, 1999, vol. 17 Search PubMed.
  23. J. Eidson and R. F. Fox, Phys. Rev. A:At., Mol., Opt. Phys., 1986, 34, 3288–3292 CrossRef PubMed.
  24. Y. Pomeau, B. Dorizzi and B. Grammaticos, Phys. Rev. Lett., 1986, 56, 681–684 CrossRef PubMed.
  25. E. J. Heller, The Semiclassical Way to Dynamics and Spectroscopy, Princeton University Press, 2018 Search PubMed.
  26. M. C. Gutzwiller, Chaos in Classical and Quantum Mechanics, Springer, 1990 Search PubMed.
  27. R. G. Littlejohn, J. Stat. Phys., 1992, 68, 7–50 CrossRef.
  28. E. J. Heller, J. Chem. Phys., 1976, 65, 4979–4989 CrossRef CAS.
  29. Note that this notation shall be read as one piece.

This journal is © the Owner Societies 2026
Click here to see how this site uses Cookies. View our privacy policy here.