Skip to content

ArtemKashapov/schrodinger_equation_1d_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schrodinger_equation_1d_solver

The presented desktop application was made to solve 1d schrodinger eqation. It implements Numerov's algorithm (step by step description available in this paper: http://physics.unipune.ac.in/~phyed/23.1/23.1_computation.pdf) in solver.py.

The GUI is in the gui.py it uses eel package (all requirements in requirements.txt), html, css and javascript.

To run this application you need to:

  1. install python (I use 3.9.x);
  2. install all packages, e.g. use pip: pip install -r requirements.txt.
  3. Run gui.py

To build it into desktop executable app, you need to install pyInstaller and run:

python -m eel gui.py web --onefile --noconsol --i "Absolute location to icon.ico"

Quick start guide:

  1. Fill all fields like in the picture: image
  2. Press "Calculate" button.
  3. You will get matplotlib plot: image (analitical solutions for harmonic oscillator (F = x^2 / 2 in this case) are: E = 1.5, 3.5, 5.5, 7.5).

Enjoy it!

This work was done during the quantum mechanics university course.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published