Position vs. Harmonic basis for solving S.E.

Click For Summary

Discussion Overview

The discussion revolves around the comparison of using a harmonic basis versus a position basis for solving the Schrödinger equation (S.E.) in two dimensions. Participants explore the relative accuracy, efficiency, and potential drawbacks of each approach, particularly in the context of quantum mechanics and specific applications like quark calculations.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant has developed a code to solve the 2D S.E. using a harmonic basis and seeks feedback on its accuracy and efficiency compared to the position basis.
  • Another participant suggests that the harmonic basis may be more suitable for confining potentials, such as those encountered in quark calculations, but expresses concerns about its effectiveness for large distance behaviors of wave functions.
  • A participant with experience in quantum optics notes that using the Fock basis can be complicated depending on the Hamiltonian, while transformations involving quadrature eigenstates are clearer.
  • One participant appreciates the harmonic basis for its analytical calculation of kinetic energy matrix elements but mentions issues with truncation errors due to insufficient position grid spacing for larger harmonic eigenfunctions.
  • Several participants express interest in additional resources or tutorials on solving the S.E., with one suggesting that the position basis might be more straightforward for incorporating potential elements into the Hamiltonian.
  • A variational approach is proposed as potentially easier than the discussed methods.

Areas of Agreement / Disagreement

Participants express differing opinions on the advantages and disadvantages of the harmonic versus position basis, indicating that multiple competing views remain. No consensus is reached regarding the superiority of one method over the other.

Contextual Notes

Some limitations are noted, such as the dependence on specific Hamiltonians and the challenges associated with numerical aspects like error analysis and truncation errors in the harmonic basis.

christianjb
Messages
529
Reaction score
1
I've monkeyed up a code which solves the 2D S.E. in a harmonic basis- i.e. writing the wf as a linear combination of harmonic oscillator states.

Has anyone got any references/comments on the relative accuracy/efficiency/drawbacks of using a harmonic basis instead of using the more direct position basis?
 
Physics news on Phys.org
I don't know of a reference, but my guess would be that the harmonic basis is better for a confining potential, as with quarks.
If the large distance behavior of the wave function, were exp{-x/a},
then I think the harmonic basis would not be so good.
Most quark calculations use a harmonic basis.
 
In my experience, (in quantum optics) using the fock (i.e. eigenstates of the simple harmonic oscillator) basis to solve the SE can be messy depending on the Hamiltonian. For example, a beam splitter transforms fock states in a complicated manner, but its action on quadrature eigenstates (position and momentum eigenstates) is more transparent.
 
Thanks for the replies.

I guess if it's good enough for doing quarks then it ought to be good enough for me!

I'd still like to see a reference looking at the numerical aspects- error analysis etc.

My system is near harmonic- so it makes sense to me to use harmonic basis functions. I also like the fact that the kinetic energy matrix elements can be calculated analytically in this basis.

One disadvantage I have encountered is that the position grid spacing isn't always large enough to accommodate larger harmonic eigenfunctions, so I get some truncation error.
 
Hello christianjb,

would you mind giving a small tutorial on how you solved the Schrödinger equation?

For example what programs did you use? Maybe you could post the sourcecode?
 
Edgardo said:
Hello christianjb,

would you mind giving a small tutorial on how you solved the Schrödinger equation?

For example what programs did you use? Maybe you could post the sourcecode?

Solving the 1D or 2D S.E. is not a particularly difficult problem once you get familiar enough with manipulating QM expressions.

Perhaps the most straightforward way is to use the familiar position basis (x-basis). That makes it easy to put the potential elements into the Hamiltonian, but you've got to use a finite difference scheme to put the KE elements in (i.e. evaluating the d^2/dx^2 operator).

I like using a H.O. basis because the KE matrix elements can be worked out analytically. However, the trade-off is that you then have to calculate the integrals over the basis functions of the PE terms.

Whatever your approach- you'll need to solve an eigenvalue/eigenvector eqn. at some point. I use the 'jacobi' subroutine from Numerical Recipes to do that.

Not a very good answer. I'm a bit pressed for time right now- but try starting up a new thread if you want to know the details and various peoples' approaches.

I'm sure there are lots of pages on the internet that give step by step instructions.
 
A variational calculation might be easier.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 146 ·
5
Replies
146
Views
11K