learning_phys said:
are you saying that in the quantum spring, the amplitude is discrete?
Well, you might want to be careful. How are you defining amplitude? The quantum spring is different from the classical spring, and one of those differences is that the idea of a classical trajectory does not apply.
There are plenty of plots of harmonic oscillator wave functions on the web, and from those you can easily compare the classical amplitudes to the shape of the wavefunctions.
For example, see these two links from the site your original link was from:
comparing classical amplitudes and the wavefunctions:
http://hyperphysics.phy-astr.gsu.edu/hbase/quantum/hosc5.html
and for some comparisons between the classical and quantum probabilities:
http://hyperphysics.phy-astr.gsu.edu/hbase/quantum/hosc6.html#c2
also, the total energy does depend on the frequency according to your equation. why do you say the frequency doesn't change?
In your link, the diatomic moelcule is modeled by a spring with force constant k connecting two masses. If you have a different spring or different masses, which means a different molecule, then you'll have different frequencies. But for a specified molecule, you'll have a range of discrete energies, all based on a single frequency.
So if you compare two different molecules, their sets of energy levels will be different, because the energy depends on the frequency. But for a specific molecule, the frequency is a constant.
(All of this applies to the simple model given in your link, of course.)