# Structure of the thermodynamic arrow of time in classical and quantum theories

###### Abstract

In this work we analyse the structure of the thermodynamic arrow of time, defined by transformations that leave the thermal equilibrium state unchanged, in classical (incoherent) and quantum (coherent) regimes. We note that in the infinite-temperature limit the thermodynamic ordering of states in both regimes exhibits a lattice structure. This means that when energy does not matter and the only thermodynamic resource is given by information, the thermodynamic arrow of time has a very specific structure. Namely, for any two states at present there exists a unique state in the past consistent with them and with all possible joint pasts. Similarly, there also exists a unique state in the future consistent with those states and with all possible joint futures. We also show that the lattice structure in the classical regime is broken at finite temperatures, i.e., when energy is a relevant thermodynamic resource. Surprisingly, however, we prove that in the simplest quantum scenario of a two-dimensional system, this structure is preserved at finite temperatures. We provide the physical interpretation of these results by introducing and analysing the history erasure process, and point out that quantum coherence may be a necessary resource for the existence of an optimal erasure process.

###### pacs:

03.67.-a, 05.70.Ln## I Introduction

When considering thermodynamics one inevitably thinks of concepts such as heat flows, thermal machines and work, which seem to be far removed from the ideas of quantum information theory. However, on a more abstract level, thermodynamics can be seen as a field studying the accessibility and inaccessibility of one physical state from another Carathéodory (1909); Giles (1964). The first and second laws of thermodynamics are fundamental constraints on state transformations, forcing thermodynamic processes to conserve the overall energy and forbidding free conversion of heat into work. The mathematical framework developed within quantum information to study the influence of such constraints on the evolution of systems is known under the collective name of resource theories. Every resource theory is defined by a subset of quantum states and a subset of quantum operations that are considered free, e.g., in the resource theory of entanglement these are represented by separable states and local operations and classical communication (LOCC), respectively Horodecki et al. (2009). Every state that is not free is a resource and free transformations, the only ones allowed within the theory, must map the set of free states onto itself. This way no resources can be freely created and one can investigate how they can be exploited and manipulated under free transformations.

In particular, a set of free thermodynamic operations encodes the structure of the thermodynamic arrow of time: it tells us which states can be reached from a given state (and which states can evolve into it) in accordance with the laws of thermodynamics. In other words, whenever a state can freely, i.e., without using any extra thermodynamic resources, evolve to a state , then precedes in a thermodynamic order. In classical equilibrium thermodynamics in the presence of a single heat bath at fixed temperature such an ordering of states is particularly simple. A free transformation (one that does not require investing work) from one thermal equilibrium state to another is possible if and only if has lower free energy than . The ordering between equilibrium states is thus fully specified by one function and we deal with a total order: either can be freely transformed to , or can be freely transformed to . However, this picture becomes more complicated when one considers transformations between different nonequilibrium states. The thermodynamic ordering between incoherent states^{1}^{1}1Within this work we refer to states that are incoherent in the energy eigenbasis as simply “incoherent” or “classical” states. that arises within the resource theory of thermodynamics, when free transformations are given by catalytic thermal operations, was studied in Ref. Brandão et al. (2015). It was proven there that a transformation between incoherent states and is possible if and only if a whole family of functions, the -Rényi divergences between a given state and a thermal equilibrium state, is lower for the final state. Hence, we deal with a partial order, as not every two states are comparable, i.e., it may happen that neither can be transformed into , nor the other way round. Moreover, the ordering arising within the resource theory of thermodynamics between general states with coherence is not a simple generalisation of the ordering between incoherent states. Due to time-translation covariance of thermal operations, a whole new structure emerges where coherence is an independent resource Lostaglio et al. (2015a). Despite partial results Lostaglio et al. (2015b); Ćwikliński et al. (2015); Narasimhachar and Gour (2015), this ordering is still not fully understood.

In this paper, we investigate the thermodynamic ordering that emerges when the set of free transformations is defined by the largest set of quantum operations that do not allow one to construct a perpetuum mobile. These are given by transformations that leave the thermal equilibrium state unchanged, the so-called Gibbs-preserving (GP) operations, and form a superset of thermal operations. Instead of studying the ordering induced by these transformations between particular states, here our focus is on the global properties of the thermodynamic arrow of time. More precisely, a partial order is a very general structure, studied within the field of mathematics known as order theory, with three defining properties: reflexivity, transitivity and antisymmetry. Being such a broad and general concept, it seems natural to ask whether the thermodynamic ordering has a more rigid and specific structure. Inspired by order-theoretic studies we will focus on a special kind of partial order known as a lattice and interpret it from a thermodynamic perspective. We will show that in the infinite-temperature limit the thermodynamic arrow of time actually reflects the structure of a lattice, but that this structure is lost in the classical regime at finite temperatures. Surprisingly, however, we will also prove that in the simplest quantum scenario of a two-dimensional system, the lattice structure is preserved at finite temperatures. This suggests that coherence can play a role in providing structure to the thermodynamic arrow of time. Finally, we will introduce and analyse the history erasure process in order to provide a physical interpretation of these results and to highlight the differences between the infinite- and finite-temperature cases, as well as between classical and quantum scenarios.

## Ii Setting the scene

### ii.1 Thermodynamic framework

We will investigate the thermodynamics of finite-dimensional systems of dimension in the presence of a single heat bath at inverse temperature , where denotes the Boltzmann constant. The space of quantum states is then given by the set of density operators , i.e., the set of positive-semidefinite operators with unit trace that act on a -dimensional Hilbert space. Among all the bases of the energy eigenbasis , defined by the eigenstates of the system Hamiltonian with , is distinguished by the evolution of the system. States diagonal in this basis evolve trivially in time under the free evolution of the system, i.e., they are time-translation invariant. Such incoherent states are usually referred to as classical states because their energy is well defined up to observer’s classical lack of knowledge and they do not exhibit quantum features of superposition. This is in strict contrast to generic quantum states with coherence between energy eigenstates, when even the possession of complete knowledge about a state may leave one with uncertainty about its energy. A classical state can be equivalently described by a probability vector corresponding to the diagonal of a density matrix written in the energy eigenbasis: . Therefore, the space of classical states can be identified with the set of -dimensional probability distributions .

The most general evolution of a quantum state of a system that is initially uncorrelated with its environment is given by a completely positive trace-preserving (CPTP) map , also known as a quantum channel. Similarly, the most general evolution between two classical states and is described by a stochastic matrix . However, due to thermodynamic constraints encoded by the laws of thermodynamics, not all state transformations are allowed, e.g., a system cannot be taken out of thermal equilibrium for free. In order to define a resource theory that captures these thermodynamic limitations we need to identify free states and free operations of the theory. By definition, a state of a system that is in equilibrium with a thermal bath at inverse temperature is a free state. Therefore, for a system described by a Hamiltonian , the only free state is the thermal Gibbs state,

(1) |

Note that, being diagonal in the energy eigenbasis, is a classical state and thus can be represented by a probability vector . To define free thermodynamic operations we use the fact that they must map the set of free states into itself, so that they must preserve . The property of having a fixed point is thus a minimal requirement on any set of free thermodynamic operations. It enforces all states to evolve towards the thermal equilibrium state and ensures that one cannot bring a system out of equilibrium at no work cost. Indeed, if this was not the case, we could equilibrate it back and extract work, thus constructing a perpetuum mobile and breaking the second law of thermodynamics. We conclude that the largest set of operations that are consistent with the thermodynamic arrow of time must preserve the Gibbs state and is defined as follows:

###### Definition 1 (Gibbs-preserving maps).

We say that a CPTP map is Gibbs-preserving, or GP for short, if the thermal Gibbs state is its fixed point: . Similarly, in the classical case, we say that a stochastic matrix is GP if the thermal equilibrium probability distribution is its fixed point: .

In order to investigate the thermodynamic ordering of states encoded by Gibbs-preserving maps we will use the notion of thermal cones, defined as follows.

###### Definition 2 (Thermal cones).

The set of states that a quantum state can be mapped to via GP quantum channels is called the future thermal cone of . The set of states that can be mapped to via GP quantum channels is called the past thermal cone of . The future and past thermal cones of a classical state are defined in an analogous way, simply by replacing GP quantum channels with GP stochastic matrices.

Thermal cones induce ordering along the thermodynamic arrow of time within the state space (see Fig. 1). In order to rigorously investigate the structure of this ordering, in the next section we will introduce the necessary concepts from the field of order theory. As the following considerations can be applied to both the classical and quantum cases, for the clarity of discussion we will just state them for the more general quantum case. To obtain classical statements one simply needs to replace a density matrix with a probability vector and a GP quantum channel with a GP stochastic matrix .

### ii.2 Order theoretic approach

#### ii.2.1 Partial order

Since the identity operation is a Gibbs-preserving CPTP map and a composition of two GP operations is also GP, we have that and

Hence, the relation of one state belonging to a thermal cone of another state is reflexive and transitive. Such binary relations are known as preorders and are usually denoted by . The set of all past thermal cones induces a preorder “oriented along” the thermodynamic arrow of time, i.e., precedes , , if . On the other hand, the set of all future thermal cones induces a preorder “oriented against” the thermodynamic arrow of time, i.e., precedes , , if . As these two preorders are dual, meaning that is equivalent to , without loss of generality we will focus only on the preorder oriented along the thermodynamic arrow of time and simply denote it by . In other words, instead of writing we can write , meaning that precedes in the thermodynamic preorder.

For two states and it may happen that and . We then say that and are reversibly interconvertible under GP operations and denote it by . Since the relation is reflexive, transitive and symmetric, it is an equivalence relation and thus the set of states that are reversibly interconvertible forms a thermodynamic equivalence class.

