Deterministic Equations for Feedback Control of Open Quantum Systems III:
Full counting statistics for jump-based feedback


Abstract

In this work, we consider a general feedback protocol based on quantum-jump detections, where the last detected jump channel is stored in a memory and subsequently used to implement a feedback action, such as modifying the system Hamiltonian conditioned on the last jump. We show that the time evolution of this general protocol can be described by a Lindblad master equation defined in a hybrid classical–quantum space, where the classical part encodes the stored measurement record (memory) and the quantum part represents the monitored system. Moreover, we show that this new representation can be used to fully characterize the counting statistics of a system subject to a general jump-based feedback protocol. We apply the formalism to a three-level system coupled to two thermal baths operating as a thermal machine, and we show that jump-based feedback can be used to convert the information obtained from the jump detections into work. Our framework provides analytical tools that enable the characterization of key statistical properties of any counting observable under jump-based feedback, such as the average current, noise, correlation functions, and power spectrum.

1 Introduction↩︎

A quantum system governed by a Markovian Master Equation can be dynamically described by a quantum trajectory [1][3]. The system evolves through continuous no-jump dynamics interrupted by discrete transitions, or jumps, where both the jump channels and their occurrence times are random variables [4][7]. These jumps may correspond, for example, to transitions between energy levels, as observed in photon-counting experiments [8][11]. A natural strategy is to detect quantum jumps in order to acquire information about the system, and then use this information to implement feedback protocols [12], [13]. Feedback enables key quantum tasks such as cooling [14][26], error correction [27], [28], coherent control [29][32], and work extraction [33][38], making it central to both theoretical and experimental advances in modern quantum platforms [39][41].

As shown by Wiseman [13], one can consider the following feedback protocol: whenever a jump is detected, an instantaneous quantum channel is applied to the system. However, most of the time the system undergoes no-jump evolution [1], during which no feedback is applied. Moreover, this strategy does not retain information about previously detected jumps. In contrast, Ref. [12] introduced a general feedback protocol that stores the last jump in a memory, which is then used to determine the feedback action. The key distinction is that the feedback does not need to be applied immediately after the jump; rather, it may be triggered during the no-jump evolution. For example, conditioned on the last jump channel, one may adjust the system Hamiltonian, such as by tuning energy gaps or applying an external drive, thus using the jump information to modify the no-jump evolution. Such strategies have direct experimental realizations in quantum dot setups [40], [41], and are not encompassed by Ref. [13], though fully described by Ref. [12].

Full counting statistics (FCS) quantifies the probability distribution of the number of quantum jumps over time [1]. We introduce the stochastic charge [1], [42] (also referred to as the counting observable [43], [44]) as \[\label{eq:32stoc32charge32int} N(t) = \sum_{k\in\Sigma} \nu_k N_k(t)~,\tag{1}\] where \(\Sigma\) denotes the set of experimentally monitored jump channels, and \(N_k(t)\) is the (random) number of jumps in channel \(k\) over the interval \([0,t]\). By appropriately defining the weights \(\nu_k\), different observables can be extracted, such as entropy production [43], [44] and dynamical activity [45], [46].

In this work, we present a general framework to describe the statistical properties of a counting observable \(N(t)\) under feedback conditioned on the last jump channel, thereby linking jump-based feedback dynamics with full counting statistics. It has important implications for quantum thermodynamics, particularly for the implementation of Maxwell demons via quantum feedback [33][35], and for feedback-controlled systems based on jump monitoring [39][41], [47].

This work is organized as follows. In Sec. 2.1, we introduce the formalism of quantum jump detections; Sec. 2.2 presents the framework for jump-based feedback dynamics developed in Refs. [12], [14]; and in Sec. 2.3, we illustrate two simple examples of jump-based feedback. Further discussion of the properties and interpretation of the resulting jump-based master equation is provided in Sec. 2.4, and a comparison with earlier jump-based feedback protocols is given in Sec. 2.5. In Sec. 3, we present our first main result, showing that the time evolution of a general jump-based feedback protocol can be equivalently described by a Markovian Master Equation in an extended hybrid space, consisting of a quantum subsystem (the system under jump monitoring) and a classical subsystem (the memory storing the last detected jump). The second main result demonstrates how this new feedback representation can be used to describe the statistical properties of a stochastic charge \(N(t)\) [Eq. 1 ] for general jump-based feedback protocols. In Sec. 4, we apply this framework to a three-level system coupled to two thermal baths. We show that a jump-based feedback protocol can be used to enforce the system to perform work on the environment regardless of the bath temperatures, effectively converting information from the jumps into work. For this example, we also illustrate how to compute both the power and the fluctuations of the extracted work. Finally, in Sec. 5, we conclude with a discussion of the broader implications of our results.

2 Jump-based feedback master equation↩︎

2.1 Quantum jumps and full counting statistics↩︎

Let us consider a system that evolves according to a quantum master equation \[\label{QME} \partial_t \rho_t =\mathcal{L}\rho= -i \big[H,\rho_t\big] + \sum_{k\in\Sigma} \mathcal{D}[L_k]\rho_t\tag{2}\] with Hamiltonian \(H\) and jump operators \(L_k\), where \(\Sigma\) is the set of possible jumps, and \(\mathcal{D}[L]\rho\equiv L\rho L^\dagger - 1/2 \{L^\dagger L,\rho\}\) denotes the dissipator. Equation 2 describes the continuous-time evolution of the state \(\rho_t\) in the system’s state space. Alternatively, it can be expressed as a discrete evolution from \(\rho_t\) to \(\rho_{t+\delta t}\) over an infinitesimal time step \(\delta t > 0\), as given by [1] \[\label{eq:32unraveling} \rho_{t+\delta t} = V_0 \rho_t V_0^\dagger + \sum_{k\in\Sigma} V_k \rho_t V_k^\dagger + \mathcal{O}(\delta t^2)~,\tag{3}\] where we retain terms only up to first order in \(\delta t\). Here, \(V_0 \equiv \mathrm{1} - i\delta t\, H_{\text{eff}}\), with the effective non-Hermitian Hamiltonian \(H_{\text{eff}} \equiv H - \frac{i}{2}\sum_{k\in\Sigma} L_k^\dagger L_k\), and \(V_k \equiv \sqrt{\delta t}\, L_k\) for \(k\in\Sigma\). One can verify that \[V_0^\dagger V_0 + \sum_{k\in\Sigma} V_k^\dagger V_k = \mathrm{1} + \mathcal{O}(\delta t^2)~,\] where \(\mathrm{1}\) is the identity operator. Thus, for infinitesimal \(\delta t\), the set \(\{V_k\}\) constitutes a valid set of Kraus operators. The decomposition of the master equation 2 into this infinitesimal form [Eq. 3 ] is known as the unraveling of the master equation, and defines the quantum-jump Kraus operators. The operator \(V_0\) describes the no-jump evolution, whereas \(V_k\) (\(k \in \Sigma\)) represents a jump through channel \(k\).

