Skip to content

A module for solving and visualizing Schrödinger equation.

License

Notifications You must be signed in to change notification settings

juafrapat/qmsolve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qmsolve

This is an attempt at making a solid, easy to use solver, capable of solving and visualize the Schrödinger equation for multiple particles, and representing the solutions both in 1D, 2D, and 3D.

This is work in progress. Stay up to date about the next features!

Installation

Just clone or download this repo. The package requirements are:

  1. numpy
  2. matplotlib
  3. scipy
  4. mayavi (only for 3D simulations)

Examples

Just run from the command line the corresponding Python scripts:

python 1D_harmonic_oscillator.py

animation

python 3D_two_gaussian_wells.py

animation

python 3D_four_gaussian_wells.py

animation

python 1D_interactive_fermions_HO.py

animation

python 1D_non_interactive_fermions_HO.py

animation

In the examples from above you can check how in the non interactive case the energy levels are equally spaced and degenerated, however in the interactive case the degeneracy is broken. As a starting point I suggest you to modify the confinement and the interaction potential to see what happens!

Contributors

About

A module for solving and visualizing Schrödinger equation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%