1
References [1] Kuprov, J. Magn. Reson. 209, 31 (2011) [2] Hogben et. al., J. Magn. Reson. 208, 179 (2011) [3] Van Loan, IEEE Trans. Autom. Control 23, 395 (1978) [4] Najfeld, Havel, Adv. Appl. Math. 16, 321 (1995) [5] Carbonell et. al. J. Comp. Appl. Math. 213, 300 (2008) [6] Edwards, Kuprov, J. Chem. Phys. 136, (2012) [7] Moler, Van Loan, SIAM Rev.: 20, 801 (1978), 45, 3 (2003) [8] Khaneja et. al., J Magn. Reson., 172, 296 (2005) [9] de Fouquieres et. al., J Magn. Reson., 212, 412 (2011) [10] Goodwin, Kuprov, J. Chem. Phys., 144, 20 (2016) [11] Floether et. al., New Journal of Physics, 14, 073023 (2012) [12] Goodwin, Kuprov, J. Chem. Phys. 143, 8 (2015) [13] Edwards et. al., J Mag. Reson., 243, 107 (2014) Acknowledgements The authors are grateful to Sophie Schirmer, Thomas Schulte- Herbrüggen and Luke Edwards for useful discussions. This work was made possible by EPSRC through a grant to IK group EP/H003789/1 and a CDT studentship to DLG Auxiliary Matrix Formalism for Computation of Chained Integrals in Magnetic Resonance D.L. Goodwin 1 , Ilya Kuprov 1 1 University of Southampton, UK (Published in The Journal of Chemical Physics, 143 (8) 2015, 084113) Introduction Chained exponential integrals involving square matrices occur particularly often in magnetic resonance. A general form of a chained exponential integral is: where A k and B k are square matrices. Their common feature is the complexity of evaluation: expensive matrix factorisations are usually required. This makes the application of the associ- ated theories difficult when matrix dimension exceeds 10 3 , i.e. for ten spins or more. Consider the example of spin relaxation theory. The techniques currently used for the evalua- tion of Redfield's integral, which involves a static Hamiltonian H, a rotational correlation function G(τ) and an irreducible spherical component Q of the stochastic Hamiltonian, either involve the diagonalisation of H followed by the evaluation of a large number of Fourier transforms: or a matrix-valued numerical quadrature with a large number of time steps. The latter method scales better because matrix sparsity is preserved at every stage and diagonalisation is avoided, but the evaluation is still difficult. Such situations are ubiquitous in magnetic reso- nance and these chained exponential integrals are the bottleneck in many important cases. This work we proposes a solution to this problem, based on the observation that matrix expo- nentiation, does not require factorisations and preserves spin operator sparsity [1,2] and on the auxiliary matrix technique [3,4,5] for the evaluation of the chained exponential integrals. ( ) ( ) { } 2 1 1 1 2 1 2 1 1 2 1 1 2 1 0 0 0 ... n nn t t t t t t t t n n dt dt dt e e e A A A B B B () () () () () ( ) 0 0 * 0 0 * 0 ; ss rr rr ss i i i i nk nk iD iD i i nr ks rs rs nk iD D nr ks rs rs G e e d G e e d G e e d G Ve e Vd V V G e d τ τ τ τ τ τ τ τ τ τ τ τ τ τ τ τ τ τ τ = = = = = = H H D D D D Q V V Q V V V VQV V VQV VQV H =VDV Exponentiation of Auxiliary Matrices A method for computing some of the integrals of the general type shown above was proposed by Van Loan in 1978 [3]. He noted that the integrals in question are solutions to linear block matrix differential equations and suggested that block matrix exponentials are used to com- pute them. In the simplest case of a single integral: This was later refined [5] using the block-bidiagonal auxiliary matrix: Spin Hamiltonians are guaranteed to be sparse in the Pauli basis [6] and their exponential propagators are also sparse when ||HΔt|| < 1, if care is taken to eliminate insignificant ele- ments after each matrix multiplication in the scaled and squared Taylor series procedure [2]: Out of the multitude of "dubious ways" [7] of computing matrix exponentials, the Taylor series method with scaling and squaring is recommended here because it is compatible with dissipative dynamics, only involves matrix multiplications, uses minimal memory resources, and only requires approximate scaling. 1 1 1 0 exp t t t t t t e e e e dt t e = A C A A C B A B 0 C 0 ( ) 11 12 11 12 13 1 22 23 22 23 2 33 33 1,k 1,k , exp k k k k kk kk t = = A A 0 0 0 B B B B 0 A A 0 0 0 B B B M 0 0 A 0 M 0 0 B 0 0 0 A 0 0 0 B 0 0 0 0 A 0 0 0 0 B ( ) ( ) { } 2 1 11 1 22 1 2 1 1 1 2 1 12 23 1, 0 0 0 ... k kk k t t t t t t t t k k k k dt dt dt e e e = A A A B A A A ( ) ( ) 2 2 2 2 0 ; ... ! n k t t t k t e e e k = = = M M M M Spin Relaxation Theories Exponential integrals appear in Bloch-Redfield-Wangsness spin relaxation theory, in which the relaxation superoperator R arising from the stochastic rotational modulation of spin inter- action anisotropies has the following general form: where H 0 is the time-independent part of the spin Hamiltonian commutation superoperator, Q km are the 25 irreducible spherical components of its anisotropic part H 1 (t). Rotational correlation functions G kmpq (t) are defined as ensemble averages of products of second-rank Wigner functions of molecular orientation: In systems undergoing stochastic motion these become a linear combinations of decaying ex- ponentials, , which are scalars commuting with all matrices. The individual matrix-valued integrals in R are now a case of an auxiliary exponential relationship: The integration limit should be set to the accuracy goal for the relaxation superoperator [1]. () () () () () 2 2* 0 kmpq km pq G t t = D D () n t n n Gt ae λ = 0 0 0 ( ) 0 0 , exp T i t i i t i e e dt T i λ λ + = = H H 1 H Q A B Q AB 0 H 1 0 C () () () () 0 0 2 1 0 , i i km kmpq pq km km kmpq km G e e d t t τ τ τ τ =− = H H R Q Q H Q D 14 N rotating frame correction order Wall clock time, seconds 2 4 6 8 10 0.1 1 10 100 ( ) 2 y ax b = + Wall clock time, seconds (aux. matrix method) Wall clock time, seconds (quadrature method) 0.1 0.1 1 10 10 2 10 3 10 4 10 5 1 10 10 2 10 3 10 4 10 5 two-spin system (DD+CSA), full Redfield matrix diacetylene, full Redfield matrix urea, full Redfield matrix bicyclopropylidene, 1 H Redfield matrix naphtalene, full Redfield matrix, IK-0(6) basis set 28-residue RNA hairpin, 1 H dipolar Redfield matrix, IK-1(5,3) basis set ubiquitin, 1 H dipolar Redfield matrix, IK-1(5,3) basis set Optimal Control Theories Optimal control is the task of taking a system from one state to another to a specified accuracy with minimal expenditure of time and energy. Optimal solutions can be found numerically, by maximizing the overlap between the final state of the system and the desired destination state: where indicates a time-ordered exponential, H 0 is the drift Hamiltonian, H 1 is the control Hamiltonian, R is the relaxation operator, ρ 0 is the initial state vector and δ is the destination state. The gradient ascent pulse engineering (GRAPE) method [8,9,10] proceeds by splitting the Hamiltonian into the uncontrollable part and a number of control operators with time- dependent coefficients With a piecewise-constant Hamiltonian the overlap of the final and desired states becomes and the corresponding gradient and Hessian elements are The first order propagator derivative can be calculated efficiently with the auxiliary matrix formalism [4,11]: Similarly, the second order derivative can be calculated with a larger auxiliary matrix: ( ) O exp () ( ) () ( ) 1 0 1 0 O 0 Re exp T J t i t i dt = + + H δ H H R ρ () () 0 1 K k k k t c t = = + H H H () ( ) ( ) ( ) 1 2 1 2 , k k k k k N N c t c t c t c t t t t = < < < c ( ) 1 2 1 0 0 , 1 , , Re , exp K K N n kn k k J i c i t = = = + + c c δ P PP ρ P H H R 1 1 1 0 , , Re n N n n kn kn J c c + = P δ P P P P ρ 2 2 1 1 1 0 , , , , Re n N n n jn kn jn kn J c c c c + = P δ P P P P ρ 2 1 1 1 1 1 0 , , , , Re n m N n n m m jn km jn km J c c c c + + = P P δ P P P P P P ρ , , 2 , , , , , () exp () , () n n ij n in i n n n j ij n ji n jn in jn n c t i t t c c c t = = + P P A H H 0 P P 0 P 0 H H A A 0 0 H 0 0 P , () exp () n n i in n t c i t t = P P H H 0 H 0 P Spinach spindynamics.org Rotating Frame Transformations The interaction representation transformation splits the Hamiltonian matrix into the "large, simple" part H 0 and the "small, complicated" part H 1 . The effective rotating frame Hamilto- nian over a time interval [0,T], with T equal to the period of the propagator is [12]: where ln (P) is the principal value of the logarithm. Under the typical interaction representation assumptions, ||H 1 || < ||H 0 ||, and therefore the H 1 term under the exponential in the previous equation is a correction to the H 0 term. The corresponding Taylor series with respect to the H 1 direction step length parameter α is: The logarithm disappears after the first differentiation and the number of matrix terms is linear with respect to the approximation order n with the general expression also obtainable using binomial coefficients: The simplicity of this equation stands in sharp contrast with the very large expressions pro- duced by Magnus expansions. The derivatives, D k are known [4] to have the form that matches auxiliary matrix integrals: This makes them easy to compute by constructing and exponentiating a sparse block-bidiago- nal matrix: and extracting the first block row from the result. This exponential is also sparse [6] if due care is taken to eliminate inconsequentially small elements from the non-zero index after each multiplication in the Taylor series procedure [2]. The number of blocks in M grows linearly and the effort of exponentiating it approximately quadratically with the rotating frame correc- tion order n. ( ) 0 exp i t H ( ) ( ) 0 1 P ln i T i e T + = H H H ( ) ( ) ( ) ( ) 0 1 0 1 1 0 ln ln ! n n i T i T n n i i e e T T n α α α α α α + + = = = = H H H H H ( )( ) 1 1 1 1! ! n n k k n k i T n k n k = = = ∑∑ D D H ( ) () () 1 0 0 1 0 , , , T T t t k k T ke e t dt t e i i = = =− =− A A A D BD D A H B H ( ) ( ) 0 1 2 0 1 1 0 1 0 1! 2! ! 1! 1! exp 1! k k k k t = = D D D D A B 0 0 0 0 D D D 0 A B 0 0 M M 0 0 D 0 0 A 0 0 0 0 D 0 0 0 B 0 0 0 0 D 0 0 0 0 A () () ( ) () ( ) ( ) 0 1 1 2 0 1 1 1 0 2 3 0 2 1 1 2 0 3 , 2 2 6 i T k k k i i e T T i T α α α + = = = + = = + + H H H DD H DD DD D H DD DD DD Wall clock time (in seconds) comparison between the matrix-valued numerical quadrature method and the auxil- iary matrix method. The spin systems indicated in the figure come from the Spinach library [2] example set. The comparison is given relative to the quadrature method - it is impossible to diagonalize an 800,000 by 800,000 matrix during a NOESY calculation for ubiquitin. The auxiliary exponential method permits accurate quan- tum mechanical spin relaxation theory treatment, includ- ing all cross-correlations and non-secular pathways, for liquid state NMR systems with up to about 2000 spins [2] when it is combined with restricted state space methods. Spin system of methylaziridine (state space dimension 9,889 using IK-2(4) basis [13] in Liouville space), the rotating frame transformation with respect to the Zeeman Hamiltonian of the 14N nucleus is computed in seconds and the scaling of the wall clock time with respect to the approx-imation order is quadratic. Second-order transformation is sufficient in prac- tice, but terms up to order ten were computed and timed to illustrate the fundamental improvement in automation and scalability over the commutator series approach. Molecular geometry, chemical shielding tensors, J-couplings, and nuclear quadrupolar interaction tensors were computed using GIAO DFT M06/cc-pVDZ method in Gaussian09.

