Skip to main content

Module quantum_3d

Module quantum_3d 

Source
Expand description

3D Hydrogenic Quantum Orbitals and Real Spherical Harmonics.

Provides zero-heap analytical evaluators for Hydrogenic wavefunctions $\psi_{nlm}(r, \theta, \phi)$, generalized Laguerre polynomials $L_{n-l-1}^{2l+1}(\rho)$, associated Legendre polynomials $P_l^m(\cos\theta)$, and real spherical harmonics $Y_l^m(\theta, \phi)$.

Reference: AGENTS.md Workstream W5 (§5.5).

Functions§

associated_laguerre
Evaluates generalized Laguerre polynomial $L_p^k(x)$ using an iterative three-term recurrence.
associated_legendre
Evaluates associated Legendre polynomial $P_l^m(\cos\theta)$ for $0 \le m \le l$.
evaluate_hydrogenic_orbital_3d
Evaluates exact 3D Hydrogenic quantum orbital amplitude, probability density, and phase sign.
hydrogenic_radial_wavefunction
Evaluates radial hydrogenic wavefunction $R_{nl}(r)$ in atomic units ($a_0 = 1$).
real_spherical_harmonic
Evaluates real spherical harmonic $Y_l^m(\theta, \phi)$ for $l \ge 0, -l \le m \le l$.