Teaching the Rayleigh–Ritz variational principle with neural-network trial wave functions
A computational module for upper-level undergraduate quantum mechanics and computational physics courses in which neural networks serve as variational trial wave functions for the Rayleigh–Ritz method, intended as a visual and modifiable framework for teaching variational reasoning and numerical error diagnostics.