Squeezed Quantum States in Two Dimensions
Version 1.0.2 (2.45 MB) by
Duncan Carlsmith
Live Script exploring numerical integration of the time-dependent Schrödinger equation in two dimensions with squeezed coherent states.
This educational Live Script explores time-dependent solutions to the Schrödinger equation in two dimensions using a second-order, fourth-order, or sixth-order stencil in space, sparse matrices, and ode45 adaptive integration in time and alternatively matrix exponential time integration. Numerical results for the evolution of Gaussian wave packets called squeezed coherent states in a two-dimensional anisotropic harmonic oscillator potential are compared to analytic results. A quartic term in the potential may be added to disrupt the wave functions.
This script may interest students and instructors in physics and related fields. 'Try this" suggestions, 'Challenges,' hyperlinks, and references are provided for further exploration. Additional related Live Scripts by the author are available here.
Cite As
Duncan Carlsmith (2025). Squeezed Quantum States in Two Dimensions (https://www.mathworks.com/matlabcentral/fileexchange/181085-squeezed-quantum-states-in-two-dimensions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.