Numerical implementation of the position-resolved resonance quantization formalism
Lucas Weitzel
Abstract
The files in "simulations.zip" are associated with "L. Weitzel Dutra Souto, Generalized pseudomode theory for lossy cavities, Dissertation, Albert-Ludwigs-Universität Freiburg, 2025". The notebook 'spectral_density_and_parameters_comparisons.ipynb' contain the numerical implementation of the formalism as introduced in L. Weizel, A. Buchleiter and D. Lentrodt Phys. Rev. Research 8, 033108 (2026), and can be used to reproduce the figures therein. In remaining files, the said formalism is used to simulate the time evolution of a two-level system in a simple cavity, in different coupling regimes and as a function of the position, and compared against an exact calculation. To facilitate the analysis, the results of previous computations of these time evolutions were stored in the available .txt files.