  Quantum thermodynamics of a trapped two-level atom under the influence of a
controlled light field is investigated. The population dynamics and decoherency
function are obtained and discussed. The characteristic functions, work
distribution functions and Helmholtz free energies are calculated and the
consistency with the Jarzynski theorem is verified.