Auxiliary Matrix Formalism for Computation of …...This work we proposes a solution to this problem, based on the observation that matrix expo nentiation, does not require factorisations

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Auxiliary Matrix Formalism for Computation of …...This work we proposes a solution to this problem, based on the observation that matrix expo nentiation, does not require factorisations

References[1] Kuprov, J. Magn. Reson. 209, 31 (2011)

[2] Hogben et. al., J. Magn. Reson. 208, 179 (2011)

[3] Van Loan, IEEE Trans. Autom. Control 23, 395 (1978)

[4] Najfeld, Havel, Adv. Appl. Math. 16, 321 (1995)

[5] Carbonell et. al. J. Comp. Appl. Math. 213, 300 (2008)

[6] Edwards, Kuprov, J. Chem. Phys. 136, (2012)

[7] Moler, Van Loan, SIAM Rev.: 20, 801 (1978), 45, 3 (2003)

[8] Khaneja et. al., J Magn. Reson., 172, 296 (2005)

[9] de Fouquieres et. al., J Magn. Reson., 212, 412 (2011)

[10] Goodwin, Kuprov, J. Chem. Phys., 144, 20 (2016)

[11] Floether et. al., New Journal of Physics, 14, 073023 (2012)

[12] Goodwin, Kuprov, J. Chem. Phys. 143, 8 (2015)