For some systems, the set of Kraus operators \(\{V_k\}_{k=0, k\in\Sigma}\) defines an accessible measurement scheme, often realized through photon-counting experiments [8][11]. Continuous monitoring of these jumps yields an outcome \(x_t\) at time \(t\), where \(x_t = 0\) denotes a no-jump detection associated with \(V_0\), and \(x_t = k\) corresponds to a jump in channel \(k\) described by \(V_k\). The (quantum) stochastic trajectory up to time \(t\) is then represented by the dataset \(\Gamma_t = \{x_{t'}\}_{t' \in [0,t] }\). When we detect \(x_t = 0\), the system undergoes a no-jump evolution generated by the no-jump Liouvillian \(\mathcal{L}_0\). In contrast, when a jump is detected, \(x_t = k\), the system evolves according to the jump channel \(\mathcal{J}_k\). These dynamical maps are defined as \[\begin{align} \tag{4} \mathcal{J}_k\rho &\equiv& V_k \rho V_k^\dagger~,\\ \tag{5} \mathcal{L}_0 &\equiv& \mathcal{L} - \sum_{k\in\Sigma} \mathcal{J}_k~, \end{align}\] where we can show that \((\mathrm{1} + \delta t~ \mathcal{L}_0) \rho = V_0 \rho V_0^\dagger\).

By assigning weights \(\nu_k\) to each channel \(k\) in the counting observable \(N(t)\) [Eq. 1 ], one can capture all the key observables of the system. For instance, if jump \(k\) corresponds to an energy-level transition induced by a thermal bath at inverse temperature \(\beta_k\), and \(\Delta E_k\) denotes the associated energy change, one can set \(\nu_k = - \beta_k \Delta E_k\), so that the \(N(t)\) represents the entropy production of the system over the interval \([0,t]\). Furthermore, by choosing \(\nu_k = 1\) for all \(k\), one obtains the dynamical activity, which counts the total number of jumps irrespective of their channels  [45], [46]. In Sec. 4, we present an explicit example in which \(N(t)\) corresponds to the work performed by a quantum thermal machine. Consequently, the statistics of \(N(t)\) play a fundamental role in describing physical systems [43], [44].

2.2 Jump memory and memory-resolved state↩︎

The jump memory \(k_t\) [12] is defined as the stochastic process that records the last detected jump of the quantum trajectory \(\Gamma_t\). For instance, if one has \(\Gamma_t = \{\cdots0,0,q,0,0,0,0,\bar{k},0,0\}\), then \(k_t = \bar{k}\). A general jump-based feedback is then implemented if we use the information of the last jump encoded in \(k_t\) to modify the system’s Hamiltonian and/or jump operators. In other words, the system evolves under a stochastic Hamiltonian \(H(k_t)\) and a set of jump operators \(\{L_q(k_t)\}_{q\in\Sigma}\), both of which depend on the last jump channel recorded by \(k_t\).

Ref. [12] developed a framework that describes a general feedback protocol using deterministic equations. To apply this formalism, we first introduce the memory-resolved state, \[\varrho_t(k) \equiv E[\rho^c_t ~ \delta_{k,k_t}]~,\] where \(\rho^c_t\) is the conditional state associated with a stochastic trajectory \(\Gamma_t\), \(E[\cdot]\) denotes the average over all possible trajectories, \(\delta_{a,b}\) is the Kronecker delta, and \(k\) represents a possible realization of the jump memory \(k_t\). The probability \(P_t(k)\) that \(k\) is the last detected jump at time \(t\) (i.e., the event \(k_t = k\)), as well as the unconditional quantum state \(\bar{\rho}_t\), are obtained from \(\varrho_t(k)\) as \[\begin{align} \label{eq:32memory32distribution32from32SRR32state} P_t(k) = \mathrm{Tr}[\varrho_t(k)]~,~\bar{\rho}_t =\sum_{k}\varrho_t(k)~. \end{align}\tag{6}\] It was shown in Ref. [12] (see Appendix 6 for an alternative proof) that, for a general feedback dynamics with a stochastic Hamiltonian \(H(k_t)\) and jump operators \(\{L_q(k_t)\}_{q\in\Sigma}\), the state \(\varrho_t(k)\) evolves in time according to \[\begin{align} \label{eq:32jump32FB32dyn} \partial_t \varrho_t(k) &=& -i \big[H(k),\varrho_t(k)\big] - \frac{1}{2} \sum_{q \in \Sigma} \big\{ L_{q}^\dagger(k)L_{q}(k),\varrho_t(k)\big\} \nonumber \\ & & +\sum_{q \in \Sigma}\;L_k^{}(q) \varrho_t(q) L_k^\dagger(q). \end{align}\tag{7}\]

Equation 7 is referred to as the jump-based feedback master equation. In general, once the dependence of the Hamiltonian \(H(k)\) and the jump operators \(L_{q}(k)\) on each jump channel \(k\) is specified, Eq. 7 can be solved to obtain the full feedback dynamics, yielding both the jump-memory probability distribution \(P_t(k)\) and the unconditional system state \(\bar{\rho}_t\) [Eq. 6 ]. The state \(\varrho_t(k)\) describes two degrees of freedom: one is classical (corresponding to the probability distribution of the memory \(k_t\)), and the other is quantum (representing the quantum state \(\bar{\rho}_t\) of the system). In what follows, we present simple examples of jump-based feedback protocols that illustrate the type of feedback dynamics described by Eq. 7 .

2.3 Simple examples↩︎

A feedback strategy based on the last detected jump may consist of turning on an external drive in the Hamiltonian conditioned on the last jump channel \(k_t\) [12]. Consider a two-level system (qubit) with computational basis states \(\ket{g}\) (ground) and \(\ket{e}\) (excited), separated by an energy gap \(\omega\), and coupled to a thermal bath. In the absence of feedback, the system dynamics is governed by the master equation 2 with jump operators \(L_- = \sqrt{\gamma_-}\,\ket{g}\!\bra{e}\) and \(L_+ = \sqrt{\gamma_+}\,\ket{e}\!\bra{g}\), which describe, respectively, the emission and absorption of a thermal photon by the qubit. Thus, the system admits two possible transitions, where we denote \(k=+1\) for absorption and \(k=-1\) for emission.

The incoherent jump \(\ket{e}\to\ket{g}\) can be monitored by detecting the photon emitted into the thermal environment, as experimentally demonstrated through the observation of intermittent fluorescence in trapped ions [8][11]. In addition, the jump \(\ket{g}\to\ket{e}\) can be detected by continuously monitoring the excited state, as demonstrated in superconducting artificial three-level atoms [39]. Assuming continuous monitoring of such transitions, the quantum jump detection outcome \(x_t\) can take the values \(x_t = 0\) for no-jump detections or \(x_t = \pm 1\) for emissions or absorptions at time \(t\). The memory \(k_t\) records the last transition experienced by the qubit and therefore takes values in \(\{\pm 1\}\).

One can consider the following protocol: if the last transition was an absorption (\(k_t = +1\)), the external drive is turned on; if it was an emission (\(k_t = -1\)), the drive is removed. This results in the stochastic Hamiltonian \[H(k_t) = -\frac{\Delta}{2}\sigma_z + \lambda\,\delta_{k_t, 1}\,\sigma_x~,\] where \(\lambda\) is the drive strength, \(\Delta\) is the detuning, and \(\sigma_{x,y,z}\) are the Pauli matrices. In our convention, \(\sigma_z = \ket{g}\bra{g} - \ket{e}\bra{e}\), so that the ground state \(\ket{g}\) is the eigenstate of \(\sigma_z\) with eigenvalue \(1\). At time \(t\) one has either \(H(-1) = -\frac{\Delta}{2}\sigma_z\) or \(H(1) = -\frac{\Delta}{2}\sigma_z + \lambda \sigma_x\), corresponding to the two possible realizations of \(k_t\). Note that this protocol does not modify the jump operators, as it only adds a term to the qubit Hamiltonian.

For this example, Eq. 7 becomes \[\begin{align} \label{eq:32simple32example321} \partial_t \varrho_t(1)&= -i \big[H_0+\lambda \sigma_x,\varrho_t(1)\big]- \frac{1}{2} \big\{ L,\varrho_t(1)\big\}\nonumber\\ & +\;L_+^{}\left( \varrho_t(1)+\varrho_t(-1)\right) L_+^\dagger~, \end{align}\tag{8}\]

\[\begin{align} \label{eq:32simple32example32-1} \partial_t \varrho_t(-1)&= -i \big[H_0,\varrho_t(-1)\big]- \frac{1}{2} \big\{ L,\varrho_t(-1)\big\}\nonumber\\ & +\;L_-^{}\left( \varrho_t(1)+\varrho_t(-1)\right) L_-^\dagger~, \end{align}\tag{9}\] where \(L \equiv L_+^\dagger L_++ L_-^\dagger L_- = \gamma_+ \ket{g}\bra{g} + \gamma_- \ket{e}\bra{e}\). For the thermal environment coupling, we have \(\gamma_+ = \gamma \bar{n}\) and \(\gamma_- = \gamma (\bar{n}+1)\), where \(\gamma\) is the coupling strength and \(\bar{n} = (e^{\omega/T}-1)^{-1}\) is the Bose-Einstein occupation number of the bath at temperature \(T\), with \(\hbar = k_B = 1\). These two coupled equations can be solved to obtain the memory-resolved states \(\varrho_t(k)\) for \(k = \pm 1\), yielding both the probabilities \(P_t(k) = \mathrm{Tr}[\varrho_t(k)]\) and the unconditional system state \(\bar{\rho}_t = \varrho_t(1) + \varrho_t(-1)\). In particular, the feedback steady-state can be obtained by setting \(\partial_t \varrho_t(k) = 0\).

Figure 1: Population of the qubit’s ground state in the stationary regime considering a resonant external drive (\Delta = 0). (a) Dependence on the bath temperature. The feedback protocol increases the ground-state population, effectively implementing a cooling mechanism. Here, \gamma/\lambda = 0.25. (b) Competition between thermal coupling \gamma and drive strength \lambda. For strong drives (\lambda \gg \gamma), the cooling protocol becomes more efficient, further increasing the ground-state population. In this case, one has \bar{n} = 0.5.

In the stationary regime, the population of the ground state, \(P_g \equiv \bra{g}\bar{\rho}_{\text{ss}}\ket{g}\), and the coherence, \(C \equiv \bra{g}\bar{\rho}_{\text{ss}}\ket{e}\), are given by

\[\begin{align} P_g &=& \frac{(1+2\bar{n})(4+\bar{n}(1+\bar{n})(\gamma/\lambda)^2)}{4+\bar{n}(12+(1+2\bar{n})^2(\gamma/\lambda)^2)}~,\\ C &=& -\frac{2i\bar{n}^2 (\gamma/\lambda)}{4+\bar{n}(12+(1+2\bar{n})^2(\gamma/\lambda)^2)}~, \end{align}\] where the population of the excited state in the stationary regime is \(P_e = 1-P_g\). Furthermore, the distribution of the jump memory \(k_t\) in the stationary regime (\(t\to\infty\)) is given by \[P_{\text{ss}}(-1) = \frac{(1+\bar{n}) \bigl[4+\bar{n}(1+2\bar{n})(\gamma/\lambda)^2\bigr]}{4+\bar{n}\bigl[12+(1+2\bar{n})^2(\gamma/\lambda)^2\bigr]}~,\] where \(P_{\text{ss}}(-1)\) is the probability that the last transition corresponds to an emission (\(\ket{e}\to\ket{g}\)), i.e., \(\lim_{t\to\infty} k_t = -1\), whereas \(P_{\text{ss}}(+1) = 1- P_{\text{ss}}(-1)\) is the probability that the last transition was an absorption (\(\ket{g}\to\ket{e}\)).

Figure 1 shows the ground-state population under the feedback protocol in the stationary regime, compared with no-feedback cases where the external drive is always on or always off. In Fig. 1 (a), \(P_g = \bra{g}\bar{\rho}_{\text{ss}}\ket{g}\) is shown as a function of the bath’s Bose–Einstein distribution \(\bar{n}\), illustrating the protocol’s performance across different temperatures. The feedback effectively cools the qubit: upon detecting an excitation, the external drive returns the qubit to the ground state, thereby increasing its population relative to the no-feedback scenarios. Figure 1 (b) illustrates the competition between the drive strength \(\lambda\) and the thermal coupling \(\gamma\) under the feedback protocol. In the weak-drive regime (\(\gamma \gg \lambda\)), all cases behave similarly, as the drive is too weak to overcome thermal dissipation and the feedback has little effect. In contrast, in the strong-drive regime (\(\lambda \gg \gamma\)), the feedback efficiently drives the system from \(\ket{e}\) to \(\ket{g}\) after an excitation, enhancing the ground-state population.

In this example, the feedback modifies only the qubit’s Hamiltonian. However, one can also design feedback strategies that adjust the jump operators depending on the last detected transition. For instance, the energy gap of the system could be modified [40]. For a qubit coupled to a thermal bath, the jump operators are \(L_- = \sqrt{\gamma (\bar{n}+1)}\,\ket{g}\bra{e}\) and \(L_+ = \sqrt{\gamma \bar{n}}\,\ket{e}\bra{g}\), where \(\bar{n} = [\exp(\omega/T)-1]^{-1}\). Thus, by changing the energy gap \(\omega\) based on the last detected jump \(k_t\), both the system Hamiltonian and the corresponding jump operators are modified. In this case, the system Hamiltonian can be written as \(H(k_t) = -\frac{\omega(k_t)}{2}\sigma_z\), where the energy gap \(\omega(k_t)\) depends on the last detected transition. Since the jump operators depend on \(\bar{n}\) (and thus on \(\omega\)), they also acquire a dependence on \(k_t\), giving \(L_-(k_t)\) and \(L_+(k_t)\). This type of feedback can be implemented experimentally by applying voltage gates to the qubit conditioned on the last detected jump, thereby modifying the energy gap between the ground and excited states, or equivalently via a quantum point contact [40], [41].

2.4 Interpretation of the jump-based feedback master equation↩︎

In general, it is not possible to write a closed master equation for the system state \(\bar{\rho}_t\) under jump-based feedback dynamics. For instance, summing over \(k\) on both sides of Eq. 7 yields \(\partial_t \bar{\rho}_t\) on the left-hand side. However, when the Hamiltonian \(H(k)\) and/or the jump operators \(L_q(k)\) depend on \(k\), one can no longer obtain a closed equation for \(\bar{\rho}_t\) on the right-hand side, since terms such as \(\sum_k [H(k), \varrho_t(k)]\) couple the evolution of \(\bar{\rho}_t\) to the memory-resolved states \(\varrho_t(k)\).

On the other hand, Eq. 7 can be interpreted as a rate equation. Using the definition of \(V_0\) introduced in Sec. 2.1, together with \((\mathrm{1}+\delta t\,\mathcal{L}_0)\rho = V_0 \rho V_0^\dagger\), one finds \[\label{eq:32no-jump32liovilian32and32hamiltonian} \mathcal{L}_0(k) \varrho_t(k) = -i \big[H(k),\varrho_t(k)\big] - \frac{1}{2} \sum_{q \in \Sigma} \big\{ L_{q}^\dagger(k)L_{q}(k),\varrho_t(k)\big\}.\tag{10}\] Defining the jump channels with feedback as \(\mathcal{J}_q(k)\rho \equiv L_q(k)\,\rho\,L_q^\dagger(k)\), Eq. 7 can be rewritten as \[\begin{align} \partial_t \varrho_t(k) &= \mathcal{L}_0(k)\,\varrho_t(k) + \mathcal{J}_k(k)\,\varrho_t(k) \nonumber\\ &\quad + \sum_{q\neq k} \mathcal{J}_k(q)\,\varrho_t(q), \label{eq:32jump32dyn32fb32with32jump32channels} \end{align}\tag{11}\] where the sum \(\sum_{q\neq k}\) runs over all jump channels \(q\in\Sigma\) except \(q=k\).

Therefore, Eq. 11 shows that the rate \(\partial_t \varrho_t(k)\) has two effective contributions. The first term corresponds to no-jump detections, described by \(\mathcal{L}_0(k)\); these are events in which the last detected jump was \(k\) and the subsequent detection is a no-jump event. The second term corresponds to events in which the last detected transition was \(k\) and another jump of the same type \(k\) is detected, given by \(\mathcal{J}_k(k)\varrho_t(k) = L_k(k)\,\varrho_t(k)\,L_k^\dagger(k)\). Together, these first two terms describe transitions \(k \to k\) in the memory space. The last term corresponds to the event in which the last detected transition was \(q \neq k\) and a jump of type \(k\) is subsequently detected, as described by \(\mathcal{J}_k(q)\,\varrho_t(q) = L_k(q)\,\varrho_t(q)\,L_k^\dagger(q)\). Hence, this term accounts for transitions \(q \to k\) in the memory space.

We can connect this general situation with the example provided above. For the two-level system coupled to a thermal bath, there are two possible transitions: emission or absorption. Equation 8 describes the absorption events, whereas Eq. 9 corresponds to the emission events. Let us analyze the absorptions described by Eq. 8 (the same analysis applies to emissions). The first term, \(-i \big[H_0+\lambda \sigma_x,\varrho_t(1)\big]- \frac{1}{2} \big\{ L,\varrho_t(1)\big\}\), corresponds to the following event: the last transition was an absorption, and no subsequent jump is detected. The second term contains two possibilities: either the last detected transition was an absorption and we detect another absorption, which is described by \(L_+\,\varrho_t(1)\,L_+^\dagger\), or the last detected transition was an emission and we then detect an absorption, described by \(L_+\,\varrho_t(-1)\,L_+^\dagger\).

We now analyze the time evolution of the probability \(P_t(k) = \mathrm{Tr}[\varrho_t(k)]\) that the last transition at time \(t\) corresponds to \(k\). Taking the trace on both sides of Eq. 7 , we obtain the following classical master equation [48]: \[\label{eq:32evolution32of32the32memory32distribution} \partial_t P_t(k) = \sum_{q \neq k} T_t(k,q) P_t(q) - \sum_{q \neq k} T_t(q,k) P_t(k)~,\tag{12}\] where \(\rho_t(k) \equiv \varrho_t(k)/\mathrm{Tr}[\varrho_t(k)]\) is the state of the system conditioned on the memory realization \(k_t = k\) [Eq. 14 ], and \(T_t(k,q) \equiv \mathrm{Tr}\!\left[\mathcal{J}_k(q)\rho_t(q)\right] = \mathrm{Tr}\!\left[L_k(q)\rho_t(q)L_k^\dagger(q)\right]\) is the transition rate at which the jump memory \(k_t\) changes from \(q\) to \(k\). The quantity \(\partial_t P_t(k)\) defines a rate equation with two contributions: the first term accounts for trajectories in which the previous transition was \(q \neq k\) and the newly detected jump is of type \(k\), while the second term describes trajectories in which the last transition was \(k\) and the next detected jump is \(q \neq k\).

Equation 7 describes a general jump-based feedback scheme that can modify both the system Hamiltonian and the jump operators depending on the last detected transition encoded by \(k_t\). However, as discussed in the example above, one may consider a feedback scheme that modifies only the system Hamiltonian. In this case, the jump operators are not affected by the feedback, and we can replace \(L_q(k) \to L_q\) for any jump \(q \in \Sigma\). For this particular case, Eq. 7 becomes \[\begin{align} \partial_t \varrho_t(k) &=& -i \big[H(k),\varrho_t(k)\big] - \frac{1}{2} \left\{ \left(\sum_{q \in \Sigma}L_{q}^\dagger L_{q}\right),\varrho_t(k)\right\} \nonumber \\ & & +\;L_k^{}\left(\sum_{q \in \Sigma} \varrho_t(q)\right) L_k^\dagger. \end{align}\] Finally, as an important consistency check, one should recover the Lindblad master equation 2 in the absence of feedback. Indeed, removing the feedback dependence amounts to replacing both \(H(k) \to H\) and \(L_q(k) \to L_q\) in Eq. 7 , corresponding to the situation in which neither the Hamiltonian nor the jump operators are modified by the detected jumps. In this case, summing over \(k\) on both sides of Eq. 7 and using \(\sum_{k\in\Sigma} \varrho_t(k) = \bar{\rho}_t\), one straightforwardly recovers Eq. 2 .

2.5 Previous works on feedback based on jump detections↩︎

A previous work by Wiseman [13] introduced a feedback protocol based on quantum–jump detections: whenever a jump is detected, an instantaneous quantum channel is applied. In this framework, the system is continuously monitored via quantum jumps, with the measurement outcome denoted by \(x_t\), where \(x_t = 0\) corresponds to no-jump events and \(x_t = k\) indicates that a jump of type \(k\) was detected at time \(t\). Hence, the feedback action consists of applying a quantum channel (a completely positive trace-preserving map) \(\mathcal{F}(x_t)\), defined by \[\mathcal{F}(x_t) = \begin{cases} I_d, & \text{if } x_t = 0, \\[4pt] e^{\mathcal{K}(k)}, & \text{if } x_t = k , \end{cases}\] where \(\mathcal{K}(k)\) is an arbitrary Liouvillian super-operator and \(I_d\) is the identity map (\(I_d \rho = \rho\)). This feedback scheme can be interpreted as a particular case of the general formalism developed in Ref. [12], as shown in its Supplemental Material. In this situation, one can derive a closed master equation for the unconditional state of the system, which evolves according to \[\begin{align} \label{eq:32single32jump32feedback32equation} \partial_t \bar{\rho}_t &=& -i [H,\bar{\rho}_t]\nonumber\\ &+& \sum_{k \in \Sigma} \left( e^{\mathcal{K}(k)} \left[L_k \bar{\rho}_tL_k^\dagger\right] - \frac{1}{2}\{L_k^\dagger L_k,\bar{\rho}_t\} \right). \end{align}\tag{13}\]

This approach has several limitations. First, the protocol does not retain information about past jumps: the feedback action depends solely on the current detection outcome \(x_t\), and no memory of the previous events is preserved. Moreover, the feedback is implemented as an instantaneous quantum channel applied immediately after a detected jump. As a consequence, simple protocols such as the one described in Sec. 2.3 cannot be captured within this framework, since in that case the detection of an absorption event must be stored and the drive kept active until an emission is detected. Second, in quantum-jump monitoring it is far more likely to observe no-jump outcomes (\(x_t = 0\)) than actual jumps (\(x_t = k\)[1]. Thus, for most times one has \(x_t = 0\), meaning that the feedback is almost never applied.

Therefore, the jump-based feedback described by Eq. 7 and the protocols of Eq. 13 are fundamentally different. The former implements a memory-based feedback, recording the last transition in a memory \(k_t\) and using this information in the feedback action. This protocol discards trivial no-jump events and relies only on the relevant information of the last detected transition. In contrast, Eq. 13 describes a memory-less feedback that depends solely on the current detection \(x_t\). Consequently, one can write a closed master equation for the unconditional state: without memory of previous jumps, the feedback dynamics can be fully described by the evolution of the system’s unconditional state alone.

3 Full counting statistics for a jump-based feedback dynamics↩︎

3.1 Hybrid representation of a feedback dynamics↩︎

As shown in Ref. [14], the feedback dynamics can be equivalently described as a hybrid classical–quantum bipartite system. In this description, the quantum system subject to quantum-jump detection is represented by the Hilbert space \(\mathcal{H}_s\), while the memory \(k_t\), which records the last detected jump, is represented by a classical Hilbert space \(\mathcal{H}_{\text{cl}}\) with orthonormal basis \(\{\ket{k}\}_{k\in\Sigma}\). We define the memory-conditioned states \(\rho_t(k)\) and the classical states \(\rho_t^{\mathrm{cl}}\) as \[\begin{align} \label{eq:32memory-conditioned32states32-32def} \rho_t(k) &\equiv& \frac{\varrho_t(k)}{\mathrm{Tr}[\varrho_t(k)]}~,\\ \rho_t^{\text{cl}}&\equiv& \sum_{k\in\Sigma} P_t(k) \ket{k}\bra{k}~, \end{align}\tag{14}\] where \(P_t(k) = \mathrm{Tr}[\varrho_t(k)]\) is the probability distribution of the jump memory \(k_t\).

The memory-conditioned states represent the state of the quantum system conditioned on the memory realization \(k_t = k\). In fact, since \(\bar{\rho}_t = \sum_{k\in\Sigma} \varrho_t(k)\), one has \(\bar{\rho}_t = \sum_{k\in\Sigma} P_t(k) \rho_t(k)\). Hence, the unconditional state can be seen as an ensemble \(\{P_t(k),\rho_t(k)\}\) of the memory-conditioned states. Conversely, the classical state \(\rho_t^\mathrm{cl}\) represents the state of the memory \(k_t\). It corresponds to a diagonal state in the memory basis \(\{\ket{k}\}\), where the diagonal elements give the probability of the realization \(k_t = k\).

The hybrid system is then described by a tensor Hilbert space \(\mathcal{H}_s \otimes \mathcal{H}_{\text{cl}}\), and its bipartite density matrix \(\rho_{\text{sm}}(t)\) is defined as \[\label{eq:32composed32quantum-classical32state} \rho_{\text{sm}}(t) \equiv \sum_{k\in\Sigma} P_t(k) ~\rho_t(k) \otimes \ket{k}\bra{k}~.\tag{15}\] Note that the system’s state can be recovered by tracing out the memory space, and analogously, the memory’s state can be obtained by tracing out the system space, \[\begin{align} \mathrm{Tr}_{\mathcal{H}_{\text{cl}}}[\rho_{\text{sm}}(t)] &=& \sum_{k\in\Sigma} \varrho_t(k) = \bar{\rho}_t~, \\ \mathrm{Tr}_{\mathcal{H}_s}[\rho_{\text{sm}}(t)] &=& \sum_{k\in\Sigma} P_t(k)\, \ket{k}\bra{k} = \rho_t^{\text{cl}}~. \end{align}\] The advantage of describing the feedback dynamics through the composite bipartite state \(\rho_{\text{sm}}(t)\) is that it constitutes a genuine density matrix representing the evolution of a composite system. This allows one to employ informational measures to quantify correlations between the system and the memory, as explored in Ref. [14]. In contrast, the memory-resolved state \(\varrho_t(k)\) does not correspond to a density matrix; in particular, it is not normalized, as shown in Eq. 6 .

The memory \(k_t\) is introduced as a function of the detected measurement record and can be represented as a classical stochastic process with probability distribution \(P_t(k)\), or equivalently by the classical state \(\rho_t^{\text{cl}}\). At the same time, the memory also admits a direct physical interpretation. Experimentally, the memory is stored in a physical device, and the state \(\rho_t^{\text{cl}}\) can therefore be interpreted as the state of this classical system.

The goal of this work is to describe the full statistics of the counting observable \(N(t)\) under a general jump-based feedback protocol, as given by Eq. 7 , which governs the joint evolution of the system state and the jump statistics. To this end, we derive the evolution equation for the composite state \(\rho_{\text{sm}}(t)\) and establish its connection to full counting statistics.

3.2 Lindblad evolution of the composite feedback representation↩︎

The jump-based feedback master equation 7 defines a system of time-local differential equations for the jump-memory states \(\varrho_t(k)\), where each derivative \(\partial_t \varrho_t(k)\) depends only on the instantaneous states \(\varrho_t(q)\) for \(q \in \Sigma\). In contrast, as discussed in Sec. 2.4, one cannot, in general, obtain a closed time-local equation for the unconditional system state \(\bar{\rho}_t\). In particular, the system is not described by a quantum Markovian Master Equation of the form 2 , since its evolution is coupled to that of the jump memory \(k_t\), which must be treated explicitly. As a result, the system exhibits non-Markovian dynamics: the types of past jumps directly influence its subsequent evolution. Nevertheless, the combined system–memory state \(\rho_{\text{sm}}(t)\) obeys a Markovian Master Equation, as stated in the following result:

Result 1 (Dynamical evolution of the joint state \(\rho_{\text{sm}}(t)\)). Given a jump-based feedback protocol as described by Eq. 7 , the bipartite state \(\rho_{\text{sm}}(t)\) evolves according to the following Markovian Master Equation \[\begin{align} \label{eq:32FB32dyn32in32joint32system} \partial_t\rho_{\text{sm}}(t) &\equiv& \mathbb{L}\rho_{\text{sm}}(t)\nonumber\\ &=& -i[\mathbb{H},\rho_{\text{sm}}(t)]+ \sum_{k,q\in\Sigma} \mathcal{D}[\mathbb{L}_{k,q}] \rho_{\text{sm}}(t), \end{align}\qquad{(1)}\] with both the extended Hamiltonian \(\mathbb{H}\) and the jump operators \(\mathbb{L}_{k,q}\) acting on the joint Hilbert space \(\mathcal{H}_s \otimes \mathcal{H}_{\mathrm{cl}}\), defined as \[\begin{align} \label{eq:32extended32FB32Hamiltonian} \mathbb{H} &\equiv& \sum_{k\in\Sigma} H(k) \otimes \ket{k}\bra{k}~,\\ \label{eq:32extended32FB32jump32ops} \mathbb{L}_{k,q} &\equiv& L_k(q)\otimes \ket{k}\bra{q}~. \end{align}\] {#eq: sublabel=eq:eq:32extended32FB32Hamiltonian,eq:eq:32extended32FB32jump32ops}

Equation ?? is obtained by differentiating both sides of Eq. 15 with respect to time, then using Eq. 7 to evaluate \(\partial_t \varrho_t(k)\). Finally, one identifies \(\mathbb{H}\) and \(\mathbb{L}_{k,q}\) according to Eqs. ?? and ?? . For the detailed derivation, see Appendix 7. Result [result1:32Joint32fb32dynamics] shows that the feedback dynamics can be equivalently described either by a Markovian master equation for the joint state \(\rho_{\text{sm}}(t)\) with the extended Hamiltonian \(\mathbb{H}\) and jump operators \(\mathbb{L}_{k,q}\), or by a set of coupled differential equations for the memory-resolved states \(\varrho_t(k)\), as given in Eq. 7 . By solving either of these equations, one can recover the system state as well as the probability \(P_t(k)\) of \(k_t\). Result [result1:32Joint32fb32dynamics] thus provides a single equation that equivalently captures the same feedback dynamics, at the cost of enlarging the Hilbert space to \(\mathcal{H}_s \otimes \mathcal{H}_\text{cl}\).

The extended jump operator \(\mathbb{L}_{k,q} = L_k(q) \otimes \ket{k}\bra{q}\) has a clear interpretation in terms of its action on each subsystem. Given that the last detected jump was \(q\), the jump operator in the quantum system becomes \(L_k(q)\) for any jump \(k \in \Sigma\), representing the transition \(q \rightarrow k\) in the quantum part. Meanwhile, the corresponding operator in the classical subsystem is \(\ket{k}\bra{q}\), representing the memory update, where \(k_t\) changes from \(q\) to \(k\).

Note that \(\dim(\mathcal{H}_{\text{cl}})=\#\Sigma\), where \(\#\Sigma\) denotes the number of possible jumps, thus directly quantifying the memory cost of the feedback protocol. The memory-less feedback protocol mentioned in Sec. 2.5 has the dynamics described solely in the Hilbert space of the quantum system [Eq. 13 ]. On the other hand, the feedback dynamics based on the jump memory \(k_t\) is still described by a Markovian equation [Result 1], but now on the enlarged space \(\mathcal{H}_{s}\otimes\mathcal{H}_{\text{cl}}\).

In the next section, we show how to use Result [result1:32Joint32fb32dynamics] to compute the full statistics of the stochastic charge \(N(t)\) [Eq. 1 ] under a general jump-based feedback.

3.3 Connection between the feedback dynamics with FCS↩︎

The main advantage of the hybrid representation of the feedback dynamics described by Eq. ?? is that we have a one-to-one map between the jumps in the quantum system and jumps in the composite classical-quantum system. In other words, we have a jump \(\bar{\rho}_t \rightarrow L_k(q)\bar{\rho}_t L_k^\dagger(q)\) in the quantum system if, and only if, the jump \(\mathbb{L}_{k,q}\rho_{\text{sm}}(t)\mathbb{L}_{k,q}^\dagger\) happened in the joint system. Consequently, we can unravel the master equation ?? similarly to Eq. 2 in Sec. 2.1, and it defines the jumps in the extended space \(\mathcal{H}_s\otimes \mathcal{H}_{\text{cl}}\).

The extended jump operators \(\mathbb{L}_{k,q}\) define the jump channels \(\mathbb{J}_{k,q} (\rho_{\text{sm}}) \equiv \mathbb{L}_{k,q}\rho_{\text{sm}}\mathbb{L}_{k,q}^\dagger\) for any density matrix \(\rho_{\text{sm}}\) in the space \(\mathcal{H}_s\otimes \mathcal{H}_{\text{cl}}\). We can define \(\tilde{N}_{kq}(t)\) as the total (random) number of jumps in the channel \(\mathbb{J}_{k,q}\) over the interval \([0,t]\). Therefore, one can define the extended stochastic charge as \[\label{eq:32extended32stochastic32charge} \tilde{N}(t) = \sum_{k,q \in \Sigma} \tilde{\nu}_{kq} \tilde{N}_{kq}(t)~.\tag{16}\]

Note that Eq. 16 allows us to assign weights not only for the transitions in the quantum system, but also attribute such weights to transitions of the memory \(k_t\). In particular, if we consider \(\tilde{\nu}_{kq} \equiv \nu_k\), where \(\nu_k\) are the weights of the system’s stochastic charge \(N(t)\) [Eq. 1 ], then Eq. 16 becomes \[\tilde{N}(t) = \sum_{k\in \Sigma} \nu_{k} \sum_{q\in\Sigma} \tilde{N}_{kq}(t) = \sum_{k\in\Sigma}\nu_k N_k(t) = N(t)~,\] where \(\sum_{q\in\Sigma} \tilde{N}_{kq}(t) = N_k(t)\) is the number of jumps in the channel \(k\). It proofs our second main result:

Result 2. With weights \(\tilde{\nu}_{kq} \equiv \nu_k\), the extended stochastic charge [Eq. 16 ] coincides with that of the quantum subsystem [Eq. 1 ], i.e., \(\tilde{N}(t) = N(t)\).

In summary, we have shown that a general feedback protocol based on the last detected jump, initially described by Eq. 7 , can be reformulated in terms of an extended system–memory composite state \(\rho_{\text{sm}}(t)\), which evolves according to the Markovian Master Equation ?? . In this composite system, we introduce a new stochastic charge \(\tilde{N}(t) = \sum_{k,q \in \Sigma} \tilde{\nu}_{kq} \tilde{N}_{kq}(t)\), whose statistical properties can be characterized using the tools of full counting statistics (FCS) theory [1], as briefly outlined below. Finally, if we set the weights \(\tilde{\nu}_{kq} = \nu_k\), where \(\nu_k\) are the weights of the stochastic charge \(N(t)\) of the quantum system [Eq. 1 ], then \(\tilde{N}(t) = N(t)\), and the statistics of the extended stochastic charge coincide with those of the system’s stochastic charge.

Let us review some previous results from the FCS theory [1] and show how they can be used in the context of a general jump-based feedback protocol. The fluctuations around the expected value \(\braket{N(t)}\) of the charge \(N(t)\) are captured by the variance \(\text{Var}(N(t))\). On the other hand, the rates of the variance and expected value also provide important information about the stochastic charge. We define the average current and noise as \[\begin{align} \tag{17} J_t&\equiv&\frac{d}{dt}E[N(t)]~,\\ \tag{18} D_t &\equiv& \frac{d}{dt}\text{Var}(N(t))~. \end{align}\] One can introduce the super-operator \(\tilde{\mathcal{J}}\) acting on the joint space \(\mathcal{H}_s \otimes \mathcal{H}_\text{cl}\) as \[\label{eq:32current32operator} \tilde{\mathcal{J}}\rho_{\text{sm}}(t) \equiv \sum_{k\in\Sigma} \nu_k \sum_{q\in \Sigma}\mathbb{L}_{k,q}\rho_{\text{sm}}(t) \mathbb{L}_{k,q}^\dagger~,\tag{19}\] and the average current of the stochastic charge \(N(t)\) under the feedback dynamics can be written as \[\label{eq:32average32current} J_t = \mathrm{Tr}[\tilde{\mathcal{J}}\rho_{\text{sm}}(t)].\tag{20}\]

Let us define the stochastic current as \[I_t \equiv \frac{dN(t)}{dt}~,\] and consequently one has \(J_t = E[I_t]\). The time correlations of the stochastic current are captured by the two-point correlation function \(F(t,t+\tau)\), that is introduced as \[\begin{align} F(t,t+\tau) &\equiv& E[\delta I_t \delta I_{t+\tau}]\\ & = & E[I_t I_{t+\tau}] - J_t J_{t+\tau}~,\nonumber \end{align}\] where \(\delta I_t \equiv I_t - J_t\) is the current fluctuation. Since \(I_t\) is a classical random variable, one has \(F(t,t+\tau) = F(t+\tau,t)\), then it is sufficient to consider only \(\tau>0\). Furthermore, let us define the super-operator \(\tilde{\mathcal{H}}\) that acts on \(\mathcal{H}_s\otimes\mathcal{H}_\text{cl}\) as \[\label{eq:32kinetic32operator} \tilde{\mathcal{H}}\rho_{\text{sm}}(t) \equiv \sum_{k\in\Sigma} \nu_k^2 \sum_{q\in \Sigma}\mathbb{L}_{k,q}\rho_{\text{sm}}(t) \mathbb{L}_{k,q}^\dagger~,\tag{21}\] and we introduce \(K_t\equiv \mathrm{Tr}[\tilde{\mathcal{H}}\rho_{\text{sm}}(t)]\).

Considering that both system’s Hamiltonian and jump operators are time-independent, then the two-point correlation function can be written as \[\label{eq:32def32two-point32corr32func} F(t,t+\tau) = \delta(\tau) K_t + \mathrm{Tr}[\tilde{\mathcal{J}} e^{\tau\mathbb{L}}\tilde{\mathcal{J}}\rho_{\text{sm}}(t)] - J_t J_{t+\tau}~,\tag{22}\] where \(\mathbb{L}\) is defined in Eq. ?? , \(\tilde{\mathcal{J}}\) and \(\tilde{\mathcal{H}}\) are defined in Eqs. 19 and 21 , respectively. The power spectrum, denoted by \(S(\omega)\), is defined as the Fourier transform of the two-point correlation function in the steady-state regime, \(F(\tau) \equiv \lim_{t \to \infty} F(t,t+\tau)\). Thus, \[\begin{align} \label{eq:32power32spectral32in32the32steady32state} S(\omega) &=& \int_{-\infty}^{\infty} e^{-i\omega\tau} F(\tau)\, d\tau \\ &=& K + \int_{-\infty}^{\infty} e^{-i\omega\tau} \left( \mathrm{Tr}\!\left[\tilde{\mathcal{J}} e^{|\tau|\mathbb{L}}\tilde{\mathcal{J}}\rho_{\text{sm}}^{\text{ss}}\right] - J^2 \right) d\tau~,\nonumber \end{align}\tag{23}\] where \(K \equiv \lim_{t \to \infty} K_t\), and \(\rho_{\text{sm}}^{\text{ss}}\) denotes the steady-state of the composite system, satisfying \(\mathbb{L}\rho_{\text{sm}}^{\text{ss}} = 0\). One can further show that the zero-frequency component of the power spectrum yields the steady-state noise, \[\begin{align} \label{eq:32noise32in32the32steady32state} D &\equiv& \lim_{t\rightarrow\infty} D_t = S(0) \\ &=& K + 2 \int_{0}^{\infty} \left( \mathrm{Tr}\!\left[\tilde{\mathcal{J}} e^{\tau\mathbb{L}}\tilde{\mathcal{J}}\rho_{\text{sm}}^{\text{ss}}\right] - J^2 \right) d\tau~.\nonumber \end{align}\tag{24}\]

The steady-state noise defined in Eq. 24 quantifies the fluctuations of the stochastic charge \(N(t)\) in the long-time regime. Since the right-hand side of Eq. 24 is time-independent, Eq. 18 implies that \(\text{Var}(N(t)) = D t\) in this regime. Knowledge of \(D\) is essential when designing feedback protocols, as it indicates how fluctuations may hinder or facilitate the ability to steer the system toward desired states or to perform specific tasks.

4 Application: three-level maser with jump-based feedback↩︎

We now apply the framework developed above to a three-level maser driven by an external field [49], [50]. We begin by briefly reviewing the different thermodynamic cycles of a quantum thermal machine [51]. We then introduce the dynamics of the three-level maser in the absence of feedback, and subsequently describe a feedback protocol based on its quantum-jump detections. Finally, we discuss how the same feedback strategy can be implemented within the classical maser model. Our goal is to employ feedback control to select between different thermodynamic regimes of the maser, specifically its operation as an engine or as a refrigerator.

Figure 2: (a) Three-level maser without feedback. The external drive is continuously applied, inducing Rabi oscillations between states \ket{0} and \ket{1} with strength \lambda. The system exchanges thermal photons with the left (l) and right (r) baths, coupled with rates \gamma_{\alpha} (\alpha = l, r). (b) Thermodynamic cycles of the three-level maser. An engine cycle occurs when the system undergoes the sequence of jumps \ket{0}\!\rightarrow\!\ket{2}\!\rightarrow\!\ket{1} and subsequently evolves from \ket{1} to \ket{0} under the drive, during which work is performed on the external drive (W > 0). Conversely, a refrigeration cycle corresponds to the reverse trajectory (W<0).

4.1 Thermodynamic cycles↩︎

A quantum thermal machine consists of a system coupled to two thermal reservoirs, from which it extracts or absorbs energy in the form of work. Ref. [51] introduced a framework that resolves its dynamics into thermodynamic cycles, classified as enginelike, coolinglike, or idle. The thermal machine undergoes either energy injections, corresponding to the absorption of energy from a bath, or energy emissions, corresponding to the release of energy into a bath. An enginelike cycle corresponds to a process in which the system absorbs energy from one bath, performs work, and discards the remaining energy into the second bath. Conversely, a coolinglike cycle describes the opposite situation, where work is invested to extract energy from one bath and release it into the other. Idle cycles correspond to sequences of transitions that do not produce work, such as an emission followed by an absorption from the same bath.

For instance, let us consider a three-level maser as described in Fig. 2 (a). The system’s Hilbert space is spanned by the orthonormal basis \(\{\ket{0}, \ket{1},\ket{2}\}\). The states \(\ket{0}\) and \(\ket{2}\), with frequency gap \(\omega_l\), are coupled with a thermal bath of Bose-Einstein distribution \(\bar{n}_l = (e^{\omega_l/T_l}-1)^{-1}\), and the strength coupling \(\gamma_l\). Similarly, the states \(\ket{1}\) and \(\ket{2}\) have a frequency gap \(\omega_r\) and are coupled with a thermal bath characterized by \(\bar{n}_r\) and \(\gamma_r\). Here, \(T_\alpha\) is the temperature of each bath, with \(\alpha = l,r\). Hence, an injection \(I_l\) occurs when the system transitions from \(\ket{0}\) to \(\ket{2}\) by absorbing a thermal photon from the left bath, while an emission \(E_l\) corresponds to the decay \(\ket{2}\to\ket{0}\) accompanied by photon emission into the same bath. Analogously, the transitions involving states \(\ket{1}\) and \(\ket{2}\) define emissions \(E_r\) and injections \(I_r\) associated with the right bath. Furthermore, the system is subject to an external drive coupling the states \(\ket{0}\) and \(\ket{1}\), enabling Rabi oscillations between these levels.

When the sequence \(I_l E_r\) is observed, the system evolves from \(\ket{1}\) to \(\ket{0}\) while performing work on the external drive, corresponding to an engine cycle (see Fig. 2 (b)). Conversely, after the sequence \(I_r E_l\), the drive performs work on the system, which evolves from \(\ket{0}\) to \(\ket{1}\), thereby realizing a cooling cycle. In our convention, \(W>0\) corresponds to work performed by the maser on the external drive, i.e., operating as an engine, whereas \(W<0\) corresponds to work done by the external drive on the maser, i.e., operating as a refrigerator.

In what follows, feedback can be used to turn the drive on or off conditioned on the last jump transition, thereby selecting only engine or cooling cycles. We first present the maser without feedback, where the drive remains continuously on, and then introduce a feedback protocol based on the jump detections.

4.2 Maser without feedback↩︎

4.2.1 Dynamics↩︎

Assuming the maser is weakly coupled to the two baths, its evolution (without feedback) is governed by the master equation \[\label{eq:32quantum32maser32withot32fb} \partial_t \rho_t = -i[H,\rho_t]+\sum_{k \in\{E_l,I_l,E_r,I_r\}} \mathcal{D}[L_k]\rho_t~,\tag{25}\] where \(\rho_t\) is the state of the three-level system. The jump operators of the left bath are given by \[\label{eq:32jump32op32of32left32bath} L_{E_l} = \sqrt{\gamma_l (\bar{n}_l+1)} \ket{0}\bra{2},~ L_{I_l} = \sqrt{\gamma_l \bar{n}_l} \ket{2}\bra{0},\tag{26}\] and for the right bath one has \[\label{eq:32jump32op32of32right32bath} L_{E_r} = \sqrt{\gamma_r (\bar{n}_r+1)} \ket{1}\bra{2},~ L_{I_r} = \sqrt{\gamma_r \bar{n}_r} \ket{2}\bra{1}.\tag{27}\] Hence, \(L_{I_\alpha}\) and \(L_{E_\alpha}\) describe, respectively, injection and emission events associated with bath \(\alpha\), where \(\alpha = r, l\).

The system Hamiltonian is \(H = H_0 + V\), where \(H_0 = (\omega_l - \omega_r)\ket{1}\bra{1} + \omega_l\ket{2}\bra{2}\) is the free Hamiltonian, and \(V = 2\lambda \cos{(\omega_d t)} \big(\ket{0}\bra{1} + \ket{1}\bra{0} \big)\) is the interaction due to the external drive with frequency \(\omega_d\) and strength \(\lambda\). In what follows, we work in the interaction picture, effectively removing the free Hamiltonian \(H_0\). In addition, we move from the interaction picture to a rotating frame at frequency \(\Delta \equiv \omega_d -(\omega_l-\omega_r)\), and apply the rotating-wave approximation. In this representation, the system Hamiltonian becomes \[\label{eq:32feedback32maser32Hamiltonian322} H = \frac{\Delta}{2}\big(\ket{0}\bra{0}-\ket{1}\bra{1}\big)+ \lambda \big(\ket{0}\bra{1} + \ket{1}\bra{0} \big).\tag{28}\]

Equation 25 describes the three-level maser under a coherent drive, represented by the interaction term \(V\) in the system Hamiltonian. One can also consider an incoherent drive, which induces incoherent transitions between the states \(\ket{0}\) and \(\ket{1}\). This scenario is captured by the following classical reference system [50] with state \(\sigma_t\) that evolves according to \[\begin{align} \label{eq:32classical32maser32withot32fb} \partial_t \sigma_t &=& \gamma_c(\mathcal{D}[\ket{0}\bra{1}]\sigma_t+ \mathcal{D}[\ket{1}\bra{0}]\sigma_t) \\ &&+ \sum_{k \in\{E_l,I_l,E_r,I_r\}} \mathcal{D}[L_k]\sigma_t,\nonumber \end{align}\tag{29}\] with transition rate \(\gamma_c\) given by \[\label{eq:32classical32transition32rate32of32the32maser} \gamma_c \equiv \frac{2 \lambda^2 \Gamma}{\Delta^2 + \Gamma^2}~,\tag{30}\] where \(\Gamma \equiv (\gamma_l \bar{n}_l + \gamma_r \bar{n}_r)/2\) is the net decoherence rate. This classical system is such that both states \(\rho_t\) and \(\sigma_t\) have the same populations, but \(\sigma_t\) is a diagonal state. Since the current is given by the trace of a super-operator acting on the density matrix [Eq. 20 ], then it depends only on the populations of the state. Hence, both classical and quantum systems have the same average current.

4.2.2 FCS of the three-level maser without feedback↩︎

The thermodynamic properties of the three-level maser have recently attracted considerable attention, both theoretically and experimentally, since it can operate as either an engine or a refrigerator [51], exhibit violations of thermodynamic uncertainty relations [50], and serve as a limiting case of a three-body refrigerator system [52]. By appropriately choosing the weights \(\nu_k\) in Eq. 1 , one can analyze the thermodynamic behavior of the three-level maser. In particular, the work \(W_t\) performed by the system on the external drive up to time \(t\) is defined as \[\label{eq:32stochastic32work32of32the32three32level32maser} W_t \equiv \omega_l (N_i^l(t) - N_e^l(t)) - \omega_r (N_e^r(t) - N_i^r(t))~,\tag{31}\] where \(N_i^\alpha(t)\) and \(N_e^\alpha(t)\) are the (random) number of injections and emissions, respectively, from the bath \(\alpha \in \{l,r\}\) in the interval \([0,t]\), and are related to the jump operators \(L_{I_\alpha}\) and \(L_{E_\alpha}\).

In other words, the stochastic work corresponds to the difference between the net energy absorbed from or emitted to each bath by the system. In this case, the average current \(J_t = \partial_t \mathbb{E}[W_t]\) represents the instantaneous power delivered to the external drive, \(P_t \equiv J_t\). If \(J_t>0\), the maser delivers work to the external drive, thereby operating as an engine. Conversely, if \(J_t<0\), the drive performs work on the maser, corresponding to a refrigeration cycle.

One can show (see Appendix 8) that this current is proportional to the difference of the Bose-Einstein distributions of the baths in the steady-state, \(J_\text{ss}\equiv\lim_{t\to\infty} J_t = \xi (\bar{n}_l - \bar{n}_r)\), where \(\xi>0\) is a constant depending on the couplings \(\gamma_{\alpha}\), the external drive strength \(\lambda\), and positive linear combinations of \(\bar{n}_\alpha\) with \(\alpha \in \{l,r\}\). In this sense, the sign of the current is determined by the difference \(\bar{n}_l - \bar{n}_r\). Consequently, if \(\omega_l/T_l > \omega_r/T_r\), then \(\bar{n}_l>\bar{n}_r\), and heat flows from the left to the right bath (\(J>0\)), whereas \(\omega_l/T_l < \omega_r/T_r\) results in \(J<0\). Our goal is to implement a feedback protocol that selects only engine cycles (a similar protocol can target refrigeration cycles), achieving \(J>0\) even when \(\bar{n}_l<\bar{n}_r\). We then apply the framework developed in Sec. 3 to compute the average power, noise, and correlations of the stochastic work [Eq. 31 ] performed by the maser under a jump-based feedback protocol.

4.3 Maser with feedback↩︎

4.3.1 Dynamics↩︎

Let us consider the continuous monitoring of quantum jumps in the three-level maser. The detection outcome \(x_t\) at time \(t\) can take five possible values: (i) \(x_t = 0\) for a no-jump detection, (ii) \(x_t = E_\alpha\) for an emission, and (iii) \(x_t = I_\alpha\) for an injection, with \(\alpha = l,r\) denoting the left or right bath. The jump memory \(k_t\) records the last detected transition and can therefore assume four possible values, corresponding to \(E_\alpha\) and \(I_\alpha\) for \(\alpha = l,r\). For example, \(k_t = E_l\) indicates that, at time \(t\), the last jump was an emission to the left-hand bath, \(\ket{2}\to\ket{0}\).

We now introduce the following jump-based feedback protocol: if the last jump corresponds to the transition \(\ket{2}\!\to\!\ket{1}\) (photon emission to the right bath, corresponding to the event \(k_t = E_r\)), the external drive between the levels \(\ket{0}\) and \(\ket{1}\) is turned on; otherwise, the drive is turned off. This protocol effectively selects only the engine cycles, excluding the possibility of refrigeration cycles. Indeed, when a transition \(\ket{2}\!\to\!\ket{0}\) (\(k_t = E_l\)) is detected, the drive is switched off, preventing the completion of a refrigeration cycle. Therefore, this feedback protocol leads to the following stochastic Hamiltonian \[\label{eq:32feedback32maser32Hamiltonian} H (k_t) = \frac{\Delta}{2}\big(\ket{0}\bra{0}-\ket{1}\bra{1}\big) + \lambda~ \delta_{k_t,E_r} \big(\ket{0}\bra{1} + \ket{1}\bra{0}\big)~,\tag{32}\] where \(\delta_{a,b}\) is the Kronecker delta. Note that this feedback protocol does not modify the jump operators \(L_k\) of the maser [Eq. 25 ], as it solely introduces an additional drive term in the Hamiltonian. Furthermore, one could select only the refrigeration cycles by turning on the external drive exclusively after detecting a \(\ket{2}\!\to\!\ket{0}\) transition and turning it off otherwise.

This feedback dynamics is described by Result [result1:32Joint32fb32dynamics] as follows. The jump memory is represented by a four-dimensional Hilbert space with an orthonormal basis \(\{\ket{E_l},\ket{I_l},\ket{E_r},\ket{I_r}\}\), each state corresponding to a possible realization of \(k_t\). From Eq. ?? , the Hamiltonian of the joint classical-quantum system reads \[\begin{align} \mathbb{H} = H_{\text{off}} \otimes \mathcal{P}_\text{off}+H_{\text{on}} \otimes \ket{E_r}\bra{E_r}, \end{align}\] where \(\mathcal{P}_\text{off} \equiv \ket{I_l}\bra{I_l} +\ket{E_l}\bra{E_l}+\ket{I_r}\bra{I_r}\) is the projection onto the memory subspace where the drive is turned off, and \[\begin{align} H_{\text{off}} &\equiv& \frac{\Delta}{2}\big(\ket{0}\bra{0}-\ket{1}\bra{1}\big)~,\\ H_{\text{on}}&\equiv&H_{\text{off}} + \lambda~ \big(\ket{0}\bra{1} + \ket{1}\bra{0}\big)~, \end{align}\] representing the system Hamiltonian when the drive is off and on, respectively. According to Eq. ?? , the jump operators in the joint classical-quantum space take the form \(\mathbb{L}_{k,q} = L_k \otimes \ket{k}\bra{q}\), with \(k,q \in \{E_l, I_l, E_r, I_r\}\), where \(L_k\) is given by Eqs. 26 and 27 . The joint state \(\rho_{\text{sm}}(t)\) evolves according to Eq. ?? , fully characterizing the feedback dynamics. The unconditional state of the system at time \(t\) is obtained by tracing out the classical four-dimensional Hilbert space of the memory, while the probability distribution of the stochastic memory \(k_t\) is obtained by tracing out the quantum subsystem. The steady-state \(\rho_{\text{sm}}^{\text{ss}}\) is defined from Eq. ?? as the stationary solution satisfying \(\mathbb{L}\rho_{\text{sm}}^{\text{ss}} = 0\).

One can implement the same feedback protocol in the classical reference model described by Eq. 29 . In this case, the feedback action consists of enabling or disabling the incoherent transitions between \(\ket{0}\) and \(\ket{1}\) depending on the last detected jump. Specifically, when the last jump corresponds to the transition \(\ket{2}\!\to\!\ket{1}\) (\(k_t = E_r\)), the jump operators \(\sqrt{\gamma_c}\ket{1}\bra{0}\) and \(\sqrt{\gamma_c}\ket{0}\bra{1}\) are included to allow the \(\ket{0}\leftrightarrow\ket{1}\) transitions; otherwise, these operators are removed. This action is equivalent to turning an incoherent drive on or off between the states \(\ket{0}\) and \(\ket{1}\). This classical scenario also represents a feedback strategy conditioned on the last detected jump and can be described by Result [result1:32Joint32fb32dynamics]. Since the classical reference system has a vanishing Hamiltonian [Eq. 29 ], Eq. ?? directly implies that \(\mathbb{H} = 0\). For the jump operators \(\mathbb{L}_{k,q}\) in the extended space, we consider the same set as in the quantum case, supplemented by the additional operators \(\sqrt{\gamma_c}\ket{0}\bra{1}\otimes\ket{E_r}\bra{E_r}\) and \(\sqrt{\gamma_c}\ket{1}\bra{0}\otimes\ket{E_r}\bra{E_r}\), which represent the feedback action implemented through the incoherent drive. As in the dynamics without feedback, this classical feedback scheme yields the same population dynamics as in the quantum-feedback case (and therefore the same average current), while the density matrix remains diagonal at all times.

It is important to remark that monitoring the injection events is required for the stochastic work \(W_t\) presented in Eq. 31 to be well defined: the monitoring of injections provides the counting processes \(N_l^i(t)\) and \(N_r^i(t)\), and the total work corresponds to the energy absorbed from the left bath minus the energy delivered to the right bath. However, this feedback protocol does not require the detection of injection events; it can in fact be implemented using only emission detections. Thus, if an emission \(\ket{2}\!\to\!\ket{1}\) is detected, the drive is turned on, whereas if an emission \(\ket{2}\!\to\!\ket{0}\) is detected, the drive is turned off. In this case, the continuous monitoring of emissions can be carried out using photon-counting detectors [8][11].

Figure 3: Selecting only engine cycles in a three-level maser by applying jump-based feedback. We considered \bar{n}_l = 0.3, \bar{n}_r = 8, \Delta = 0, and \gamma_l = \gamma_r = \gamma. (a) Average power P_{\text{ss}} \equiv \lim_{t\to\infty} \partial_t \mathbb{E}[W_t] in the steady-state regime. For the maser without feedback, the power is proportional to \bar{n}_l-\bar{n}_r and becomes negative when \bar{n}_l<\bar{n}_r (purple dashed curve). The feedback acts to maintain a positive power even when \bar{n}_l<\bar{n}_r (purple solid curve). The inset shows the steady-state populations of the quantum maser states, where \rho_{ii} \equiv \bra{i}\rho_{\rm ss}\ket{i} is the population of state \ket{i} for i = 0,1,2. Solid lines represent populations under feedback dynamics, while dashed lines correspond to the no-feedback case. Colors indicate the same populations in both cases. (b) Steady-state noise, D \equiv \lim_{t\to\infty} \partial_t \mathrm{Var}(W_t), of the stochastic work W_t defined in Eq. 31 , shown for both feedback and no-feedback cases with the quantum and classical maser.

4.3.2 FCS of the three-level maser with feedback↩︎

From now on, we consider a resonant external drive between the states \(\ket{0}\) and \(\ket{1}\), where \(\omega_d = \omega_l - \omega_r\) and thus \(\Delta = 0\). Hence, \(H_{\text{off}} = 0\), and the extended Hamiltonian becomes \[\begin{align} \mathbb{H} = \lambda~ \big(\ket{0}\bra{1} + \ket{1}\bra{0}\big) \otimes \ket{E_r}\bra{E_r}. \end{align}\] The feedback steady-state is obtained by solving \(\mathbb{L}\rho_{\text{sm}}^{\text{ss}} = 0\), which corresponds to an eigenvector equation, where \(\mathbb{L}\) is defined in Eq. ?? . The average steady-state current then follows directly from Eq. 20 . In this case, the counting observable is the stochastic work \(W_t\) [Eq. 31 ], so that the current corresponds to the power \(P_t\) delivered by the maser to the drive. Figure 3 (a) shows the steady-state power for both classical and quantum masers under the feedback protocol described above, compared with the power in the no-feedback case discussed in Sec. 4.2. The classical and quantum masers yield the same steady-state power. Under feedback, \(P_{\text{ss}}\) is independent of the difference \(\bar{n}_l - \bar{n}_r\), resulting in positive power for both \(\bar{n}_l \geq \bar{n}_r\) and \(\bar{n}_l < \bar{n}_r\) (analytical expressions are given in Appendix 8).

Figure 4: (a) Power spectrum of the stochastic work defined in Eq. 31 . Remember that the power spectrum is a even function of \omega, where S(\omega) = S(-\omega). (b) Two-point correlation function in the steady-state defined in Eq. 22 . The parameters used in both (a) and (b) were \bar{n}_l = 0.3, \bar{n}_r = 8, \Delta = 0, \omega_r = 2 \lambda, \omega_l = 4\omega_r, \gamma_l = \gamma_r = 0.025 \lambda, and \lambda = 1 set the previous parameters \gamma,~\omega_r, and \omega_l in units of \lambda.

The inset of Fig. 3 (a) shows the feedback steady-state populations of the three quantum-maser levels. Once we detect the transition \(\ket{2} \rightarrow\ket{1}\), then the external drive acts to move the system from \(\ket{1}\) to \(\ket{0}\) through Rabi oscillations, concluding a engine cycle. On the other hand, if we detect the transition \(\ket{2}\rightarrow\ket{0}\), then there is no external drive to move the system from \(\ket{0}\) to \(\ket{1}\). As a consequence, the feedback acts to increase the population of \(\ket{0}\) in comparison with the quantum three-level maser without feedback (external drive always on). Furthermore, note that for \(\gamma \gg \lambda\) both the feedback and no-feedback dynamics converge to the same behavior. In this regime, the coherent drive is much weaker than the thermal coupling, and both dynamics behave as if the drive were always off. In contrast, we note that the protocol’s performance is enhanced in the strong-drive regime \(\lambda \gg \gamma\), where the power increases as the ratio \(\gamma/\lambda\) decreases.

From Eq. 24 , one can obtain the noise \(D \equiv \lim_{t \rightarrow \infty} \partial_t \mathrm{Var}(W_t)\) associated with the stochastic charge \(W_t\) in the stationary regime, as shown in Fig. 3 (b). Note that the feedback reduces the noise compared to the case without feedback. This is because \(D\) is related to the fluctuations of the stochastic work \(W_t\), which in turn is proportional to the number of possible jump trajectories of the system. Since this feedback protocol suppresses all refrigeration cycles, the number of possible trajectories decreases, leading to a reduction in the noise.

Figure 5: Enhancing the power of the three-level maser for \bar{n}_l>\bar{n}_r. We considered \bar{n}_l = 0.8, \bar{n}_r = 0.1, \Delta = 0, and \gamma_r = 5 \gamma_l. (a) Average power P_{\text{ss}} \equiv \lim_{t\to\infty} \partial_t \mathbb{E}[W_t] in the steady-state regime. (b) Steady-state noise, D \equiv \lim_{t\to\infty} \partial_t \mathrm{Var}(W_t). (c) Power spectrum of the stochastic work, where S(\omega) = S(-\omega). (d) Two-point correlation function in the steady-state. The parameters used in both (c) and (d) were \omega_r = \lambda, \omega_l = 5 \omega_r, \gamma_l = 0.025 \lambda, and \lambda = 1 set the previous parameters in units of \lambda.

Therefore, the feedback protocol effectively prevents refrigeration cycles, ensuring that the three-level system performs, on average, positive work on the external drive regardless of the relative values of the Bose-Einstein distributions of the baths. In other words, the protocol converts the information obtained from jump detection into work extracted by the external drive, thereby enforcing the operation of the maser as an engine.

Equation 23 provides the power spectrum of the stochastic work defined in Eq. 31 , as shown in Fig. 4 (a). Note that the dips of \(S(\omega)\) are associated with the energy gaps in the system Hamiltonian, while the spectral width reflects the coupling strengths to the thermal baths [1]. In this case, the dips occur at \(\omega = \pm 2\lambda\), corresponding to the energy gap of the Hamiltonian defined in Eq. 32 for \(\Delta = 0\). The constant \(K = \mathrm{Tr}[\tilde{\mathcal{H}}\rho_{\text{sm}}^{\text{ss}}]\), where \(\tilde{\mathcal{H}}\) is defined in Eq. 21 , determines the background of the power spectrum, corresponding to the white-noise contribution in the two-point correlation function defined in Eq. 22 . As shown in Fig. 4 (a), the feedback protocol reduces the background \(K\). Finally, Fig. 4 (b) shows the two-point correlation function for the same parameters used in the power spectrum and considering the stationary regime. One observes that the stochastic current exhibits negative time correlations (\(F(\tau) \leq 0\)), reflecting the low probability of detecting another event (either an injection or an emission) immediately after the first one.

As a final example, let us consider the case \(\bar{n}_l > \bar{n}_r\), where the three-level maser without feedback already operates, on average, as an engine and therefore exhibits positive power. The feedback action further suppresses cooling cycles, thereby enhancing the steady-state power of the maser, as shown in Fig. 5 (a). Note that, unlike in Fig. 3 (b), where the noise in the quantum and classical regimes was nearly identical, the noise here exhibits a significant difference between the two descriptions, and the feedback action reduces the noise in this case as well. Figure 5 (c) shows that the feedback in the quantum system produces a valley in the spectral density, in contrast with the dip observed in the no-feedback case and in Fig. 4 (a). This demonstrates that the feedback modifies the spectral density and, consequently, introduces both correlations and anti-correlations in the jump detections.

5 Conclusion↩︎

We have shown that a general feedback protocol based on the last detected jump can be dynamically described by a Lindblad master equation in an extended hybrid classical-quantum space (Result [result1:32Joint32fb32dynamics]). In this framework, the quantum component corresponds to the system under jump monitoring, while the classical component represents the memory that records the last detected jump. This result is significant both computationally and conceptually: computationally, it shows that the feedback dynamics can be obtained from a standard Markovian Master Equation; conceptually, it demonstrates that strongly non-Markovian feedback processes can nonetheless be represented as Markovian evolutions in an extended space. As our second main result, we show that this representation in the hybrid extended space allows a complete characterization of the full counting statistics of any counting observable of a quantum system under general jump-based feedback dynamics (Result [result2:FCS32with32feedback]). This establishes a direct connection between feedback-controlled dynamics and the standard full counting statistics framework for quantum jumps.

The example presented illustrates how the proposed framework enables a complete thermodynamic characterization of systems subject to jump-based feedback dynamics, providing analytical expressions for key physical quantities such as steady-state populations and currents. This application further demonstrates how jump detections can be exploited for work extraction, establishing feedback as a relevant thermodynamic mechanism in thermal machines. In particular, the feedback protocol considered here selectively preserves the engine cycles of the three-level maser while suppressing its refrigeration cycles.

Both Results [result1:32Joint32fb32dynamics] and [result2:FCS32with32feedback] are particularly relevant at the interface of thermodynamics and quantum information theory, where information gained through measurements can be converted into work via appropriately designed feedback protocols. This framework provides analytical tools to quantify key system observables under general jump-based feedback dynamics – features that had remained unexplored due to the absence of a unified formalism capable of describing feedback processes in quantum systems. Further work has focused on feedback strategies that depend not only on the last jump channel but also on the time elapsed since its detection – a direction currently under investigation.

Our formalism remains applicable whenever the dynamics admits a jump-based unraveling, consisting of continuous no-jump evolution interspersed with random discrete jumps, as is the case for weakly coupled systems described by Lindblad master equations [Eq. 2 ]. An interesting direction for future work is to extend the formalism to strongly coupled open quantum systems beyond the Lindblad framework.

This research is primarily supported by the U.S. Department of Energy (DOE), Office of Science, Basic Energy Sciences (BES) under Award No. DE-SC0025516. P.P.P. acknowledges funding from the Swiss National Science Foundation (Eccellenza Professorial Fellowship PCEFP2_194268).

6 Proof of the jump-based feedback master equation 7↩︎

Let us consider a sequential measurement scheme in which \(x_n\) denotes the measurement outcome obtained at time \(t_n\). We introduce the memory function, denoted by \(y_n\), as a general function of the dataset \(x_{1:n}\equiv(x_1,\ldots,x_n)\) collected after \(n\) detections. For instance, \(y_n\) may correspond to the full dataset \(x_{1:n}\), or a compressed summary of it, such as the sample average \(y_n = \frac{1}{n}\sum_{i=1}^n x_i\). The sequential measurement scheme is mathematically described by a set of instruments \(\{\mathcal{M}_x\}\), consisting of trace–non-increasing maps whose sum \(\sum_x \mathcal{M}_x\) is a quantum channel (CPTP map). These superoperators determine both the probability distribution of the outcome \(x\) given the state \(\rho\), \(P(x|\rho) = \mathrm{Tr}[\mathcal{M}_x(\rho)]\), and the corresponding state-update rule conditioned on observing \(x\), \(\rho \longrightarrow \frac{\mathcal{M}_x(\rho)}{P(x|\rho)}\).

The instruments \(\{\mathcal{M}_x\}\) describe the joint effect of the dynamical evolution and the measurement process. The most general feedback scheme is then introduced by allowing the instruments at time step \(t_{n+1}\) to depend on the memory \(y_n\), leading to the following update rules \[\begin{align} P(x_{n+1} | x_{1:n}) &= \mathrm{Tr}[\mathcal{M}_{x_{n+1}}(y_{n})\rho_{x_{1:n}}], \\[0.2cm] \rho_{x_{1:n+1}} &= \frac{\mathcal{M}_{x_{n+1}}(y_{n})\rho_{x_{1:n}}}{P(x_{n+1} | x_{1:n})}, \end{align}\] where \(\rho_{x_{1:n}}\) denotes the state conditioned on the dataset \(x_{1:n}\). In other words, the memory \(y_n\) is used to modify the measurement process and/or the dynamical evolution at each time step \(t_n\).

One can introduce the memory-resolved state \(\varrho_n(y)\) as \[\varrho_n(y) = E[\rho_{x_{1:n}} \delta_{y,y_n}]~,\] where \(E[\cdot]\) denotes the average over all possible outcomes \(x_{1:n}\), \(\delta_{a,b}\) is the Kronecker delta, and \(y\) is a possible realization of the stochastic memory \(y_n\). Let us consider a causal memory \(y_n\) that updates at each step according to an update function \(f_n\), namely \(y_{n+1} = f_{n+1}(x_{n+1},y_n)\). Ref. [12] showed that, for a general feedback protocol based on a causal memory function \(y_n = f_n(x_n,y_{n-1})\), the corresponding memory-resolved state \(\varrho_n(y)\) evolves according to the deterministic equation \[\label{eq:32deterministic32eq321} \varrho_{n+1}(y) = \sum_{x',y'} \delta_{y, f_{n+1}(x',y')} \mathcal{M}_{x'}(y') \varrho_n(y')~,\tag{33}\] where the sum runs over all possible outcomes \(x'\) and all possible realizations \(y'\) of \(y_n\).

For quantum jump detections, the instruments are given by [1] \[\begin{align} \tag{34} \mathcal{M}_0\rho &= (1+\delta t \mathcal{L}_0 ) \rho, \\[0.2cm] \tag{35} \mathcal{M}_k\rho &= \delta t \mathcal{J}_k \rho, \end{align}\] where \(\mathcal{M}_0\) corresponds to a no-jump detection and \(\mathcal{M}_k\) to a jump detected in channel \(k\in\Sigma\), with \(\Sigma\) denoting the set of experimentally monitored jump channels. The jump superoperator \(\mathcal{J}_k\) and the no-jump Liouvillian \(\mathcal{L}_0\) are defined in Eqs. 4 and 5 , respectively. We consider a sequential monitoring of quantum jumps, where detections are performed at regular times \(t_n = n\,\delta t\) for \(n=1,2,\ldots\), with \(\delta t>0\) an infinitesimal time interval. Thus, the detection outcome \(x_n\) is either \(x_n = 0\) for a no-jump event or \(x_n = k\in\Sigma\) for a jump in channel \(k\). We then define the jump memory \(k_n\) as \[\label{eq:32jump95filter} k_n = x_n + k_{n-1}\delta_{x_n, 0} ~.\tag{36}\] We consider an initial condition \(k_0\in\Sigma\). If a jump is detected at time \(t_n\) (i.e., \(x_n = k\)), the jump memory is updated to record this event, \(k_n = k\). For a no-jump detection (\(x_n = 0\)), the memory retains its previous value, \(k_n = k_{n-1}\). Hence, \(k_n\) always stores the channel corresponding to the most recently detected jump. Furthermore, \(k_n\) defines a causal memory with update function \(f_n(x,q) = x + q\,\delta_{x,0}\).

Therefore, a general jump-based feedback consists of allowing the instruments to depend on the jump memory \(k_n\) at each step. In this case, at time \(t_{n+1} = (n+1)\,\delta t\) one has \(\mathcal{M}_0(k_n)\rho = (\mathrm{1} + \delta t\,\mathcal{L}_0(k_n))\rho\) and \(\mathcal{M}_q(k_n)\rho = \delta t\,\mathcal{J}_q(k_n)\rho\). Considering these instruments together with the jump memory, Eq. 33 yields \[\begin{align} \varrho_{n+1}(k) &= &\sum_{x = 0,~ x\in\Sigma}\sum_{q\in\Sigma} \delta_{k,x+q~\delta_{x,0}} \mathcal{M}_{x}(q) \varrho_n(q)~,\\ & = & \sum_{q\in\Sigma} \delta_{k,q} \mathcal{M}_{0}(q) \varrho_n(q)\\ && +\sum_{x\in\Sigma}\sum_{q\in\Sigma} \delta_{k,x} \mathcal{M}_{x}(q) \varrho_n(q)~, \end{align}\] where we have first evaluated the sum over \(x\). Next, using the Kronecker deltas to perform the remaining sum, we obtain \[\begin{align} \varrho_{n+1}(k) = \mathcal{M}_{0}(k) \varrho_n(k)+\sum_{q\in\Sigma} \mathcal{M}_{k}(q) \varrho_n(q)~, \end{align}\] and using the definition of the quantum jump instruments, one has \[\varrho_{n+1}(k) = (\mathrm{1}+ \delta t \mathcal{L}_0(k)) \varrho_n(k)+\delta t\sum_{q\in\Sigma} \mathcal{J}_{k}(q) \varrho_n(q)~.\] In the continuous monitoring limit \(\delta t\to0\), one has \([\varrho_{n+1}(k) - \varrho_n(k)]/\delta t \to \partial_t \varrho_t(k)\), and \(\varrho_{n}(k) = \varrho_{t = n\delta t} (k) \to \varrho_t(k)\), and we can write \[\begin{align} \label{eq95app:32jump-based32feedback32dyn} \partial_t \varrho_t(k) = \mathcal{L}_0(k) \varrho_t(k)+\sum_{q\in\Sigma} \mathcal{J}_{k}(q) \varrho_t(q)~. \end{align}\tag{37}\] Finally, by using Eq. 10 , one completes the proof of Eq. 7 .

7 Proof of Result [result1:32Joint32fb32dynamics]↩︎

The composite state that describes the hybrid classical-quantum system is given by \[\begin{align} \rho_{\text{sm}}(t) &=& \sum_{k\in\Sigma} P_t(k) ~\rho_t(k) \otimes \ket{k}\bra{k}\\ &=& \sum_{k\in\Sigma}\varrho_t(k) \otimes \ket{k}\bra{k}~, \end{align}\] where we used \(\rho_t(k) \equiv \varrho_t(k)/P_t(k)\). Differentiating both sides with respect to time and substituting \(\partial_t \varrho_t(k)\) from Eq. 7 , one finds \[\begin{align} \label{eq:32proof32of32result321} \partial_t \rho_{\text{sm}}(t) &=& (-i)\sum_k [H(k),\varrho_t(k)] \otimes\ket{k}\bra{k} \nonumber\\ && + \sum_k \left( - \frac{1}{2} \sum_q \{L_q^\dagger(k) L_q(k), \varrho_t(k)\}\right) \otimes\ket{k}\bra{k} \nonumber\\ &&+ \sum_k \left( \sum_q L_k(q) \varrho_t(q) L_k^\dagger(q)\right)\otimes\ket{k}\bra{k}~. \end{align}\tag{38}\]

The first term can be written as \[\begin{align} &\sum_k [H(k),\varrho_t(k)] \otimes\ket{k}\bra{k} =\\ & \sum_k \left(H(k)\varrho_t(k) - \varrho_t(k) H(k)\right) \otimes\ket{k}\bra{k}\nonumber= \\ & \left( \sum_q H(q)\otimes\ket{q}\bra{q}\right) \left(\sum_k \varrho_t(k) \otimes\ket{k}\bra{k}\right)\nonumber\\ & - \left(\sum_k \varrho_t(k) \otimes\ket{k}\bra{k}\right) \left( \sum_q H(q)\otimes\ket{q}\bra{q}\right)\nonumber\\ & = [\mathbb{H},\rho_{\text{sm}}(t)]\nonumber~, \end{align}\] where we define \(\mathbb{H} \equiv \sum_{q\in\Sigma} H(q)\otimes\ket{q}\bra{q}\). Using a similar algebra, one can see that \[\begin{align} & \sum_{k,q} \mathcal{D}[\mathbb{L}_{k,q}] \rho_{\text{sm}}(t) =\sum_k \left(\sum_q L_k(q) \varrho_t(q) L_k^\dagger(q)\right) \otimes\ket{k}\bra{k}\nonumber \\ & \sum_k \left(-\frac{1}{2}\sum_q \{L_q^\dagger(k) L_q(k),\varrho_t(k)\}\right) \otimes\ket{k}\bra{k} ~, \end{align}\] where \(\mathcal{D}[L]\rho = L\rho L^\dagger - \tfrac{1}{2}\{L^\dagger L,\rho\}\) denotes the Lindblad dissipator, and \(\mathbb{L}_{k,q} \equiv L_k(q)\otimes\ket{k}\bra{q}\). This operator reproduces the last two terms in Eq. 38 . Hence, one has \[\partial_t\rho_{\text{sm}}(t) = -i [\mathbb{H},\rho_{\text{sm}}(t)] + \sum_{k,q \in\Sigma} \mathcal{D}[\mathbb{L}_{k,q}] \rho_{\text{sm}}(t)~,\] as described by Result [result1:32Joint32fb32dynamics].

8 Analytical expressions for the three-level maser↩︎

8.1 Feedback steady-state↩︎

The feedback steady-state can be obtained by solving the coupled equations for \(\partial_t \varrho_t(k) = 0\), or, equivalently, by determining the eigenvector of the generator satisfying \(\mathbb{L}\rho_{\text{sm}}(t)=0\), where \(\mathbb{L}\) is defined in Result [result1:32Joint32fb32dynamics]. For the feedback protocol implemented in the three-level maser, the stationary maser populations are given by \[\begin{align} \bra{0}\bar{\rho}_{ss}\ket{0} &=& \big(\eta + \bar{n}_r \bar{n}_l (1 + \bar{n}_l)\bar{n}\, p^2\big)/\xi~,\\ \bra{1}\bar{\rho}_{ss}\ket{1} &=&\big((1 + \bar{n}_r)\, \bar{n}_l \big(4 + \bar{n}_l \bar{n} p^2 \big)\big)/\xi ~,\\ \bra{2}\bar{\rho}_{ss}\ket{2} &=&\big( \bar{n}_l \bar{n}\,\big(4 + \bar{n}_r \bar{n}_l\, p^2\big)\big)/\xi ~. \end{align}\] where \[\begin{align} \xi &\equiv& 4\big(\bar{n}_r + 4 \bar{n}_r \bar{n}_l + \bar{n}_l(3 + 2 \bar{n}_l)\big)\nonumber\\ &&+ \bar{n}_l (\bar{n}_r + \bar{n}_l)\big(\bar{n}_r + \bar{n}_l + 3 \bar{n}_r \bar{n}_l\big)\, p^2~, \\ \eta &\equiv& 4\big(\bar{n}_r + 2 \bar{n}_r \bar{n}_l + \bar{n}_l(2 + \bar{n}_l)\big)~,\\ \bar{n}&\equiv&\bar{n}_l + \bar{n}_r~, \end{align}\] and \(p \equiv \gamma/\lambda\) represents the competition between the thermal coupling and external drive strength. Note that both the classical and quantum feedback protocols yield the same stationary populations, whereas the classical protocol produces a density matrix that is always diagonal (i.e., it contains no coherences).

8.2 Power↩︎

The counting observable considered in the application of the three-level maser consists of the stochastic work defined in Eq. 31 , thereby fixing the general weights \(\nu_k\) in Eq. 1 . Hence, the average current defined in Eq. 20 corresponds to the power delivered by the maser over the external drive, and it is given directly by Eq. 20 . Both classical and quantum masers have the same populations, and consequently exhibit the same currents. In the no-feedback case, where the external drive is always on, the average power of the maser in the steady-state, denoted by \(P_{\text{ss}}^{0}\), is given by \[\label{eq:32power32without32FB} P_{\text{ss}}^{0} = \frac{4(\bar{n}_l-\bar{n}_r)}{4(4 + 3\bar{n}_r + 3\bar{n}_l) + \phi\, p^2}~,\tag{39}\] where we considered that both baths have the same coupling strength to the system, \(\gamma_l = \gamma_r \equiv \gamma\), and \(\phi \equiv (\bar{n}_r + \bar{n}_l)(\bar{n}_r + \bar{n}_l + 3\bar{n}_r \bar{n}_l)\).

Note that the sign of \(P_{\text{ss}}^{0}\) depends on the difference \(\bar{n}_l - \bar{n}_r\). A positive power \(P_{\text{ss}}^{0} > 0\) corresponds to positive work, on average, performed by the maser on the drive, thereby indicating operation in the engine regime. In contrast, \(P_{\text{ss}}^{0}<0\) indicates that work is performed by the drive on the maser, characterizing a refrigeration regime. Since \(\bar{n}_\alpha = \bigl(e^{\omega_\alpha/T_\alpha}-1\bigr)^{-1}\) for \(\alpha = l,r\), one finds that \(P_{\text{ss}}^{0}>0\) only when \(\omega_l/T_l > \omega_r/T_r\).

On the other hand, the average power \(P_{\text{ss}}\) in the feedback steady-state is given by \[\label{eq:32power32with32FB} P_{\text{ss}} = \frac{4(1 + \bar{n}_r)\bar{n}_l^2}{4\big(\bar{n}_r + 4\bar{n}_r \bar{n}_l + \bar{n}_l(3 + 2\bar{n}_l)\big) + \bar{n}_l\phi\, p^2}~,\tag{40}\] where we also considered \(\gamma_l = \gamma_r \equiv \gamma\). In this case, the power \(P_{\rm ss}\) is always positive, and the maser operates exclusively as an engine. Equations 39 and 40 are displayed in Fig. 3 (a).

References↩︎

[1]
G. T. Landi, M. J. Kewming, M. T. Mitchison, and P. P. Potts, http://dx.doi.org/10.1103/PRXQuantum.5.020201.
[2]
H.-S. Goan, G. J. Milburn, H. M. Wiseman, and H. Bi Sun, http://dx.doi.org/10.1103/PhysRevB.63.125326.
[3]
S. Gammelmark and K. Mølmer, http://dx.doi.org/10.1103/PhysRevLett.112.170401.
[4]
L. F. Santos and G. T. Landi, http://dx.doi.org/10.1103/PhysRevA.111.042415.
[5]
G. T. Landi, http://dx.doi.org/10.1103/PhysRevB.104.195408.
[6]
D. J. Skinner and J. Dunkel, http://dx.doi.org/10.1103/PhysRevLett.127.198101.
[7]
F. Schulz, D. Chevallier, and M. Albert, http://dx.doi.org/10.1103/PhysRevB.107.245406.
[8]
J. C. Bergquist, R. G. Hulet, W. M. Itano, and D. J. Wineland, http://dx.doi.org/10.1103/PhysRevLett.57.1699.
[9]
T. Sauter, W. Neuhauser, R. Blatt, and P. E. Toschek, http://dx.doi.org/10.1103/PhysRevLett.57.1696.
[10]
W. Nagourney, J. Sandberg, and H. Dehmelt, http://dx.doi.org/10.1103/PhysRevLett.56.2797.
[11]
R. J. Cook and H. J. Kimble, http://dx.doi.org/10.1103/PhysRevLett.54.1023.
[12]
A. J. B. Rosal, P. P. Potts, and G. T. Landi, http://dx.doi.org/10.1103/pg2p-h529.
[13]
H. M. Wiseman, http://dx.doi.org/10.1103/PhysRevA.49.2133.
[14]
A. J. B. Rosal and G. T. Landi, https://arxiv.org/abs/, quant-ph.
[15]
B. D’Urso, B. Odom, and G. Gabrielse, http://dx.doi.org/10.1103/PhysRevLett.90.043001.
[16]
D. A. Steck, K. Jacobs, H. Mabuchi, S. Habib, and T. Bhattacharya, http://dx.doi.org/10.1103/PhysRevA.74.012322.
[17]
P. Bushev, D. Rotter, A. Wilson, F. m. c. Dubin, C. Becher, J. Eschner, R. Blatt, V. Steixner, P. Rabl, and P. Zoller, http://dx.doi.org/10.1103/PhysRevLett.96.043003.
[18]
K. Jacobs, H. I. Nurdin, F. W. Strauch, and M. James, http://dx.doi.org/10.1103/PhysRevA.91.043812.
[19]
M. Frimmer, J. Gieseler, and L. Novotny, http://dx.doi.org/10.1103/PhysRevLett.117.163601.
[20]
J. Guo, R. Norte, and S. Gröblacher, http://dx.doi.org/10.1103/PhysRevLett.123.223602.
[21]
L. Buffoni, A. Solfanelli, P. Verrucchi, A. Cuccoli, and M. Campisi, http://dx.doi.org/10.1103/PhysRevLett.122.070603.
[22]
S. K. Manikandan and S. Qvarfort, http://dx.doi.org/10.1103/PhysRevA.107.023516.
[23]
G. De Sousa, P. Bakhshinezhad, B. Annby-Andersson, P. Samuelsson, P. P. Potts, and C. Jarzynski, http://dx.doi.org/10.1103/PhysRevE.111.014152.
[24]
A. Hopkins, K. Jacobs, S. Habib, and K. Schwab, http://dx.doi.org/10.1103/PhysRevB.68.235328.
[25]
M. Rossi, N. Kralj, S. Zippilli, R. Natali, A. Borrielli, G. Pandraud, E. Serra, G. Di Giuseppe, and D. Vitali, http://dx.doi.org/10.1103/PhysRevLett.119.123603.
[26]
S. Zippilli, N. Kralj, M. Rossi, G. Di Giuseppe, and D. Vitali, http://dx.doi.org/10.1103/PhysRevA.98.023828.
[27]
M. Sarovar, C. Ahn, K. Jacobs, and G. J. Milburn, http://dx.doi.org/10.1103/PhysRevA.69.052324.
[28]
D. Marcos, A. Smith, A. Bednorz, and N. Yunger Halpern, http://dx.doi.org/10.1103/PhysRevX.10.041013.
[29]
R. Vijay, C. Macklin, D. H. Slichter, S. J. Weber, K. W. Murch, R. Naik, A. N. Korotkov, and I. Siddiqi, http://dx.doi.org/10.1038/nature11505.
[30]
D. Ristè, C. C. Bultink, K. W. Lehnert, and L. DiCarlo, http://dx.doi.org/10.1103/PhysRevLett.109.240502.
[31]
S. Zippilli, D. Vitali, P. Tombesi, and J.-M. Raimond, http://dx.doi.org/10.1103/PhysRevA.67.052101.
[32]
M. Rossi, N. Kralj, S. Zippilli, R. Natali, A. Borrielli, G. Pandraud, E. Serra, G. Di Giuseppe, and D. Vitali, http://dx.doi.org/10.1103/PhysRevLett.120.073601.
[33]
M. D. Vidrighin, O. Dahlsten, M. Barbieri, M. S. Kim, V. Vedral, and I. A. Walmsley, http://dx.doi.org/10.1103/PhysRevLett.116.050401.
[34]
M. Naghiloo, J. J. Alonso, A. Romito, E. Lutz, and K. W. Murch, http://dx.doi.org/10.1103/PhysRevLett.121.030604.
[35]
M. Ribezzi-Crivellari and F. Ritort, http://dx.doi.org/10.1038/s41567-019-0481-0.
[36]
T. Sagawa and M. Ueda, http://dx.doi.org/10.1103/PhysRevLett.104.090602.
[37]
T. Sagawa and M. Ueda, http://dx.doi.org/10.1103/PhysRevLett.109.180602.
[38]
K. Funo, Y. Watanabe, and M. Ueda, http://dx.doi.org/10.1103/PhysRevE.88.052121.
[39]
Z. K. Minev, S. O. Mundhada, S. Shankar, P. Reinhold, R. Gutiérrez-Jáuregui, R. J. Schoelkopf, M. Mirrahimi, H. J. Carmichael, and M. H. Devoret, http://dx.doi.org/10.1038/s41586-019-1287-z, http://arxiv.org/abs/1902.10355.
[40]
A. Hofmann, V. F. Maisi, C. Gold, T. Krähenmann, C. Rössler, J. Basset, P. Märki, C. Reichl, W. Wegscheider, K. Ensslin, and T. Ihn, http://dx.doi.org/10.1103/PhysRevLett.117.206803.
[41]
F. Ye, A. Ellaboudy, and J. M. Nichol, http://dx.doi.org/10.1103/PhysRevApplied.23.044063.
[42]
M. J. Kewming, A. Kiely, S. Campbell, and G. T. Landi, http://dx.doi.org/10.1103/PhysRevA.109.L050202.
[43]
G. Fiusa, P. E. Harunari, A. S. Hegde, and G. T. Landi, https://arxiv.org/abs/2505.06208, cond-mat.stat-mech.
[44]
G. Fiusa, P. E. Harunari, A. S. Hegde, and G. T. Landi, https://arxiv.org/pdf/2506.05160, cond-mat.stat-mech.
[45]
K. Prech, P. Johansson, E. Nyholm, G. T. Landi, C. Verdozzi, P. Samuelsson, and P. P. Potts, http://dx.doi.org/10.1103/PhysRevResearch.5.023155.
[46]
T. Nishiyama and Y. Hasegawa, http://dx.doi.org/10.1103/PhysRevE.109.044114.
[47]
C. Sayrin, I. Dotsenko, X. Zhou, B. Peaudecerf, T. Rybarczyk, S. Gleyzes, P. Rouchon, M. Mirrahimi, H. Amini, M. Brune, J.-M. Raimond, and S. Haroche, http://dx.doi.org/10.1038/nature10376.
[48]
L. Diósi, http://dx.doi.org/10.1103/PhysRevA.107.062206.
[49]
H. E. D. Scovil and E. O. Schulz-DuBois, http://dx.doi.org/10.1103/PhysRevLett.2.262.
[50]
A. A. S. Kalaee, A. Wacker, and P. P. Potts, http://dx.doi.org/10.1103/PhysRevE.104.L012103.
[51]
A. S. Hegde, P. P. Potts, and G. T. Landi, https://arxiv.org/abs/2408.00694(2024), http://arxiv.org/abs/2408.00694.
[52]
M. A. Aamir, P. Jamet Suria, J. A. Marín Guzmán, C. Castillo-Moreno, J. M. Epstein, N. Yunger Halpern, and S. Gasparinetti, http://dx.doi.org/10.1038/s41567-024-02708-5.