A simple Python-based open source software library for the numerical simulation of the linear or nonlinear time-dependent Schrödinger equation in one and two dimensions.
- Article published: Eur. J. Phys. 39 (2018) 055802: https://doi.org/10.1088/1361-6404/aac999
You can download the .zip file from the "Clone or download" button
The .zip file contains the code and twenty examples. After unzipping it, examples can be run from the directory where bpm.py is, by writing in the command line, for instance:
python3 bpm.py Sech2_Pot_1D 1D
python3 bpm.py Gaussian_Vortex_interf_2D 2D
In notes_code.pdf, detailed explanations on the code are provided, together with simple installation guidelines for the required software (Python and Mencoder)
This material is part of the paper [European J. Physics submission]. Please refer to it if you use this software in a publication.
We have also prepared video tutorials that accompany this note. The videos can be found at the following links:
- Installing on MacOS: https://youtu.be/ErNEuouwrrg
- Installing on Windows7: https://youtu.be/0-1xoPWXZE0
- Installing on Linux: https://youtu.be/lTjbssbg_0A