[13] Edwards et. al., J Mag. Reson., 243, 107 (2014)

AcknowledgementsThe authors are grateful to Sophie Schirmer, Thomas Schulte-Herbrüggen and Luke Edwards for useful discussions. This work was made possible by EPSRC through a grant to IK group EP/H003789/1 and a CDT studentship to DLG

Auxiliary Matrix Formalism for Computation of Chained Integrals in Magnetic Resonance

D.L. Goodwin1, Ilya Kuprov1

1University of Southampton, UK

(Published in The Journal of Chemical Physics, 143 (8) 2015, 084113)

IntroductionChained exponential integrals involving square matrices occur particularly often in magnetic resonance. A general form of a chained exponential integral is:

where Ak and Bk are square matrices. Their common feature is the complexity of evaluation: expensive matrix factorisations are usually required. This makes the application of the associ-ated theories difficult when matrix dimension exceeds 103, i.e. for ten spins or more.Consider the example of spin relaxation theory. The techniques currently used for the evalua-tion of Redfield's integral, which involves a static Hamiltonian H, a rotational correlation function G(τ) and an irreducible spherical component Q of the stochastic Hamiltonian, either involve the diagonalisation of H followed by the evaluation of a large number of Fourier transforms:

or a matrix-valued numerical quadrature with a large number of time steps. The latter method scales better because matrix sparsity is preserved at every stage and diagonalisation is avoided, but the evaluation is still difficult. Such situations are ubiquitous in magnetic reso-nance and these chained exponential integrals are the bottleneck in many important cases.This work we proposes a solution to this problem, based on the observation that matrix expo-nentiation, does not require factorisations and preserves spin operator sparsity [1,2] and on the auxiliary matrix technique [3,4,5] for the evaluation of the chained exponential integrals.