Using thermodynamic equivalence classes we can simplify thermodynamic preorders in the following way. Instead of considering the ordering between all states, we can restrict our study to the ordering between single representatives of each thermodynamic equivalence class. This results in promoting the thermodynamic preorder into a partial order , which has an additional property of being antisymmetric, i.e., if and then . Let us explain this construction with the use of the following example:

###### Example 1 (Thermodynamic equivalence class).

Consider a qubit system described by a Hamiltonian prepared in a general state with Bloch vector . Since a unitary , mapping to , is a reversible GP map, states with fixed and belong to the same thermodynamic equivalence class. Hence, we can focus only on one representative of each class parametrised by and , e.g., with (see Fig. 2).

In fact, we have just used a standard procedure that allows one to decompose any preorder on a generic set into a partial order between equivalence classes (subsets of with elements connected via an equivalence relation ). Let us summarise this section by stating a formal definition of thermodynamic ordering:

###### Definition 3 (Thermodynamic ordering).

Consider a preorder on the set of quantum states defined by a relation of belonging to the past thermal cone, i.e., if and only if . Identify each set of states that are reversibly interconvertible via GP maps, i.e., and , with a thermodynamic equivalence class . Thermodynamic ordering is a partial order between those equivalence classes, i.e., a partial order on the quotient set .

#### ii.2.2 Lattice

We will now provide a definition and interpret a special kind of partial order: a lattice. However, before we can do it we first need to introduce a few more notions, which are illustrated in Fig. 3. For any two states and let us introduce a set of states , i.e., the set of all states whose future thermal cones contain both and . The thermodynamic interpretation of is that of a set of states in the past that are allowed by the thermodynamic arrow of time to evolve both into and at present. Similarly, let us introduce a set of states , i.e., the set of all states whose past thermal cones contain both and . Thermodynamically is the set of states in the future that are allowed by the thermodynamic arrow of time to be reached from both and at present.

Now, if there exists such that for all we have then is called the join of and and is usually denoted by . The notation is justified by the fact that is the smallest thermal cone that contains . Thermodynamically we can interpret the join of and as the unique state^{2}^{2}2It is important to remember that, precisely speaking, the thermodynamic ordering is a partial order between thermodynamic equivalence classes, as explained in Definition 3, and not between all states. Hence, whenever we refer to a “unique state”, we actually mean a state that is unique up to equivalence relation. In other words, we identify all states that are reversibly interconvertible under GP operations with one representative state that represents all states within this particular equivalence class. in the past that is consistent both with and at present, as well as with all possible joint pasts of and . The join can also be seen as the extremal moment in the past evolution, at which the system has to “decide” whether to evolve into or .

Similarly, if there exists such that for all we have , then is called the meet of and and is usually denoted by . Again, the notation is justified by the fact that is the biggest thermal cone that is contained in . Thermodynamically the meet of and is the unique state in the future that is consistent both with and at present, as well as with all possible joint futures of and . The meet can also be seen as the extremal moment in the future evolution, after which the system “forgets” whether it evolved from or , as its state is consistent with both pasts.

###### Definition 4 (Thermodynamic lattice).

The thermodynamically ordered set of quantum states forms a thermodynamic lattice if for every pair of states (defined up to thermodynamic equivalence relation) there exists a join and meet.

The existence of a thermodynamic lattice would not only bring a new understanding of the thermodynamic arrow of time (with a unique consistent future and past for each subset of states), but could also allow us to use new algebraic tools to study thermodynamics. Namely, if forms a thermodynamic lattice, then it can be fully described as an algebraic structure consisting of a set of quantum states and two binary operations and (i.e., functions ) satisfying the following axioms for all :

(2a) | |||||

(2b) | |||||

(2c) |

and another three obtained from the above by exchanging with . In Fig. 4 we present examples of partial orders that do and do not form a lattice.

## Iii Ordering of classical states

We are now ready to analyse the structure of the thermodynamic ordering of states. We will start with classical states described by probability distributions , considering separately the infinite-temperature limit, , and the case of finite temperatures. The former can also be thought of as an information-theoretic limit, because with energy states all being degenerate, negentropy (or information) is the only thermodynamic resource. In this case, as we will show, the thermodynamic arrow of time exhibits the structure of a lattice (known as the information lattice Cicalese and Vaccaro (2002)). However, we will also prove that as soon as different energy states become distinct, the lattice structure is broken within the classical theory.

### iii.1 Infinite temperature and a lattice structure

In the infinite-temperature limit the Gibbs state is described by a uniformly distributed probability vector . Hence, thermodynamically allowed GP transformations are given by bistochastic maps such that . The existence of a bistochastic map satisfying is equivalent to Bhatia (1997), where denotes majorisation relation defined as follows. Denote by a probability distribution with entries rearranged in non-increasing order. Then, is said to majorise if and only if

(3) |

