The time-independent Schrödinger equation can be written as this eigenequation
The shooting method is a numerical approach used to solve the time-independent Schrödinger equation. In this method, the problem is reduced to finding the values of the energy parameter for which the solution satisfies a set of boundary conditions. This is achieved by guessing an initial value for the energy parameter and solving the differential equation using a numerical integration algorithm, such as the Numerov propagator. The solution is then checked against the boundary conditions, and the energy parameter is adjusted until the desired boundary conditions are satisfied. This process is repeated until convergence is achieved, and the final solution corresponds to the eigenvalue and eigenfunction of the Schrödinger equation.
The Numerov propagator is a fourth-order numerical integration algorithm that is particularly well-suited for solving second-order differential equations, such as the Schrödinger equation. It works by propagating the wave function through small steps in space, using a weighted average of the wave function at neighboring points to approximate the second derivative. This approach provides an accurate and efficient way to solve the Schrödinger equation and is widely used in quantum mechanics and other fields. The update rule used was
The Crank-Nicolson algorithm is a numerical method for solving the time-dependent Schrödinger equation. It is based on the Crank-Nicolson discretization, which approximates the spatial and temporal derivatives in the Schrödinger equation using a central difference scheme.
For the initial wave function given by
Here's a quick visualization of the results: