Homework Statement
I have an assignment for my thesis to make Hamiltonian for Schrodinger equation. I won't go into physics part of it, because that is well understood.
I need to somehow generate a specific matrix for Hamiltonian (H).
Please see the attached file of what I need to get...