for all . Within the space of -dimensional probability distributions , majorisation forms a preorder, not a partial order, because for two probability distributions and that are connected by a permutation, , we have and , but . However, as discussed before, we can identify all probability distributions that are connected by some permutation (which is a reversible bistochastic map) with an equivalence class, and then focus on the partial order between those equivalence classes.

It is known that majorisation partial order forms a lattice: for any two probability distributions, and , there exists meet and join Cicalese and Vaccaro (2002). More precisely, the meet is defined as a probability vector with components given by

(4) |

To explain why this is the case, let us use majorisation curves, and , that consist of linear segments connecting points for , and analogously for . Now, the condition is equivalent to everywhere. Hence, for the meet , its majorisation curve must be the “maximal” curve lying below both and . The expression in Eq. (4) ensures that, as the resulting majorisation curve is equal to at each point. We illustrate this for exemplary probability vectors in Fig. 5.

The join can be constructed with the use of the following algorithm Cicalese and Vaccaro (2002). First, define a probability vector with components given by

(5) |

Now, the iterative application of the following transformation on results in in no more than steps. Start with . Denote by the smallest integer such that and by the greatest integer such that

(6) |

Define by setting its components for and otherwise. Repeat until for some the vector has components ordered in a nonincreasing order. The join is then given by . The procedure just described starts similarly to the one used to define meet: we introduce a state , whose majorisation curve is the “minimal” curve lying above both and , i.e., is equal to at each point. The problem is that the resulting curve may not be concave, and since the majorisation curve is constructed from the components arranged in a nonincreasing order, each such curve must be concave. What the described algorithm does to overcome this problem, is to identify points at which the curve breaks concavity, and “smooth” it over sufficient number of points to guarantee concavity. We illustrate this for exemplary probability vectors in Fig. 6.

### iii.2 Finite temperatures and a broken lattice structure

At finite temperatures a classical state can be mapped via a GP stochastic map into if and only if thermo-majorises Ruch et al. (1978); Horodecki and Oppenheim (2013). The thermo-majorisation partial order is usually denoted by and is defined in the following way. First, we need the notion of -ordering of probability distributions. Given a thermal Gibbs distribution , with a fixed inverse temperature , introduce a Gibbs-rescaled version of : . The -ordering of is defined by a permutation that arranges in a nonincreasing order, i.e.,

(7) |

Now, the -ordered version of a probability vector is given by

(8) |

We say that two probability distributions and belong to the same -ordering if the same permutation matrix rearranges their Gibbs-rescaled versions into a nonincreasing order. Next, for every probability distribution we also define a thermo-majorisation curve , which is composed of linear segments connecting the point and the points

(9) |

for , where is a permutation that -orders . Finally, thermo-majorises if the thermo-majorisation curve is above everywhere, i.e., .

We will now first show that in the simplest case of a two-level system the partial order induced by thermo-majorisation on the full state space does not form a lattice. Then, we will present how to generalise this result for . However, we will also prove that a lattice structure is preserved within subspaces of containing probability vectors belonging to the same -ordering. In other words, for two states and belonging to the same -ordering, there may be many incomparable “candidate” states for meet and join; but within the subset consisting only of probability vectors with the same -ordering as and , the meet and join will be defined uniquely.

For any given two-dimensional thermal state with , let us choose two states, and , with

(10) |

We will prove that there does not exist a join for these two states. A generic two-level system is described by . It is easy to verify that for the only state that thermo-majorises both and is given by . On the other hand, for we get that thermo-majorises both and if . Among these states the ones with thermo-majorise the one with . Hence, we are left only with two candidates for the join of and , namely and . By direct inspection we find that those states are incomparable under thermo-majorisation partial order, so no join exists and we do not have a lattice structure. In a similar fashion one can prove that there always exists states and for which no meet exists [for example, by choosing and ].

Let us now consider two -dimensional probability distributions and , i.e., classical states with only the two highest energy levels and occupied. For simplicity, let us assume that these two energy levels are non-degenerate. This simplifying assumption allows us to map a -dimensional problem to a two-dimensional one, showing that thermo-majorisation does not have the structure of a lattice for . Let us now choose and . This way the corresponding thermo-majorisation curves and (see Fig. 7) will consist of linear segments joining the following points:

(11a) | |||||

(11b) |

We will now try again to find a candidate state for the join of and . We first note that any state that has non-zero occupation in at least two levels that are not the highest-energy levels, say and , does not thermo-majorise either or . This is because the thermo-majorisation curve of such a state can only reach at , which is bigger than , and hence will lie above neither nor . Let us now focus on the states that have a single non-zero entry at -th position for . The thermo-majorisation curve of such a state at a point will take the value . Hence, the curve will not lie above as long as . The choice

(12) |

guarantees this, as well as the consistency with the initial assumption . Thus the only candidate states for the join of and are of the form . But, this is exactly a two-level case discussed before and, using the same reasoning, one can show that for any and , consistent with our initial assumptions, the choice of satisfying

