Phil Lucht Math & Physics Archive
Home / Math and Physics Files / Physics / NMR / Levitt book related

density matrix transformations

DOCX · 52.0 KB
Open DOCX file

Word document of working notes by Phil dated 1.7.08, written while reading Levitt's NMR text. It gives the most general density matrix for one and two spin-1/2 systems, then treats separable transformations (rotations) and non-separable ones (secular and non-secular J-coupling, with the factor of 2). It also covers AX-system precession, the effect of an RF pulse, and the meaning of off-diagonal density matrix elements.

AI-written summary; may contain errors.

Extracted text (machine-read; may contain errors)
Looking for a better way to do density matrix transformations PhL 1.7.08 Levitt makes it seem harder than I think it really is. He does not take a formal general view, but I am sure other books probably do. However, I don't have those other books. And this provides a good review. This doc addresses not just this "general case" issue, but also some other things that have been bothering me. See also a separate Stern-Gerlach document. I think everything now makes sense. Contents: Most General Form of the Density Matrix for spin-1/2 and for spin-1/2 spin-1/2. Separable Transformations (1) Rotations as Separable Transformations Non-Separable Transformations (1) Non-secular J-coupling. (2). Secular J-coupling. // -- the mysterious factor of 2 Precession for the AX System. Includes a picture to interpret a vector equation. What does an x RF pulse do? Causes precession of I within the rotating frame about the y-z axis! Thus, a /2 pulse rotates I down from z to -y. Apply an RF pulse to a system at absolute zero temperature. What happens to energy and to magnetization? Point of Confusion-- RF radiation is very small so much longer than T1 or T2 to relax things What is the meaning of an off-diagonal matrix element of the density matrix ? A. Opening Comments B. Perturbation theory and Transition Rate dmn(t)/dt = i H'mn { (t)nn - (t)mm } Most General form of the Density Matrix for spin-1/2 and for spin-1/2 spin-1/2. The most general form of a tr() = 1 2x2 density matrix is this = 1/2 + a [ Start with = k1 + k2 showing 4 parameters. Then tr()= 0 forces k1 = 1/2. ] Since must be Hermitian, the three parameters a are real. We can always express the 4x4 density matrix in this way [ for uncoupled spins! ] = 1 2 = (1/2 + a1) (1/2 + a2) But it would be nice to have a better way to distinguish the two spaces so we can then eliminate the symbol, which gets us closer to thinking of an actual 4x4 matrix. Suppose like Levitt we use x,y,z for the Cartesian labels, and use 1,2 to label the spaces. But suppose also we use a for the 1 space and b for the 2 space. Then we could say: = 1 2 = (1/2 + a1) (1/2 + b2) We might rescale this to I instead of to get closer to Levitt, so rescale this as = 1 2 = (1/2 + aI1) (1/2 + bI2) // final form We can then write this without the sign as follows = 1/4 + 1/2 [ aI1 + bI2] + aI1 bI2 where I think it is always clear "what we mean" by each term. We could expand the dot products either in the usual way, or in a way using + and operators, but for now we think of either as possible. You can always think of the above and I as either a matrix or a Hilbert Space operator. Notice that the shown above has only 6 real parameters. More generally, such as when the two spins are coupled as in the J-coupling, the number of parameters is this: 3 reals for the diagonal (tr=1), then 6 complex numbers for the upper triangular matrix. So there are then 3 + 2*6 = 15 real parameters. We can express such a in the following manner: = =0,3 =0,3 A II = A I1I2 where I = 1/2 We know that I† = I so Hermiticity of requires that A = real. What about tr() = 1? We can write out 's matrix elements like this: ( using the definition of a direct product matrix) ik,jl = A (I)ij (I)kl Then tr() = ik,ik = A (I)ii(I)kk = A ,0 ,0 (I0)ii(I0)kk = A00 * 1 * 1 = A00. So we conclude that A can be an arbitrary 4x4 real matrix but we require that A00 = 1. So the set of matrices I1I2 form a complete basis for expression of with real coefficients. Of course specific elements of the matrix can be complex since Iy is imaginary. In Levitt, we constantly see expressed as various linear combinations of the spin matrices with real coefficients. Separable Transformations Now let's apply a (separable) transformation operator to the density matrix. Let's use the sign convention that Levitt uses for example on page 316 for his x pulse, or page 368 bottom for the general rotation. We have things like ' = R R-1 = (R1R2)(1 2) (R1R2)-1 = (R11R1-1) (R21R2-1) Notice that in general R1 and R2 can be different transformations. I assume they are unitary I suppose. Now look at these operators that arise in J-coupling U12 = exp(-iJ12 2I1zI2z) U = exp(- i I1 I2) Neither one of these is separable in the sense of U = U1 U2. Each term in the infinite exponential sum is separable, so for weak couplings, you could do perturbation theory with separable operators. Note that the two I's commute, that is not the problem here. The problem is each I not commuting with itself. I think this is the reason we have all the complexity in Levitt for the J coupling stuff. I suppose that is the whole point of "J coupling" is that you have coupled the two subspaces, and this forces you do work in the larger 4x4 space. So OK, let's imagine two different kinds of operators. (1) Rotations as Separable Transformations. When we talk about something like an "x rotation by " we, we mean this: Rx() = R1x() R2x() = exp(-iI1x) exp(-iI2x) = exp(-i I1x* I2x) where we use I1x* I2x = (I1x 1) + (1 I2x). We have just quoted a general theorem from my notes which says this: eA*B = eA eB where A*B (A 1) + (1 B) Does this theorem have a name? The proof is so trivial that it probably does not, I don't have any reference for this other than my notes. Now, in simplified Levitt notation we would write (on the right) I1x* I2x = (I1x 1) + (1 I2x) = I1x + I2x and we would replace this Rx() = R1x() R2x() = exp(-iI1x) exp(-iI2x) = exp(-i I1x* I2x) with this Rx() = R1x() R2x() = exp(-iI1x) exp(-iI2x) = exp(-i [I1x + I2x]) This kind of operator factorizes, and in each space it is the same rotation. So, when we talk rotations, we can always think this way R = R1 R2 = R1R2 where the rotations are the same, just in the different spaces For such a factorizing operator, we can compute the effect on as follows: ' = R R-1 = (R11R1-1) (R22R2-1) where the density matrices might be different, but our implication is that R1 = R2 in the sense of rotations being the same, just in the different spaces. Now we know that 1 = 1/2 + aI1 // most general traceless form so (R11R1-1) = 1/2 + a (R1I1R1-1) Thus, our "rotated" 4x4 density matrix would have this form: ' = R R-1 = 1/4 + 1/2 [ aI1' + bI2'] + aI1' bI2' whereI1' = R1I1R1-1 and the same for 2. So this is the most general thing that can happen to a density matrix from a pure rotation. Non-Separable Transformations Here we get a less simple result: = 1/4 + 1/2 [ aI1 + bI2] + aI1 bI2 ' = U U-1 = 1/4 + 1/2 [ aI1" + bI2"] + U (aI1 bI2) U-1 where I1 "= U I1 U-1 and same for 2. But we can insert U-1U between the two dot products to get our this simpler form ' = U U-1 = 1/4 + 1/2 [ aI1" + bI2"] + aI1" bI2" which now looks just like the rotation case. (1) Non-secular J-coupling. Now consider this situation: U = exp(- i I1 I2) so I1" = UI1U-1 = exp(- i I1 I2) I1 exp(+ i I1 I2) I went off in a separate document to evaluate this nightmare, here was my result (not checked): I1" = UI1U-1 = I1 + z -1 sin(z) I1 x I2 - 2 z -2 D [ 1- cos(z) ] ( I1 - I2 ) where D = I1 I2 and z = . We can do I1 I2 to get the similar result for transforming I2, and the only difference is that the second two terms change sign as is obvious. The above is what you would get if you tried to "propagate" the density matrix using a non-secular J-coupling! You might be able to do something in a small- limit, but the general case is a true mess. Remember that z is an operator. (2). Secular J-coupling. Here we have U = exp(- i I1z I2z) In calculation I2" = UI2U-1, we can think of U = Rz(I2z) and use the usual formulas, but we then have = I2z appearing as an operator argument in sin and cos. But it turns out that this simplifies for spin-1/2 and we get this result (from "the secular J couple expo.doc". See this doc for explanation of how the factors of 2 arise -- basically from Sz2 = (1/2)2. ) exp(- i 2LzSz) Lk exp(+ i 2LzSz ) = Lk cos + kmz 2LmSz sin + kz Lz (1 - cos) which we can translate to read (valid for k = x,y,z) exp(- i 2I1zI2z) I1k exp(+ i 2I1zI2z ) = I1k cos + kmz 2I1mI2z sin + kz I1z (1 - cos) If we were to swap I1 I2 , we would restore the second term with an index exchange which makes a sign change there, so we would get exp(- i 2I1zI2z) I2k exp(+ i 2I1zI2z ) = I2k cos - kmz 2I1mI2z sin + kz I2z (1 - cos)) Now, when you have a pair of coupled spins, the Ham is H' = 2J I1zI2z so we identify = Jt t = time Now, when you do a spin-echo sandwich as on page 381, you set = 1/(2J) as on page 382, so this means you have = Jt = J = /2 = cos = 0 sin = 1 In this case we get: exp(- i 2I1zI2z) I1k exp(+ i 2I1zI2z ) = kmz 2I1mI2z + kz I1z For example, exp(- i 2I1zI2z) I1x exp(+ i 2I1zI2z ) = 2I1yI2z exp(- i 2I1zI2z) I1y exp(+ i 2I1zI2z ) = - 2I1xI2z and these are the things you can just read off the pictures on page 377. This would apply if you free-ran for the entire time . So in a J-coupling situation, free running without an external RF pulse still "does something" and you get this mixing acting. So, here is a question of the kind I am trying to understand in this document: suppose you have this kind of coupled U operator active. What does it do in general to your density matrix? First, go back and write this: exp(- i 2I1zI2z) I2k exp(+ i 2I1zI2z ) = I2k cos - kmz 2I1mI2z sin + kz I2z (1 - cos) exp(- i 2I1zI2z) I2 exp(+ i 2I1zI2z ) = I2 cos - 2 I1 x I2 sin + ( I2 ) (1 - cos) = U I2 U-1 = I2" So we have I2" = I2 cos - 2 I1 x I2 sin + ( I2 ) (1 - cos) = Jt I1" = I1 cos + 2 I1 x I2 sin + ( I1 ) (1 - cos) ' = U U-1 = 1/4 + 1/2 [ aI1" + bI2"] + (aI1" bI2") This, then, is what happens to the density matrix under just this secular J-coupling operator. Precession for the AX System. Now, what happens under the simpler part of the Hamiltonians? H' = - 1I1z B0 - 2I2z B0 The first term affects I1 and we get exp(- i J) Jk exp(+ i J) = Jk cos + [J x ]k sin + k ( J) (1 - cos) where = and J = I1 and 1 = -1B0 t . So we get I1" = U I1 U-1 = I1 cos1 + [I1 x ] sin1 + ( I1) (1 - cos1) I2" = U I2 U-1 = I2 cos2 + [I2 x ] sin2 + ( I2) (1 - cos2) ' = U U-1 = 1/4 + 1/2 [ aI1" + bI2"] + (aI1" bI2") Now, if we have the full Hamiltonian with the J-coupling and the base terms all running and we just free propagate, we get a huge mess, in terms of all this math. But, suppose we think of I1 = ( I1T, I1L) having its transverse and longitudinal parts. Then we can write I1L" = U I1L U-1 = I1L // nothing happens at all I1T" = U I1T U-1 = I1T cos1 + [I1T x ] sin1 // rotates This second equation just describes the constant rotation in time of our transverse vector: So the simple parts of the Hamiltonian are just causing the spins to precess, each at its appropriate chemical shifted frequency. In the rotating frame, we take out this precession effect as best we can. Of course at TE in a sample, the transverse components average to zero. This means that things just sit there and precess, but averages result in things like this: 1 = (1/2 + aI1) = 1/2 + B1I1z/2 so a = (B1/2) 2 = (1/2 + bI2) = 1/2 + B2I2z/2 so b = (B2/2) and then we get = 1/4 + 1/2 [ (B1/2)I1z + (B2/2)I2z] + (B1/2)aI1z (B2/2)I2z The precession part of the time propagation then does nothing at all to this , it just sits there. The J-coupling term also does nothing since it is all-z stuff. So just sits there and does nothing! Yes, we have a non-zero Hamiltonian, but in TE when you exponentiate Ham it just does nothing at all. That is why you have to issue some kind of pulse to get the ball rolling. [ At this point, I changed my subscript formatting, imported from normal.dot, and that then changed everything in this document. ] What does the RF pulse do? It makes a Hamiltonian term [ in the rotating frame ] of the form H' = (1/2)|| BRFIx [ see page 260 and 9.25. ],where as noted above we can write Ix = I1x + I2x. So what happens when we apply such a pulse to the TE density matrix? This is our first case above, so we have this, where Ri = Rix( BRFIix) where is the pulse duration: ' = R R-1 = (R11R1-1) (R22R2-1) But we are starting in TE with 1 = (1/2 + aI1) = 1/2 + B1I1z/2 so a = (B1/2) so we get, defining 1 = (1/2)|1| BRF, = and copying from our "evaluate nJ rotation document", I1" = exp(- i I1) I1 exp(+ i I1) = I1 cos + I1 x sin + ( I1) (1 - cos) so I1"= R2x(1)I1R2x(1)-1 = I1 cos1 + I1 x sin + ( I1 ) (1 - cos1) Now we are interested in 1" = (1/2 + aI1") = (1/2) + (B1/2) I1" = (1/2) + (B1/2) I1z" so we take the z component of our expression to get I1z"= R2x(1)I1zR2x(1)-1 = I1z cos1 I1y sin1 since cyclic says [I1 x ] = I1 x = I1 (-) = -I1y . We could also find that I1y"= R2x(1)I1yR2x(1)-1 = I1y cos1 + I1z sin1 and of course I1x" = I1x. What do these equations tell us? (1) in the rotating frame where we are working, the spin operator/vector I1 is rotating in the y-z plane in the positive sense around the x axis. (2) The density matrix starts out as 1 = 1/2 + (B1/2)I1z and as time goes by, it is given by 1" = 1/2 + B1I1z"/2 = 1/2 +(B1/2) [ I1z cos1 I1y sin1 ] We are saying that, during the RF pulse, 1's second piece transforms as the z-component of a vector operator that is rotating in the y-z plane. At t = 0 we start out with 1 = 1/2 + (B1/2)I1z . At 1t = /2 we have 1" = 1/2 (B1/2)I1y , for example. The density matrix itself is not a vector that rotates; rather, it contains a term that is the z component of a vector that rotates. Notice that 1" = 1/2 (B1/2)I1y has off-diagonal matrix elements. Apply an RF pulse to a system at absolute zero temperature. Problem: A spin-1/2 system is in TE at absolute zero. At t=0 we apply an RF pulse. What happens to the expectation value of the system energy? Solution: Consider the expectation value of energy in our spin system. We have <E> = tr(H) where H is the Ham. If we have absolute zero, then = diag(1,0) = I = (1/2) + Iz, everything is in the z=aligned state . Then if H = -BIz. we get that <E> = tr(H) = -Btr(IIz) = -B { tr Iz/2 + tr Iz2 } = -B { 0 + tr (1/4) } = -B/2. Now turn on an RF pulse so we turn on H = kIx. This causes to move in time according to: ' = Rx()IRx(-) = Rx(){(1/2) + Iz}Rx(-) = (1/2) + Rx() Iz Rx(-) = Iz cos Iy sin where = (1/2)|1| BRFt What happens to the energy of our spin-1/2 system during this pulse? <E> = tr('H) = tr( {Iz cos Iy sin}{-BIz + (1/2)|| BRFIx} ) But Dirac says tr(ij) = ij so among the four terms there is only one contributing term and <E> = tr( {Iz cos}{-BIz } ) = -Bcos tr(Iz2) = (B/2) cos A very simple result. Now suppose we apply a pulse of 60 degrees so cos = 1/2. Then our pulse has changed the system energy from -B/2 to -B/4. Since our spin system increased in energy, we conclude that it must have absorbed that extra energy "somehow" from the RF pulse field. If we stop the pulse, we expect (ignoring relaxation processes) the spin system to radiate and to return to -B/2. Now, what happens in the above problem to the transverse magnetization? Roughly we can say that <Mt> = const * tr( { Ix + Iy} ) ~ tr(Ix) + tr(Iy) = tr({ Iz cos Iy sin}Ix) + tr({ Iz cos Iy sin}Iy) = sin tr(Iy2) = (1/2)sin So this starts at 0, then is a sine pattern in the direction as shown where = (1/2)|1| BRFt. Of course in the non-rotating frame, this thing is precessing like mad, and since all spins are aligned at this point, we get radiation by the accelerating magnetic dipole moment, and that removes the energy our pulse put in. The idea of having a "strong" pulse, is that we can ignore this radiation during the pulse. So field-classically, we understand that the spin system energy increases by absorbing energy from the RF pulse, then when the pulse stops, we expect to have radiation with energy given back to an EM field and that is the NMR signal. It is implicit in the above that the RF pulse has the perfect resonant frequency and phase so we have this simple Ix Ham in the rotating frame. We expect the radiated energy to have the same frequency, since it is roughly DC in the rotating frame. From a quantum field viewpoint, during the initial pulse the system is absorbing photons at some rate, and as these are absorbed, the energy <E> gradually increases from -B/2 to -B/4 as shown above. At the end of a /2 pulse, we have <E> = 0 and we have equalized our populations. The spin system then gradually emits photons and goes back to energy -B/2, and the emitted photons are the NMR signal. Now, for this system, how can we "interpret" the off diagonal elements of ? More on this in the next section, but, since <Mt> = const * tr( { Ix + Iy} ), if is diagonal, having the form A + BIz, then we will have <Mt>= 0 and there will be no radiation so no NMR signal. So somehow the NMR signal requires a non-vanishing off-diagonal element of . Point of Confusion. Suppose you apply a /2 pulse and you tip the rotating-frame magnetization down from z to the -y direction. We speak of the relaxation times T1 and T2 and we put exponential decay factors into the propagation. Is radiation part of these? If these constants were infinite, the models used in the book would say that the NMR signal would go on forever. So perhaps this radiation loss is included as part of the model for T1 and/or T2. Levitt has not addressed this point so far in his book. Here is a comment from the web which, if correct, provides the answer: "How do nuclei in the higher energy state return to the lower state? Emission of radiation is insignificant because the probability of re-emission of photons varies with the cube of the frequency. At radio frequencies, re-emission is negligible. We must focus on non-radiative relaxation processes (thermodynamics!)." What is the meaning of an off-diagonal matrix element in ? A. Opening Comments Example #1. We know that = |>p<| where we are summing over an ensemble of states. Suppose for simplicity there is only one state in this ensemble. Then we have = |><| which is just the projection operator onto this state. Then consider an off-diagonal matrix element of : <i||j> = <i|><|j> where the i and j states represent energy eigenstates. If |> is also an energy eigenstate, then it cannot be in both i and j, so we find that <i||j>= 0. This would also be true in the ensemble if all the |> states were energy eigenstates. Therefore, if <i||j> 0, it means that at least some states |> in the ensemble are not in energy eigenstates. Now from our Stern-Gerlach document, we know that we can form a linear combination of energy eigenstates for a spin-1/2 system, and that such a state is not an energy eigenstate. For a spin-1/2 system in such a state, we would have, for example <1|(0)|2> = <1|(0)><(0)|2> = ab* 0 so here is a situation where we have prepare a system in a state such that the density matrix has an off-diagonal matrix element (relative to a z axis, so to speak). The spin-1/2 object might be in vacuum and so have no Hamiltonian and this 12 element does not change in term at all. So I put up this example just to claim that you can have an off-diagonal matrix element and it has nothing to do with any transitions between states 1 and 2. Example #2. Consider the single spin-1/2 system. The off diagonal matrix element is this: <||> 0 which says that n <|n>pn<n|> 0 where n are the ensemble states now. If all these states were energy eigenstates, then we would get 0 for our off-diagonal elements, so at least some must not be. One way to have the system not be in an energy eigenstate is to have some perturbation Hamiltonian acting, and in this case we can associate off-diagonal matrix elements of with transitions. Consider Levitt's example with the two spin-1/2's per molecule, the AX system. In this case, we have four spin states and is a 4x4 matrix. We can then ponder off-diagonal states like this: <||> 0 which says that n <|n>pn<n|> 0 Again, there must be at least one state |n> that contains a mix of |> and |> and this state might therefore be involved in a transition affecting the and states. Generally all the states in the sum are going to be non-energy-eigenstates. Transition Theory. Suppose there is a small perturbation term active in the Hamiltonian, such as during an RF pulse. We then know that our states like |> and |> are no longer eigenstates, and we know that |(t)> = exp-iHt|(0)> where H = H0 + H' Whereas the H0 will merely phase the state, the H' will cause a rotation, so we get |(t)> = e-iEt exp-iH't|> = e-iEt |i><i| exp-iH't|(0)> = const * Ui(t) |i> = a mix of eigenstates. The amplitude that this state |(t)> is in energy eigenstate <n| is given by <n|(t)> = const * Un(t) so the state |(t)> will be "departing" or "entering" state |n> over time, meaning we have transition activity going on. Meanwhile, the density matrix looks like = |>p<| where we sum over an ensemble of states like our state |(t)> . Suppose there is only one state in the ensemble , |(t)>. Then we have (t) = |(t)><(t)| and <m|(t)|n> = <m|(t)><(t)| n> = const x Um(t) [ Un(t)]* 0. This is not zero because it is reasonable to assume that |(t)> has some amplitude to be in both states m and n, generally speaking. If there were no perturbation term, we could not say this. We can then average this idea over the ensemble to say <m|(t)|n> = <m|(t)>p<(t)| n> = p const x Um(t) [ Un(t)]* 0. So now let's say this a different way. Suppose we know that <m|(t)|n> 0. Then we know that at least some states in the ensemble "have a foot in both states m and n." We have seen above how a perturbation Hamiltonian can cause exactly this to happen. Here is more on that subject: B. Perturbation theory and Transition Rate We know that (t) = U(t) (0) U(t)-1 U(t) = exp-iHt Let's assume that H0 has no effect on the (0) we happen to start with, so HH' in the above. We can then do this expansion: [ perhaps we do this in the "interaction picture" to remove H0] (t) = (1iH't) (0) (1+iH't) = (0) it [H',(0)] + ... Then write: <m|(t)|n> = <m|(0)|n> it <m | [H',(0)] |n> For the moment ignoring the first term, we have <m|(t)|n> = it{ <m | H'|k><k|(0) |n> - <m | (0)|k><k|H' |n> = it { H'mn <n|(0) |n>- <m| (0)|m> H'mn = it H'mn { (0)nn - (0)mm } Finally we get something interesting (which Levitt did write somewhere). So we have proved: Theorem: Assume that tH' << 1 during our RF pulse. Then to first order we can say (t)mn = (0)mn it H'mn { (0)nn - (0)mm } This makes a direct connection between the off-diagonal elements of the density matrix, known as coherences, and off-diagonal matrix elements of the interaction Hamiltonian. The larger this H' matrix element, the larger will be the interesting term in (t)mn. Secondly, this term is also proportional to the population difference between our two states of interest at time 0. Thus we can unequivocally associate a coherence with an off-diagonal H' matrix element and therefore with a "transition" between the two states n and m. This then justifies Levitt's various arrow pictures. We can of course generalize the above away from time 0 and say (t+t)mn = (t)mn i tH'mn { (t)nn - (t)mm } which really says dmn(t)/dt = i H'mn { (t)nn - (t)mm } which says that the interaction Hamiltonian changes the matrix element mn(t) in this manner, and the thing on the right is called the transition rate. Now consider the AX system with its four states. Suppose m = and n = . Then (t)mn describes a transition between these two states. Since photons are coming in near the single-gap frequency, this transition would probably have to be a "two photon" transition. Each spin absorbs a photon at the same time. Total number of photons absorbed is 2, so this is a "two quantum coherence". In the case m = and n = , we again have a two photon event, but one is absorbed and one is emitted at a slightly different frequency because these levels are slightly split. This is called a "zero quantum" coherence because the net number of photons absorbed or emitted is 0. Levitt makes this much more mysterious than it has to be. Conclusion: An interaction Hamiltonian term H'mn causes a change in the mn matrix element, and this change is associated with an RF photon transition between states |m> and |n>. When you start a process in TE at t=0, you always have (0)mn= 0 and is diagonal. Then the H'mn causes a non-zero value of (t)mn to develop. So, all of Levitt's little "coherence diagrams" really are directly related to photon transitions.