Lesson 6 of 15
Hermite Polynomials
Hermite Polynomials
Hermite polynomials (physicists' convention) appear as the eigenfunctions of the quantum harmonic oscillator. They satisfy the differential equation:
Three-Term Recurrence
The most efficient way to evaluate is via the recurrence relation:
The first few polynomials are:
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 |
Quantum Harmonic Oscillator
The normalized energy eigenstates of the quantum harmonic oscillator (in dimensionless units) are:
These satisfy .
The probability density of finding the particle at position in state is:
Your Task
Implement hermite_H(n, x) using the three-term recurrence. Implement qho_wavefunction(n, x) for the normalized wavefunction . Implement qho_probability(n, x) for the probability density .
All constants (factorials, normalization, etc.) must be computed inside the function bodies.
Python runtime loading...
Loading...
Click "Run" to execute your code.