Squeezed Quantum States in Two Dimensions

Live Script exploring numerical integration of the time-dependent Schrödinger equation in two dimensions with squeezed coherent states.
6 Downloads
Updated 18 May 2025

View License

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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SqueezedQuantumStatesInTwoDimensions folder

Version Published Release Notes
1.0.2

Added matrix exponential time integration.

1.0.1

Sparse matrices improve performance.

1.0.0