• Stars
    star
    102
  • Rank 333,587 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Schrodinger-equation quantum wave function visualization

QuantumWaves

A 3D surface-plot Schrodinger-equation quantum wave function visualization.

Visualization

  • Surface represents probability density function
  • Lines on the x and y axes represent real and imaginary waves.

This code is extremely messy because it was hand-crafted for a one-off visualization! I share it here in the case its useful for anyone in the future - but it's woefully undocumented and will not be supported in the future!

The video this visualization appeared in can be watched here!

Simulation code is in schrodinger/schrodinger.py folder, based heavily on this code by Azercoco

Visualization code is in quantumwaves.py and utilizes pyqtgraph primarily, using its OpenGL capabilities.

Note that I also configured pyqtgraph internally to use multisampling frame buffers for antialiasing (MSAA 8x)

CODE PUBLISHED UNDER MIT LICENSE

Hope it's useful!