(13) |

guarantees that no join for and exists. The first inequality on the left guarantees that will be above at the point (refer to Fig. 7). Requiring to be smaller than the second argument of the minimum guarantees that will be below at the point . Hence, and are incomparable. Finally, ensuring to be smaller than the first argument of the minimum guarantees that there exist exactly two candidates for a join of and and that these are incomparable.

A careful reader would have noticed that in our two-dimensional example we have not only for infinite temperatures, but also at finite temperatures if the two energy levels are degenerate. More generally, the transformations within any degenerate subspace are governed by the same rules as the infinite-temperature limit from the previous section.^{3}^{3}3Note that if some energy states are degenerate, then thermo-majorisation actually forms a preorder. It can be replaced by a partial order only once we identify all states connected via a permutation between degenerate states with corresponding equivalence classes. Hence, the lattice structure arises within subspaces of states whose energies cannot be distinguished. But degenerate energy subspaces are not the only ones in which the lattice structure can be preserved, as there exist subspaces of in which thermo-majorisation is effectively described by majorisation. These consist of probability vectors that belong to the same -ordering. To see this, consider two probability vectors and with the same -ordering that we will denote by . Let us also denote by the -ordered version of the thermal Gibbs state . Now, the extremal points of the segments that constitute thermo-majorisation curves and will have the same coordinates: . Hence, to verify if one curve lies above the other, one only needs to compare their coordinates. This means that thermo-majorises if and only if , where denotes standard majorisation. This allows us to use a slightly modified version of the construction presented in Sec. III.1 to find the meet and join. Meet is given by Eq. (4) simply by replacing the entries of arranged in a nonincreasing order with the -ordered entries (and similarly for ). To verify that the resulting probability vector is -ordered, note that its thermo-majorisation curve is concave. To find the join we also replace nonincreasing order with -ordering in Eq. (5), and modify the described iterative procedure in the following way. We define as the smallest integer such that , and by the greatest integer satisfying

(14) |

Finally, we define by setting its components for and otherwise. The role of this modified procedure is the same as in Sec. III.1: to ensure that the thermo-majorisation curve of the resulting join is concave, which also guarantees that is -ordered. We thus conclude that if one only considers a subset of classical states that belong to the same -ordering, then thermo-majorisation forms a lattice. However, within the full state space it is not the case, since for a given and there may be multiple incomparable candidates for the join and meet, each belonging to a different -ordering (as in Fig. 7, where the two dashed lines correspond to two candidates for the join of and ).

As a final remark, let us notice that in the infinite-temperature limit states connected by a permutation are reversibly interconvertible, and so they belong to the same thermal equivalence class. Hence, when we speak of a join , it is unique only because states and , where denotes arbitrary permutation, are equivalent. At finite temperature, however, this permutation invariance is broken and so is the the uniqueness of join and meet. It is preserved only if we restrict our considerations to a particular class of states described by the same -ordering.

## Iv Ordering of quantum states

Let us now proceed to analysing the structure of the thermodynamic ordering of quantum states. In the infinite-temperature limit we will show that, similarly to the classical case, we are dealing with a lattice structure. This could be expected as in this limit the unitary operations are GP and, since unitaries are reversible, for every state with coherence there exists a diagonal (classical) state belonging to the same thermodynamic equivalence class. Therefore, the quantum and classical states share the same structure of thermodynamic ordering.

The situation becomes much more complicated at finite temperatures. In fact, the set of states that a given state can be mapped to via GP maps has not been, until recently^{4}^{4}4Recently, we became aware of the paper by Buscemi and Gour which provides the necessary and sufficient conditions for the existence of a GP quantum channel between two qubit states in terms of max-relative entropies Buscemi and Gour (2016)., explicitly found for any dimension . Therefore, we solve this problem in the simplest case of and provide future thermal cones for all states . This will allow us to prove that the thermodynamic arrow of time for qubit systems exhibits a lattice structure. This contrast with a classical two-level system provides evidence that coherence may play an important role in thermodynamics by adding structure to the thermodynamic ordering of states. However, whether the lattice structure persists beyond the qubit case for remains an open question for future investigation.

### iv.1 Infinite temperature and a lattice structure

In the infinite-temperature limit the Gibbs state is the maximally mixed state . Hence, GP maps are replaced by unital maps . The existence of a unital map satisfying is equivalent to the spectrum of majorising the spectrum of . To see this, first assume that . Then, due to the fact that the set of unital maps contains all unitaries, and can be brought to a diagonal form in the same basis, and the transformation between two diagonal states via a unital CPTP map is described by a bistochastic matrix. Thus, the problem can be mapped to the one discussed in the previous section. Now, assume that neither nor . If there existed a unital channel transforming into , then one could also construct a unital channel by composing the conjugate of the unitary diagonalising with and with the unitary diagonalising . Such a unital channel would then transform a diagonal state with diagonal into a diagonal state with diagonal . This would, however, mean that there exists a bistochastic matrix mapping a probability vector into , which is equivalent to and leads to a contradiction with the assumption. We thus conclude that in the infinite-temperature limit majorisation relation between the spectra of two given states is a necessary and sufficient condition for the existence of a GP map between these states.

