Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.simulate

The main part of qspec.simulate consists of a class based framework to set up laser-atom interactions. Using this system is comparable to drawing an energy level scheme. No mathematical knowledge is required. All mathematical objects, such as Hamiltonians or Rabi frequencies, are generated and used internally to calculate the rate equations, the Schrödinger or master equation or a Monte-Carlo master equation. The class system is shown in the following sketch.

A State is a single quantum mechanical state. A DecayMap links multiple states with the same user-defined labels through spontaneous decay. A list of all states and the DecayMap object form an Atom. A Laser consists of a frequency, an intensity, a Polarization and a directional vector. The Atom and a list of lasers is combined in an Interaction. The differential equation solvers can be accessed directly from the Interaction. An Environment can be defined to alter the quantum state energies. At the moment, this only supports linear Zeeman shifts. The list of the here shown member functions is not complete for better clarity.