🧱 Wave packet scattering
3D visualization
Section titled “3D visualization”🎯 Demonstration of how different views can seamlessly be attached to the same (physics) model
👉 Code base is exactly the same as the above demo, only 3D-views have been used here!
🧠 Based on QuantumScattering2D.html by Daniel V. Schroeder, Weber State University
⭐ More physics software by Daniel V. Schroeder can be found here
📌 See als Simulating and visualizing the double slit experiment with Python
This program simulates scattering of a quantum particle from a stationary barrier in two dimensions. The particle’s initial state is a Gaussian wavepacket, whose average energy you can adjust. You can choose from seven different barrier shapes, and adjust their properties. Try a variety of settings to explore reflection, transmission, tunneling, and interference.
The brightness of the wavefunction image indicates the wavefunction’s magnitude, while the color hue indicates the phase, going from red (pure real and positive) to light green (pure imaginary and positive) to cyan (pure real and negative) to purple (pure imaginary and negative) and finally back to red. Use the slider to adjust the overall brightness.
The simulation uses natural units in which the particle’s mass, Planck’s constant , and the (nominal) screen pixel width are all equal to . It works by integrating a discretized version of the time-dependent Schrödinger equation, with a grid spacing of one unit and a grid size of . The wavefunction is always zero along all edges of the square grid, so the particle is effectively trapped inside a box. — Paraphrased from instructions at QuantumScattering2D.html