The slight difference between the quantum and classical scenarios only lies in thermodynamic equivalence classes. Namely, in the classical case these were composed of probability vectors connected via a permutation, whereas in the quantum case these are composed of density matrices connected via a unitary. Regardless of this difference, the partial order between density matrices modulo unitaries forms a lattice.

### iv.2 Finite temperatures: qubit evidence for a lattice structure

We will consider a generic qubit system described by a Hamiltonian . Let us denote a thermal state of such a system with respect to inverse temperature by , with . In what follows we will describe qubit states , and a thermal state using the Bloch sphere representation,

(15) |

where denotes the vector of Pauli matrices. The Bloch vectors will be parametrised in the following way:

(16) |

where .

The following theorem, which may be of independent interest, specifies the necessary and sufficient conditions for the existence of a GP quantum channel between generic qubit states and , provided is not a pure state (we will comment on this particular zero-temperature case later).

###### Theorem 1 (Existence of a GP transformation between qubit states).

Consider qubit states and , and the thermal state that is not pure, i.e., . Then, there exists a GP quantum channel such that if and only if where and

(17) |

with analogous (primed) definitions for .

The future thermal cone of any qubit state can be found as a corollary of the above theorem.

###### Corollary 2 (Future thermal cone of a qubit system).

Consider a generic qubit state and orient the Bloch sphere so that its plane coincides with the plane containing and a thermal state , i.e., . Define two disks, and with corresponding circles and , of radii

(18) |

centred at

(19) |

Then the set of qubit states that a state can be mapped to by GP quantum channels is given, in the Bloch sphere, by the region obtained from revolving the intersection around the axis. In other words, it is given by the intersection of two balls of radii and centred at and .

The proof of the above results is based on the Alberti-Uhlmann theorem Alberti and Uhlmann (1980) and can be found in Appendix A. We illustrate the statement of Corollary 2 in Fig. 8. Let us also briefly discuss a few particular cases. For every pure state we have , which results in and . Hence, pure qubit states are totally ordered by the value of : the top state is described by a Bloch vector , and the bottom one by . For every incoherent state one of the disks, or , is always contained within the other. Hence, for an incoherent state with the future thermal cone is given by , whereas when it is given by . Finally, note that when , i.e., we consider the infinite temperature limit, both disks are centred at the origin and have the same radius equal to the length of . We thus recover the majorisation result, as the spectrum of the state majorises that of if and only if .

We also need to comment on the zero-temperature case of pure thermal state . First, introduce

(20) |

and analogously for . The conditions of Theorem 1 are then replaced by and . This results in the following change of Corollary 2. The set of states that can be transformed via GP maps is given in the Bloch sphere by the intersection of a ball of radius centred at with the half-space defined by . The details concerning this special case can also be found in Appendix A.

We are now ready to state the anticipated result that the thermodynamic ordering of qubit states at finite temperatures, unlike the ordering of classical states of a two-level system, forms a lattice. Figure 9 serves as an illustration of the following theorem, the proof of which can be found in Appendix B.

###### Theorem 3 (Thermodynamic lattice for qubits).

The thermodynamically ordered set of qubit states forms a lattice. The partially ordered thermodynamic equivalence classes consist of states connected via a unitary conjugation with . For two distinct equivalence classes consider their representatives, and , living in the plane of the Bloch sphere with . The join and meet of and are defined as follows. Introduce

(21a) | |||||

(21b) |

for . The join is then given by a state lying in the Bloch sphere at the intersection of two circles and , and the meet is defined analogously by replacing with .

## V Interpreting the thermodynamic lattice via the history erasure process

In the previous two sections we have established the structural properties of the thermodynamic arrow of time and pointed out the differences between quantum and classical scenarios. Here we aim to provide a physical interpretation of these results by introducing and analysing the history erasure process. In order to quantitatively analyse this process, we first recall the concept of thermodynamic monotones Goold et al. (2016).

Intuitively, it is clear that during evolution along the thermodynamic arrow of time the system must get closer and closer to a thermal Gibbs state or, in over-simplified words, “entropy has to grow.” This intuition can be made precise by considering any distance measure between a given state and a thermal state that is contractive under CPTP maps (analogous reasoning applies to classical states for distance measures contractive under stochastic maps). Such measures are known as thermodynamic monotones because they are monotonically non-increasing along the thermodynamic arrow of time. To see this assume that for a GP map , so that lies in the future thermal cone of . Then,

(22) |

As a particular example one may consider the relative entropy given by

(23) |

which can be interpreted as a non-equilibrium version of the free energy difference between the state and the thermal state Brandão et al. (2015). Indeed, we have

(24) |

