$25
Exercise 1: Continuous time-ind. S.E.
Consider the one-dimensional quantum harmonic oscillator defined by the Hamiltonian
H =pˆ2+ω2qˆ2
(a) Write a Fortran program to compute the first k eigenvalues Ek and eigenvectors |ψki.
(b) How would you rate your program in terms of the priorities we introduced in class for good scientificsoftware development (Correctness, Stability, Accurate discretization, Flexibility, Efficiency)?