Skip to content

PanosEconomou/waveq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waveq

Waveq is a simulation for the 2D Schrodinger equation with arbitrary potential terms. It is based on taichi and python. To do this, you need python3.10 and no later and install taichi by

pip install taichi

once this is done, you can run

python wavefunction.py

with the following controls:

[SPACE]: change view modes between probability and real/imaginary parts
[ESC]: exit
P: Overlay a visualization of the potential
C: Clear, i.e. set the wavefunction to zero
[MOUSE]: Clicking (and/or dragging) the mouse disturbs the wavefunction by a pulse. 

Here are some pictures from this

setup ball
2-sources-complex 2-sources

About

Realtime numerical solution for the 2D Schrodinger equation on the GPU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published