Yet another testing module for QuantumVector module:
www.numeric-quest.com/haskell/QuantumOscillator.html
There is a lot of pretty theory and very little code
because the theory solves it all; well, almost, since
one can always find some mundane tasks for Haskell
to handle.
But the code at least tests tensor products for
three-dimensional, anisotropic oscillators.
Harmonic oscillators are as important to physicists
as "factorial" and "fibonacci" functions are to
Haskellites. :-)
Very few examples in Quantum Mechanics have exact
solutions and this is one of the few good exceptions.
And pretty too.
It serves as a backbone for building more complex
apparata, and there are plenty of applications that
can be modelled as harmonic oscillators.
I could not help posting this example. Jerzy does it
too in his paper.
Jan