Nucleus-nucleus interaction Hamiltonian.
F = nnint(SpinSys) F = nnint(SpinSys,nucSpins) F = nnint(SpinSys,nucSpins,'sparse')
nnint returns the nucleus-nucleus interaction part of the spin Hamiltonian of the spin system given in SpinSys, in units of MHz.
In the spin system structure, the fields nn and nnFrame parameterize the nucleus-nucleus interaction.
If the vector nucSpins is specified, only the interactions between the nuclei listed in nucSpins is computed. For example, if nucSpins = [1 3], only the interaction between nucleus 1 and nucleus 3 is returned.
If 'sparse' is given as third argument, the Hamiltonian matrix is returned in sparse format, instead of full format.
For a system with one electron and two nuclei
Sys.S = 1/2; Sys.Nucs = '1H,1H'; Sys.nn = [1 1 -2]*0.04; % MHz Sys.A = [10 12]; % MHz
the nucleus-nucleus coupling Hamiltonian (in MHz) is
nnHam = nnint(Sys)
nnHam =
-0.0200 0 0 0 0 0 0 0
0 0.0200 0.0200 0 0 0 0 0
0 0.0200 0.0200 0 0 0 0 0
0 0 0 -0.0200 0 0 0 0
0 0 0 0 -0.0200 0 0 0
0 0 0 0 0 0.0200 0.0200 0
0 0 0 0 0 0.0200 0.0200 0
0 0 0 0 0 0 0 -0.0200
eeint, hfine, nquad, sham, soint, zeeman, zfield