Numerical Quantum Mechanics in 3D
Version 1.01 (23.7 MB) by
Duncan Carlsmith
Live Script exploring numerical solutions to the time-independent Schrodinger equation in three dimensions.
This educational Live Script uses a second-order difference method to solve the time-independent Schrodinger equation in three dimensions. The eigenstates of a general quantum harmonic oscillator inside a box are found and compared to analytic results. The Live Script and method can be applied to similar problems.
The script illustrates several visualization techniques including a point cloud. It also shows how to interpolate a numerical wave function and then save the interpolation as a continuous function for later use.
This Live script may interest students and educators in physics, chemistry, and related fields. 'Try this" suggestions, 'Challenges', hyperlinks, and references are included for further exploration. Additional Live Scripts by the author are available[1].
Cite As
Duncan Carlsmith (2026). Numerical Quantum Mechanics in 3D (https://uk.mathworks.com/matlabcentral/fileexchange/180659-numerical-quantum-mechanics-in-3d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
