Skip to content

๐Ÿ“ฆ Particle in a box

JavaScriptThree.js

The Infinite Square Well (ISW) is an idealization of a physical system that strictly prohibits the particle from straying beyond a certain range of x-values, but exerts no influence over the particle within those limits. So the particle is โ€œfreeโ€ to roam, but only over a prescribed range on the x-axis. โ€” Visualizing Quantum Mechanics with Python

Source

๐Ÿง  3D visualization based on the book Visualizing Quantum Mechanics with Python
๐Ÿง  2D visualization based on SquareWell.html by Daniel V. Schroeder
๐Ÿ A VPython demo is available as well, see infinite_squarewell.py

๐Ÿ“Œ Highly recommended background information: Simulating quantum mechanics with Python
๐Ÿ‘‰ Note that the energy of the eigenstates go like n2n^2.
๐Ÿ‘‰ For example, we observe that the n=2n = 2 state has four times the energy, and therefore four times the frequency of the ground state n=1n = 1!
๐Ÿ‘‰ More physics software by Daniel V. Schroeder can be found here

A 2D Infinite Square Well (ISW) is a potential well that has zero potential energy over a finite domain in two directions, say the xx- and yy-directions, and is infinite outside that domain. The simplest case is a rectangular domain in the xyxy-plane with sides LxL_x and LyL_y. In this case the 2D time-independent Schrรถdinger wave equation factors into two 1D time-independent Schrรถdinger wave equations, one in the xx-direction and one in the yy-direction. The wavefunction is then a product of the two 1D wavefunctions. The wavefunction is then given by a superposition of energy eigenstate wavefunctions of the form ฯˆnm(x,y)=Asinโก(nฯ€x/Lx)sinโก(nฯ€y/Ly)\psi_{nm}(x, y) = A \sin(n\pi x/L_x) \sin(n\pi y/L_y ). โ€” Visualizing Quantum Mechanics with Python

Source

๐Ÿง  Idea taken from the book Visualizing Quantum Mechanics with Python
๐Ÿ‘‰ Highly recommended background information: Visualizing complex numbers and wavefunctions in one and two dimensions

๐Ÿ“Œ Analytic time evolution for a particle in a two-dimensional infinite square well.
๐Ÿ“Œ The well is represented by the stationary basis ฯˆ(n,m)=sin(nฯ€x/Lx)sin(mฯ€y/Ly)\psi(n,m) = sin(n\pi x/L_x) sin(m \pi y/L_y).
๐Ÿ“Œ The wavefunction evolves by applying the corresponding phase factors.