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

179

u/towinu Jul 28 '19

Can you please explain what the fuck I’m looking at? I know a very small amount about the subject.

97

u/[deleted] Jul 28 '19

it is a really good simulation of the time dependent schroedinger's equation.

ignore Re(\psi) and Im(\psi), those aren't physically meaningful anyway and could (should) be omitted from the simulation since all it does is confuse.

the quantity psi is the wavefunction that represents where a particle "is" in space and time, though "is" is kinda tricky since its probablistic. its somewhere in there.

that also includes the potential barrier. the simulation accurately models quantum tunneling through a potential barrier.

0

u/[deleted] Jul 28 '19

[deleted]

25

u/[deleted] Jul 28 '19

possibly.

if you integrate |\psi|2 over x=-\infty to x=\infty, you get "1".

this means that the particle exists somewhere but only once. you can guess where it is most probable by the maximum of the function but that's no guarantee.

0

u/[deleted] Jul 28 '19

[deleted]

2

u/[deleted] Jul 28 '19

yeah.

measurement has its own time/energy position/momenta uncertainty. its a conjugate variable thing.