Omniadisce

Computational physics 20.8: Going further — energy levels as eigenvalues

Lesson Beginner

Join free to take this lesson

Anyone can look around, but taking a lesson needs a free account. With one, your answers are checked step by step and your progress is saved, so you can stop and pick up where you left off on any device.

14 steps · about 35 min

By the end you can

  • Work out the bend of ψ from three neighbours: (ψ[i − 1] − 2ψ[i] + ψ[i + 1]) / dx²
  • Build the matrix D whose product with ψ gives the bend at every inner place
  • Write Schrödinger's equation as H @ psi = E * psi, with H = −D/C + np.diag(U)
  • Find every level at once with np.linalg.eigh, and check them against the exact box and the shooting method
  • Find the levels of a finite well by changing U

Who it is for: Anyone who has done unit 20 of this course (lessons 20.1-20.5), lesson 12.7 (np.linalg.eigh) and applied maths lesson 7.5 (eigenvalues and eigenvectors).

The steps

  1. The bend from three neighbours
  2. The bend at one place
  3. Every bend at once: a matrix
  4. Build D
  5. Schrödinger's equation as an eigenvalue problem
  6. Which is the eigenvalue?
  7. np.linalg.eigh, every level at once
  8. The box, all at once
  9. How many below 5 eV?
  10. Level n against the exact box
  11. The same digits
  12. The finite well in one line
  13. The finite well
  14. Two roads to the levels

Discussion 0 comments

Log in to join the discussion.

× Enlarged view