2d Schrodinger equation - numerical solutions

Click For Summary

Discussion Overview

The discussion centers around numerical solutions to the 2D Schrödinger equation, specifically in the context of simulating quantum systems using Python. Participants explore the formulation of the equation, initial conditions for simulations, and the representation of wave functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant shares a numerical equation for simulating the 2D Schrödinger equation and inquires about the necessity of initial conditions for the first two time steps.
  • Another participant provides a link to additional resources on numerical solutions, suggesting it may be helpful.
  • A participant expresses confidence in their approach, noting similarity between their discrete equation and the one presented.
  • Another participant describes the form of a moving Gaussian wave function and questions the use of a previous time step in the participant's equation.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the specifics of the numerical method or the formulation of the wave function, indicating that multiple views and uncertainties remain in the discussion.

Contextual Notes

There is uncertainty regarding the initial conditions required for the simulation and the implications of using different time steps in the numerical equation.

Who May Find This Useful

This discussion may be useful for those interested in numerical methods for solving partial differential equations, particularly in quantum mechanics, as well as for individuals looking to implement simulations in Python.

diegzumillo
Messages
180
Reaction score
20
Hi there,

I was expecting to find a "simulations forums" somewhere here, if there is a better place for this thread please let me know :)

OK, here's the problem: I'm trying to make a simulation with PYthon, at first with a square potential, for simpler potential/boundary conditions. But I'm new on this numerical stuff, so I'm studying about solving PDEs numerically and all, and this is the equation I have arrived:
(with the indices i,j and l associated with x,y and t respectively)
[tex]\Psi^{l+1}_{i,j}=\frac{i\Delta t \hbar}{m (\Delta x)^2}(\Psi^{l}_{i+1,j}+\Psi^{l}_{i-1,j}+\Psi^{l}_{i,j+1}+\Psi^{l}_{i,j-1}-4\Psi^{l}_{i,j})+\Psi^{l-1}_{i,j}+\frac{2\Delta t}{i\hbar}V^{l}_{i,j}\Psi^{l}_{i,j}[/tex]
(it may not visualize correctly)

From this equation I see that it needs two previous steps to calculate a new one. So my initial conditions must fill the first two steps? Is this how I create a moving Gaussian, for example? by making the first two steps gaussians with a displacement between them? I'm a little lost here :P
 
Physics news on Phys.org
please take this link
http://www.chemistry.emory.edu/faculty/bowman/old_classes/chem430sp99/num%20sol/NUM%20SOL.html
 
Last edited by a moderator:
I think I'm on the right track, his discrete equation is just like mine.
 
A state is completely specified by the wave function at one instant in time. A moving gaussian has a wave function like exp(-(x^2+y^2)/(2*w^2))*exp(i(ax+by)). The first term gives the shape; the second term gives the momentum.

Can I ask why you have a [tex]\Psi^{l-1}_{i,j}[/tex] instead of [tex]\Psi^{l}_{i,j}[/tex] ?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K