This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · posts/oscillator-levels

How far a finite-difference Hamiltonian's levels sit below n + 1/2

Put on a grid and diagonalize: the levels come out at , a little low. How low is predictable. First-order perturbation theory gives , and for the six lowest levels the measured shift matches it to within half a percent (the test allows 4%).

The three-point second difference is , so the grid Hamiltonian is the true one plus . To first order the level moves by the expectation of that, and for the oscillator . The grid's error is a small perturbation of the Hamiltonian, so the perturbation theory used for the Stark shift predicts it.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 18–76