3.1. Revisiting the Single-Photon Wavepacket Scenario
In Ref. [
13], the initial state of the field was considered as a single-photon pulse added to a zero-temperature environment, namely,
        
        where 
 is the vacuum state of all of the field modes. Note that the polarization is fixed as that of the 
 modes, thus imposing an environmental condition to which the atom is expected to adapt. The level of adaptation will depend on the pulse shape, 
, which admits a spatially dependent representation
        
		For simplicity, our electromagnetic environment is one-dimensional in space, explaining why only coordinate 
z appears. Also, the modes propagate towards the positive direction, with a dispersion relation in the form 
. This idealized model closely approximates the experimental scenario known as waveguide quantum electrodynamics (waveguide-QED) [
21,
22]. If the photon is prepared by means of the spontaneous emission of a distant source atom (not shown in the model), then we would have that
        
        where 
 is the linewidth of the pulse (the lifetime of the atomic source), and 
 is the central frequency of the photon (the transition frequency of the atomic source). The size of the pulse in space is characterized by 
 in this case.
The key quantities analyzed in the context of dissipative adaptation are transition probabilities and their relations with the absorbed work from an external drive. In the quantum case, we are especially interested in the transition probability from 
 to 
,
        
        where 
, 
H is the global Hamiltonian in Equation (
2), and 
 is the partial trace over the field modes. Taking advantage of the number conservation in the rotating-wave approximation, we restrict our model to the single-excitation subspace, which is parametrized by 
. We now have that
        
To obtain the probability amplitude of the field, we make a Wigner–Weisskopf approximation, thus obtaining that
        
        where 
 is the Heaviside step function. This expression evidences the superposition of the freely propagating driving field with that emitted by the atom. Because the incoming pulse is fixed to the 
 modes, we have that 
. By using Equations (
11) and (
12), we find that
        
        after an appropriate change of variables. The meaning of Equation (
13) is that, for the system to get to state 
 while departing from 
, the entire history of the excitation amplitude from time 0 to 
t matters.
We can think of two options for maximizing that integration: (1) by increasing the excitation of the atom (making  as large as possible); (2) by increasing the time duration of the pulse (without necessarily exciting the atom too much; ).
To test options (1) and (2), we have to solve for the excitation amplitude. Employing the Wigner–Weisskopf approximation once again, we have that
        
		For 
, this gives us
        
        which provides a generic solution.
For the sake of definiteness, let us take the exponential profile from Equation (
9), which gives
        
        where
        
        with 
. The resonance condition, 
, is necessary to maximize 
.
Now, the relevant degree of freedom is the size of the pulse, 
, given fixed 
 and 
. If 
, the pulse is very long and the excitation is arbitrarily small: 
, as discussed in option (2). If 
, the pulse is arbitrarily short, also causing the excitation probability to vanish: 
. This is the worst-case scenario, since both the size and the duration of the atomic excitation are negligible. For intermediate pulse sizes, 
, we find from Equation (
16) that
        
        where we have defined 
. The excitation probability is, therefore, maximized at 
 when the duration of the pulse is equal to the atomic lifetime (with the cost that its duration in time is strongly reduced with respect to the monochromatic regime, where 
). This is the scenario of option (1).
By substituting Equation (
16) into (
13), we find that
        
		This clearly shows that option (2) is the correct one. That is, the transition probability is maximized when the duration of the pulse is maximal (
), even though the excitation probability is vanishingly small in that same situation.
The fact that 
 if 
 and 
 (i.e., in the monochromatic limit, which corresponds to a very large duration of the pulse, 
), as shown by Equation (
19), is a signature of the beneficial effect of quantum coherence in this process. To make that more clear, we compare the “absorption-plus-emission” and the “quantum-coherent” pictures. In the absorption-plus-emission picture, the photon excites the atom, which spontaneously decays towards either 
 or 
. If 
, we expect that the initially excited atom has equal probabilities (
) of being found at 
 or 
 for 
