|
MADNESS 0.10.1
|
The source is here.
We seek the ground state of the 3D Schrodinger equation
![\[
\left( -\frac{1}{2} \nabla^2 + V(r) \right) \psi(r) = E \psi(r)
\]](form_150.png)
with
![\[
V(r) = \frac{1}{2} |r|^2
\]](form_151.png)
As usual, we rewrite the differential equation into integral form
![\[
\psi(r) = \left( -\frac{1}{2} \nabla^2 - E \right)^{-1} V(r) \psi(r)
\]](form_152.png)
but unfortunately we are left with two problems.
First, recall that application of the inverse of the differential operator corresponds to convolution with the Green's function to the Helmholtz equation that satisfies
![\[
\left(-\nabla^2 + \mu^2 \right) G(r,r'; \mu) = \delta(r-r')
\]](form_153.png)
In 3D, we have
![\[
G(r,r'; \mu) = \frac{e^{-\mu |r-r'|}}{4 \pi |r-r|}
\]](form_154.png)
that MADNESS can currently only apply efficiently for real 


![\[
\psi(r) = \left( -\frac{1}{2} \nabla^2 - E + \Delta \right)^{-1} \left( V(r) -\Delta\right) \psi(r)
\]](form_158.png)
How negative do we need to make the energy? To answer this we need to discuss the second problem. The fixed-point iteration described by the integral equation only reliably converges to the ground state if the potential is negative everywhere the wave function is significant. The exact solution is 



The fix is to not rely upon the simple fixed point iteration but to use an equation solver to force convergence. This also enables us to choose the size of the shift to optimize the rate of convergence (empirically 
[Aside. It is possible to apply the operator for positive energies, but efficient application requires separate treatment of the singular and the long-range oscillatory terms, and the latter is presently not a production capability of MADNESS. If you need this, let us know.]