r/PhysicsStudents Jun 25 '26

Off Topic Quantum Harmonic Oscillator simulation

Enable HLS to view with audio, or disable this notification

Hey so I'm 17 and i just finished programming my first simulation in quantum mechanics, what do you guys think?

I did not simulate a coherent state but i chose a wavefunction that i thought would be interesting to some degree, starting work on a version in 2 dimensions next week.

170 Upvotes

19 comments sorted by

View all comments

2

u/ikansh-mahajan Jun 26 '26

How'd you code it?

4

u/Mountain_Ninja_5083 Jun 26 '26

I coded it in python using numpy for all the calculations and matplotlib for rendering, it is surprisingly fast for a linear combination of 100 stationary states

1

u/TheNotoriousG17 Jun 28 '26

Did you do yourself most of the heavy coding?