# The entropy production for thermal operations

## Abstract

According to the first and second laws of thermodynamics and the definitions of work and heat, microscopic expressions for the non-equilibrium entropy production have been achieved. Recently, a redefinition of heat has been presented in [Nature Communications volume 8, Article number: 2180 (2017)]. Since thermal operations play an important role in the resource theory of thermodynamics, it would be very interesting to find out the effect of the above-mentioned definition on the expression of the entropy production for these kind of operations. This is one of the aims of the present paper. Using the new definition of heat, it is shown that the entropy production is the same as the mutual information between a system and a bath both for thermal operations and, if the system-bath initial state is factorized, for entropy-preserving operations. It is also discussed that how one can recognize the type of the correlation between a system and a bath through knowledge of the initial state of the system only. It is shown that if the initial state of a system is diagonal in the energy basis, the thermal operations cannot create a quantum correlation between the system and the bath, however, if the system initial state is coherent Gibbs state, there cannot be classical correlation due to the thermal operations.

## Introduction

Recently, study on thermodynamic behavior of quantum mechanical systems has attracted much attention. In fact, providing a clear understanding about the fundamental concepts such as work and heat, and obtaining a deep knowledge of thermodynamics laws in quantum world, have been the main topic of many researches1,2,3,4,5,6,7,8,9,10,11. To understand the foundations of quantum thermodynamics, one can consider it as a resource theory. There are different models for the resource theories of thermodynamics12,13,14, which vary mostly on the set of allowed operations. One of the most important models is the resource theory of thermal operations (TOs). TOs were introduced in ref. 15 and applied later in refs. 16,17,18,19.

The set of TOs, {εT}, consists of all maps acting on the state of a system as15,16,17:

$${\rho {\prime} }_{S}={\varepsilon }_{T}({\rho }_{S})=T{r}_{B}({\rho {\prime} }_{SB}),$$
(1)