. Indeed, this is what we get from our model if we set the initial state to 
. We also get that (asymptotic probabilities of 
) if we set 
 as the initial state and choose 
, which corresponds to a relatively high excitation probability (of 
; note that we could, in principle, find other pulse shapes that would lead to higher atomic excitations, with the inverted exponential being the best example [
23], thus making spontaneous emission effects even more pronounced). However, the absorption-plus-emission picture does not capture the physics of the 
 limit; because the single-photon pulse is normalized, 
, a vanishing 
 also implies a vanishing field strength 
, so the excitation probability is negligibly small, 
, explaining why the effect of spontaneous emission is also negligible in this regime. Instead, the dynamics of the atom and the field (for 
) can be approximately described by the entangled (quantum-coherent) state 
, with 
 and 
. Along with this dynamic picture of the process, the thermodynamic picture (discussed below) will also be useful in clarifying why the 
 regime is so peculiar.
We are now left with the following question: If the excitation is negligible, is the work transferred from the photon to the atom also negligible, therefore violating the classical dissipative adaptation hypothesis?
To answer that question, we have to define the work performed by the single-photon drive. Classically, the work of a time-varying classical electric field 
 acting on a classical dipole 
 is given by 
. Here, we define the average work performed by a single-photon pulse on a quantum dipole by employing the Heisenberg picture:
        where 
 is the incoming field. The field produced by the atom that acts back on the atom itself gives rise to heat dissipation in our model. The dipole operator is given by 
, with 
, so that 
.
Using integration by parts, we can rewrite Equation (
20) as 
. Within the rotating-wave approximation, this gives us that
        
        where 
 stands for the complex conjugate. Choosing 
 as the initial state of the field implies that 
. The non-zero correlation function is
        
		It is worth noting that, because the work performed by the photon on the atom depends on the correlation calculated above, it becomes clear that the more in phase the atom is with respect to its driving field, the more work it will absorb. But this atom–field synchronization requires the field to be as monochromatic as possible, explaining why the 
 limit is so special for both the dynamics and for the thermodynamics of the process. We thus get that
        
		For a pulse of central frequency 
 and a general envelope shape, we define 
. The derivative of the fast-oscillating part gives rise to
        
		The derivative of the slowly varying part is related to 
, since 
 is real. From Equation (
15), it follows that 
 if 
. This shows that, at resonance, only the absorptive contribution remains, while the dispersive (reactive) contribution vanishes.
From Equation (
14), we can derive the dynamics of the excited-state population 
,
        
		Substituting this back into Equation (
27) gives us that
        
        where we used 
. By comparing Equations (
29) and (
13), we immediately see that
        
        which is the quantum dissipative adaptation relation for a generic single-photon pulse (not restricted to the exponential profile). This result answers the question that we raised above by showing that, even though the excitation probability is negligible in the highly monochromatic case, the transferred work is maximized in that regime along with the transition probability from 
 to 
.
It is important to clarify that the purpose of this section is mainly to provide completeness for our text, as a significant part of it has also been discussed in [
13]. Still, Equation (
18) represents an original result. Also, here, we established the contrast between the “absorption-plus-emission picture” and the “quantum-coherent picture”, which will help us below to make sense of how the average work behaves in the presence of multiple photons. Finally, the explicit calculation of the work departing from the Heisenberg picture in the context of the present model also goes beyond [
13]. Our motivation for choosing the Heisenberg formalism here (rather then the Schrödinger picture from [
13]) is to facilitate the thermodynamic analysis in the presence of multiple pulses and especially to evidence the additive property of the work, which is a crucial step in our main results. Because of the Heisenberg formalism, in Equation (
30), we see the dependence of 
, whereas in [
13], 
 appears instead. This will be relevant if we want to depart from the resonance condition 
 that is assumed here.
  3.2. Quantum Dissipative Adaptation for Cascaded Photons
By cascaded interactions, we mean that consecutive non-overlapping and uncorrelated single-photon pulses are driving the atom. Under this assumption, we have that either the first photon promotes the transition or it leaves the atom unaltered and the second photon enables the transition, and so on. Asymptotically (
), the total probability transition 
 after 
N pulses have driven the atom is given by
        
		Here, 
 is the probability that the atom remains in state 
 during the interaction with the 
j-th pulse, and 
 is the transition probability due to the 
k-th photon. The degrees of freedom considered in this model are the linewidths 
 of the 
N photon pulses.
The average work in this cascaded process is additive:
        where 
 is the average work performed by the 
k-th photon of linewidth 
. The average work performed by the 
k-th photon is given by
        
        which depends on the probability 
 that the previous photon has left the atom in state 
. Also, we define 
 to evidence that the initial state of the system for which the work is being computed is 
, and this is 
 for 
. That is, all of the photons are initially equally polarized; only the atom may be in a different state. Thus, we find that 
 for all 
k, implying that
        
		Because there is no physical mechanism in our model that makes the atom jump back from 
 to 
 (due to the zero temperature), the only possible path for it to be found at 
 is that where the atom has never left state 
 throughout its entire history. This means that 
 is a product of the probabilities that all of the previous photons have also left the atom at 
 so that
        
		Using the quantum dissipative adaptation relation for each single photon, namely, 
, we have that
        
		By employing Equation (
31), we finally find that
        
        showing that the quantum dissipative adaptation remains valid for 
N cascaded photons of arbitrary shapes.
  3.3. Long Versus Short Pulses
Is it true that two pulses always increase the degree of organization of the atom? Or can we find a single photon long enough to produce an equivalent result? With these questions in mind, we take a closer look at the case of .
To answer that question, we analyze
        
		We assume from here on that our photons have exponential envelope profiles, as described by Equation (
9), with two generally distinct linewidths 
 and 
. Thus, Equation (
19) is valid, and we have that
        
        where 
, and 
. In order to reiterate the insight provided by the notion of a quantum dissipative adaptation, namely, that the dynamics of non-equilibrium self-organization (transition probabilities) are intimately related to the thermodynamics (average work cost), we also explicitly calculate the average work, 
, for each case that we analyze below.
Let us take the limit of two pulses that are both very short in time and space (i.e., highly broadband), 
 and 
. In that case,
        
        where 
 is the typical time duration of the pulse. The total probability now reads
        
        where we have neglected the second-order term 
. This shows that two short pulses are indeed equivalent to a single longer pulse with an effective time duration given by the sum of the individual pulses, 
, as we could intuitively expect. In that case, the work is given by 
, which only depends on 
. Because 
 describes the absorption channel, this result is typical of the “absorption-plus-emission” picture that we discussed in 
Section 3.1.
We now consider the opposite limit, namely, two very long pulses in time (highly monochromatic), 
 and 
. We have that
        
        which does not depend on 
. Hence,
        
        where the parameter 
r is bounded to 
.
Depending on 
r, we find two possible scenarios. If the two decay rates are identical (
, thus 
), we have that 
. This shows that two pulses can be replaced by a single one again, as in the case of two short pulses. The work can now be expressed as 
, which depends on both 
 and 
, since the “quantum-coherent” regime involves a superposition between these two channels (see 
Section 3.1). However, in the far more typical case where 
, we have that 
, so
        
		We see that a single long pulse saturates the transition probability to a value below unity (
), and the addition of a second pulse is the only way to improve driven self-organization. Finally, the work in this case is 
. In this case, 
 depends on higher orders of 
 and 
.
For 
 and considering 
 photons of arbitrary linewidths, we have that
        
        which means that the degree of self-organization only increases with 
N.
Note that 
 for 
, as we can see by taking the extreme limit where all of the photons are highly monochromatic, thus maximally increasing the transition probability. In that case, 
 for all 
k, so
        
		We used the notion that, in the geometric series, 
, with 
 and 
. So, the series in our quantum model of 
N cascaded photons converges as it should.