MADNESS 0.10.1
|
The source is here.
We seek the ground state of the 3D Schrodinger equation
with
As usual, we rewrite the differential equation into integral form
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
In 3D, we have
that MADNESS can currently only apply efficiently for real
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.]