A Python tool for the exact calculation of the density of states (DOS) for a 2D microsystem of non-interacting, indistinguishable bosons in an isotropic harmonic oscillator potential.
The problem of calculating the density of states is fundamental in statistical mechanics. For a quantum system, the density of states
This project implements a "decently fast" algorithm using dynamic programming to find the exact DOS. The energy levels of a single particle in a 2D quantum harmonic oscillator are given by
For a system of
While the algorithm is optimized, the underlying problem is combinatorial and scales exponentially. Calculations for systems with more than ~36 particles can become time-consuming.