1D Time-Independent Schroedinger Equation (TISE) - QHO Shooting Method
Interactive Physics Ready
Click "Run Code" to launch simulation and interactive parameter sliders.
Mathematical Problem Formulation
Theoretical Background & Explanation
Quantum Harmonic Oscillator (QHO) - Boundary Value Problem
The Quantum Harmonic Oscillator represents a foundational model in quantum mechanics, describing vibrating diatomic molecules, lattice vibrations (phonons), and quantum field fluctuations around stable equilibrium positions.
1. One-Dimensional Time-Independent Schrödinger Equation (TISE)
The stationary states $\psi(x)$ of a non-relativistic quantum particle of mass $m$ confined within a potential well $V(x)$ are governed by the time-independent Schrödinger equation:
Rearranging into standard second-order ordinary differential equation (ODE) form:
2. Parabolic Harmonic Potential & Analytical Eigenvalues
For a harmonic oscillator with angular frequency $\omega$, the parabolic restoring potential is:
Analytical solution yields discrete, equally-spaced energy eigenvalues:
In dimensionless natural units ($m = 1, \hbar = 1, \omega = 1$):
• Ground state ($n = 0$): $E_0 = 0.5$ (Zero-point energy)
• 1st Excited state ($n = 1$): $E_1 = 1.5$ (Odd parity, single central node)
• 2nd Excited state ($n = 2$): $E_2 = 2.5$ (Even parity, two symmetric nodes)
• 3rd Excited state ($n = 3$): $E_3 = 3.5$ (Odd parity, three nodes)
• 4th Excited state ($n = 4$): $E_4 = 4.5$ (Even parity, four nodes)
3. The Shooting Algorithm & Boundary Conditions
Because bound-state wave functions must be square-integrable, the physical boundary conditions require $\psi(x) \to 0$ as $x \to \pm \infty$. On a finite computational domain $[-L, L]$ with $L = 6$:
The shooting algorithm converts the 2nd-order boundary value problem into a system of two coupled 1st-order differential equations:
Starting from $x = -L$ with initial vector $u = [y_1(-L), y_2(-L)] = [0, 0.1]$, the numerical integrator (scipy.integrate.odeint) integrates across the domain to $x = +L$ for a trial test energy $E$.
4. Wave Function Normalization & Interactive Slider
The probability of finding the quantum particle anywhere along the $x$-axis is identically unity:
In the simulation code, the trapezoidal quadrature rule (scipy.integrate.trapezoid) computes the normalization integral dynamically.
By adjusting the Energy Slider ($E \in [0, 10]$), observe how non-eigenvalues diverge rapidly at $x = +L$, whereas true quantized energies ($E = 0.5, 1.5, 2.5, 3.5, 4.5, \dots$) smoothly decay to zero at both boundaries, displaying exact quantum nodes!