which should be compared with the classical expression for the free energy difference , with denoting the average energy. Note that in the infinite temperature limit, , one has , so that the relative entropy is given by , and it is the von Neumann entropy that is non-decreasing along the thermodynamic arrow of time. Majorisation and thermo-majorisation conditions can thus be seen as a geometric way of expressing the monotonicity of a whole family of functions that can be interpreted as generalisations of free energy (or entropy in the limit). For the clarity of discussion in what follows we will refer mostly to the free energy and the von Neumann entropy , however, all statements will be valid for any function contractive under CPTP maps, unless stated otherwise.

We are now ready to introduce and analyse the history erasure process. Imagine that two possible events may have happened “in the past”: the system could have been prepared either in the state or in the state . It then evolved along the thermodynamic arrow of time into a state , i.e., a GP quantum channel transformed the system state into . We now ask: can one infer the past of the system, i.e., whether it was initially prepared in a state or , based on the present state ? If both and belong to the past thermal cone then it is impossible, and we say that the -history has been erased during the evolution. Clearly, any history can be erased by evolution that brings the system to the thermal equilibrium state . However, it may not be necessary for the system to evolve all the way to in order to erase its history. Therefore, the question is as follows: how far along the thermodynamic arrow of time does a system have to evolve for its state to be consistent with both possible pasts, specified by states and ? To make the notion of “far” precise we may use any thermodynamic monotone; in particular, we will be interested in how much the free energy (entropy) of the system has to decrease (increase) in order to erase its -history.

Let us start from the simplest scenario, when the two possible pasts are thermodynamically ordered. Say that lies in the past thermal cone of . Then, if the system were prepared in the state , it would not need to evolve at all (so its free energy would not need to decrease) in order to achieve history erasure. Indeed, observing the state one cannot tell whether the system started in and thermalised towards , or if it was prepared in and did not evolve at all (recall that the identity map is a free thermodynamic operation). A more interesting scenario arises when and are not ordered. Then, in general, there may be many optimal states which lead to history erasure, i.e., states that lie in the future thermal cones of both and , but whose past thermal cones contain no states with that property. However, if the thermodynamic order has a lattice structure, there is a unique optimal state , given by the meet , that leads to -history erasure.

The fact that in the infinite temperature limit we deal with a majorisation lattice means that when information is the only thermodynamic resource (in the sense that it does not matter which energy states are occupied, and the only important thing is how “sharp” the distribution is), there exists a unique optimal history erasure process. In other words, there is a well-defined way to erase the history while decreasing all thermodynamic monotones (in particular, increasing entropy) in a minimal way. On the other hand, in the classical regime at finite temperatures, when the thermodynamic order is given by thermo-majorisation, there may be many different ways to perform an optimal history erasure process. Recall that in Sec. III.2 we have seen that already in the simplest case of a two-dimensional distribution there were two candidates for such an optimal state (for the meet of and ). This is linked to the fact that at finite temperature it is not only information but also energy that matters, which is reflected by the existence of different -orderings. In general, for each of the -orderings there may be a different candidate for an optimal state. Moreover, the optimal decrease of different thermodynamic monotones may be achieved for different candidate states, so the optimal history erasure process does not exist.

We can also consider a problem dual to history erasure, when instead of erasing two possible pasts we wish to create two possible futures. More precisely, for any two given states “in the future,” and , we wish to find a state that can evolve to both of these states under free thermodynamic operations, i.e., contains both and . The analysis of -future creation process is then analogous to the one presented above, with the optimal state for thermodynamic orders with a lattice structure given by the join instead of the meet. Alternatively, one may also interpret this dual process as a particular time-reversal of the history erasure. Recall that in Sec. II.2.1 we introduced two thermodynamic orders: one oriented along the thermodynamic arrow of time, and the other against it. These two orders are mapped into each other by exchanging with , i.e., if a state lies in the past thermal cone of both and according to one order, it will lie in the future thermal cone of both these states according to the dual order. Hence, the optimal state for creating two possible futures, and , is also the optimal state for erasing two possible pasts after reversing the direction of the thermodynamic arrow of time.

Exploiting the properties of the majorisation lattice, we can now prove that in the infinite-temperature limit there is an inherent asymmetry between creating futures and erasing pasts or, in other words, between forward and backward history erasure processes. In Ref. Cicalese and Vaccaro (2002) it has been shown that the Shannon entropy is supermodular on a majorisation lattice, meaning that for any two probability distributions and we have

(25) |

Note that and can represent both classical and quantum states, since for only the spectrum of a state is important for thermodynamic order. Rearranging the above equation we obtain

(26) |

We thus see that the average increase of the Shannon entropy during the optimal -history erasure (with the average taken over two possible pasts and ) is larger than during the optimal -future creation. We can also say that the average entropy increase during a forward history erasure process is larger than during a backward (time-reversed) history erasure.

