M56. Bound states in free space¶
Package: F1, its second part: the lowest eigenvalues of a Schrödinger operator in free space. The planner finds where the potential binds and chooses a box on whose faces the states have faded.
What was built¶
Free directions in an eigenproblem. The states that are found are the bound ones. The grid of a free axis closes on itself after the length of its box, as that of a periodic axis does after its period: where the states have faded that does no harm.
The box, found by the planner (
Binding): where the potential is lowest, how wide a state is there, the eigenvalues from a coarse solve, and how far the highest state reaches on each side of each coordinate, by its decay under the potential. The box is lengthened if the states have not faded on its faces, which the diagnosticsolution_boundary_ratioreports.What does not bind is refused: a potential that does not rise, a state whose eigenvalue lies above the potential far away, and a potential with a singularity where it is lowest.
A preconditioner that knows the potential. The residual is damped by \(\sqrt{s/(s + V - V_{\min})}\) before and after the inverse of the second derivatives.
Grids of one period. The candidate grids of a box close after the same length, and lie half a step inside it. The eigenfunctions of one grid are the start of the next, exactly, also where the two grids do not share their first point.
No second solve.
solvewithout a plan returns what the planner found on the grid that it chose.
What it reaches¶
In free space, with the box found by the planner:
Problem |
Box |
Grid |
Error of the eigenvalues |
Time |
|---|---|---|---|---|
Harmonic oscillator, 6 states |
−8.7 to 8.7 |
96 |
\(9\cdot10^{-15}\) |
0.01 s |
The well \(-1/\cosh^2 x\) |
−27.7 to 27.7 |
512 |
\(10^{-16}\) |
0.02 s |
The Morse well \(8(1 - e^{-x})^2\), 3 states |
−2.3 to 20.8 |
384 |
\(4\cdot10^{-15}\) |
0.03 s |
Oscillator in the plane, 6 states |
±8.1 |
\(64^2\) |
\(10^{-14}\) |
0.2 s |
Oscillator in space, 4 states |
±7.9 |
\(64^3\) |
\(6\cdot10^{-14}\) |
5.9 s |
An oscillator whose well stands at \(x = 37\) is found there. The well \(-3/\cosh^2 x\) has its two bound states, \(-2\) and \(-\tfrac12\), and the third that is asked for is refused as not bound.
On periodic domains the changes to the iteration show as well: the oscillator in space, 45 s in milestone 55, takes 2.4 s.
Decisions¶
D56.1. In free space the bound states, on a box¶
Developer, 2026-11-20.
A state that fades is the same on a box that is long enough as in all of space, to the digits that it has fallen to on the faces. So free space needs no new method, only the box. States that do not fade, the continuum, are no eigenfunctions with a norm: they are refused, with the eigenvalue at which the states stop being bound.
D56.2. The box from the potential, not from trial¶
Developer, 2026-11-20.
The box could be found by doubling until the states have faded. Each trial is a solve, and in space the last ones are the expensive ones. The decay of a state beyond its turning point is known from the potential and its eigenvalue, \(\exp(-\int\sqrt{(V - E)/a}\,dx)\), and the eigenvalue is known well enough from one coarse solve. So the box is computed, then checked on its faces, and lengthened only if the check fails: for the problems of the tests it never does.
D56.3. Each side has its own length¶
Developer, 2026-11-20.
A symmetric box around a Morse well reaches as far to the left, where the potential is \(10^{16}\), as to the right, where the states fade slowly. The iteration did not converge on it. The decay is followed to each side by itself.
D56.5. The planner’s solution is the solution¶
Developer, 2026-11-20.
The planner of an eigenproblem solves on its grids to choose one.
solve without a plan now returns what it found there, and does not
solve again from waves. A plan that the user passes is executed as it
is.
D56.6. A singularity is refused in free space¶
Developer, 2026-11-20.
The search for the lowest point of \(-1/r\) ends beside the singularity, and a uniform grid around it gives a few digits at a large cost. That would be an answer that looks like one. It is refused, with the reason, until hydrogen is solved properly.
What is left¶
Hydrogen: a potential with a singularity.
First derivatives, a medium, a weight beside the eigenvalue.
States that are barely bound reach far, and the grid is uniform.
Values of a solution between the points of a grid in free space, for eigenfunctions as for every other solution (K6).