Skip to content

eholmgren/schrodinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schrodinger

Eric Holmgren

This project is used to calculate the lowest energy wave function on a given domain and potential field in terms of a given basis set (either Legendre or Fourier polynomials). The

To use this program, call the python program schrod.py with your choice in input parameters. This looks like:

python schrod.py --basis_func='legendre' --basis_size=5 --c=1.0 --v=1.0 --domain=(0,1)

The lowest energy state is given by the eigenvector of the Hamiltonian matrix <Ψ|H|Ψ> corresponding with its smallest eigenvalue.

Coverage and test passing can be tested by running:

python -m pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages