You are on page 1of 6

On the relation between thermodynamic work extraction and distinguishability

Chiara Marletto
Clarendon Laboratory, University of Oxford, UK
Centre for Quantum Technologies, National University of Singapore, Singapore
ISI Foundation, Via Chisola, 5, 10126, Turin, Italy
(Dated: September 14, 2020)
Assuming general principles of information theory, I show that the possibility of extracting work
deterministically from a set of attributes implies that they must all be distinguishable from one
another. This theorem provides an additional connection between thermodynamics and information
theory, which is scale- and dynamics-independent, and goes via the law of conservation of energy. I
also comment on its implications for the theory of von Neumann’s universal constructor.
arXiv:2009.04588v2 [quant-ph] 11 Sep 2020

PACS numbers: 03.67.Mn, 03.65.Ud

There is a well known asymmetry in thermodynamics: provides a further link between thermodynamics and in-
while the law of conservation of energy can be formulated formation theory, via the first law in addition to the sec-
in a dynamics- and scale-independent way, the second ond.
law does not appear to have such a formulation, [1]. In Also, my definition of work allows one to distinguish
currently known formulations, the second law is deemed work from heat independently of the dynamics and scale.
only to apply at a certain macroscopic scale, which is Hence, it allows one to define heat in cases beyond the
never defined exactly. This is because the dynamical laws classical thermodynamic setting (where a specific scale
are time-reversal symmetric, hence laws prescribing the is assumed) and beyond the quantum thermodynamics
irreversibility of given transformations (like the second setting (where quantum dynamics is assumed).
law does) are prima facie ruled out at the microscopic Outline. Informally, the key result presented in this
scale. Schemes such as Boltzmann’s and Gibbs’ to de- paper is that under a set of conjectured general principles
rive the second law from classical or quantum dynamics satisfied by all dynamical theories that are at present
(supplemented with additional assumptions) provide a reasonably conceivable, including quantum theory:
bridge with reversible dynamics, but they rely on approx-
imation schemes such as ensembles and coarse-graining, If it is possible to extract work deterministically from
which also make them scale-dependent. each of a set of attributes of a physical system, then the
Recently, quantum thermodynamics has provided a attributes in that set are all distinguishable from one
dramatic improvement, recasting thermodynamic laws another,
within the quantum domain, relaxing various assump-
tions about thermodynamic equilibrium and asymptotic where ‘attribute’ here indicates a generalised state, as
regimes, to cover single quantum systems [2–4]. Yet I shall define in the next section. Crucially, I shall de-
quantum thermodynamics (as the name suggests) re- fine the concepts mentioned above (such as ‘extracting
lies on assuming quantum theory’s formalism and laws work’ and ‘distinguishable’) in a scale-independent and
– hence its ‘second laws’ are not dynamics-independent dynamics-independent way.
(unlike the conservation of energy). A proposition in a given physical theory is scale-
It is still an open problem whether there exist scale- independent if its applicability does not depend on the
independent and dynamics-independent formulations of scale. For example, current formulations of the law of
the second law of thermodynamics, compatible with dy- conservation of energy are scale-independent, because
namical laws we currently know, but also still meaningful they apply both to individual microscopic systems and
under different dynamical laws (e.g. quantum theory’s to macroscopic aggregates; while existing formulations
successor). of the second law are not, because they only apply at a
To address this problem, I shall examine the implica- certain macroscopic scale.
tions of a scale-independent, dynamics-independent def- A proposition is dynamics-independent if it does not
inition of thermodynamic work. It includes as a special assume a specific dynamical law. For instance, consider
case the classical and quantum-thermodynamics defini- the proposition that two states are distinguishable if and
tions, but it is more general than either of those. In only if they are orthogonal: this proposition is dynamics-
passing, I shall establish a further unexpected connection dependent, because it relies on the notion of orthogonal-
between information theory and thermodynamics, by ex- ity, which is defined in the formalism of quantum theory.
plicitly linking the possibility of extracting work deter- Likewise, consider the proposition that the work de-
ministically from a set of states, the law of conservation terministically extractable, asymptotically, in a process
of energy, and the distinguishability of those states. This taking ρ1 to ρ2 is given by: F (ρ1 ) − F (ρ2 ), where
2

