Numerical 2D Harmonic Oscillator

I'm solving the 2D harmonic oscillator, numerically.

[tex]
-\frac{1}{2}\left(
u_{xx} + u_{yy}\right) + \frac{1}{2}(x^2+y^2)u = Eu
[/tex]

The solutions my solver spits out for say, the |01> state, are linear combinations of the form

[tex]
|u\rangle = \alpha_1 |01\rangle + \alpha_2 |10\rangle
[/tex]

which is obviously a perfectly fine solution which has the correct eigenvalue. But I'd like for my solver to somehow be "smart" enough to generate the typically defined pure gauss-hermite solutions, automatically. Is there any way to force this?

-js
 
I decided just to break the degeneracy by choosing different frequencies in the different directions. Nevermind!
 

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top