- #1
vankoks
- 1
- 0
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.
Homework Equations
See attached file
The Attempt at a Solution
I have thought of solution for this in C, but I don't know how to syntax this in Mathematica.
The solution for this in C would be to generate 7x7 matrix where elements (i,j) would be made by:
If
i=j
ΔE
Else
If
i-j=1
Ω(rf) complex conjugate
i-j=-1
Ω(rf)
Else
0