F (ρ) = U (ρ) − κB T S(ρ), and S(ρ) = −Tr{ρ ln ρ} while impossible. This is what allows one to achieve a scale-
U (ρ) = Tr{ρH}, H being the Hamiltonian of the isolated independent, dynamics-independent formulation of phys-
system. This proposition is also dynamics-dependent (it ical principles.
depends on features of quantum theory’s dynamics). Tasks T1 and T2 can be composed in series (whenever
In this paper, I shall aim to be consistent with the ex- the output set of attributes includes the input set of at-
isting dynamics-dependent notions of distinguishability tributes of T2 ), or in parallel, with the usual informal
and work extraction, while formulating them in a scale- meaning of parallel and serial composition,[6]. I shall
and dynamics-independent way. To this end I shall use denote the serial composition of two tasks as T1 T2 ; the
the recently proposed constructor theory of information parallel composition as T1 ⊗ T2 .
[5, 6], which is an extremely useful tool for this purpose. Distinguishability. I shall now recall the definition of
Constructor Theory. I shall now introduce the basics distinguishable variable, [6]. This allows one to express
of constructor theory (the full definitions can be found the concept of distinguishability via an operational cri-
in [6–8]). An attribute x of a physical system is a set of terion, without resorting to specific formal, dynamics-
states all having a property x. For instance, in quantum dependent properties such as orthogonality. First, one
theory, the set of all quantum states of a qubit where a defines a class of substrates, information media.
given projector is sharp with value 1 is an attribute. I An information medium is a substrate with a set of
shall require attributes to be endowed with a topology. In disjoint attributes X, called information variable, with
the case of quantum theory it is the topology induced by the property that the task C(X) and the permutation
the natural inner-product metric of Hilbert spaces. I shall task:
also require that if a and b are attributes, the attribute
(a, b) of the composite system S1 ⊕ S2 is defined as the . [
set of all states of the composite system where S1 has Π(X) = {x → Π(x)} , (2)
attribute a and S2 has attribute b. This is required in x∈X

order to conform to the principle of locality.


are possible, for all permutation Π on the set of labels of
A task is the abstract specification of a physical trans- the attributes in X and some attribute x0 ∈ X.
formation, represented as a finite set of ordered pairs
As I said, the task C(X) corresponds to copying, or
of input/output attributes: T = {a1 → b1 , a2 → cloning, the attributes of the first substrate onto the sec-
b2 , · · · , an → bn }. Physical systems on which tasks
ond, target, substrate; Π(X), for a particular Π, corre-
can be performed are called substrates. sponds to a logically reversible computation. For exam-
A constructor for a task T is a system which whenever ple, a qubit is an information medium with any set of
presented with the substrate of the task T in one of the two orthogonal quantum states, X = {0, 1}, as defined
input attributes, it delivers it in one of the states of the above.
allowed output attributes, and retains the ability to do Any two different information media (e.g. a neutron and
that again. [17] a photon) must satisfy an interoperability principle, [6],
A task is impossible if the laws of physics impose a limit which expresses elegantly the intuitive property that clas-
on how accurately it can be performed by a constructor. sical information must be copiable from one information
Otherwise, the task is possible - it can be performed by medium to any other, irrespective of their physical de-
a constructor to arbitrarily high accuracy. In quantum tails. Specifically, if S1 and S2 are information media,
information, gates for computational tasks are example respectively with information variable X1 and X2 , their
of constructors [5]; and logically reversible computational composite system S1 ⊕ S2 is an information medium with
tasks are possible tasks under unitary quantum theory. information variable X1 ×X2 , where × denotes the Carte-
Further examples of possible and impossible tasks un- sian product of sets. This requires the task of copying
der unitary quantum theory fall under the heading of information variables (as in eq. (1)) from one to the other
cloning. Define the task of cloning a set of attributes X: to be possible.
A variable Y is distinguishable if the task
. [
C(X) = {(x, x0 ) → (x, x)} . (1) [
x∈X {y → qy } (3)
y∈Y
When X is a boolean variable, X = {0, 1}, C(X) is
the controlled-NOT task. This task is possible in quan- is possible, where the variable {qy }, of the same cardi-
tum theory whenever all elements in X are orthogonal to nality as Y , is an information variable.
one another; otherwise, if X consists of non-orthogonal Another principle of constructor theory relevant for
states, it is impossible. my proof is the principle of asymptotic distinguishability.
Constructor-theoretic statements never refer to specific .
Let me define S(n) = S ⊕ S ⊕ ...S , a substrate consisting
| {z }
constructors, only to the fact that tasks are possible or n
3

.
of n instances of the substrate S, and x(n) = (x, x, ..., x), energy-equivalence class; if two tasks T1 and T2 belong to
| {z }
n
the same energy-equivalence class, I will write: T1 ∼ T2 ;
attribute of S(n). Denote by x(∞) the attribute of S(∞), which means that if T1 and T2 violate the conservation
an unlimited supply of instances of S. This is of course law, they do so by the same amount.
a theoretical construct, which does not occur in reality. By noting that each task is an ordered pair of at-

Consider any two disjoint, intrinsic attributes x and x . tributes, the partition into equivalence classes of the set
Asymptotic distinguishability requires the attributes of pairwise tasks also induces a partition into classes of

x(∞) and x (∞) of S(∞), whenever they are defined, to the set of attributes Σ of the substrate S. One can choose
be distinguishable (as defined above). In quantum the- a function E that labels each class by a real number, with
ory, this requirement corresponds to the fact that any two the property that E(a) = E(b) if and only if the two at-
different quantum states are asymptotically distinguish- tributes belong to the same class, and if T = {a → b},
able – which ensures the possibility of so-called quantum then the function labelling the equivalence class of tasks
tomography. is related to the function E by the following relation:
In this paper I will be concerned with pairwise tasks, F (T ) = E(b) − E(a). The labelling of attributes defined
i.e. with tasks that only involve the transformation of by E can be thought of as an energy function (defined
one attribute into another, as in {a → b}. I shall also up to a constant). Thus I shall say that an attribute
use the notion of the transpose of a task T , denoted by has a particular value of energy if it belongs to one of
T ∼ , which is defined as the task with the input/output these classes labelled by that particular value of energy,
.
pairs of T inverted: T ∼ = {b → a}. One requires that under a fixed labelling E compatible with the partition
(T ) = T ; and that (T1 ⊗ T2 )∼ = T1∼ ⊗ T2∼ .
∼ ∼ into equivalence classes of the set of all pairwise tasks.
The law of conservation of energy. I shall now ex- Hence as promised the law conservation of en-
press the law of conservation of energy in an explicitly ergy is expressible as the scale-independent, dynamics-
dynamics-independent way [5]. Consider the set Σ of all independent requirement that the possible and impossi-
pairwise tasks that one can define on a substrate S. A ble tasks on substrates S obey the two conditions listed
conservation law for an additive quantity of S (energy above.
for instance) can be expressed by requiring that Σ can Work media. The concept of a work repository in clas-
be partitioned into equivalence classes, defined as follows. sical thermodynamics is never exactly defined; but there
Each equivalence class XE has the property that for is a general consensus, following Planck, on identifying a
any two tasks T1 and T2 belonging to XE : work repository with a system that behaves ‘in the same
way’ as a weight in a uniform gravitational field, which
• Either the tasks {T1 , T2 } and their trasposes
can be raised or lowered to different heights, [1]. In quan-
{T1∼, T2∼ } are all impossible; or they are all pos-
tum thermodynamics, it is common practice to define
sible.
a work repository as a system in any eigenstates of its
• The task T1 ⊗ T2∼ and its transpose are both pos- Hamiltonian, such as a set of bound states in an atom;
sible tasks. there are also other proposed notions of work reposito-
ries (see [3] for a review). Here my intention is to be
By using the properties of serial and parallel compo- more general than those notions, but compatible with all
sition and the definition of transpose, [8], one can show of them. I shall do so by generalising the class of work
that the two above conditions define an equivalence rela- repositories to that of work media, [8].
tion between tasks. In constructor theory I shall define work media as a
Using the properties of equivalence classes, I can now particular class of substrates satisfying an operational
introduce a real-valued function F , with the property criterion (just like information media): certain tasks
that for any two pairwise tasks T1 , T2 , F (T1 ) = F (T2 ) if must be possible on a substrate for it to qualify as a
and only if they belong to the same equivalence class. work medium. This will provide a conjectured scale-
A little thought reveals that the label F (T ) represents independent, dynamics-independent generalisation of the
the amount by which the task T violates the conservation notion of work repository, building on the classical defi-
law. Indeed, by the properties of parallel and serial com- nition of Planck’s and Clausius’.
position, one can see that there is only one class where A work medium is a substrate Q with a set W of three
both T1 and T2 and their transposes are all possible: it attributes w+, w0 , w− with the property that:
is the class labelled by a zero change of the conserved
quantity, so that F (T ) = 0 for all tasks T in that class.
• The task
In all the other classes, any task T and its transpose are
both impossible and they violate the conservation law
{(w+ , w0 ) → (w0 , w+ ), (w0 , w0 ) → (w+ , w− )} (4)
by opposite amounts, so that the task T ⊗ T ∼ is possi-
ble. Given that in this paper we are interested in the
energy conservation, I shall call each equivalence class an is possible;
4

• The task Tm,n = {wm → wn } is not possible, for one output for any particular input, retaining the ability
all m 6= n belonging to W ; and all the tasks Tm,n to cause it again; and without there being any other side-
belong to the same energy-equivalence class. effects.
The relation between cloning and deterministic
A set of attributes W = {w0 , w+ , w− } having these work extraction. Now we can state more precisely the
properties is a work variable. theorem informally expressed at the outset:
Let me explain the physical meaning of the above defi-
nition. A quantum system with at least 3 equally spaced
energy levels satisfies the definition of work media. As Theorem 1. A work variable is a distinguishable
an example, consider an atom Q with three different variable.
energy levels, in decreasing order of energy as follows:
w+ , w− , w0 . The key fact about the first requirement In quantum theory, this means that deterministic work
is that it is not satisfied by purely thermal degrees of extractors must operate on sets of orthogonal subspaces.
freedom, as defined in traditional thermodynamics. For The proof goes as follows. First, we prove that any work
example, it is not satisfied by assuming wα = Tα , where variable W is a distinguishable variable, as defined above.
the attributes T+ , T− , T0 of, say, a volume of water each Consider the following task, as the generalisation of (5)
correspond to a thermal state with given temperature to having n substrates as the target:
Tα . Because of the second law of thermodynamics, the
first condition above is not satisfied, because it requires
an equilibrium state (T0 , T0 ) to give rise to two differ- {(w+ , (w0 )(2n) ) → (w+ , (w+ , w− )
(n)
);
ent temperature attributes (T+ , T− ), with no other side (2n) (n)
effects. Thus, systems endowed with thermal degrees of (w0 , (w0 ) ) → (w0 , (w− , w+ ) )}. (6)
freedom within the standard definitions of thermodynam-
(n)
ics do not qualify as work media. When n tends to infinity, (w+ , w− ) ) is asymp-
(n)
The above definition therefore singles out the at- totically distinguishable from (w− , w+ ) , by the
tributes that can be used to provide and absorb en- asymptotic-distinguishability principle. Thus, the at-
ergy from another system, reversibly, with no other side- tributes w+ and w0 of a work medium are distinguish-
effects. It is therefore consistent with the traditional no- able from one another, by definition of distinguishability.
tion of ‘work repository’, but it is applicable to general Hence, by the definition of deterministic work extrac-
systems that need not be mechanical, e.g. an atom in tion and by the above proof, any variable X from which
an excited state. In addition, it advances existing defi- one can extract work deterministically, must also be dis-
nitions, such as those declaring eigenstates of energy to tinguishable. This concludes the proof that a determinis-
be work repositories by fiat. One can also express ele- tic work extractor is also a perfect distinguisher of states.
gantly that all work media are interoperable, just like for Implications for the second law. This theorem (be-
information media, implying that the composite system ing scale- and dynamics-independent) tackles the issue
of two work media is still a work medium, [8]. This inter- of distinguishing work from heat, and of formulating the
operability defines a class of physical systems – whether second law of thermodynamics in a scale-independent
classical, quantum or obeying as yet unknown laws of way, [8]. I can illustrate how by recalling the concept of
physics – provided that they conform to the above con- adiabatic accessibility, which is the basis of the axiomatic
ditions. approach to thermodynamics, [11, 12].
A deterministic work extractor. Consider now a I will propose a variant of the definition of adiabatic
substrate S with a set of attributes X each belonging accessibility, appealing to the notion of adiabatic possi-
to an energy-equivalence class. I define the task of de- bility. A task {x → y} is adiabatically possible if the
terministically extracting work for the variable X as the task:
following task on the composite system of S and of a work
medium M:
{(x, w0 ) → (y, w1 )}
[
{(x, w0 ) → (fx , wx )} (5)
is possible for some two work attributes w1 , w2 be-
x∈X
longing to a work variable.
where {fx } are some attributes of S and wx ∈ W for Unlike previous definitions of adiabatic possibility (see
some work variable W of M. For example, M here could [12]), this definition does not rely on ensembles or similar
be an atom that gets excited or de-excited by interaction approximations. Therefore it allows one to formulate the
with another system S. second law, as expressed in the axiomatic approach, as
The operation of a constructor for the above task, if a scale-independent, and dynamics-independent law. It
possible, is deterministic because it delivers one and only can be stated as follows:
5

There are tasks that are adiabatically possible, whose basis, has to be made of orthogonal subspaces. This could
transpose is not adiabatically possible. be either a set of sharp energy states; or a set of states
that are not diagonal in the energy basis, each provided
Based on this idea, one can introduce an exact, scale- with orthogonal labels. In other words, it is impossible
independent distinction between work and heat - as in- to extract work deterministically in a single-shot fashion
tended in classical thermodynamics – see [8] for a discus- from a set of unknown quantum states with a given av-
sion of these aspects. erage work content, for instance produced by a naturally
Discussion. Under my operational definition of work occurring phenomenon. This fact has important impli-
and the general information-theoretic principles ex- cations for quantum thermodynamics, specifically for the
pressed earlier, if work can be extracted from a set work that can be extracted deterministically from states
of attributes of a physical substrate, these states must that have coherence in the energy basis, [14]. In these
be distinguishable - therefore this theorem establishes a studies one considers a process that extracts work opti-
novel connection between thermodynamics and informa- mally and deterministically from a particular quantum
tion theory, which is scale- and dynamics-independent. state with some non-zero coherence in the energy basis,
The principles I assumed are robust and general, and as compared to the corresponding thermal state with the
they are satisfied by quantum theory and classical me- same mean energy. However, the process in question is
chanics. In quantum theory, the theorem I proved im- a special-purpose machine, which requires to know a pri-
plies that if one can extract work deterministically from ori which state has been prepared. Therefore, it is not
any of a set of states, these states must be orthogonal a universal work-extractor for a set of input states, in
to each other. In this regard, one might be puzzled by the sense I defined, not more than a Szilard engine with-
the following fact. A classical heat engine is capable of out its memory is. Therefore the result of this paper is
extracting work deterministically from the composite sys- compatible with those other results.
tem of two heat reservoirs, each set initially at two dif- Because the theorem assumes only those general prin-
ferent temperatures. The maximum extractable work is ciples, it applies to quantum theory and classical mechan-
a function of the two temperatures and of the heat ca- ics as a special cases, but it does not rely on their specific
pacity of the two reservoirs, (see e.g. [13]). Consider formal structure. For instance, the theorem could apply
now two different attributes of the two reservoirs, (T+ , to what I call hybrid systems, consisting of a quantum
T− ) and (T̃+ , T̃− ). By Carnot’s theorem, there is a system interacting with a physical system whose dynam-
classical heat engine that acts deterministically as an op- ics is not fully specified or intractable. It could also apply
timal work extractor from a system prepared in either to the potential successors of quantum theories - e.g. the-
(T+ , T− ) or (T̃+ , T̃− ). Are these two attributes distin- ories of coupled gravity and quantum matter.
guishable? The theorem I proved implies that they are.
Yet, if each is represented by a quantum thermal state, I have thus established the promised connection be-
they should not be distinguishable! This seems to con- tween the work extraction, the conservation of energy,
tradict my result. But it does not. The heat engine and information theory. This result provides the founda-
works as a deterministic work extractor on those states tion for formulating thermodynamics in an information-
only asymptotically, when the number of constituents of theoretic, dynamics-independent and scale-independent
the reservoirs tends to infinity. In this case, the states of way; it is also a first step towards a theory of pro-
the reservoir corresponding to two different temperature grammable constructors in quantum theory, which will
differences are asymptotically distinguishable, because generalise the theory of quantum computation to gen-
they correspond each to having infinitely-many copies of eral tasks, in a way already envisaged by von Neumann
a thermal state. My result is therefore consistent with and his theory of the universal constructor. In order to
the fact that different thermal states of a single quantum devise this theory, one will have to merge quantum ther-
system are not distinguishable. In other words, deter- modynamics with general principles of constructor the-
ministic work extractors cannot extract work perfectly ory. I leave the exploration of this possibility to further
from each of a set of different thermal states, away from research.
the asymptotic regime, [14]. Acknowledgments: I wish to thank Benjamin Yadin
Another notable fact is that this theorem outlines an and Sam Kuypers for several useful remarks; David
interesting parallel between a programmable quantum Deutsch and Vlatko Vedral for suggesting improvements
computer (which behaves as such only with a set of pro- on earlier versions of this manuscript. This work was sup-
grams from the computational basis [15, 16]) and a deter- ported by the Templeton World Charity Foundation, by
ministic work extractor. The variables that can serve as the Eutopia foundation and by the grant number (FQXi
input to a deterministic work extractor must be a set of FFF Grant number FQXi-RFP-1812) from the Founda-
distinguishable attributes (orthogonal subspaces in quan- tional Questions Institute and Fetzer Franklin Fund, a
tum theory). This constitutes the only possible ‘work ba- donor advised fund of Silicon Valley Community Foun-
sis’, which, in complete analogy with the computational dation.
6

[9] P. Skrzypczyk, A. Short, S. Popescu, Nat Commun 5,


4185 (2014).
[10] B. Coecke, T. Fritz; R. Spekkens, Information and Com-
[1] J. Uffink, Stud. Hist. Phil. Mod. Phys., B 32 (3), 2001. putation 250, 59–86, 2016.
[2] J. Goold, M. Huber, A. Riera, L. del Rio, P. and [11] C. Carathéodory, Mathematische Annalen, 67, 355-386,
Skrzypczyk, J. Phys. A: Math. Theor. 49, 143001, 2016. 1909.
[3] R. Alicki, R. Kosloff, Introduction to Quantum Thermo- [12] E. Lieb, J. Yngvason, Phys. Rept. 310, 1-96, 1999.
dynamics: History and Prospects. In: Binder F., Correa [13] H. A. Buchdahl, The Concepts of Classical Thermody-
L., Gogolin C., Anders J., Adesso G. (eds) Thermody- namics, Cambridge University Press, (1966).
namics in the Quantum Regime. Fundamental Theories [14] K. Korzekwa, M. Lostaglio, J. Oppenheim, D. Jennings,
of Physics, vol 195. Springer, Cham., (2018). New Journal of Physics, 18, 2016.
[4] J. Gemmer, M. Michel and G. Mahler, Quantum Ther- [15] J. M. Myers, Phys. Rev. Lett. 78, 1823, 1997.
modynamics (Berlin: Springer), (2009). [16] M. Nielsen, C. Chuang, Phys. Rev. Lett., 79, (2), 1997.
[5] D. Deutsch, Constructor Theory, Synthese 190, 18, 2013. [17] A constructor generalises the notion of a catalyst in re-
[6] D. Deutsch, C. Marletto, Proc. R. Soc. A, 471:20140540, source theory [10], relaxing the requirement that it stay
2015. in exactly the same state, to the requirement that it stay
[7] C. Marletto, Proc. R. Soc. A 472: 20150883, 2016. exactly with the same attribute.
[8] C. Marletto, Constructor Theory of Thermodynamics,
arXiv:1608.02625, 2018.

You might also like