in which $$T{r}_{B}$$ is partial trace over the bath, and $${\rho }_{SB}^{\text{'}}$$ is the state of the composite system after the evolution, i.e.,

$${\rho }_{SB}^{\text{'}}={U}_{SB}({\rho }_{S}\otimes {\rho }_{B}^{eq}){U}_{SB}^{\dagger },$$

where

1. 1.

USB is an energy-preserving unitary operator applied to the system and the bath satisfying

$$[{U}_{SB},{H}_{S}+{H}_{B}]=0,$$
(2)

here, HS and HB are Hamiltonians of the system and the bath, respectively.

2. 2.

$${\rho }_{B}^{eq}$$ is a thermal state of the bath at some fixed temperature,

$${\rho }_{B}^{eq}=\frac{{e}^{-\beta {H}_{B}}}{{Z}_{B}},$$
(3)

where $$\beta =\frac{1}{{k}_{B}T}$$ (throughout the paper it is assumed that kB = 1), and $${Z}_{B}=tr({e}^{-\beta {H}_{B}})$$ is known as the partition function.

There are two important properties for TOs which are20,21:

1. 1.

They have time translation symmetry,

$${\varepsilon }_{T}({e}^{-i{H}_{S}t}{\rho }_{S}{e}^{i{H}_{S}t})={e}^{-i{H}_{S}t}{\varepsilon }_{T}({\rho }_{S}){e}^{i{H}_{S}t},$$
(4)
2. 2.

They preserve the thermal state,

$${\varepsilon }_{T}({\rho }_{S}^{eq})={\rho }_{S}^{eq}\mathrm{}.$$
(5)

Regarding the first law of thermodynamics and this fact that the thermal bath is an incoherent mixture of energy states, Eq. (4) indicates conservation of energy. Equation (5) expresses that it is impossible to change a thermal state without doing any work. This means that there cannot exist any machine working in a cycle and converting thermal energy into work completely. This is actually the physical meaning of the second law of thermodynamics.

The conservation of energy in thermodynamic systems is the topic of the first law of thermodynamics, which states that every increase in the internal energy of a system is due to the following two ways: (a) the work performed on the system and/or (b) the heat absorbed by the system. Irreversible processes are described by the second law of thermodynamics. According to this law, the entropy production is always non-negative; it is zero only when the system and the environment are in thermal equilibrium. Regarding the first and second laws of thermodynamics, one can derive microscopic expressions for the non-equilibrium entropy production in quantum systems22,23,24,25,26,27,45.

Recently, a new definition of heat has been provided in which the authors introduced heat by properly referring to the information flow and thereby restoring Landauer’s erasure principle28. Here, the effect of the definition on the expression of the entropy production for TOs is determined. Since microscopic expression of the non-equilibrium entropy production depends on the definition of heat, one can expect that any new definition of it might change the expression of the entropy production. It is also shown that TOs cannot generate quantum correlation from incoherent input states, however, if the initial state of a system is a coherent Gibbs state, correlation between the system and the bath is quantum correlation.

In the following, firstly, free energy definition and heat definitions are presented. Secondly, using the heat definitions, the corresponding expressions of non-equilibrium entropy production are obtained. Finally, the role of quantum coherence in the entropy production for TOs is studied.

## Preliminary

The non-equilibrium free energy for a system in a state ρS with Hamiltonian HS, which interacts with a thermal bath at temperature T, is defined as:

$$F({\rho }_{S})={E}_{S}-TS({\rho }_{S}),$$
(6)

where ES = tr(HSρS) is internal energy and S(ρS) = −tr(ρSln(ρS)) is the von Neumann entropy of the system. If one uses $${H}_{S}=-\frac{1}{\beta }(ln({\rho }_{S}^{eq})+ln({Z}_{S}))$$, the non-equilibrium free energy can be written as

$$F({\rho }_{S})={F}_{eq}+TS({\rho }_{S}||{\rho }_{S}^{eq}),$$
(7)

where $${F}_{eq}=\frac{-1}{\beta }ln({Z}_{S})$$ is the free energy in thermal equilibrium, and $$S({\rho }_{S}||{\rho }_{S}^{eq})$$ is the relative entropy. It is worth mentioning that $$F({\rho }_{S})\ge {F}_{eq}$$ due to the non-negativity of the relative entropy.

Usually, heat is defined as the change in the internal energy of the bath29,31,

$$\Delta \bar{Q}=-\,\Delta {E}_{B}\mathrm{}.$$
(8)

Although many researchers have used this definition in their works24,29,31, it has been recently shown that it is not a perfect definition for heat28. To provide a more proper definition, one can assume that there is a thermal bath whose state is initially given by a thermal state $${\rho }_{B}^{eq}$$ and it is subject to Hamiltonian HB at temperature T. In a process, where the bath state $${\rho }_{B}^{eq}$$ transforms to $${\rho }_{B}^{\text{'}}$$ under the condition that the Hamiltonian HB is remained unchanged, heat is defined as28

$$\Delta Q=-\,(\Delta {E}_{B}-\Delta {F}_{B})=\frac{-1}{\beta }\Delta {S}_{B},$$
(9)

where $$\Delta {F}_{B}=F({\rho }_{B}^{\text{'}})-F({\rho }_{B}^{eq})$$ is the change in the free energy of the bath which is stored in the bath as the extractable work. $$\Delta {S}_{B}=S({\rho }_{B}^{\text{'}})-S({\rho }_{B}^{eq})$$ is the change in the von Neumann entropy of the bath due to the state transformation. Since in this approach heat is expressed in terms of the entropy difference of the bath, one can say that there is an explicit relation between heat and information flow to or from the bath. This is consistent with Landauer’s erasure principle30. According to Eq. (9), heat is also responsible for the change in the internal energy of the bath. However, the bath internal energy can be varied through other form of energy flow on the condition that entropy is preserved. This form of energy flow is stored as extractable work. Comparing Eq. (8) with Eq. (9), one has

$$\Delta Q=\Delta \bar{Q}+\Delta {F}_{B}\mathrm{}.$$
(10)

Since ΔFB is always non-negative (due to this fact that the initial state of the bath is thermal and the free energy for this state has its minimum value), one comes to

$$\Delta Q\ge \Delta \bar{Q}\mathrm{}.$$
(11)

If the bath deviates from thermal equilibrium by small variation through a TO, $${\rho }_{B}^{\text{'}} \sim {\rho }_{B}^{eq}+\varepsilon$$, one will have $$\Delta {F}_{B}=TS({\rho }_{B}^{{\prime} }||{\rho }_{B}^{eq})\sim {\varepsilon }^{2}$$ which goes to zero in the limit of large bath. Therefore, both definitions are consistent.

## New entropy production for thermal operations

When a system experiences a dynamical process, the change in its entropy, ΔSS, includes a reversible and an irreversible contribution. The reversible contribution is due to the heat flow, which can be addressed as the entropy flow $$\Delta {S}^{rev}=\beta \Delta Q$$, and the irreversible one is called entropy production ΔSirr. Therefore, one can write

$$\Delta {S}_{S}=\Delta {S}^{irr}+\Delta {S}^{rev}\mathrm{}.$$
(12)

Regarding the usual definition of heat, Eq. (8), and the total change in the entropy of a system, Eq. (12), one can obtain the entropy production for TOs,

$$\Delta {\bar{S}}^{irr}=-\,\beta \Delta {F}_{S}=S({\rho }_{S}||{\rho }_{S}^{eq})-S({\rho }_{S}^{\text{'}}||{\rho }_{S}^{eq}),$$
(13)

which is the familiar form of the entropy production for TOs23,35 (see Methods for more detail). $$\Delta {\bar{S}}^{irr}$$ is always non-negative due to the contraction of the quantum relative entropy32. As a result

$$\Delta {F}_{S}\le 0,$$
(14)

meaning that free energy of the system is decreasing under TOs18,20. According to the definition of TO, Eq. (13) can be written as24,25:

$$\Delta {\bar{S}}^{irr}=S({\rho }_{B}^{\text{'}}||{\rho }_{B}^{eq})+I({\rho }_{SB}^{\text{'}}),$$
(15)

where $$I({\rho }_{SB}^{\text{'}})=S({\rho }_{S}^{\text{'}})-S({\rho }_{B}^{\text{'}})-S({\rho }_{SB}^{\text{'}})$$ is the mutual information between the system and the bath. Equation (15) shows that the change in the state of the bath along with the mutual information is responsible for the entropy production variation.

Now, let us obtain an expression for the entropy production for TOs based on the new definition of heat presented in the previous section. If one uses Eq. (9) in Eq. (12), one obtains

$$\Delta {S}^{irr}=-\,\beta (\Delta {F}_{S}+\Delta {F}_{B})=S({\rho }_{S}||{\rho }_{S}^{eq})-S({\rho }_{S}^{\text{'}}||{\rho }_{S}^{eq})-S({\rho }_{B}^{\text{'}}||{\rho }_{B}^{eq}),$$
(16)

which is the new form of the entropy production for TOs, more detail can be found in Methods. Considering the definition of TO, Eq. (16) can be rewritten as

$$\Delta {S}^{irr}=I({\rho }_{SB}^{\text{'}}).$$
(17)

Since $$I({\rho }_{SB}^{\text{'}})$$ is always non-negative, one comes to ΔSirr ≥ 0. As can be seen in Eq. (17), it is just the mutual information which determines the entropy production; there is no term showing the change of bath state. It is important to note that for entropy-preserving operations28 if the initial state of the composite system SB is factorized, Eq. (17) is also true (see Methods).

Regarding the non-negativity of ΔSirr together with Eq. (16), one obtains

$$\Delta {F}_{S}+\Delta {F}_{B}\le \mathrm{0,}$$
(18)

which means that sum of the system and the bath free energies is decreasing under TOs. Equation (18) can be rewritten as

$$\Delta {F}_{S}\le -\,\Delta {F}_{B},$$
(19)

which introduces an upper bound for ΔFS. As can be seen, unlike Eq. (14), this upper bound depends on the change in the free energy of the bath. Also, it is tighter than Eq. (14), due to the positivity of ΔFB.

## Quantum coherence and entropy production

Quantum coherence is one of the most important concepts in quantum physics. Recently, the role of the quantum coherence in determining the behavior of the entropy production has been investigated35. It has been shown that the non-equilibrium free energy of a system can be written as20,35,36:

$$F({\rho }_{S})={F}_{eq}+TS({\Delta }_{{H}_{S}}({\rho }_{S})||{\rho }_{S}^{eq})+TC({\rho }_{S}),$$
(20)

where $$S\mathrm{(}.||\mathrm{.)}$$ is quantum relative entropy and C(ρS) is relative entropy of coherence33,34,

$$C({\rho }_{S})=S({\Delta }_{{H}_{S}}({\rho }_{S}))-S({\rho }_{S}),$$
(21)

where

$${\Delta }_{{H}_{S}}({\rho }_{S})=\sum _{i}\langle {E}_{i}|{\rho }_{S}|{E}_{i}\rangle |{E}_{i}\rangle \langle {E}_{i}|$$

is a dephasing map acting on density matrix ρS and removing all coherences in the energy basis $$(\{|{E}_{i}\rangle \})$$, (see Methods). According to Eq. (20), the entropy production is divided into two parts: classical and quantum35,36,

$$\Delta {\bar{S}}^{irr}=\Delta {\bar{S}}_{C}^{irr}+\Delta {\bar{S}}_{Q}^{irr},$$
(22)

where

$$\Delta {\bar{S}}_{C}^{irr}=S({\Delta }_{{H}_{S}}({\rho }_{S})||{\rho }_{S}^{eq})-S({\Delta }_{{H}_{S}}({\rho }_{S}^{\text{'}})||{\rho }_{S}^{eq})$$
(23)

is the classical part, and

$$\Delta {\bar{S}}_{Q}^{irr}=C({\rho }_{S})-C({\rho }_{S}^{\text{'}})$$
(24)

is the quantum one. Since the diagonal elements of a density matrix are transformed independently of the off-diagonal ones in state-to-state transformation under TOs, $$\Delta {\bar{S}}_{C}^{irr}$$ is non-negative. Also, $$\Delta {\bar{S}}_{Q}^{irr}$$ is positive because TO is incoherent33. A quantum operation is coherence-preserving if and only if it is unitary and incoherent37. Therefore, the unitary operator USB, introduced in the definition of TO, is a coherence-preserving operator. Thus, the total coherence of system+bath remains unchanged under the operation of USB,

$$C({\rho }_{SB}^{\text{'}})=C({U}_{SB}({\rho }_{S}\otimes {\rho }_{B}^{eq}){U}_{SB}^{\dagger })=C({\rho }_{S}\otimes {\rho }_{B}^{eq})=C({\rho }_{S}),$$
(25)

which is due to this fact that the relative entropy of coherence is additive on tensor product states and $${\rho }_{B}^{eq}$$ is an incoherent state. Substituting Eq. (25) into Eq. (24), one obtains35

$$\Delta {\bar{S}}_{Q}^{irr}={C}_{cc}({\rho }_{SB}^{\text{'}})+C({\rho }_{B}^{\text{'}}),$$
(26)

where $${C}_{cc}({\rho }_{SB}^{\text{'}})=C({\rho }_{SB}^{\text{'}})-C({\rho }_{S}^{\text{'}})-C({\rho }_{B}^{\text{'}})$$ is called correlated coherence38,39.

One can repeat the above procedure to obtain the classical and quantum parts of the entropy production for the new expression, Eq. (16). As was seen before, the entropy production can be divided into two parts,

$$\Delta {S}^{irr}=\Delta {S}_{C}^{irr}+\Delta {S}_{Q}^{irr},$$
(27)

where

$$\Delta {S}_{C}^{irr}=S({\Delta }_{{H}_{S}}({\rho }_{S})||{\rho }_{S}^{eq})-S({\Delta }_{{H}_{S}}({\rho }_{S}^{\text{'}})||{\rho }_{S}^{eq})-S({\Delta }_{{H}_{B}}({\rho }_{B}^{\text{'}})||{\rho }_{B}^{eq})$$
(28)

is the classical part, and

$$\Delta {S}_{Q}^{irr}=C({\rho }_{S})-C({\rho }_{S}^{\text{'}})-C({\rho }_{B}^{\text{'}})={C}_{cc}({\rho }_{SB}^{\text{'}})$$
(29)

is the quantum one. As can be seen, the new definition of heat results in that only the correlated coherence appears in the entropy production expression with no coherence of subsystems, in spite of what is mentioned in ref. 35.

Using relative entropy of coherence, one obtains39

$${C}_{cc}({\rho }_{SB}^{\text{'}})=I({\rho }_{SB}^{\text{'}})-I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}})).$$
(30)

Regarding Eq. (30), the entropy production in Eq. (17) can be written as

$$\Delta {S}^{irr}=I({\rho }_{SB}^{\text{'}})=[I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}})]+[I({\rho }_{SB}^{\text{'}})-I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}}))],$$
(31)

hence, the classical and quantum parts of the new entropy production can be written, respectively, as

$$\Delta {S}_{C}^{irr}=S({\Delta }_{{H}_{S}}({\rho }_{S})||{\rho }_{S}^{eq})-S({\Delta }_{{H}_{S}}({\rho }_{S}^{\text{'}})||{\rho }_{S}^{eq})-S({\Delta }_{{H}_{B}}({\rho }_{B}^{\text{'}})||{\rho }_{B}^{eq})=I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}})),$$
(32)

and

$$\Delta {S}_{Q}^{irr}={C}_{cc}({\rho }_{SB}^{\text{'}})=I({\rho }_{SB}^{\text{'}})-I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}})).$$
(33)

Since $$I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}}))$$ is always non-negative, one comes to $$\Delta {S}_{C}^{irr}\ge 0$$. $$\Delta {S}_{Q}^{irr}$$ is also non-negative due to the data-processing inequality related to strong-subadditivity of the von Neumann entropy leading to this fact that mutual information decreases subject to local operations40,41. $$\Delta {S}_{Q}^{irr}$$ can be considered as a discord quantifier which depends on the basis and is established on the concept of local projective measurements detecting the quantumness of correlations42,43.

It should be mentioned that if the initial state of the system is diagonal in the energy basis, meaning that C(ρS) = 0, one comes to

$$C({\rho }_{S}^{\text{'}})=C({\rho }_{B}^{\text{'}})={C}_{cc}({\rho }_{SB}^{\text{'}})=0,$$
(34)

which indicates that the system and the bath states remain diagonal subject to time evolution. Also

$$\Delta {S}_{Q}^{irr}={C}_{cc}({\rho }_{SB}^{\text{'}})=I({\rho }_{SB}^{\text{'}})-I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}}))=0,$$
(35)

therefore

$$\Delta {S}^{irr}=\Delta {S}_{C}^{irr}=I({\Delta }_{{H}_{S}+{H}_{B}}({\rho }_{SB}^{\text{'}})),$$
(36)

as can be seen, only the classical part appears. Hence, one can say that if the initial state of the system is diagonal in the energy basis, it is impossible to create a quantum correlation between the system and the bath by applying TOs (see Fig. 1). However, if the initial state of the system is the coherent Gibbs state20,44,

$$|\lambda {\rangle }_{S}:\,=\sum _{i}\sqrt{\frac{{e}^{-\beta {E}_{i}}}{{Z}_{S}}}|{E}_{i}\rangle ,$$
(37)

one comes to $${\Delta }_{{H}_{S}}{(|\lambda \rangle }_{S}\langle \lambda |)={\rho }_{S}^{eq}$$ and therefore $$S({\Delta }_{{H}_{S}}{(|\lambda \rangle }_{S}\langle \lambda |)||{\rho }_{S}^{eq}\mathrm{)=0}$$. From Eq. (32) and this fact that $$\Delta {S}_{C}^{irr}$$ is a non-negative quantity, one can conclude that $$\Delta {S}_{C}^{irr}=0$$. Hence, for this case, there is no classical part in the entropy production expression,

$$\Delta {S}^{irr}=\Delta {S}_{Q}^{irr}={C}_{cc}({\rho }_{SB}^{\text{'}}),$$
(38)

which is in contrast to the previous case, Eq. (36), (see Fig. 1). It should be mentioned that the above results are true for the entropy production introduced in Eq. (22); if the initial state of the system is incoherent, one obtains $$\Delta {\bar{S}}_{Q}^{irr}=0$$, meaning that only the classical part appears in the entropy production expression, and if the system is initially in a coherent Gibbs state, one arrives at $$\Delta {\bar{S}}_{C}^{irr}=0$$, meaning that only the quantum part is left.

## Example

To illustrate the above-mentioned results, let us consider a two-level system whose Hamiltonian is given by $${H}_{S}={\omega }_{a}|a\rangle \langle a|+{\omega }_{b}|b\rangle \langle b|$$, where ωa > ωb (Fig. 2). The bath is assumed to be a huge reservoir out of which one can freely and repeatedly, in each run of the protocol, pick one copy of a virtual or ancillary two-level system (qubit) which is on resonance with the system45,46,47. The bath Hamiltonian is $${H}_{B}={\omega }_{1}|1\rangle \langle 1|+{\omega }_{0}|0\rangle \langle 0|+{H}_{redu}^{B}$$, where ω1 > ω0, and $${H}_{redu}^{B}$$ is the Hamiltonian describing the dynamical behavior of the rest of the bath. The initial state of the bath is assumed to be a thermal state, therefore, the state of the virtual qubit can be expressed as

$${\rho }_{vir}={q}_{1}|1\rangle \langle 1|+{q}_{0}|0\rangle \langle 0|,$$
(39)

where $${q}_{i}=\frac{{e}^{-\beta {\omega }_{i}}}{{Z}_{B}}$$. Also, the resonance condition is assumed to be

$${\omega }_{a}-{\omega }_{b}={\omega }_{1}-{\omega }_{0}.$$
(40)

The “thermal contact” between the system and the bath is described by the interaction Hamiltonian,

$${H}_{\mathrm{int}}=\gamma (|b\rangle \langle a|\otimes |1\rangle \langle 0|+|a\rangle \langle b|\otimes |0\rangle \langle 1|),$$
(41)

where γ is coupling strength, and it is assumed that $$\hslash =1$$. The time evolution of the total system is then governed by the unitary operator $${U}_{t}=exp[\,-\,i({H}_{S}+{H}_{B}+{H}_{int})t]$$. After an infinitesimal time δt the state of the total system evolves to

$${\rho }_{SB}(\delta t)={U}_{\delta t}{\rho }_{SB}(0){U}_{\delta t},$$
(42)

where the initial state ρSB(0) is a direct product of the system and the bath initial states.

Let us examine the above example for two different initial states of the system. Firstly, the initial state of the system is assumed to be an incoherent state,

$${\rho }_{S}(0)=p|a\rangle \langle a|+(1-p)|b\rangle \langle b|,$$
(43)

where $$0\le p\le 1$$. In Fig. 3, entropy production, its classical and quantum parts for this state are plotted versus the parameter p. The plots show that the quantum contribution of the entropy production is zero, hence, the entropy production is the same as the classical part. Secondly, let us assume that the initial state of the system is pure and has coherence in the energy basis,

$$|\psi {\rangle }_{S}=\sqrt{p}|a\rangle +\sqrt{(1-p)}|b\rangle .$$
(44)

In Fig. 4, the same three quantities as in Fig. 3 for this state are plotted versus the parameter p. As can be seen, when the initial state of the system is the coherent Gibbs state, p = 0.35, the classical contribution of the entropy production is zero, which is consistent to what is mentioned before.

### Discussion

In this paper, using the new definition of heat28, the corresponding expression for entropy production was obtained. The difference between this expression and the old one is a term which goes to zero in the limit of large baths, meaning that both expressions come close to each other in this limit.

Furthermore, it was shown that the new definition of heat leads to this fact that the entropy production is the same as mutual information between a system and a bath for TOs; it is also true for entropy-preserving operations provided that the initial state of the system-bath is a tensor product state.

It was also shown that the upper bound of the free energy change of a system under TOs is tighter due to this new definition of heat.

Finally, the role of quantum coherence in the new expression of entropy production was studied and it was realized that if the initial state of a system is diagonal in the energy basis, one cannot create a quantum correlation between the system and its bath, subject to TO. On the other hand, it turned out that the correlation between a system and a bath is quantum correlation if the initial state of the system is a coherent Gibbs state.

## Methods

In this section, the derivation of Eqs. (13), (15), (16), (17) and (20) is detailed. The approach is slightly different from the previous methods22,23,24,25. First of all, it is necessary to note that the following relations are true for TOs:

$$\Delta {E}_{S}+\Delta {E}_{B}=\mathrm{0,}$$
(45)
$$I({\rho }_{SB}^{\text{'}})=\Delta {S}_{S}+\Delta {S}_{B},$$
(46)

and

$$\Delta {F}_{B}=TS({\rho }_{B}^{\text{'}}||{\rho }_{B}^{eq}\mathrm{)}.$$
(47)

Equation (45) is true because of the energy conservation condition, Eq. (46) comes from this condition that the initial total state is a direct product of the system and bath states and the total state evolves unitarily, $$S({\rho }_{SB}^{\text{'}})=S({U}_{SB}({\rho }_{S}\otimes {\rho }_{B}^{eq}){U}_{SB}^{\dagger })=S({\rho }_{S})+S({\rho }_{B}^{eq})$$, and Eq. (47) is due to the fact that the initial state of the bath is a thermal state.

### Derivation of Eq. (13)

According to Eq. (12), the entropy production is given by

$$\Delta {S}^{irr}=\Delta {S}_{S}-\Delta {S}^{rev},$$
(48)

in which ΔSS is the change in the entropy of the system and ΔSrev is equal to βΔQ. Regarding Eq. (8) as the definition of heat, one obtains

$$\Delta {\bar{S}}^{irr}=\Delta {S}_{S}-\Delta {S}^{rev}=\Delta {S}_{S}-\beta \Delta \bar{Q}=\Delta {S}_{S}+\beta \Delta {E}_{B},$$
(49)

$$\Delta {\bar{S}}^{irr}=\Delta {S}_{S}-\,\beta \Delta {E}_{S}=-\beta \Delta {F}_{S},$$
(50)

due to Eq. (45) and the definition of the free energy. Since $$F({\rho }_{S})={F}_{eq}+TS({\rho }_{S}||{\rho }_{S}^{eq})$$, one obtains

$$\Delta {\bar{S}}^{irr}=-\,\beta \Delta {F}_{S}=S({\rho }_{S}||{\rho }_{S}^{eq})-S({\rho }_{S}^{\text{'}}||{\rho }_{S}^{eq}).$$
(51)

### Derivation of Eq. (15)

Substituting Eqs. (45), (46) and (47) into Eq. (50) and keeping in mind the definition of the free energy, one arrives at

$$\Delta {\bar{S}}^{irr}=-\,\beta \Delta {F}_{S}=\Delta {S}_{S}-\beta \varDelta {E}_{S}=I({\rho }_{SB}^{\text{'}})-\Delta {S}_{B}+\beta \Delta {E}_{B}=I({\rho }_{SB}^{\text{'}})+\beta \Delta {F}_{B}=I({\rho }_{SB}^{\text{'}})+S({\rho }_{B}^{\text{'}}||{\rho }_{B}^{eq}),$$
(52)

which is Eq. (15).

### Derivation of Eq. (16)

The approach is similar to the one used to obtain Eq. (13), the only difference is that here Eq. (9) is considered as the definition of heat. Starting with Eq. (12) and considering the definition of heat according to Eq. (9), one comes to

$$\Delta {S}^{irr}=\Delta {S}_{S}-\Delta {S}^{rev}=\Delta {S}_{S}-\beta \Delta Q=\Delta {S}_{S}+\Delta {S}_{B}=\Delta {S}_{S}+\beta \Delta {E}_{B}-\beta \Delta {F}_{B},$$
(53)

which, together with Eq. (45) and the definition of the free energy, gives

$$\Delta {S}^{irr}=-\beta (\Delta {F}_{S}+\Delta {F}_{B}\mathrm{)}.$$
(54)

Now, replacing ΔFB and ΔFS from Eqs. (47) and (51), respectively, results in Eq. (16),

$$\Delta {S}^{irr}=-\,\beta (\Delta {F}_{S}+\Delta {F}_{B})=S({\rho }_{S}||{\rho }_{S}^{eq})-S({\rho }_{S}^{\text{'}}||{\rho }_{S}^{eq})-S({\rho }_{B}^{\text{'}}||{\rho }_{B}^{eq}\mathrm{)}.$$
(55)

### Derivation of Eq. (17)

To obtain Eq. (17), one can use the definition of the free energy and Eqs. (45) and (46) to rewrite Eq. (54) as

$$\Delta {S}^{irr}=-\,\beta (\Delta {F}_{S}+\Delta {F}_{B})=\Delta {S}_{S}+\Delta {S}_{B}-\beta (\Delta {E}_{S}+\Delta {E}_{B})=I({\rho }_{SB}^{\text{'}}\mathrm{)}.$$
(56)

For entropy-preserving operations ($$S({\rho }_{SB}^{\text{'}})=S(\Lambda ({\rho }_{SB}))=S({\rho }_{SB})$$), if the initial state of the composite system SB is factorized (ρSB = ρSρB), one will have

$$S({\rho }_{SB}^{\text{'}})=S({\rho }_{SB})=S({\rho }_{S})+S({\rho }_{B}\mathrm{)}.$$
(57)

Regarding Eq. (57) and the definition of the mutual information, one obtains $$I({\rho }_{SB}^{\text{'}})=\Delta {S}_{S}+\Delta {S}_{B}$$, therefore

$$\Delta {S}^{irr}=\Delta {S}_{S}-\Delta {S}^{rev}=\Delta {S}_{S}-\beta \Delta Q=\Delta {S}_{S}+\Delta {S}_{B}=I({\rho }_{SB}^{\text{'}}),$$
(58)

which is the same as Eq. (56).

### Derivation of Eq. (20)

The free energy for a system in a state ρS is

$$F({\rho }_{S})=tr({H}_{S}{\rho }_{S})-TS({\rho }_{S}\mathrm{)}.$$
(59)

Substituting $${H}_{S}=-\,\frac{1}{\beta }(ln({\rho }_{S}^{eq})+ln({Z}_{S}))$$ into the above equation, one obtains

$$F({\rho }_{S})={F}_{eq}+TS({\rho }_{S}||{\rho }_{S}^{eq}),$$
(60)

where $${F}_{eq}=\frac{-1}{\beta }ln({Z}_{S})$$ is the free energy in thermal equilibrium and $$S({\rho }_{S}||{\rho }_{S}^{eq})=tr({\rho }_{S}ln({\rho }_{S}))-tr({\rho }_{S}ln({\rho }_{S}^{eq}))$$ is quantum relative entropy. Regarding $$tr({\rho }_{S}ln({\rho }_{S}^{eq}))=tr({\Delta }_{{H}_{S}}({\rho }_{S})ln({\rho }_{S}^{eq}))$$, one comes to

$$F({\rho }_{S})={F}_{eq}-TS({\rho }_{S})+TS({\Delta }_{{H}_{S}}({\rho }_{S}))+TS({\Delta }_{{H}_{S}}({\rho }_{S})||{\rho }_{S}^{eq})={F}_{eq}+TS({\Delta }_{{H}_{S}}({\rho }_{S})||{\rho }_{S}^{eq})+TC({\rho }_{S}),$$
(61)

where $$C({\rho }_{S})=S({\Delta }_{{H}_{S}}({\rho }_{S}))-S({\rho }_{S})$$ is relative entropy of coherence.

## References

1. 1.

Weimer, H., Henrich, M. J., Rempp, F., Schröder, H. & Mahler, G. Local effective dynamics of quantum systems: A generalized approach to work and heat. Europhys. Lett. 83, 30008 (2008).

2. 2.

Jarzynski, C. Equalities and inequalities: Irreversibility and the second law of thermodynamics at the nanoscale. Annu. Rev. Condens. Matter Phys. 2, 329 (2011).

3. 3.

Gelbwaser-Klimovsky, D., Alicki, R. & Kurizki, G. Minimal universal quantum heat machine. Phys. Rev. E 87, 012140 (2013).

4. 4.

Salmilehto, J., Solinas, P. & Möttönen, M. Quantum driving and work. Phys. Rev. E 89, 052128 (2014).

5. 5.

Hossein-Nejad, H., ÓReilly, E. J. & Olaya-Castro, A. Work, heat and entropy production in bipartite quantum systems. New J. Phys. 17, 075014 (2015).

6. 6.

Gallego, R., Eisert, J. & Wilming, H. Thermodynamic work from operational principles. New J. Phys 18, 103017 (2016).

7. 7.

Jarzynski, C., Quan, H. T. & Rahav, S. Quantum-classical correspondence principle for work distributions. Phys. Rev. X 5, 031038 (2015).

8. 8.

Alipour, S., Benatti, F., Bakhshinezhad, F., Afsary, M., Marcantoni, S. & Rezakhani, A. T. Correlations in quantum thermodynamics: Heat, work, and entropy production. Sci. Rep 6, 35568 (2016).

9. 9.

Ahmadi, B., Salimi, S., Khorashad, A. S. & Kheirandish, F. The quantum thermodynamic force responsible for quantum state transformation and the flow and backflow of information. Sci. Rep 9, 8746 (2019).

10. 10.

Ahmadi, B., Salimi, S. & Khorashad, A. S. Information and the second law of thermodynamics. Preprint at arXiv:1809.00611 (2018).

11. 11.

Manzano, G., Galve, F., Zambrini, R. & Parrondo, J. M. R. Entropy production and thermodynamic power of the squeezed thermal reservoir. Phys. Rev. E 93, 052120 (2016).

12. 12.

Gour, G., Müller, M. P., Narasimhachar, V., Spekkens, R. W. & Halpern, N. Y. The resource theory of informational nonequilibrium in thermodynamics. Phys. Rep 583, 1 (2015).

13. 13.

Goold, J., Huber, M., Riera, A., del Rio, L. & Skrzypzyk, P. The role of quantum information in thermodynamics-a topical review. J. Phys. A: Math. Theor 49, 143001 (2016).

14. 14.

Ng, N. H. Y. & Woods, M. P. Resource theory of quantum thermodynamics: Thermal operations and second laws. Thermodynamics in the Quantum Regime (Springer, Berlin, 2018), pp. 625–650.

15. 15.

Janzing, D., Wocjan, P., Zeier, R., Geiss, R. & Beth, T. Thermodynamic cost of reliability and low temperatures: Tightening Landauer’s principle and the second law. Int. J. Theor. Phys. 39, 2717 (2000).

16. 16.

Horodecki, M. & Oppenheim, J. Fundamental limitations for quantum and nanoscale thermodynamics. Nat. Commun. 4, 2059 (2013).

17. 17.

Brandão, F. G. S. L., Horodecki, M., Oppenheim, J., Renes, J. M. & Spekkens, R. W. Resource theory of quantum states out of thermal equilibrium. Phys. Rev. Lett. 111, 250404 (2013).

18. 18.

Brandão, F. G. S. L., Horodecki, M., Ng, N., Oppenheim, J. & Wehner, S. The second laws of quantum thermodynamics. Proc. Natl. Acad. Sci. U.S.A. 112, 3275 (2015).

19. 19.

Cwiklinski, P., Studzinski, M., Horodecki, M. & Oppenheim, J. Limitations on the evolution of quantum coherences: Towards fully quantum second laws of thermodynamics. Phys. Rev. Lett. 115, 210403 (2015).

20. 20.

Lostaglio, M., Jennings, D. & Rudolph, T. Description of quantum coherence in thermodynamic processes requires constraints beyond free energy. Nat. Commun. 6, 6383 (2015).

21. 21.

Lostaglio, M., Korzekwa, K., Jennings, D. & Rudolph, T. Quantum coherence, time-translation symmetry, and thermodynamics. Phys. Rev. X 5, 021001 (2015).

22. 22.

Deffner, S. & Lutz, E. Generalized Clausius inequality for nonequilibrium quantum processes. Phys. Rev. Lett. 105, 170402 (2010).

23. 23.

Deffner, S. & Lutz, E. Nonequilibrium entropy production for open quantum systems. Phys. Rev. Lett. 107, 140404 (2011).

24. 24.

Esposito, M., Lindenberg, K. & Van den Broeck, C. Entropy production as correlation between system and reservoir. New J. Phys. 12, 013013 (2010).

25. 25.

Esposito, M. & Van den Broeck, C. Second law and Landauer principle far from equilibrium. Europhys. Lett. 95, 40004 (2011).

26. 26.

Manzano, G., Horowitz, J. M. & Parrondo, J. M. R. Quantum fluctuation theorems for arbitrary environments: Adiabatic and nonadiabatic entropy production. Phys. Rev. X 8, 031037 (2018).

27. 27.

Manzano, G., Horowitz, J. M. & Parrondo, J. M. R. Nonequilibrium potential and fluctuation theorems for quantum maps. Phys. Rev. E 92, 032129 (2015).

28. 28.

Bera, M. N., Riera, A., Lewenstein, M. & Winter, A. Generalized laws of thermodynamics in the presence of correlations. Nat. Commun. 8, 2180 (2017).

29. 29.

Reeb, D. & Wolf, M. M. An improved Landauer principle with finite-size corrections. New J. Phys. 16, 103011 (2014).

30. 30.

Landauer, R. Irreversibility and heat generation in the computing process. IBM J. Res. Dev 5, 183–191 (1961).

31. 31.

Jennings, D. & Rudolph, T. Entanglement and the thermodynamic arrow of time. Phys. Rev. E 81, 061130 (2010).

32. 32.

Nielsen, M. L. & Chuang, I. L. Quantum Computation and Quantum Information (Cambridge University Press, Cambridge, 2000).

33. 33.

Baumgratz, T., Cramer, M. & Plenio, M. B. Quantifying coherence. Phys. Rev. Lett. 113, 140401 (2014).

34. 34.

Streltsov, A., Adesso, G. & Plenio, M. B. Colloquium: Quantum coherence as a resource. Rev. Mod. Phys. 89, 041003 (2017).

35. 35.

Santos, J. P., Celeri, L. C., Landi, G. T. & Paternostro, M. The role of quantum coherence in non-equilibrium entropy production. npj Quantum Information 5, 23 (2019).

36. 36.

Francica, G., Goold, J. & Plastina, F. Role of coherence in the nonequilibrium thermodynamics of quantum systems. Phys. Rev. E 99, 042105 (2019).

37. 37.

Peng, Y., Jiang, Y. & Fan, H. Maximally coherent states and coherence-preserving operations. Phys. Rev. A 93, 032326 (2016).

38. 38.

Tan, K. C., Kwon, H., Park, C. Y. & Jeong, H. Unified view of quantum correlations and quantum coherence. Phys. Rev. A 94, 022329 (2016).

39. 39.

Kraft, T. & Piani, M. Genuine correlated coherence. J. Phys. A: Math. Theor 51, 414013 (2018).

40. 40.

Xi, Z., Li, Y. & Fan, H. Quantum coherence and correlations in quantum system. Sci. Rep 5, 10922 (2015).

41. 41.

Wang, X.-L., Yue, Q.-L., Yu, C.-H., Gao, F. & Qin, S.-J. Relating quantum coherence and correlations with entropy-based measures. Sci. Rep. 7, 12122 (2017).

42. 42.

Ollivier, H. & Zurek, W. H. Quantum discord: A measure of the quantumness of correlations. Phys. Rev. Lett. 88, 017901 (2001).

43. 43.

Modi, K., Brodutch, A., Cable, H., Paterek, T. & Vedral, V. The classical-quantum boundary for correlations: Discord and related measures. Rev. Mod. Phys. 84, 1655 (2012).

44. 44.

Kwon, H., Jeong, H., Jennings, D., Yadin, B. & Kim, M. S. Clock-work trade-off relation for coherence in quantum thermodynamics. Phys. Rev. Lett. 120, 150602 (2018).

45. 45.

Chen, H.-B., Chen, G.-Y. & Chen, Y.-N. Thermodynamic description of non-Markovian information flux of nonequilibrium open quantum systems. Phys. Rev. A 96, 062114 (2017).

46. 46.

Skrzypczyk, P., Short, A. J. & Popescu, S. Work extraction and thermodynamics for individual quantum systems. Nat. Commun. 5, 4185 (2014).

47. 47.

Brunner, N., Linden, N., Popescu, S. & Skrzypczyk, P. Virtual qubits, virtual temperatures, and the foundations of thermodynamics. Phys. Rev. E 85, 051117 (2012).

## Author information

Authors

### Contributions

H. Dolatkhah, S. Salimi, A. S. Khorashad, and S. Haseli all contributed to the development and completion of the idea, performing the calculations, analyzing the results, discussions and writing the manuscript. The final draft of the manuscript was revised by A. S. Khorashad and reviewed by all authors.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Dolatkhah, H., Salimi, S., Khorashad, A.S. et al. The entropy production for thermal operations. Sci Rep 10, 9757 (2020). https://doi.org/10.1038/s41598-020-66416-9