File Exchange

image thumbnail


version 1.1 (188 KB) by Laurent NEVOU
1D Time independent Schroedinger equation solver


Updated 27 Feb 2019

GitHub view license on GitHub

This code solves the time independent Schroedinger equation in 1D with a constant mass.
It uses 4 different algorithms that can be switched ON/OFF:
-> The FDM: Finite Difference Method
-> The Scanning or Shooting method using the Euler approach
-> The PWE: Plane Wave Expansion method that solves the equation in the Fourier space
-> The TMM: The Scanning or Shooting method using the Tranfer Matrix Method

Three different potentials are proposed:
-> The multilayer where the height and thickness of each layer can be adjusted
-> The parabolic
-> The sinus

Any potential can be loaded with homogeneous grid z [m] and V [eV] and be solved with the 3 first methods. For the TM method, a sequence of layer must be provided.

Cite As

Laurent NEVOU (2020). Q_Schrodinger1D_demo (, GitHub. Retrieved .

Comments and Ratings (2)


very convenient !

MU Wei



Description modified


Shooting added in description


Image uploaded

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux