Computational Physics

(Rick Simeone) #1

36 The variational method for the Schrödinger equation


If the program works correctly, it should yield a value close to the exact ground
state energy− 1 / 2 EH(which is equal to−13.6058 eV).
It remains to determine the linear coefficientsCpin a computer program which
solves the generalised eigenvalue problem, just as in Section 3.2.1:


HC=ESC. (3.28)
It is not so difficult to show that the elements of the overlap matrixS, the kinetic
energy matrixTand the Coulomb matrixAare given by:


Spq=


d^3 re−αpr

2
e−αqr

2
=

(


π
αp+αq

) 3 / 2


;


Tpq=−

1


2



d^3 re−αpr
2
∇^2 e−αqr
2
= 3

αpαqπ^3 /^2
(αp+αq)^5 /^2

; (3.29)


Apq=−


d^3 re−αpr

21


r
e−αqr

2
=−

2 π
αp+αq

.


See alsoSection 4.8. Using these expressions, you can fill the overlap and the
Hamilton matrix. Since both matrices are symmetric, it is clear that only the upper
(or the lower) triangular part (including the diagonal) has to be calculated; the other
elements follow from the symmetry.


programming exercise
Write a program in which the relevant matrices are filled and which solves
the generalised eigenvalue problem for the variational calculation.
Check 1Fortunately, we again have an exact answer for the ground state energy:
this should be equal to−0.5 hartree=13.6058 eV, and, if your program contains
no errors, you should find−0.499 278 hartree, which is amazingly good if you
realise that only four functions have been taken into account.
Check 2The solution of the eigenvalue problem not only yields the eigenvalues
(energies) but also the eigenvectors. Use these to draw the variational ground state
wave function and compare with the exact form (3.23). (See also Figure 4.3.)

*3.3 Solution of the generalised eigenvalue problem

It is possible to transform (3.13) into an ordinary eigenvalue equation by performing
a basis transformation which bringsSto unit form. Suppose we have found a matrix
Vwhich transformsSto the unit matrix:


V†SV=I. (3.30)
Free download pdf