( ) ( ){ }

21

1 1 2 1 2 11 2 1 1 2 1

0 0 0

...n

n n

tttt t t t t

n ndt dt dt e e e−

−− −− −∫ ∫ ∫ A A AB B B

( ) ( )

( ) ( )

( ) ( )

† † † †

0 0

† † † † † *

0 0

† † *

0

;

ssrr

rr ss

i i i i

nk nk

iDiDi inr ksrs

rsnk

i D Dnr ksrs

rs

G e e d G e e d

G e e d G V e e V d

V V G e d

τ τ τ τ

τττ τ

τ

τ τ τ τ

τ τ τ τ

τ τ

∞ ∞− −

∞ ∞−−

∞− −

= =

= = =

=

∫ ∫

∑∫ ∫

∑ ∫

H H D D

D D

Q V V Q V V

V V Q V V V Q V

V Q V H †=VDV

Exponentiation of Auxiliary MatricesA method for computing some of the integrals of the general type shown above was proposed by Van Loan in 1978 [3]. He noted that the integrals in question are solutions to linear block matrix differential equations and suggested that block matrix exponentials are used to com-pute them. In the simplest case of a single integral:

This was later refined [5] using the block-bidiagonal auxiliary matrix:

Spin Hamiltonians are guaranteed to be sparse in the Pauli basis [6] and their exponential propagators are also sparse when ||HΔt|| < 1, if care is taken to eliminate insignificant ele-ments after each matrix multiplication in the scaled and squared Taylor series procedure [2]:

Out of the multitude of "dubious ways" [7] of computing matrix exponentials, the Taylor series method with scaling and squaring is recommended here because it is compatible with dissipative dynamics, only involves matrix multiplications, uses minimal memory resources, and only requires approximate scaling.

1 1

10exp

tt tt t

t

e e e e dtt

e

− =

∫ A CA A

C

BA B0 C

0

( )

11 12 11 12 13 1

22 23 22 23 2

33 33

1,k 1,k

, exp

k

k

k k

kk kk

t

− −

= =

