Dedication
In this attempt to make NMR simulation approachable, the authors wish to pay tribute to Prof. Konstantin L'vovich Ivanov, a great scientist and pedagogue who passed away on 5 March 2021.
1 Introduction
NMR spectroscopists know well the advantages of performing experiments at the highest possible magnetic field. Increasing magnetic field strength boosts the sensitivity thanks to higher Boltzmann nuclear polarization and higher Larmor frequency (provided the signal linewidth is maintained constant). In addition to this already convincing advantage, higher magnetic fields also imply a larger frequency shift dispersion and therefore easier resolution of individual resonances in crowded spectra. This has motivated the use of ever-increasing magnetic fields (Thayer and Pines, 1987; Schwalbe, 2017; Wikus et al., 2022). The past year has witnessed the implementation of the first spectrometers operating at no less than 28 T, corresponding to a H Larmor frequency of 1.2 GHz. (Wikus et al., 2022) There is no doubt that these new instruments will allow for unprecedented applications.
On the fringe of these great achievements, there is growing interest in the opposite strategy, namely, zero- to ultralow-field (ZULF) NMR, a modality of NMR experiments where the dominant interactions are spin–spin interactions rather than spin–field interactions (Thayer and Pines, 1987; Weitekamp et al., 1983; Blanchard and Budker, 2016; Blanchard et al., 2021; Tayler et al., 2017; Jiang et al., 2021). To realize such conditions, ZULF experiments are not performed in magnets but rather in mumetal magnetic shields that screen magnetic fields originating from the Earth and other surrounding sources, bringing the residual field down to nanotesla (nT) values. In this paper, “zero field” (ZF) designates the regime where heteronuclear spin–spin interactions dominate over spin–field interactions (Zeeman interactions), and the residual spin–field interactions are small enough for the Larmor period to be much longer than the coherence time (Blanchard and Budker, 2016). When this condition is met, decreasing the residual field to even lower values leaves the NMR spectrum unchanged. “Ultralow field” (ULF) designates the regime where the spin–field interactions can be treated as a perturbation to the heteronuclear spin–spin interactions. This typically corresponds to fields on the order of tens to hundreds of nanotesla (Ledbetter et al., 2011). Liquid-state ZULF experiments result in spectra which do not feature any chemical shift information (Ledbetter et al., 2009). The regime where the intensity of heteronuclear spin–spin interactions is on the order of that of the spin–field interactions occurs typically in the range of microtesla (T) to tens of microtesla and is referred to as Earth-field NMR (EF-NMR) (Callaghan and Le Gros, 1982; Appelt et al., 2006).
In the simplest form of ZULF experiments, the sample is thermally prepolarized in a permanent magnet (typically 2 T) (Tayler et al., 2017) and subsequently shuttled into the magnetic shields for detection at ZF or ULF. Alternatively, ZULF experiments may be coupled with hyperpolarization techniques (Theis et al., 2012; Butler et al., 2013b; Barskiy et al., 2019; Picazo-Frutos et al., 2023). In particular, parahydrogen-induced polarization (PHIP) has become common as a method for enhancing ZULF signals (Theis et al., 2011, 2012; Butler et al., 2013b). Once the sample is prepolarized (or hyperpolarized), coherences are excited using constant magnetic field pulses rather than radiofrequency (RF) pulses and are usually detected using optically pumped magnetometers (OPMs) rather than inductive coils (Ledbetter et al., 2009). Contrary to high-field instruments, ZULF spectrometers have the advantage of being cheap and relatively easy to assemble (Tayler et al., 2017). They are small enough to sit on a bench and do not require the use of cryogenics (at least if OPMs are used for detection).
Most people who have been introduced to the theory of high-field NMR have first encountered the vector model. The representation of a single-spin system as a vector in 3D space is a powerful tool to build intuition on what happens during an NMR experiment. Then, in a second step, the product operator formalism is necessary to understand the outcome of experiments involving interacting spins. At ZULF, couplings between spins need to be taken into account even to describe the simplest experiment, which consists of detecting the coherence between the singlet and triplet states of a pair of -coupled heteronuclei, e.g., H and C (Blanchard and Budker, 2016). Polarization oscillates back and forth from one heteronucleus to the other, producing an observable oscillating signal whose frequency is given by the coupling between the two spins. The outcome of the experiment is simple – a single line at the -coupling frequency – although it cannot be predicted by the vector model of high-field NMR and Bloch equations. Nonetheless, it is possible to build intuition regarding ZULF experiments in several ways. First, when dealing with two-spin systems, one can define spin operators at ZF in analogy to that at high field so as to translate some of the intuitions from high field to ZULF (Blanchard and Budker, 2016; Butler et al., 2013b). Second, there is a strong analogy between the energy states of electronic spins in atoms and coupled nuclei at ZF (Butler et al., 2013a; Theis et al., 2013). The formalism of addition of angular momenta (widely used in atomic physics and rotational spectroscopy but less frequently in liquid-state NMR) can therefore be used to describe ZULF experiments. Finally, ZULF experiments can be numerically simulated easily, and – as is the case for high-field NMR – simulation provides a playful means to understand NMR experiments (Blanchard et al., 2020; Put et al., 2021). This tutorial paper is focused on the last two approaches.
We present a step-by-step procedure to numerically simulate ZULF spectra in some simple cases. The process is broken down into the following steps:
-
define the experimental sequence,
-
define the spin system,
-
compute the spin Hamiltonian,
-
define the initial state – compute the initial density matrix,
-
propagate the density matrix under the Hamiltonians,
-
extract expectation values from the propagation,
-
Fourier transform the expectation values to obtain a spectrum.
The reader might wonder whether it makes sense to go through all the details of simulating NMR experiments from scratch while there are powerful simulation packages which are freely available. SpinDynamica (Bengs and Levitt, 2018) and Spinach (Hogben et al., 2011), which run on Mathematica and MATLAB, respectively, are probably the most appropriate tools for simulations at ZULF. The people who have programmed these have already gone through the hurdles of making them efficient and versatile for us, and they even provide code examples for the simulation of NMR spectra at ZULF.
See, for example,
In writing this paper, the authors wish to pay tribute to their regretted lecturer and mentor Prof. Konstantin L'vovich Ivanov, known as Kostya by many, who was taken by COVID-19 on 5 March 2021 (Yurkovskaya and Bodenhausen, 2021). Kirill Sheberstov had Konstantin Ivanov as a PhD co-supervisor, performing research on long-lived states, parahydrogen-induced polarization, and chemically induced dynamic nuclear polarization (CIDNP). Konstantin Ivanov's deep understanding of the underlying physics allowed his group to work in very different directions, e.g., to combine CIDNP and ZULF NMR. During his PhD in Sami Jannin's team in Lyon, France, Quentin Stern collaborated with Konstantin Ivanov on a research project. In the course of their collaboration, Konstantin Ivanov gave Quentin Stern guidance on how to simulate experiments at ZF. A few pieces of advice turned into precious teachings for Quentin Stern. Sadly, these teachings were brutally interrupted by Konstantin Ivanov's death. Konstantin Ivanov's kindness and availability to give help and advice will forever remain an example for Quentin Stern and Kirill Sheberstov.
2 Theory – numerical simulation of spin dynamics
2.1 Define the experimental sequence
Most 1D NMR experiments can be broken down into three steps: During the preparation, some nuclear polarization is acquired by letting the sample rest in a strong magnetic field (in most conventional experiments). Mixing consists of bringing the system to a non-stationary state whose oscillations are recorded during detection. In common high-field NMR experiments, all the steps are performed in a strong magnet with a nearly constant magnetic field. Nuclear polarization is spontaneously acquired due to the high magnetic field, and both the mixing and detection are performed through the same RF coil using Faraday induction. At ZULF, there is no nuclear polarization, so the preparation has to be performed in different conditions. A common method is to shuttle the sample between a region of high field and a region of ZULF.
Figure 1 shows a typical experimental setup. A permanent magnet is used to prepolarize the sample, which is connected with the magnetic shields by a guiding solenoid coil. This coil ensures that the sample experiences a magnetic field with constant direction and sufficient strength during the transfer from the region of high field to inside the magnetic shields (i.e., the coil ensures an adiabatic transfer). Once the sample arrives in the magnetic shields at the location of detection, the Helmholtz coil continues to produce a magnetic field in the same direction as the solenoid, and the spin system is still distributed into Zeeman populations (Blanchard and Budker, 2016; Tayler et al., 2017). All the steps detailed until here are part of the preparation. In practice, the guiding solenoid and the Helmholtz coil produce a magnetic field which is much weaker than the prepolarizing magnet. However, this will not be taken into account in the simulation: we consider that the sample spends enough time in the prepolarizing magnet to reach Boltzmann equilibrium and that the transfer is sufficiently fast for us to neglect the change in polarization during the transfer.
A further step can optionally be added to the preparation, which consists of ramping down the magnetic field produced by the Helmholtz coil to bring the spins adiabatically to ZF. We will refer to experiments which include or do not include this step as the adiabatic field drop and sudden field drop experiments, respectively. In the case of sudden field drop experiments, the mixing step simply consists of switching off the magnetic field non-adiabatically (that is, fast enough to be considered instantaneous with respect to the evolution of the spin system). In the case of adiabatic field drop experiments, the sample is already at ZF at the end of preparation, so populations have to be mixed by applying a magnetic field pulse before any signal can be detected. This is analogous to high-field pulses except that it uses constant magnetic field rather than RF pulses. After the mixing, the oscillating magnetic field generated by the sample is detected by an optical magnetometer. In Fig. 1, the magnetometer is represented below the sample, that is, aligned along the axis with respect to the sample. We assume that the OPM is configured so as to be sensitive to magnetic field along the axis and that the spins are initially prepolarized along the same axis. Defining this axis as is a natural choice for high-field NMR spectroscopists, but note that other conventions exist (see, for example, Ledbetter et al., 2011). During detection, a weak magnetic field may be applied, either along the axis or along an orthogonal axis. In the latter case, the experiment is said to be performed under the ULF regime. In the absence of applied magnetic field (and provided the residual magnetic field is properly zeroed at the location of the sample), the experiment is said to be performed under the ZF regime.
Figure 1
(a) Typical experimental setup for ZULF experiments. Note that the sample is represented in two places in the same drawing even if there is a single sample. (b) Schemes of the experimental sequences for measurements at ZF using a sudden field drop or an adiabatic field drop followed by a pulse of static magnetic field.
[Figure omitted. See PDF]
In summary, there are several possible combinations of experimental schemes. All of them start with prepolarizing the spins at high magnetic field. After the sample is transported into the magnetic shields, the field is dropped either suddenly or adiabatically, in which case a magnetic field pulse is applied. Finally, the oscillating magnetic field produced by the sample is detected along the axis, with or without a weak magnetic field applied along the axis. In the remaining of the paper, these sequences presented in Fig. 3b will be broken down into the following steps:
-
prepolarization,
-
transfer and coherence excitation, and
-
detection.
This step consists of listing the different magnetic sites of the molecule whose ZULF spectrum is to be simulated and the interactions which the spins are subject to. This paper is concerned with small molecules in the liquid state. As is the case for high-field NMR, dipolar interactions are averaged out by rapid molecular tumbling and need not be taken into account (except as stochastic perturbation if one intends to include relaxation effects). Therefore, only the coupling and the Zeeman interactions are considered here.
In this paper, we consider spin systems of the form XA, where X is a C spin coupled to equivalent H spins A through a coupling . The A spins are coupled together through .
2.3 Compute the spin Hamiltonian
The Hamiltonian is the operator which represents the total energy of the system. Information about the spin system is mathematically encoded in the spin Hamiltonian. We will first present how the Hamiltonian for the Zeeman interaction of a single spin is computed based on Pauli matrices. Then, we will present the construction of a two-spin system using the Kronecker product of individual spin spaces to compute the Zeeman and the -coupling Hamiltonians. Finally, we will show how the procedure is extended to an arbitrary number of spins.
Let us first assume that the system contains a single spin interacting with the magnetic field along the axis. The state of any spin system can be represented as a linear combination of basis vectors, which are called “kets” in Dirac's notation and are represented by the symbols . For a single spin , two basis kets are necessary to represent the state of the system. We chose to represent the spin system in the Zeeman basis:
1 The and states correspond to the spin being parallel and antiparallel with the magnetic field, respectively. The general state in which the spin may be found is a linear combination of these two basis states. Because these states and their associated kets form an orthonormal basis, their vector representation have the canonical form with only 0 and 1 coefficients. The space spanned by these two vectors is called a “Hilbert space” and has dimension 2, as indicated by the superscript in . Note that the choice of the Zeeman basis is convenient for numerical simulation but is not necessary. For example, one may use the coupled basis, which will be presented and used in Sect. 4. The same basis may be used to perform simulations at high field or ZULF, although one particular basis might turn out to be more convenient.
The angular momentum of a single spin is associated with the spin angular momentum operators, which can be represented as a vector with three Cartesian components: 2 These operators act on the Zeeman states in certain ways, e.g., . To summarize the set of rules, it is convenient to use the matrix representation of the operators, with the matrix elements determined by the action of the operator on the and states: , where . This definition makes use of , i.e., the “bra”, an object which is complementary to the ket and corresponds to the “Hermitean conjugate” of the ket. In the matrix representation of quantum mechanics, the Hermitean conjugate of a ket corresponds to the complex transpose of the vector representing the ket. The matrix representations of operators in quantum mechanics is very important for performing simulations, as they are constructed in such a way that any state of operation on the quantum system can be represented using linear algebra. The matrix representations of the three Cartesian components of the spin angular momentum operators are proportional to Pauli matrices , , and : 3 The interaction of a single spin with a magnetic field is given by the Zeeman Hamiltonian: 4 where is the gyromagnetic ratio of the spin (in rad s T). The dot product of the vectors of the magnetic field and of the spin angular momentum (vectors and vector operators are denoted in bold throughout the text) is expanded on the right member of Eq. (4). Note that we have omitted the reduced Planck constant in Eq. (4), which implies that the energy is expressed in radians per second (rad s) rather than in joules. This is the case throughout this paper. In many cases, the magnetic field is aligned with one of the axes. If it points along the axis, i.e., , Eq. (4) simplifies to 5 where is the Larmor frequency of the spin. This expression is valid regardless of the intensity of the magnetic field, i.e., at high field as well as at ZULF. The Zeeman states, and , which correspond to the spin being parallel and antiparallel with the magnetic field, respectively, are eigenstates of the Zeeman Hamiltonian; that is, they satisfy the eigenequations and . The eigenstates of a Hamiltonian are of particular importance; they are states which do not evolve under the effect of that Hamiltonian (ignoring the accumulation of the phase factor, which turns out to be irrelevant in most experiments), i.e., stationary states.
The single spin whose Hamiltonian is given by Eq. (5) lives in a Hilbert space of dimension 2. To represent a pair of spins , we need to use a Hilbert space with a dimension of 4. To do so, we redefine the angular momentum operators in this higher-dimension space. The matrix representations of the angular momentum operators , , and and , , and of spin 1 and spin 2, respectively, are given by the Kronecker product of matrices of single-spin angular momentum operator and the identity operator, in the appropriate order. For the -axis angular momentum operators, we have 6 and 7 Similar expressions are obtained for the matrices of and operators. They are not shown here but are available in many textbooks (Hore et al., 2015; Levitt, 2013). Here, we have used the following convention for the Kronecker product 8 The two operators defined by Eqs. (6) and (7) are the same as the one given by Eq. (5), except that the world of spin 1 now contains spin 2, and vice versa. This representation corresponds to a basis that is the Kronecker product of the basis of the individual spins. 9 For the case where the magnetic field points along the axis, the total Zeeman Hamiltonian for the two spins can now be computed using Eq. (5) in the basis of Eq. (9) as the sum of the two Zeeman Hamiltonians: 10 where and are the Larmor frequencies of spin 1 and 2, respectively. Note that in a Hilbert space of several spins, it is useful to define projections of total angular momentum operators: 11 Note that these operators are represented by the same symbol as their equivalent in the single-spin Hilbert space (see Eq. 3). It should be clear from the context whether the operator corresponds to a single-spin or multiple-spin Hilbert space. Where confusion may remain, we will indicate the dimension of the space on which the operator acts.
At this point, the two spins are represented in a common space, but they do not interact. The -coupling Hamiltonian for the pair of spins is given by 12 where is the coupling between the two spins (in Hz). Compared with the Zeeman Hamiltonian (see Eq. 10), the -coupling Hamiltonian has the particularity to have off-diagonal elements in the subspace, which implies that the interaction mixes the and states. In other words, due to the interaction, these two states are no longer eigenstates of the spin system.
In the case of a system of spins , the same procedure can be applied to define the angular momentum operators and the Hamiltonians. These operators can be represented as matrices. Their Zeeman basis can be constructed as in Eq. (9), taking all possible combinations of and states of the individuals spins. Equations (6) and (7) generalize to 13 where and is the angular momentum operator of spin in an -spin Hilbert space, and and are the identity operator and the angular momentum operator in a single-spin Hilbert space, respectively. The projection of total angular momentum operators is given by 14 Equations (13) and (14) are shown for operators but apply similarly for and operators. The reader is encouraged to compute the matrix representations of these operators using the MATLAB codes provided in the Supplement. The Zeeman Hamiltonian for a system of spins is given by 15 where is the gyromagnetic ratio of spin l. The Hamiltonian in the same space is given by 16 where is the coupling between spins and (in Hz). Because a spin is not coupled to itself, the sum in Eq. (16) does not include terms with . Furthermore, to avoid counting terms twice, terms with are not included either, leaving only terms. The expression of the Zeeman Hamiltonian and Hamiltonian in Eqs. (15) and (16), respectively, are valid both at high field and at ZULF. What makes the difference between the two regimes is the relative intensity of the two contributions.
2.4 Define the initial state – compute the initial density matrixThe state of a spin system during an NMR experiment is described by a density operator. If is a ket representing the state of the system as a linear combination of basis states (like those defined in Eqs. 1 and 9), the density operator is given by
17 where the upper bar represents the ensemble average over all identical spin systems in the sample – the operation performed by the density operator. This averaging makes the density operator formalism well-suited for NMR, where the experiment consists of observing a large number of identical spin systems at the same time rather than a single spin system. The matrix representation of the density operator (and of any other spin operator) is achieved by calculating all the matrix elements , where and are basis states. For example, the matrix representation of the density operator for the and states of a single spin yields 18 To start a simulation, we need to determine the density matrix of the system at the initial point of the experiment. We assume that the sample has spent enough time in the prepolarizing magnet to reach thermal equilibrium; that is, the spin system follows Boltzmann's distribution of states. In this case, the density matrix is given by 19 where , , and are the Hamiltonian operator of the spin system, Boltzmann's constant, and the temperature, respectively. Operation denotes the matrix exponentiation. Note that this operation does not consist of applying to each element of the matrix. It is a more complex operation, which is realized in MATLAB by the built-in function expm (rather than exp). is a normalization constant, which ensures that the density matrix has unit trace. It is given by 20 The prepolarizing step of the experiments that we intend to simulate occurs in a strong magnetic field (in the sense that the Zeeman interaction is largely dominating all other interactions), as in a standard high-field experiment. In this case, we can compute the thermal equilibrium by taking only the Zeeman terms into account. For a single spin with Larmor frequency and gyromagnetic ratio in prepolarizing field , the thermal equilibrium density matrix yields 21 where is the polarization of the nucleus along the axis (for positive , it corresponds to the population excess of the state with respect to the state), defined by 22 Note that the use of in the expression of the Hamiltonian (i.e., expressing the energy in joules) cannot be avoided here, to ensure consistency of units. To obtain the expression on the right-hand side of Eq. (21), we have jumped several steps of calculation which are all based on the definition of polarization. This expression for the density matrix is exact for a spin whose only interaction is the Zeeman interaction, which we have assumed here.
For an -spin system, we take the Kronecker product of density matrices of individual spins . 23 The first approximation in this expression comes from the fact that it neglects all spin–spin interactions. The second approximation comes from the fact that we neglect multiple-spin order terms, which are proportional to the products , where and are the polarizations of spin and , respectively. This approximation is valid unless the system is highly polarized, which is the case even at very high field (without hyperpolarization). To avoid confusion, we specified that the operators , , and act on a single-spin Hilbert space ( matrix). On the contrary, the operators and act on spin states of spins, and accordingly their matrix representations have dimension of (for spins ). As shown by Eq. (23), one may compute the density matrix either using the Kronecker product of operators in a single-spin Hilbert space or by summing the operators in a Hilbert space of spins.
In many textbooks (Hore et al., 2015; Levitt, 2013), one encounters simplified expressions of the density operator. First, it is common to remove the identity component: 24 where is the number of spins in the system. Because all operators commute with the identity, this does not affect the result of propagation. The resulting expression is simpler ( for a single spin), which is convenient for calculations by hand. It may also make the numerical propagation faster and more precise. Another common simplification is to drop the polarization factor. For a single spin, the two combined simplifications yield 25 Simplifications are useful, but they should be handled with care. The polarization factor is different for spins with different gyromagnetic ratio. If it is dropped without introducing further corrections, the relative sizes of the population of spins with different gyromagnetic ratios will not be respected. In the simulations presented here, we will compute the initial density matrix using the transformation of Eq. (24) but not that of Eq. (25).
2.5 Propagate the density matrix under the HamiltoniansWe have seen how to compute the initial density matrix and the matrix representation of the Hamiltonian. We now describe how the evolution of the system (represented by the density matrix) evolves with time under a given Hamiltonian. This will be used at several steps of the simulation: when the sample is brought adiabatically to ZF, during the pulse, and during the signal measurement.
The evolution of a quantum system with time is given by the time-dependent Schrödinger equation. Its equivalent for the evolution of density matrix is the Liouville–von Neumann equation , which has the solution
26 where is the density matrix at , and is the propagator during time , which is defined as 27 where is the total Hamiltonian. The operation of Eq. (26) “takes” the spin system from to . Again, note that denotes the matrix exponentiation and not the element-by-element exponentiation. An important case of propagator is the rotation operator. For an angular momentum operator , with , the propagator is called a rotation operator; it represents a rotation of the spins of angle around axis , when applied to the density matrix using Eq. (26). For a single spin subject to a static magnetic field along the axis, the total Hamiltonian is the Zeeman Hamiltonian (see Eq. 5) which causes the spin to rotate around the axis; this rotation can be expressed using the rotation operator with angle .
The brute force calculation of the exponential operator in an arbitrary basis is computationally challenging as it requires calculating the Taylor expansion of the operator, which can be calculated analytically only in a few cases, like the propagators of the , , and operators. To avoid this, the calculation of the propagator (Eq. 27) is usually performed by diagonalizing the Hamiltonian and then taking the complex exponent for each of its eigenvalues, , where denotes the th eigenvalue. Therefore, the transformation to the eigenbasis of the Hamiltonian implicitly happens during most spin dynamics simulations, meaning that, even if it was not set by the user, this is likely done by the linear algebra packages of the software. One may note that the basis does not affect the result of the calculation, but the choice of a more appropriate one may help rationalize the problem. In many cases, the initial choice is the Zeeman basis, in which spin operators are readily introduced based on Kronecker products of the Pauli matrices. Depending on the symmetry of the problem, it might be more convenient to change the basis to another one. As we will see in Sect. 4.1, a choice of coupled basis is preferable for understanding the zero-field spectroscopy of coupled spins.
It is important to remark that Eq. (27) is only valid if the Hamiltonian is constant during the evolution period. The case where the Hamiltonian is time dependent is treated below. Note that the propagator is a unitary operator and therefore has the convenient property that its inverse is equal to its complex transpose (i.e., ), which is much faster to compute than the matrix inverse .
Equations (26) and (27) allow us to know the state of the system at any time from the initial time . To simulate the signal produced by the spin system during the course of the experiment, we must calculate the time domain signal at different time points. Note that in this case the Hamiltonian remains constant during free evolution. To calculate the signal at fixed time steps, it is convenient to first calculate the propagator over period . We then apply Eq. (26) recursively to get the new density matrix from the previous one , 28 where . To simulate ZULF spectra, we will also encounter situations where the Hamiltonian is time dependent. First, the Hamiltonian can vary with time but be “constant by block”. This is, for example, the case for the sudden field drop; the system is under a certain Zeeman Hamiltonian in the beginning of the experiment and suddenly under the ZULF Hamiltonian during detection. This situation does not present particular difficulties; the evolution of the system can be described step by step by both Eqs. (26) and (28).
Second, the Hamiltonian can vary continuously, as in the case of the adiabatic field drop, where the intensity of the magnetic field is ramped down to zero. This event can be simulated by propagating the evolution of the system during time intervals which are sufficiently short for the Hamiltonian to be considered constant during this time interval. The propagator must then be computed for each time increment. The form of the equation for propagation is similar to Eq. (28), 29 where the propagator is given by 30 where is the Hamiltonian at time . Note that the choice of rather than in Eq. (30) is arbitrary, but in the limit of small intervals, the choice has no consequence.
2.6 Extract expectation values from the propagationThe propagation procedure described above gives access to the density matrix along time. To simulate the time domain signal, we need to extract a physical quantity from the density matrix as it evolves with time. The measured physical quantity of a ZULF experiment is the magnetic field produced by the nuclear spins of the sample at the location of an OPM. In a first approximation, we can consider that the whole sample is a point dipole interacting with the OPM and that this total dipole is the sum of the dipoles of the individual spin systems (Fig. 2 gives a visual representation of the approximation). Whether this approximation is appropriate or not depends on the geometry of the experimental setup. We have chosen the axis as the quantization axis (defined by the detector, i.e., the OPM). Therefore, the physical quantity that we need to compute is the total magnetic field produced by the spins along the axis at the location of the vapor cell:
31 where , , , , and are the magnetic moment of the sample along the axis, the permeability of free space, the number of identical spin systems in the sample, their individual magnetic moments along the axis, and the distance between the center of the sample and the center of the vapor cell, respectively.
Figure 2
Comparison of the real geometry of the sample of the OPM with the approximated one. The arrows represent local magnetization vectors parallel to the total magnetization vector.
[Figure omitted. See PDF]
For each identical spin system, we then compute the magnetic moment as the sum of the contributions of each spin . 32 where , , and are the magnetic moment, the gyromagnetic ratio, and the angular momentum along the axis of spin , respectively. Note that and represent the number of spins in the molecule and the number of molecules in the sample, respectively. The notation denotes the expectation value of a quantity. Particularly important ones are those that can be physically measured in the experiment. In the density matrix formalism that we are using, the expectation value of a physical quantity related to an operator is given by 33 where denotes the matrix trace, i.e., the sum of all diagonal elements of the matrix representation of the operator. Note that the expectation value of (or is proportional to the polarization level of spin which was accounted for in Eqs. (21) and (22). Therefore, the total magnetic moment calculated with Eq. (32) depends on the polarization of the different spin species.
If is the density matrix at time , we obtain the signal measured by the OPM by plugging Eq. (32) into Eq. (33) 34 where we have defined a “detection operator”, 35 To obtain Eq. (34), we have used the fact that taking the trace of a matrix is a linear operation, and so the trace of a sum is the sum of the traces.
In the case of a sample with volume L of C-formic acid prepolarized at 2 T at 298 K, with molar mass of 46 g mol and density of 1.22 g mL, one finds that the amplitude of the magnetic field generated by the sample at a distance of cm is on the order of 10 pT using the above equations. This estimation does not take into account demagnetization effects caused by distribution of spins in space, giving the upper limit for the expected field. Experimentally measured magnetic fields are about 10 times smaller (Tayler et al., 2017).
2.7 Fourier transform the expectation values to obtain a spectrumThe time domain signal is what is measured by the ZULF NMR spectrometer. The final step of the simulation is to transform the measured signal from the time domain to the frequency domain using a discrete Fourier transform. Programming environments such as MATLAB or Mathematica are equipped with built-in functions for fast Fourier transformation. We will not discuss the mathematics behind this process, but we will give a few practical hints. Contrary to high-field NMR, ZULF spectra can be obtained with real magnetic field units (rather than arbitrary units). We will show how such units can be obtained.
Let us call and the arrays of numbers containing the time and corresponding time domain signal values, respectively, which resulted from the previous steps (note that, in MATLAB's programming environment, such arrays are usually called vectors). Let us call the number of elements of both arrays (which corresponds to the number of points in the time domain signal). For now, consists of a sum of oscillating signals which do not decay with time as our simulation did not include relaxation effects. If we perform a Fourier transform on , we will obtain non-Lorentzian line shapes (with distinctive sinc patterns). We must therefore artificially include relaxation by multiplying the signal with an apodization function, to force the signal to decay to 0. For liquid-state signals, the most common choice is a monoexponential decay which can be expressed as
36 where , , , and are the th elements of and , the line broadening (in Hz), and the coherence time constant (in s), respectively. Note that the coherence time constant is often referred to as the spin–spin relaxation constants or transverse relaxation time constant. The signal intensities define the apodized signal array . As shown in Eq. (36), we may choose to express the apodization function using either the coherence time constant or the line broadening (in Hz), which are related by . The former is the time constant at which the time domain signal decays, while the latter is the full width at half height (FWHH) of the frequency domain signals. In order to avoid “truncating” the decay of the time domain signal and the related spectral artifacts, we must fulfill the condition , where is the acquisition time (or the length of the signal in the time domain). Typically, we may choose and so that . Table 1 summarizes the parameters which were used in this paper.
The apodization function of Eq. (36) yields Lorentzian signals as one would expect. However, without further apodization, the baseline of the spectra will have some distortions (Zhu et al., 1993), with the main distortion being a small offset of the baseline. This problem arises because the time domain signal has its first point at time , so the Fourier transform gives the integral of the first segment of twice larger amplitude than it should be. As proposed by Otting, this baseline offset can be removed by weighting the first and last point of the time domain signal by factor (Otting et al., 1986). However, because the integral of the Fourier transform is proportional to the first point of the time domain signal, this apodization does not preserve the integral. To obtain spectra without baseline offset and preserving the integral, we propose to use an apodization function which weights all points by 2 expect for the first and last ones: 37 where is the number of points in the Fourier transform (see below). We show in the Supplement that this apodization function preserves the integral (see Supplement S2).
In MATLAB programming language, the function for fast Fourier transformation fft() takes array as input and returns the frequency domain array which corresponds to the simulated spectrum. Optionally, one may add a second argument to fft() to include zero-filling in the Fourier transform. Including zero-filling has the advantage of increasing the number of points per FWHH on the spectrum without increasing the computation time of the propagation. Due to MATLAB's Fourier transform convention, it is convenient to retransform the signal with fftshift() in order to obtain a Fourier transformed signal with 0 as the middle frequency. We then divide the output of MATLAB's Fourier transform by the number of points : 38 where designates the Fourier transform. The frequency domain signal obtained after this whole procedure has units of magnetic field (e.g., pT). Changing the zero-filling changes the intensity of the frequency domain signal but preserves the integrals.
MATLAB's fft() function does not generate the frequency array associated with the Fourier transformed signal. The frequency array (in Hz) can be generated based on the following expression: 39 where the sampling frequency (in Hz) is given by 40
Figure 3
Illustration of signal sampling and the effect of undersampling. Panels (a), (c), and (e) represent a cosine oscillating at 1 Hz in gray sampled with various frequencies (1.3, 3.7, and 7.3 Hz, respectively). The blue dots represent the samples. In each case, the Fourier transform is shown in panels (b), (d), and (f), respectively. When the sampling frequency is lower than 1 Hz, the peak cannot appear at 1 Hz and is therefore found at a fictitious position.
[Figure omitted. See PDF]
The sampling frequency of the time domain signal gives the maximum frequency that can be appropriately sampled. Figure 3 illustrates the consequence of choosing a sampling frequency which is lower than the maximum frequency. If the sampling frequency is lower than the signal to be sampled, the Fourier transformed signal lies outside the spectral width (between and ). However, due to the “refolding effect” of the Fourier transform, the signal still appears in the spectrum but at irrelevant positions. To avoid this, one may repeat the simulation by increasing the sampling frequency and keeping other parameters constant. If the sampling frequency is sufficient, the spectrum should not be affected.
The choice of the parameters discussed in this section and above influences the outcome of the simulation in the same way as it does for the experiment. Once an NMR simulation is running, one might want to play with combinations of , , , , and until the simulated spectra display convenient features. If one intends to simulate spectra to match experimental data, one might simply perform the simulation with the same , , , and values. Table 1 summarizes the parameters which were used in this paper.
Table 1List of parameters that were used to simulate the time domain signals and spectra in Fig. 4.
Parameter | Meaning | Value used in |
---|---|---|
Fig. 4 | ||
Number of points of the time domain signal | 4096 | |
Number of points of the time domain signal including zero-filling/number of points of the Fourier transform | 65 536 | |
Acquisition time | 5 s | |
Sampling frequency or spectral width | 819.200 Hz | |
Dwell time (time between acquisition points) | 1.2207 ms | |
Coherence's relaxation time constant | 1 s | |
Line broadening | 0.3183 Hz |
The procedure described here yields an NMR signal which is symmetric around 0. As a consequence, each signal is found both in the positive and negative frequencies, and the integral is split into the two duplicates. Because the experimental procedure that we are simulating does not differentiate negative and positive frequencies, we discard the frequency domain signal corresponding to negative frequencies and multiply the abscissa of the frequency domain signal corresponding to positive frequencies by a factor of 2. This operation corresponds to “folding” the spectrum around . Note that in high-field NMR, the measured signal is complex and is therefore not split into positive and negative halves. The central frequency of the spectrum at high field is given by the carrier frequency of the spectrometer (e.g., typically 400 MHz for H at 9.4 T). Section 2.8 describes this difference between high-field and ZULF NMR in more detail.
Whether the time domain signal which results from the simulation is real or complex, the Fourier transform yields a complex frequency domain signal. To get a spectrum consisting of a signal intensity as a function of the frequency, we must use the real part of the frequency domain signal. Depending on the experiment that we are simulating, we might find that some or all spectral components of the frequency domain signal are not in phase. To compensate for this, one might apply a phase correction by multiplying each point of the frequency domain signal by a complex constant , where is the phase correction before taking its real part. 41 where and are the real and complex frequency domain signals, respectively.
In summary, the Fourier transform procedure that we have described has the following steps:
-
Apply a monoexponential apodization window to the time domain signal so that it decays to 0 (see Eq. 36).
-
Apply the apodization described by Eq. (37) to avoid baseline artifacts in the frequency domain signal.
-
Obtain the complex frequency domain signal by Fourier transforming the time domain signal using a fast Fourier transform algorithm.
-
Generate the corresponding frequency axis using Eqs. (39) and (40).
-
Remove the negative frequencies from both the frequency axis and the frequency domain signal and multiply the abscissa of the frequency domain signal by 2 to account for the partition of the signal integral between positive and negative frequencies.
-
Take the real part of the signal after applying an optional phase correction (see Eq. 41).
We conclude this theory section by listing the main differences between high-field and ZULF NMR, which are summarized in Table 2. As is the case for the rest of the paper, our description is limited to small molecules containing spin in the liquid state.
At high magnetic field, the Zeeman interaction is much larger than the coupling and therefore dominates the dynamics. Furthermore, the Larmor frequency of the spins (which results from the Zeeman interaction) is slightly shifted by the presence of the electron cloud around the nuclei. This phenomenon, called the chemical shift, gives a slightly different Larmor frequency for nuclei in different positions in a molecule, which spreads over typically 10 and 200 ppm around the Larmor frequency for H and C spins, respectively. At ZULF, the coupling dominates while the Zeeman interaction is a perturbation, and the chemical shift plays no role (in that it is a small perturbation of a small perturbation).
In Fig. 1 and in the simulations presented in this paper, we have assumed that the detector was positioned below the sample (along the axis in our axis convention) and that it was sensitive to magnetic field along the axis. Although this choice is typical, it is not the only possibility. In common high-field experiments, the oscillating signal emitted by the spins is recorded perpendicular to the static magnetic field. Detection at ZULF is performed with magnetometers that are sensitive to the total magnetic field produced by the sample. The operator corresponding to this observable is the sum of the magnetic moment of the spins along the sensitive axis of the OPM (see Eq. 34). In typical experiments, a single detector is used, which results in a real signal. Note that an imaginary ZULF signal could be obtained if the OPM were to have several sensitive axes or more than one detector were used. High-field NMR uses Faraday induction in pickup coils. Signals originating from different nuclei are usually not observed in the same experiment as their Larmor frequencies are too far apart, and the NMR coils are only sensitive over a limited bandwidth. The operator corresponding to inductive detection in pulsed NMR is non-Hermitean and therefore yields complex signals. An extra step of the acquisition process at high field that is not required at ZULF is modulating the signal recorded by the coil with a carrier frequency. Indeed, the NMR coil picks up a signal at the Larmor frequency of the spins, which is too high to be digitized (e.g., 400 MHz for H at 9.4 T). Instead, the signal is mixed with a carrier frequency, and only the difference is digitized, over a small bandwidth (e.g., over 10 ppm, corresponding to 4 kHz for H spins at 9.4 T). The signals at ZULF can be detected without mixing the frequency as the they are sufficiently low to be digitalized directly. For more details on the signal modulation at high field, the reader is referred to chapter 4 of James Keeler's book Understanding NMR spectroscopy (Keeler, 2010).
The code in Supplement S3 presents in great detail the simulation of the spectra for a pair of -coupled H and C spin pairs at ZF and ULF and at high field for both H and C (9.4 T; Stern and Sheberstov, 2023). The code is decomposed in sections corresponding to Sect. 2.1 to 2.7 of the text above, and, whenever possible, the equations presented in this paper are referenced in the code. The reader is encouraged to open this code to understand the difference between simulating a spectrum at high field and at ZULF. The code can be opened in PDF, including the figures, for those who do not have a MATLAB license.
Table 2
Comparison between high-field and ZULF NMR for typical experiments. Note that quadrature detection (and thus imaginary signals) is possible at ZULF, although uncommon. SQUID stands for superconducting quantum interference device.
ZULF | High field | |
---|---|---|
Main interaction | -coupling | Zeeman interaction |
Perturbations | Zeeman interaction | -coupling , chemical shift |
Detection method | Magnetometry (OPM, SQUID, etc.) | Faraday induction |
Observables |
3.1 Excitation schemes on an XA spin system
The ZF and ULF spectra of an XA spin system with a coupling of 140 Hz were simulated for different experimental sequences, assuming that the sample consists of 100 L of solution where the spin system has a concentration of 27 mol L. The code and its PDF version are presented in Supplement S4. Figure 4 shows the experimental sequences, as well as the simulated time domain and frequency domain signals. For all simulations, the sample was assumed to have spent sufficient time in a prepolarizing field of 2 T at 298 K to be at Boltzmann's equilibrium. The polarizations of the C and H spins were calculated using Boltzmann's distribution (see Eq. 19) and used to compute the single-spin density matrices of the C and H spins, and (see Eq. 21). The density matrix of the two-spin system was computed by taking the Kronecker product of the single-spin density matrices (see Eq. 23). The identity was removed from the two-spin density matrix using Eq. (24). The resulting density matrix was assumed to represent the initial state of the simulation (as explained above, only the Zeeman terms are considered to contribute to the initial state). For each experimental sequence, the spectrum was simulated both at 0 nT (including only the Hamiltonian ; see Eq. 12) and with a basis field of 0.5 T along the axis, that is, orthogonal to both the direction of the prepolarizing field and the sensitive axis (including both the Hamiltonian and the Zeeman Hamiltonian ; see Eqs. 12 and 10). The time domain signal was computed by propagating the density matrix under the effect of the Hamiltonian for a total time of 5 s (parameter ), discretized into 4096 points (parameter ), and corresponding to time intervals of 1.2207 ms (parameter ). Prior to the propagation loop, the ZF and ULF propagators for this particular time step (see Eq. 30) and the observable operator (see Eq. 35) were computed only once.
Figure 4
Excitation schemes for an XA spin system corresponding to C and H spins with a coupling of 140 Hz and corresponding simulated time domain signals and spectra. The vertical dashed line indicates the coupling. The time domain signal was computed by propagating the density matrix under the effect of the Hamiltonian for a total time of 5 s (parameter ), discretized into 4096 points (parameter ), and corresponding to time intervals of 1.2207 ms (parameter ). A monoexponential apodization function was applied to the time domain signal, with a coherence time constant of 1 s. The apodized time domain signal was Fourier transformed with zero-filling to 65 536 points.
[Figure omitted. See PDF]
The density matrix was propagated from time to time under the Hamiltonian (ZF or ULF) using the formula (see Eq. 29). At each time point of the propagation (realized by a “for” loop), the signal intensity of the time domain signal was extracted from the density matrix using the trace (see Eq. 33) (in pT). In theory, the trace of a Hermitean operator should be real. However, due to the finite machine precision of the numeric algorithm, the trace can sometimes contain a nonzero imaginary part. This residual imaginary part is discarded by taking the real part of the trace . This point might appear secondary, but dealing with complex numbers while thinking they are real can lead to mistakes. After propagation, a monoexponential apodization function was applied to the time domain signal (see Eq. 36), with a coherence time constant of 1 s. A second apodization function was applied to avoid baseline artifacts (see Eq. 37). The apodized time domain signal was Fourier transformed with zero-filling to 65 536 points, using MATLAB's built-in functions. The real part of the Fourier transform is shown in Fig. 4. The frequency axis of the spectra was computed using Eqs. (39) and (40). The spectra are symmetric around zero, and so it is common to work only with the positive frequencies as shown in Fig. 4.
Simulating the sudden field drop experiment is the simplest case presented here. Because the coherence excitation scheme (or mixing) only consists of bringing the spin from high magnetic field to ZF or ULF, the simulation only consists of propagating the high-field thermal equilibrium density matrix under the ZF or ULF Hamiltonian. The ZF spectrum consists of one line at the coupling and one at zero frequency (see Fig. 4a). Including a bias field of 0.5 T along the axis (ULF case) splits the peak as well as the line at zero frequency.
The simulations presented in Fig. 4b–d feature an adiabatic field drop. We used a monoexponential field drop from T to 0 occurring over s with a decay time constant of s, described by 42 which fulfills the conditions and . During the field drop, the Hamiltonian is time dependent. This step thus cannot be simulated in a single propagation step. Instead, it must be discretized into substeps that are sufficiently short for the Hamiltonian to be considered time independent. Here, the 0.5 s time interval was discretized into 5000 steps of 0.1 ms. At time , the density matrix is the thermal equilibrium density matrix obtained above. At each time step , the propagator is computed (see Eq. 30), and the density matrix is propagated from time to time (see Eq. 29) under the Hamiltonian . We name the density matrix obtained after this process. A question arises here: is this magnetic field drop that we have chosen sufficiently slow to be considered adiabatic? In other words, is stationary? A simple way to ensure that it is the case is to simulate the spectrum at ZF after the magnetic field drop without any excitation pulse, that is, taking as the density matrix at time , . If the transition is adiabatic, then the system should remain stationary; that is, the time domain signal should feature no oscillation and the spectrum no peak. Figure 4b shows the result of this procedure, which confirms that the transition is adiabatic. The only feature of the ZF spectrum in Fig. 4b is the line at zero frequency. This line originates from the non-oscillating magnetization decaying with , which is the result of the apodization function that we have applied. Verifying that the ZF spectrum is flat also ensures that the field drop was discretized into sufficiently short time intervals .
The density matrix after the adiabatic field drop obtained above was used for the simulations presented in Fig. 4c–d. In the experimental sequences of Fig. 4c–d, the adiabatic field drop is followed by a magnetic field pulse either along the or axis. This was simulated by propagating under the pulse Hamiltonian to obtain , where is the propagator of the pulse Hamiltonian , which acts on the density matrix during pulse length . The Zeeman Hamiltonian depends on the magnetic field intensity of the pulse and its direction (see Eq. 15). For the -axis pulse, we used a pulse intensity and length of 50 T and 150 s, respectively. For the -axis pulse, we used a pulse intensity and length of 50 T and 910 s, respectively. These choices are justified in the next section. The resulting density matrices were used as the density matrix at time of the time domain signal, which was computed and Fourier transformed as described above. In the case of the -axis pulse experiment, the peaks of interest ( peak at 140 Hz) were found to be out of phase; a phase correction with was thus applied to the Fourier transform. Adjusting the phase for the peak caused the lower-frequency peaks to be out of phase. Interestingly, in Fig. 4d, the intensity of the peak is higher than for the other excitation schemes while the lower-frequency peaks are suppressed, indicating that all the available polarization has been transferred to the peak.
3.2 Rabi oscillation curvesThe pairs of magnetic field intensity and length of the pulses used for the simulation in Fig. 4d were chosen by simulating Rabi curves for both the - and -axis pulses. The high-field NMR equivalent to the Rabi curve is the “nutation experiment”, which consists of recording a series of NMR detections while keeping the RF pulse power constant and varying the pulse length (or the pulse length is kept constant and the amplitude is varied; Tayler et al., 2017). The nutation or Rabi curve is the plot of the signal intensity as a function of the varied parameter. It allows one to determine the pair of RF power and pulse length which maximizes the signal intensity. Except in the presence of rapid relaxation effects or RF field inhomogeneities, the observed curve is sinusoidal. At ZULF, the Rabi curve is more complex and depends on the spin system under scrutiny. To simulate the Rabi curve at ZF, we repeated the simulation of the ZF spectra for an experiment with an adiabatic field drop (using the same parameters as above) followed by a pulse of 50 T along the and axes, varying the pulse length from 0 to 3000 s (the code and its PDF version are presented in Supplement S4). The time domain signal was Fourier transformed as described above, and the frequency domain signal was integrated from 138 to 142 Hz. The signal integral of the peak is plotted as a function of the pulse length in Fig. 5. The signal integral of the sudden drop experiment is shown as a horizontal dashed line for comparison. When a pulse along the axis is used, a simple sinusoidal curve is obtained, and its maximum matches that of the sudden drop experiment (see Fig. 5a). The first maximum is reached for a pulse length of 150 s. When a pulse along the axis is used, a more complex pattern is obtained, and the maximum is found to be 1.64 times higher than the sudden drop experiment (see Fig. 5b). The first global maximum is reached for a pulse length of 910 s.
Figure 5
Rabi curves at ZF with excitation pulses along (a) and (b) axes applied to an XA spin system. The horizontal dashed line represents the signal integral of the sudden drop ZF experiment. The time domain signal was computed by propagating the density matrix under the effect of the Hamiltonian for a total time of 5 s (parameter ), discretized into 4096 points (parameter ), and corresponding to time intervals of 1.2207 ms (parameter ). A monoexponential apodization function was applied to the time domain signal, with a coherence time constant of 1 s. The apodized time domain signal was Fourier transformed with zero-filling to 65 536 points. The frequency domain signal was then integrated from 138 to 142 Hz. The Rabi curve represents the integral compared with the excitation pulse length.
[Figure omitted. See PDF]
3.3XA spin system
The simulations shown up to this point only deal with an XA spin system, which typically corresponds to C-formate (or C-formic acid), where the C spin interacts with a single H through a coupling of 195–222 Hz (Blanchard and Budker, 2016; Tayler et al., 2017) (depending on experimental conditions). C,N-cyanide groups are also interesting two-spin systems which were used in ZULF experiments (Blanchard et al., 2020, 2015). We now extend the simulation to incorporate multiple A spins. An XA spin system is, for example, met in C-glycine (Put et al., 2021). XA spins are met in a number of molecules containing methyl groups such as C-pyruvate (Barskiy et al., 2019). XA (for example N-ammonium cation; Barskiy et al., 2019) and XA are less common, but they are presented here to show the pattern that arises when adding spins.
Figure 6 shows the simulated spectra for sudden drop experiments with detection at ZF and ULF of XA spin systems with , where X represents a C spin, and A represents H spins with a coupling of 140 Hz between X and A spins and 10 Hz among A spins (the code and its PDF version are presented in Supplement S5). All the relevant mathematics to construct the operators of an spin system are given in the Theory section. For an XA spin system, the Hilbert space has dimensions (and related operators). To avoid constructing each operator manually, recursive formulae were used (see Eqs. 13 and 23). The time domain signal was computed by propagating the density matrix under the effect of the Hamiltonian for a total time of 5 s (parameter ), discretized into 8192 points (parameter ), and corresponding to time intervals of 0.6104 ms (parameter ). A monoexponential apodization function was applied to the time domain signal, with a coherence time constant of 1 s. The apodized time domain signal was Fourier transformed with zero-filling to 32 768 points.
Figure 6
Simulation of ZF and ULF spectra after sudden field drop for XA, XA, XA, XA, and XA spin systems with a coupling of 140 Hz between X and A spins and 10 Hz among A spins. The time domain signal was computed by propagating the density matrix under the effect of the Hamiltonian for a total time of 5 s (parameter ), discretized into 4096 points (parameter ), and corresponding to time intervals of 1.2207 ms (parameter ). A monoexponential apodization function was applied to the time domain signal, with a coherence time constant of 1 s. The apodized time domain signal was Fourier transformed with zero-filling to 32 768 points.
[Figure omitted. See PDF]
Increasing the number of A spins increases the number of spectral components in the spectrum. A known result of ZULF NMR appears in this simulation: for odd numbers of , the ZF spectrum features lines at integer multiples of the coupling with , while for even numbers of , it features lines at half-integer multiples of the coupling with . Adding a 0.5 T bias field along the axis during detection (that is, performing ULF detection) splits the lines. The higher the multiple of the line, the greater the number of splittings. Note that the intensity of NMR signals at high field increases upon adding more equivalent spins to the spin system. The analysis of Fig. 6 shows that this logic does not apply to the lines for the ZULF case, where the spectrum completely changes upon changes in the spin topology. For example, note that the amplitude of the line for the XA system has the same intensity as the line for the XA system (appearing at frequency). Likewise, the two lines for the XA system have the same total intensity as the two lines for the XA system. An empirical law of conservation of the total spectral intensity for the lines can be deduced by looking at Fig. 6: indeed, the total intensity of all lines is the same for any XA system, assuming equal sample volume, prepolarization, etc. On the other hand, the intensity of low-frequency peaks shown in Fig. 6 is proportional to the total number of spins in the spin system, like in high-field NMR. This is of course expected as these signals are associated with the precession of total magnetization around residual ULF field, and total magnetization is proportional to the number of spins.
4 InterpretationWe are now going to show how to calculate ZULF NMR spectra considering energy levels and transition probabilities rather than through the numerical propagation of the density matrix. We will derive analytical solutions for the XA system, but the same approach can be used for more complex spin systems. This approach was investigated in the following references: Butler et al., 2013a; Theis et al., 2013; and Emondts et al., 2014. Here we aim to present it with more explanations and explicit derivations, but we limit ourselves to only the simplest spin systems.
The relative contributions of (see Eq. 10) and (see Eq. 12) terms depends on the magnetic field strength. In the high-field extreme, for a heteronuclear spin system, is the dominant term, and is considered as a first-order perturbation. In this case, heteronuclei are said to be weakly coupled, and their eigenstates coincide with the Zeeman states (e.g., those in Eq. 9). At zero field, the weak coupling approximation is not valid; the Zeeman states do not correspond to the eigenstates of system. However, it is still possible to calculate analytically the eigenstates for some spin systems, and the simplest case is when all the spins are identical (A system). In this case, the Hamiltonian is represented by only the term, and it commutes with the square of the total angular momentum operator.
43 where is the number of spins in the system. It is well known that any pair of commuting Hermitean operators share their eigenspaces (Levitt, 2013). The set of eigenstates which forms an eigenbasis for both operators simultaneously is unique in cases where there are no degeneracies (i.e., all the eigenvalues for both operators are different). When there are degeneracies, the common eigenbasis is not unique. It turns out that and operators do have degeneracies, and this results in the existence of an infinite number of different shared eigenbases. Let us describe how to find such a set of eigenstates.
4.1 Eigenstates at zero fieldThe eigenstates of a operator can be expressed in terms of the total spin and its projection quantum numbers. The conventional way to express them is to use the notation, where denotes the total spin, and denotes the projection onto a quantization axis (. For example, by definition, for a single spin , we have the sates . For a pair of spins, we have the three triplet states ; and the singlet state . Any state is an eigenstate of the and operators with the following eigenvalues:
44 To find the total spin of a system constituted by spins, one must sum up the angular momenta of the individual spins, which is a common procedure in the field of atomic physics but not so much in NMR. All possible values of the angular momentum of the interacting spins are added up to constitute a set of uncoupled quasiparticles with different total spin. The total spin of a system constituted by two spins and can take the values with steps of 1 between the sum and the absolute value of their difference: 45 For a pair of spins , the possible values are . For spins, the summation should proceed until all the possible pairs of the angular momenta of the individual spins are summed up. As an illustration, consider a coupled system of three spins (see Fig. 7). First, any two spins are added up together to give (a triplet) and (a singlet). Then, the remaining spin is added up to the quasiparticles formed in the previous step (spins 1 and 0 in this case). As a result, the initial A system is decomposed into three subsystems with total spins of , (addition of 1 and ), and (addition of 0 and ).
Figure 7
Procedure for adding up the angular momenta for the A spin system.
[Figure omitted. See PDF]
A useful property of such a decomposition can be illustrated at this point: the total spin operator commutes with all rotation operators (e.g., ); therefore, 3D rotations will never mix terms of the wave function belonging to different total spin, e.g., spin with . At ZF, there is no distinction between directions; therefore, the eigenstates must be invariant with respect to 3D rotations. This also partially explains the existence of an infinite number of eigenbases for , as all different orientations of the system correspond to different bases.
One can check that the total number of the spin states remains the same after the procedure of adding up the spins. On the one hand, the number of states formed by coupled spins equals to , which is 8 in the considered case. On the other hand, a manifold with a total spin has different states associated with different possible projections of the spin on the quantization axis. Therefore, there are states in the considered case.
The explicit form of the resulting eigenstates can be obtained in terms of “uncoupled” spin states, which are constructed as a Kronecker product of the individual Zeeman states (see Eq. 9). The resulting state of the addition of two angular momenta ( and can be represented as the following linear combination: 46 where represents Clebsch–Gordan coefficients, which are defined by 47 Each Clebsch–Gordan coefficient is specified by six numbers: the total spin of the coupled state , its projection , and the total spins of the uncoupled states and their projections (, , , ). Coefficient represents “how much” of uncoupled state there is in a coupled state . The analytical values of the Clebsch–Gordan coefficients can be calculated using recursive expressions, which are available in many software packages and textbooks. Table S1.1 in the Supplement provides the relation between the coupled and uncoupled states for the considered A system and shows explicitly how to calculate them. The full set of all possible states forms the new basis that is better suited than the Zeeman basis for ZULF NMR. In fact, this basis coincides with the eigenstates at ZULF for A and for XA systems, but this basis is also a good starting point for more complicated cases. We will refer to this new basis as the “coupled” basis, because it is appropriate for the description of strongly coupled spins.
4.2 Eigenenergies at zero fieldHaving the eigenstates, we can now proceed with finding the eigenvalues of the Hamiltonian; these values correspond to the energy of the states and therefore determine the frequencies of ZULF NMR transitions. It turns out that A systems are not detectable at ZULF; it is shown in the next section (where intensities of transitions are calculated) that they give rise to no observable transition. At least two types of nuclei with different gyromagnetic ratios are necessary for an observable transition to exist. Therefore, we consider an XA system from now on. We will denote the operators associated with the X spin as and with A spins as . It is also convenient to introduce total spin operators for A spins: , . The Hamiltonian at ZF for this spin system is given by
48 The Hamiltonian can be expressed in terms of the total spin operators using algebraic tricks. We find an expression for the first term of Eq. (48) in terms of , , and by developing : 49 Similarly, we find an expression for the second term of Eq. (48) in terms of and by developing : 50 By substituting the results of Eqs. (49) and (50) into Eq. (48), we obtain a form of the Hamiltonian for which the energies will be more easily calculated: 51 The Hamiltonian commutes with the operator; therefore, they share eigenstates . So, the eigenenergies can be written as the expectation values of with respect to : 52 To calculate explicitly the eigenvalues, we substitute the Hamiltonian of Eq. (51) into Eq. (52) and use the following properties: 53 to obtain the final expression for the energy of level . 54 expressed in hertz. Here, quantum number corresponds to the total spin of the full XA system, corresponds to the spin of the nucleus X, is the total spin of the A spins, and is the spin of individual nuclei A. The energy does not depend on the spin projections, resulting in degeneracy of all levels with equal .
The spin number is the same for all eigenstates (e.g., it is for C); similarly, all spin numbers are the same (e.g., for H spins they are equal to ). The remaining two quantum numbers and can have different values depending on the state, therefore removing degeneracy between some of the levels. Figure 8 presents the energy levels of XA, XA, and XA systems at ZF calculated using Eq. (54). Mathematica codes to perform these calculations are available in the Supplement (Supplement S6).
Figure 8
Energy levels for XA, XA, and XA spin systems calculated according to Eq. (54). The numbers above the energy levels represent the projection of the angular momentum of the states . Allowed transitions are shown by green arrows. was set to 140 Hz, and was set to Hz; these are typical coupling values for and . The energy difference for the allowed transitions equals to for the XA system, for the XA system, and two frequencies of and of for the XA system. This agrees with the numerical simulations shown in Fig. 6.
[Figure omitted. See PDF]
4.3 Selection rulesWe have now found the eigenstates and their energies, but not all transitions between any pair of states are allowed. The last step is to find the transition intensities and thus get the analytical appearance for the ZF NMR spectrum of an XA system. There are certain selection rules specifying which transitions are in principle possible and which are forbidden, like those in high-field NMR, where only single quantum transitions are allowed. A general expression for the transition intensity between any two eigenstates and is given by
55 We will explicitly calculate the transition intensity for the sudden field drop experiment. In this case, both the initial density operator and the observation operator (see Eq. 35) are proportional to (as a reminder, ). Therefore, the transition intensity becomes 56 This expression is an example of Fermi's golden rule, which is used to calculate transition amplitudes in different problems in quantum mechanics. Similar expressions can be found for the high-field NMR. By expressing the coupled states in terms of the uncoupled basis (see Eq. 46), we find that 57 where and are the projection of the total spins (for protons, the maximum value of equals , and for each value of , ) and the projection of the spin (in the case where is a carbon-13 spin, ), respectively. Now let us express the remaining bra in terms of the uncoupled basis as well and combine Eqs. (56) and (57). 58 The last term is nonzero only if 59 These selection rules mean that the only allowed transitions are those which conserve the total spins and ( is conserved automatically as it can be only , but can have different values), as well as their projections onto the reference axis. Equation (58) therefore simplifies to 60 It is important to notice that, in the case where , this sum is always null. This is shown in the Wolfram Mathematica code for all observable transitions in XA, XA, and XA systems and can be rationalized in the general case by the following (see Supplement S6). The operator (which is proportional to the initial density operator ) can be rewritten as . The first term in this expression commutes with the Hamiltonian (see Eq. 48); therefore, it does not produce any observable coherences, whereas the second term does not commute with the and leads to ZULF signals.
Finally, there are two more selection rules that are derived by implementing the Wigner–Eckart theorem. The considered case is equivalent to a “dipole” transition, where the transition is observed between two states connected by operator of rank 1 (e.g., Eq. 56). This is a common situation in atomic physics, and we adapt this result without evaluation: the reduced matrix element coming from Wigner–Eckart theorem is shown to be nonzero if and only if 61 The whole set of selection rules given by Eqs. (59) and (61) allows one to find which transitions are observable in XA systems at ZF. These transitions are shown in Fig. 8 by the green arrows. It can be seen that couplings shift the energy levels but do not affect the frequencies of the observable transitions. This is a common situation that couplings between magnetically equivalent spins do not contribute to the observed NMR spectrum. As can be seen from the analysis presented above, this statement holds for each case of the ZF NMR spectra of XA systems.
In this section, we analytically found the allowed transitions for XA, XA, and XA for the case of the sudden field drop to ZF. The XA spin system has a single transition at , the XA spin system has a single transition at , and the XA spin system has one allowed transition at and another one at 2 . The allowed transitions analytically found here correspond to the numerical simulation: XA single line at , XA single line at , etc. This derivation explained the appearance of the ZF spectra but not that of the ultralow-field spectra. To understand how the degeneracy of the ZF eigenstates are split by the presence of a bias field, one has to use perturbation theory. We refer the interested reader to Ledbetter et al. (2011) and Appelt et al. (2010).
4.4 Rabi oscillation curvesWe finish this section on the interpretation of the numerical simulations by giving a short explanation of the Rabi oscillation curves presented in Sect. 3.2 (see Fig. 5). The successful implementation of excitation pulses in ZULF-NMR experiments requires two conditions to be fulfilled (Butler et al., 2013b). First, the constant magnetic field of the pulse should be strong enough so that heteronuclei (here, H and C spins) can be considered weakly coupled during the pulse. The field of 50 T satisfies this condition, as the difference in Larmor frequencies between H and C spins is larger than 1.5 kHz Hz. Second, the pulse must be much shorter than the evolution under the coupling. Here, the longest pulses that were simulated had a duration of 3 ms, while the characteristic time of the evolution under the coupling is ms. Provided these two conditions are met, the product operator formalism can provide a convenient explanation for the results of Fig. 5. Both Rabi oscillation curves in Fig. 5 are rather unusual for high-field NMR, but the reader who is familiar with the product operator formalism at high field will see that there is a strong connection between the algebra describing pulsed experiments at high field and at ZULF. Here, we give a brief summary of how this formalism can be used to understand the Rabi oscillation curves. We recommend the interested reader to look at the following references for a more detailed derivation (Butler et al., 2013b; Blanchard, 2014; Tayler et al., 2017).
After the adiabatic field drop, the magnetization of the sample is proportional to and does not evolve. In addition, part of the population is also on the zero-quantum term , which produces no observable magnetization. Magnetic field pulses are applied to convert one or both of these terms into the observable zero-quantum term . In the case of Fig. 5a where the pulse is applied along the axis, the pulse converts into . The state of the system after the pulse is . The excited unobservable term then starts to evolve into the observable term under the action of the Hamiltonian, generating an oscillating magnetic field along the axis. The resulting ZULF signal has a sine rather than a cosine time dependence and requires a phase correction of the spectrum to have an absorption line as was described in Sect. 3.2. The signal is maximized when the pulse has duration , which is around 157 s in the considered case. This is consistent with the simulated Rabi oscillation curve of Fig. 5a. In the case of Fig. 5b where the pulse is applied along the axis, both initial terms of the density operator, and , are converted into the observable term . The conversion follows a function, allowing one to excite slightly stronger signals over a slightly longer pulse duration.
5 Conclusion
We have shown how to numerically simulate spectra at both zero and ultralow fields for sudden drop and pulsed experiments. We have then explained the results of the numerical simulation for sudden field drop experiments at ZF by constructing the eigenbasis of the ZF Hamiltonian and finding the allowed transitions among the eigenstates. The other numerically simulated cases (i.e., pulsed experiments) can be explained using the analytical approach that we have presented here. It requires an additional step which is to describe how a pulse converts the populations of the states. The reader who is acquainted with the product operator formalism commonly used in high-field NMR might be interested in an alternative approach based of commutation rules as presented in Blanchard and Budker (2016) and Butler et al. (2013b). We have chosen to describe the simplest cases, i.e., experiments with thermal prepolarization with AX systems. Using this methodology, the reader can proceed with simulating more advanced cases, where analytical solutions do not exist. This includes calculation of ZULF spectra of molecules with multiple spins (Wilzewski et al., 2017) and molecules containing three or more types of nuclei, e.g., H, C, N, and D (Alcicek et al., 2021); the evolution during dynamical decoupling sequences (Bodenstedt et al., 2022a); the ZULF-TOCSY type of spin-locking experiments (Kiryutin et al., 2021); spin evolution at intermediate fields, where perturbation approaches are not valid (Bodenstedt et al., 2021); or the complicated spin dynamics that may occur under the action of composite pulses (Jiang et al., 2018; Bodenstedt et al., 2022b). The formalism we presented here is a good starting point for the description and understanding of hyperpolarized ZULF experiments, e.g., those involving transfer of spin order in parahydrogen experiments at low fields. Simulations are also useful to study different kinds of imperfections such as field inhomogeneities, timing errors, etc. We hope that this tutorial paper has allowed us to share our excitement with the reader.
Code and data availability
The codes used to simulate the spectra presented in this paper are available online (
The supplement related to this article is available online at:
Author contributions
QS wrote Sects. 1 to 3 and the associated MATLAB codes. KS wrote Sect. 4 and the associated Mathematica code.
Competing interests
The contact author has declared that neither of the authors has any competing interests.
Disclaimer
Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Acknowledgements
The authors wish to thank Alice Stern for the drawing used in the key figure and Román Picazo-Frutos for carefully proofreading their manuscript.
Financial support
This research was supported by ENS Lyon, the French CNRS, Lyon 1 University, the European Research Council under the European Union's Horizon 2020 research and innovation program (Marie Skłodowska-Curie “ZULF”, grant agreement no. 766402 and ERC Synergy grant “HISCORE”, grant agreement no. 951459), and the French National Research Agency (project “HyMag” ANR-18-CE09-0013).
Review statement
This paper was edited by Geoffrey Bodenhausen and reviewed by Meghan Halse, Bernhard Bluemich, and two anonymous referees.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
© 2023. This work is published under https://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Abstract
Simulating NMR experiments may appear mysterious and even daunting for those who are new to the field. Yet, broken down into pieces, the process may turn out to be easier than expected. Quite the opposite, it is in fact a powerful and playful means to get insights into the spin dynamics of NMR experiments. In this tutorial paper, we show step by step how some NMR experiments can be simulated, assuming as little prior knowledge from the reader as possible. We focus on the case of NMR at zero and ultralow fields, an emerging modality of NMR in which the spin dynamics are dominated by spin–spin interactions rather than spin–field interactions, as is usually the case with conventional high-field NMR. We first show how to simulate spectra numerically. In a second step, we detail an approach to construct an eigenbasis for systems of spin-
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer