Harmonic oscillator in matrix form

intervoxel
Messages
192
Reaction score
1
I know that the HO hamiltonian in matrix form using the known eigenvalues is
<i|H|j> = E^j * delta_ij = (j+1/2)hbar*omega*delta_ij, a diagonalized matrix.

How do I set up the non-diagonalized matrix from the potential V=1/2kx^2?
 
Physics news on Phys.org
<br /> \langle x&#039;|H|x\rangle = \delta(x-x&#039;)\left[ -\frac{\hbar^2}{2m}\frac{\partial^2}{\partial x^2} + \frac{1}{2}kx^2\right]<br />

Not very interesting, it's what you might think of as the Hamiltonian anyway.
 
Nice, peter@cam,

Can you cite a reference for further study?
 
Well I can't think of a book reference, although I'm sure some people on this board can.

The hilbert space for a 1-d quantum particle is infinite dimensional. In the energy basis, it is a discretely infinite thing, whereas in the position basis it is continuously infinite.

You just need to get into a habit of thinking about functions as infinite dimensional vectors, and operators as matrices.
It might help you visualise it if you do a discretised case writing out differentiation as a finite difference matrix (eg using Matlab). The hamiltonian above is non-diagonal because differential operators aren't diagonal in the position basis. (even though paradoxically they come attached with a delta function).

Its important to remember that *all* operators should come with two indices. Just as a matrix has two subscripts, an operator on a function can always be thought of as a matrix multiplication by representing it with a kernel:
<br /> (\mathsf A \mathbf{f})(x) = \int dx&#039; A(x,x&#039;)f(x&#039;)<br />
c.f
<br /> (\mathsf A v)_i = \sum_j A_{ij}v_j<br />

Once you realize that the differential operator is really
<br /> D(x,x&#039;)=\delta(x-x&#039;)\frac{d}{dx&#039;}<br />
and that the position operator is really
<br /> X(x,x&#039;)=\delta(x-x&#039;)x&#039;<br />
then the analogy with finite-d linear algebra becomes very clear, and constructing matrix elements doesn't feel as unnatural.
 
Thanks for your valuable help. It's clear now.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. Towards the end of the first lecture for the Qiskit Global Summer School 2025, Foundations of Quantum Mechanics, Olivia Lanes (Global Lead, Content and Education IBM) stated... Source: https://www.physicsforums.com/insights/quantum-entanglement-is-a-kinematic-fact-not-a-dynamical-effect/ by @RUTA
If we release an electron around a positively charged sphere, the initial state of electron is a linear combination of Hydrogen-like states. According to quantum mechanics, evolution of time would not change this initial state because the potential is time independent. However, classically we expect the electron to collide with the sphere. So, it seems that the quantum and classics predict different behaviours!
Back
Top