A A 0 0 0 B B B B0 A A 0 0 0 B B B

M 0 0 A 0 M 0 0 B0 0 0 A 0 0 0 B0 0 0 0 A 0 0 0 0 B

( ) ( ){ }

21

11 1 22 1 2 11 1 2 1 12 23 1,

0 0 0

...k

kk k

tttt t t t t

k k k kdt dt dt e e e−

−− −− −= ∫ ∫ ∫ A A AB A A A

( ) ( )222

2

0; ...

!n

kt t t

k

te e e

k

=

= =

∑M M MM

Spin Relaxation TheoriesExponential integrals appear in Bloch-Redfield-Wangsness spin relaxation theory, in which the relaxation superoperator R arising from the stochastic rotational modulation of spin inter-action anisotropies has the following general form:

where H0 is the time-independent part of the spin Hamiltonian commutation superoperator, Qkm are the 25 irreducible spherical components of its anisotropic part H1(t).Rotational correlation functions Gkmpq(t) are defined as ensemble averages of products of second-rank Wigner functions of molecular orientation:

In systems undergoing stochastic motion these become a linear combinations of decaying ex-ponentials, , which are scalars commuting with all matrices. The individual matrix-valued integrals in R are now a case of an auxiliary exponential relationship:

The integration limit should be set to the accuracy goal for the relaxation superoperator [1].

( ) ( ) ( ) ( ) ( )2 2 * 0kmpq km pqG t t= D D

( ) ntnn

G t a e λ−=∑

0 0 0( ) †

00

, expT

i t i i t ie e dt T

λ− +

= = − ∫ H H 1 H QA B

Q A B0 H 10 C

( ) ( ) ( ) ( )0 0 2†

10

,i ikm kmpq pq km km

kmpq kmG e e d t tτ ττ τ

∞−= − =∑ ∑∫ H HR Q Q H QD

14N rotating frame correction order

Wal

l clo

ck ti

me,

sec

onds

2 4 6 8 100.1

1

10

100

( )2y ax b= +

Wall clock time, seconds (aux. matrix method)

Wal

l clo

ck ti

me,

sec

onds

(qua

drat

ure

met

hod)

0.10.1

1

10

102

103

104

105

1 10 102 103 104 105

two-spin system (DD+CSA), full Redfield matrixdiacetylene, full Redfield matrix

urea, full Redfield matrix

bicyclopropylidene,1H Redfield matrix

naphtalene, full Redfieldmatrix, IK-0(6) basis set

28-residue RNA hairpin, 1H dipolarRedfield matrix, IK-1(5,3) basis set

ubiquitin, 1Hdipolar Redfieldmatrix, IK-1(5,3)

basis set

Optimal Control TheoriesOptimal control is the task of taking a system from one state to another to a specified accuracy with minimal expenditure of time and energy. Optimal solutions can be found numerically, by maximizing the overlap between the final state of the system and the desired destination state:

where indicates a time-ordered exponential, H0 is the drift Hamiltonian, H1 is the control Hamiltonian, R is the relaxation operator, ρ0 is the initial state vector and δ is the destination state. The gradient ascent pulse engineering (GRAPE) method [8,9,10] proceeds by splitting the Hamiltonian into the uncontrollable part and a number of control operators with time-dependent coefficients

With a piecewise-constant Hamiltonian the overlap of the final and desired states becomes

and the corresponding gradient and Hessian elements are

The first order propagator derivative can be calculated efficiently with the auxiliary matrix formalism [4,11]:

Similarly, the second order derivative can be calculated with a larger auxiliary matrix:

( )Oexp

( ) ( ) ( )( )1 0 1 0O

0

Re expT

J t i t i dt

= − + + ∫H δ H H R ρ

( ) ( )0

1

K

k kk

t c t=

= +∑H H H

( ) ( ) ( ) ( )1 2 1 2 , k k k k k N Nc t c t c t c t t t t→ = < < < c

( )1 2 1 0 0 ,

1, , Re , exp

K

K N n k n kk

J i c i t=

= = − + + ∆

∑c c δ P P P ρ P H H R

1 1 1 0

, ,

Re nN n n

k n k n

Jc c+ −

∂∂=

∂ ∂Pδ P P P P ρ

22

1 1 1 0, , , ,

Re nN n n

j n k n j n k n

Jc c c c+ −

∂∂=

∂ ∂ ∂ ∂Pδ P P P P ρ

