Solving Schrodinger Equation Numerically
Solving 1-D Schrodinger Equation Numerically in either Python or C++.
Please refer to this blog article for more detail explaination of the code.
SchrodingerEq_1D_tutorial.ipynb
A tutorial of solving 1-D Schrodinger equation. (Simple-Harmonic-Oscillator)step_potential/step_potential.py
A script to generate the animation that shows a wave-packet scattered by a step-potential.step_potential_cpp/step_potential_rk4.cpp
The C++ source code for simulating a wave-packet scattered by a step-potential.step_potential_cpp/plot.py
A script to generate the animation from the result of step_potential_rk4.sudo port install ffmpeg +gpl +postproc +lame +theora +libogg +vorbis +xvid +x264 +a52 +faac +faad +dts +nonfree
conda install numpy scipy matplotlib jupyter ipython imagemagick
conda activate
jupyter-notebook
# macOS
sudo port install eigen3
# Ubuntu
sudo apt install libeigen3-dev
step_potential_cpp/Makefile
with proper path to your Eigen installation.cd step_potential_cpp
make
cd step_potential_cpp
./step_potential_rk4
conda activate
./plot.py