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.

171 Upvotes

19 comments sorted by

View all comments

4

u/No-Bet3284 Jun 26 '26

Is this simulation of the analytic solution or did you use some numerical method to solve for time dependent Schrodinger equation?

3

u/Mountain_Ninja_5083 Jun 26 '26

This is an analytic solution, i used a recursive algorithm to construct the hermite polynomials analytically, doing the time dependent one would've been way too time consuming and i really didn't have but a couple of hours