Electron-electron interaction Hamiltonian.
F = eeint(SpinSys) F = eeint(SpinSys,eSpins) F = eeint(SpinSys,eSpins,'sparse')
eeint returns the electron-electron interaction part of the spin Hamiltonian of the spin system given in SpinSys, in units of MHz.
If the vector eSpins is specified, only the interactions between the electron spins listed in eSpins is computed. For example, if eSpins = [1 3] and the spin system contains 3 electrons, only the interaction between electron spins 1 and electron 3 is returned.
In the spin system structure, there are two ways to specify the electron-electron interactions: either via the field Sys.ee, or via Sys.J, Sys.dip, and Sys.dvec. To specify the orientation of the interaction matrix, use Sys.eeFrame.
If 'sparse' is given as third argument, the Hamiltonian matrix is returned in sparse format instead of full format.
For a two-electron system AB
AB.S = [1/2 1/2]; AB.g = [2 2.1]; AB.ee = [1 1 -2]*40;
the electron-electron interaction Hamiltonian (in MHz) is
eeHam = eeint(AB)
eeHam =
20 0 0 0
0 -20 -20 0
0 -20 -20 0
0 0 0 20
with the energies
E = eig(eeInt)
E =
-40
0
20
20
hfine, nnint, nquad, sham, soint, zeeman, zfield