r/Python • • Jul 27 '19

Simulating Quantum Mechanics Using Matplotlib and Tkinter

https://gfycat.com/wellgroomedunsteadyballoonfish
1.4k Upvotes

60 comments sorted by

View all comments

1

u/roseinabox28 Jul 28 '19

Is there a tutorial or git hub for this?

1

u/--CreativeUsername Jul 28 '19

In the readme file I linked to the exercises given in Computational Physics by Mark Newman, which you can download for free. Exercise 9.8 and 9.9 gives a detailed explanation on how to numerically solve the Schrodinger equation in a finite 1D region when there is no potential involved.

As for how to integrate a matplotlib animation with tkinter and add interactivity, I may put a gist out or something like that in the future.