2

1 1 1 1 1 0, , , ,

Re n mN n n m m

j n k m j n k m

Jc c c c+ − + −

∂ ∂∂=

∂ ∂ ∂ ∂P Pδ P P P P P P ρ

,

,2

, ,, , ,

( )exp ( ) ,

( )

nn ij n

i ni

n nn j ij n ji n

j n i n j n

n

ct

i t tc c c

t

∂ ∂ ∂ ∂ = − ∆ = + ∂ ∂ ∂

PP AH H 0

P P0 P 0 H H A A0 0 H

0 0 P

,( )

exp( )

nn i

i n

n

tc i tt

∂ ∂ = − ∆

PP H H0 H

0 P

Spinach

spin

dyna

mics

.org

Rotating Frame TransformationsThe interaction representation transformation splits the Hamiltonian matrix into the "large, simple" part H0 and the "small, complicated" part H1. The effective rotating frame Hamilto-nian over a time interval [0,T], with T equal to the period of the propagator is [12]:

where ln(P) is the principal value of the logarithm. Under the typical interaction representation assumptions, ||H1|| < ||H0||, and therefore the H1 term under the exponential in the previous equation is a correction to the H0 term. The corresponding Taylor series with respect to the H1 direction step length parameter α is:

The logarithm disappears after the first differentiation and the number of matrix terms is linear with respect to the approximation order n

with the general expression also obtainable using binomial coefficients:

The simplicity of this equation stands in sharp contrast with the very large expressions pro-duced by Magnus expansions. The derivatives, Dk are known [4] to have the form that matches auxiliary matrix integrals:

This makes them easy to compute by constructing and exponentiating a sparse block-bidiago-nal matrix:

and extracting the first block row from the result. This exponential is also sparse [6] if due care is taken to eliminate inconsequentially small elements from the non-zero index after each multiplication in the Taylor series procedure [2]. The number of blocks in M grows linearly and the effort of exponentiating it approximately quadratically with the rotating frame correc-tion order n.

( )0exp i t− H

( )( )0 1

Pln i Ti eT

− + = H HH

( ) ( ) ( )( )0 1 0 1

1 0

ln ln!

n ni T i T

nn

i ie eT T n

α α

α

ααα

∞− + − +

= =

∂ = = ∂∑H H H HH

( ) ( )†

1 1

11 ! !

nn k k

n k

iT n k n k

∞−

= =

=− −∑ ∑ D DH

( ) ( ) ( )1 0 0 1

0

, , , T

T t tk kT ke e t dt t e i i−

−= = = − = −∫A A AD BD D A H B H

( )( )

0 1 2

0 1 1

0

1

0

1! 2! !1! 1 !

exp1!

k

k

kk

t−

− = =

D D D DA B 0 0 00 D D D0 A B 0 0

M M 0 0 D0 0 A 00 0 0 D0 0 0 B0 0 0 0 D0 0 0 0 A

( ) ( ) ( )( ) ( )

( )0 1

1 2† † †0 1 1 1 0 2

3 † † † 02 1 1 2 0 3

,2

26

i Tk

k k

i ieT T

iT

α

αα

− +

=

= = +∂

=∂= + +

H HH D D H D D D DD

H D D D D D D

Wall clock time (in seconds) comparison between the matrix-valued numerical quadrature method and the auxil-iary matrix method. The spin systems indicated in the figure come from the Spinach library [2] example set.

The comparison is given relative to the quadrature method - it is impossible to diagonalize an 800,000 by 800,000 matrix during a NOESY calculation for ubiquitin.

The auxiliary exponential method permits accurate quan-tum mechanical spin relaxation theory treatment, includ-ing all cross-correlations and non-secular pathways, for liquid state NMR systems with up to about 2000 spins [2] when it is combined with restricted state space methods.

Spin system of methylaziridine (state space dimension 9,889 using IK-2(4) basis [13] in Liouville space), the rotating frame transformation with respect to the Zeeman Hamiltonian of the 14N nucleus is computed in seconds and the scaling of the wall clock time with respect to the approx-imation order is quadratic. Second-order transformation is sufficient in prac-tice, but terms up to order ten were computed and timed to illustrate the fundamental improvement in automation and scalability over the commutator series approach.

Molecular geometry, chemical shielding tensors, J-couplings, and nuclear quadrupolar interaction tensors were computed using GIAO DFT M06/cc-pVDZ method in Gaussian09.