- qspec.simulate. Interaction.hamiltonian ( t , delta = None , m = 0 , v = None )[source]
-
- Parameters:
-
- tarray_like
The times when to compute the solution.
- deltaarray_like
An array of frequency shifts for the laser(s). 'delta' must be a scalar or a 1d- or 2d-array with shapes (n, ) or (n, #lasers), respectively.
- mOptional[int]
The index of the shifted laser. If delta is a 2d-array, 'm' ist omitted.
- varray_like
Atom velocities. Must be a scalar or have shape (n, ) or (n, 3). In the first two cases, the velocity vector(s) are assumed to be aligned with the x-axis.
- Returns:
-
- outNone
The integrated master equation as a complex-valued array of shape (n, #states, #states, #times).