Difference between revisions of "Vvpert.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:function.m}} __NOTOC__ Van Vleck perturbation theory, following Shavitt and Redmon, but excluding the quasi-degenerate split. ==Syntax== [Ep,G]=vvpert(E0...")
 
(sync with Spinach main f053e432: order is not capped at 5, complexity is cubic in the order)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:function.m}} __NOTOC__
+
{{DISPLAYTITLE:vvpert.m}} __NOTOC__
 
Van Vleck perturbation theory, following Shavitt and Redmon, but excluding the quasi-degenerate split.
 
Van Vleck perturbation theory, following Shavitt and Redmon, but excluding the quasi-degenerate split.
  
Line 6: Line 6:
 
     [Ep,G]=vvpert(E0,H1,order)
 
     [Ep,G]=vvpert(E0,H1,order)
  
−
==Arguments==
+
==Parameters==
  
 
     E0    - eigenvalues of H0, a column vector of real  
 
     E0    - eigenvalues of H0, a column vector of real  
Line 14: Line 14:
 
             agonalises H0
 
             agonalises H0
 
   
 
   
−
     order - order of perturbation theory to be used, 5
+
     order - order of perturbation theory to be used; numerical
−
             is the maximum available
+
             artefacts appear beyond about 10-12 for typical
 +
            problems
  
 
==Outputs==
 
==Outputs==
Line 29: Line 30:
  
 
==Notes==
 
==Notes==
−
There must be no degeneracies in H0; H1 must be Hermitian, the theory only converges when norm(H1,2) is much than the smallest energy gap in H0; complexity is linear in the order and cubic in the matrix dimension
+
There must be no degeneracies in H0; H1 must be Hermitian, the theory only converges when norm(H1,2) is much smaller than the smallest energy gap in H0; complexity is cubic both in the order and in the matrix dimension.
  
 
==See also==
 
==See also==
−
[[rspert.m]], [[Kernel_utilities#Numerical_infrastructure|Numerical infrastructure]]
+
[[rspert.m]], [[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]], [[rspt_eig.m]], [[snormpdf.m]], [[svd_shrink.m]], [[tikhoind.m]], [[tikhonov.m]], [[trapdiff.m]], [[unit_oper.m]], [[unit_state.m]], [[Kernel_utilities]]
−
 
 
  
 
''Version 2.6, authors: [[Ilya Kuprov]]''
 
''Version 2.6, authors: [[Ilya Kuprov]]''

Latest revision as of 07:47, 30 August 2026

Van Vleck perturbation theory, following Shavitt and Redmon, but excluding the quasi-degenerate split.

Syntax

    [Ep,G]=vvpert(E0,H1,order)

Parameters

    E0    - eigenvalues of H0, a column vector of real 
            numbers

    H1    - perturbation, written in the basis that di-
            agonalises H0

    order - order of perturbation theory to be used; numerical
            artefacts appear beyond about 10-12 for typical
            problems

Outputs

    Ep    - eigenvalues of H0+H1 to the specified order,
            a column vector of reals, not necessarily 
            sorted in the same way as the input

    G     - Van Vleck transformation generator, such that
            expm(G) is a square unitary matrix with eigen-
            vectors in columns, in the same order as the 
            eigenvalues in Ep

Notes

There must be no degeneracies in H0; H1 must be Hermitian, the theory only converges when norm(H1,2) is much smaller than the smallest energy gap in H0; complexity is cubic both in the order and in the matrix dimension.

See also

rspert.m, 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, rspt_eig.m, snormpdf.m, svd_shrink.m, tikhoind.m, tikhonov.m, trapdiff.m, unit_oper.m, unit_state.m, Kernel_utilities

Version 2.6, authors: Ilya Kuprov