Fock States

Matlab routines to evaluate eigenstates of the quantum harmonic oscillator and Hermite polynomials

https://github.com/thisrod/fockstates

Al momento, stai seguendo questo contributo

These routines evaluate the wave function for an eigenstate of the quantum harmonic oscillator, and for linear combinations of those eigenstates.

The eigenstates are closely related to Hermite polynomials. Besides these routines, they could be evaluated by hermiteH from the symbolic toolbox, or by the numerical hermite routines posted on File Exchange by Avan Suinesiaputra and Paul Fricker, and HermitePoly by David Terr. The current code has the following advantages:

1. When evaluating eigenstates n = 180 and above, the values of the Hermite polynomials are too big to represent as double precision numbers.

2. These routines are two orders of magnitude faster than hermiteH.

3. The numerical Hermite polynomial routines mentioned above become unstable around n = 60. The current routines evaluate correct eigenstates for n = 1e7, so the Hermite polynomials derived from them will overflow long before the routines become unstable. Users with sufficient patience are encouraged to test them further.

Cita come

Rodney Polkinghorne (2026). Fock States (https://github.com/thisrod/fockstates), GitHub. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux

Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate

Versione Pubblicato Note della release Action
1.0.1

Added image

1.0.0

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.