rspt_eig.m

From Spinach Documentation Wiki
Jump to: navigation, search

Eigensystem of sparse Hamiltonians to user-specified order in RSPT with careful handling of diagonal dominance and an option to do exact diagonalisation (expensive). The function also returns eigenvalue derivatives and transition moments between eigenvectors under a user-specified operator. Parametrisation matches use cases in field-swept EPR spectroscopy.

Syntax

    [E,V,dE,T,LP]=rspt_eig(spin_system,parameters,Hz,Hc,Hmw,B)

Parameters

    Hz   -  laboratory frame Hamiltonian, containing only 
            Zeeman terms at 1 Tesla

    Hc   -  laboratory frame Hamiltonian, containing all 
            spin-spin couplings, but no Zeeman terms

    Hmw  -  observable operator without the amplitude pre-
            factor (2-norm should be around 1)

    B    -  magnetic field, Tesla

    parameters.rspt_order - perturbation theory order to use
                            to account for the off-diagonal
                            part of the Hamiltonian, Inf for
                            exact diagonalisation

    parameters.rho0 - [optional] when a matrix, sets a user-
                      specified thermal equilibrium state;
                      when a function handle f(B,alp,bet,gam)
                      sets the function to call to obtain
                      the thermal equilibrium at each orien-
                      tation and magnetic field; if not pro-
                      vided, the thermal equilibrium is com-
                      puted at the current temperature, ori-
                      entation, and magnetic field

Outputs

    E    - a column vector of energies, sorted in ascen-
           ding order (rad/s)

    V    - a matrix with eigenvectors in columns, sorted 
           left to right in the same order as the energies

    dE   - a column vector of dE/dB derivatives, sorted in
           the same order as the energies

    T    - a matrix of transition moments under Hmw

    LP   - a column vector of energy level populations, sor-
           ted in the same order as the energies

See also

acomm.m, arnoldi.m, atranspose.m, aux_mat.m, binpack.m, cheap_norm.m, cheb_coeff.m, clean_up.m, dirdiff.m, eigenfields.m, expdrop.m, expmint.m, expmint2.m, fftdiff.m, fourdif.m, fourlap.m, frob_chop.m, gaussfun.m, hdot.m, herm_spline.m, jacobianest.m, keep_rank.m, krondelta.m, kronm_new.m, logfactorial.m, lorentzcon.m, lorentzfun.m, md5_hash.m, mprealloc.m, remncomm.m, remtrace.m, rspert.m, snormpdf.m, svd_shrink.m, tikhoind.m, tikhonov.m, trapdiff.m, unit_oper.m, unit_state.m, vvpert.m, Kernel_utilities

Version 2.11, authors: Ilya Kuprov