Finally, let us discuss the consequences of the existence of a thermodynamic lattice at finite temperatures for qubit systems. First, let us consider two incomparable classical states and . If the state space were restricted only to classical states, there could be two “optimal” ways to erase -history, by bringing the system to two incomparable classical states and (the candidates for the meet from Sec. III.2). However, neither of the two ways would be truly optimal, since some thermodynamic monotones could decrease optimally for , whereas others for . Now, if we are no longer restricted to classical states, there is an optimal way of erasing -history, given by the meet of and . Note that, from Theorem 3, this meet is given by a state with coherence. We thus see that for coherence is necessary for the existence of an optimal history erasure process at finite temperatures. Moreover, for the optimal state all thermodynamic monotones will be larger than for or . Hence, exploiting coherence one can erase the classical history of a system using less free energy. One may then wonder whether, independently of the existence of a thermodynamic lattice for , coherence allows one to erase history for a smaller free energy cost.

## Vi Outlook

In this work we have just begun to analyse the structure of the thermodynamic arrow of time from the point of view of order theory. Most importantly, we provided evidence for potential structural differences between the thermodynamic ordering of classical and quantum states. However, it is crucial to verify whether the coherence-induced lattice structure is still present beyond the investigated qubit case. This will require employing new tools, as the power of the Alberti-Uhlmann theorem on which we based our results is limited to two-dimensional systems. One could, for example, try to develop a quantum analogue of the embedding procedure that in the classical case allows one to arrive at thermo-majorisation condition starting from majorisation Brandão et al. (2015). A recent approach based on quantum relative Lorenz curves seems to be a promising avenue here Buscemi and Gour (2016).

Alternatively, one could investigate how and why the lattice structure breaks at finite temperatures for classical states. Note that the problem comes from the existence of different -orderings, as within a particular -ordering the lattice structure is preserved. Moreover, in the analysed qubit case we saw that if an incoherent state can be reached from an incoherent state , then there exists a continuous path of states , such that for with and . On the other hand, if such a path is restricted to classical states, then it exists only if and belong to the same -ordering. Hence, the lattice structure may arise due to coherence providing the “continuous connection” between states belonging to different -orderings. Here, linking with the known results concerning relative majorisation for continuous probability distributions may be useful van Erven and Harremoës (2010).

Furthermore, in all the cases where the thermodynamic ordering forms a lattice, one can use its structure to find new thermodynamic relations. For example the authors of Ref. Cicalese and Vaccaro (2002) have shown that the Shannon entropy is supermodular on a majorisation lattice [see Eq. (25)] and also subadditive, meaning that . One could then ask whether similar relations hold at finite temperatures when is replaced by some thermodynamic monotone function, e.g., by the free energy.

Finally, one may investigate other resource theories from the order-theoretic point of view to get insight into their structure. For example, note that transformations between pure states in both the resource theory of entanglement Nielsen and Chuang (2010) and coherence Du et al. (2015) are ruled by majorisation partial order, so actually by a majorisation lattice. In fact, very recently this structure was used to study approximate transformations between pure bipartite entangled states Bosyk et al. (2017). On the other hand, in the resource-theoretic formulation of thermodynamics using thermal operations Horodecki and Oppenheim (2013), it is known that the past thermal cone of each pure qubit state consists (up to equivalence class) only of that state Lostaglio et al. (2015b). It is therefore impossible to define a join for two distinct pure states and the partial ordering of states defined by thermal operations does not form a lattice.

Acknowledgements: I would like to thank Antony Milne and Matteo Lostaglio for helpful comments and discussions. I am also very grateful for the ongoing support provided by David Jennings and Terry Rudolph. This work was supported by EPSRC and in part by COST Action MP1209. I also acknowledge support from the ARC via the Centre of Excellence in Engineered Quantum Systems (EQuS), project number CE110001013.

## Appendix A Proof of Theorem 1

###### Proof.

The proof of Theorem 1 is based on the Alberti-Uhlmann theorem Alberti and Uhlmann (1980). In the qubit case this yields necessary and sufficient conditions for the existence of a CPTP map such that and . These conditions are given by:

(27) |

where . Thus, by simply setting , we obtain necessary and sufficient conditions for the existence of a GP quantum map such that . Using the fact that norms are non-negative, these can be expressed by

(28) |

where we have defined .

Before we find necessary and sufficient conditions for Eq. (28) to hold, let us first simplify the problem. Namely, note that states connected via a unitary are reversibly interconvertible under GP operations, and thus belong to the same equivalence class. Hence, we can focus only on one representative of this class lying in the plane of the Bloch sphere with . This means that instead of considering general Bloch vectors of the form we can focus only on the ones given by .

Now, using the parametrisation of qubit states introduced in Eqs. (15)-(16), we can write

(29) |

where

However, notice that

which means that

(30) |

Since is quadratic in , one can explicitly express the regions of with different solutions for by finding the zeros of . Using elementary calculus one can show by direct calculation that and . Hence, we can rewrite Eq. (29) as