We consider a Carnot cycle engine in which the working medium is a photon
gas inside a cavity with perfectly reflecting walls. The thermal baths responsible for supplying heat to the radiation field is a stream of three‐level atoms. The phase of the atomic coherence provides a new and interesting control parameter. Here we discuss the questions pertaining to the preparation energy of atomic coherence with an explicit calculation of the associated entropy change.