qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.simulate.Interaction. delta  (   )[source]

The diagonal of the Hamiltonian without Doppler or additional laser frequency shifts

$$ \operatorname{diag}(H_\text{diagonal}) = A\vec{\omega}_0 + B\vec{\omega}, $$

where $A$ (Interaction.atommap) is a matrix with shape (atom.size, atom.size), mapping the atomic frequencies $\vec{\omega}_0$ onto the diagonal of the Hamiltonian, and $B$ (Interaction.deltamap) is a matrix with shape (atom.size, #lasers), mapping the laser frequencies $\vec{\omega}$ onto the diagonal of the Hamiltonian.

Returns:
Deltandarray

The diagonal of the Hamiltonian without Doppler or additional laser-frequency shifts.