Entropy of Quantum States

Given the algebra of observables of a quantum system subject to selection rules, a state can be represented by different density matrices. As a result, different von Neumann entropies can be associated with the same state. Motivated by a minimality property of the von Neumann entropy of a density matrix with respect to its possible decompositions into pure states, we give a purely algebraic definition of entropy for states of an algebra of observables, thus solving the above ambiguity. The entropy so-defined satisfies all the desirable thermodynamic properties and reduces to the von Neumann entropy in the quantum mechanical case. Moreover, it can be shown to be equal to the von Neumann entropy of the unique representative density matrix belonging to the operator algebra of a multiplicity-free Hilbert-space representation.


Introduction
In 1931, von Neumann [1] found a connection between two branches of physics: quantum mechanics and thermodynamics. If a system satisfies the laws of thermodynamics, its entropy is well defined. With this in mind, von Neumann obtained that a quantum system, described by a density matrix ρ, has entropy S VN (ρ) = −k B Tr(ρ log ρ), (1) where k B is the Boltzmann constant. Besides its importance from a fundamental point of view, von Neumann entropy is useful also to answer practical questions in quantum information theory, for example when dealing with multipartite systems and one wants to characterize the entanglement between them; in this context, it has been shown [2,3] that a particularly meaningful measure of the entanglement contained in a pure state shared by two parties is the von Neumann entropy of the reduced state of one party, since it allows characterizing the usefulness of such entanglement in the thermodynamic limit when multiple copies of the state are available. This measure is then extended to mixed states by exploiting the convex structure of the set of quantum states, and taking the infimum over all the possible decompositions into pure states [4].
As quantum field theory developed, attempts to extend Equation (1) to a broader scheme have been made. Von Neumann entropy is used to evaluate the entropy of a black hole [5][6][7], which originates from the lack of knowledge of the system inside of it. However, "it is never hard to find trouble in field theory" ( [8], p. 74), as ambiguities in this definition arise from the dependence on the cutoffs introduced to regularize the theory. In [9,10], this ambiguity is traced back to the ambiguity in the definition of a density matrix associated with a state in an algebraic theory. In fact, the proper mathematical formalization of a quantum field theory requires the introduction of C * -algebras [11]. In this context, in general, the set of observables is not the full operator algebra, but a subalgebra [12,13].
We can get a glance of the ambiguity by the following example. Consider the algebra of diagonal n × n matrices A = {A ∈ M n : A ij = 0 for i = j}. (2) For any density matrix ρ, the result of a measurement is and depends only on the diagonal elements of ρ. Thus, density matrices define the same state as long as they have the same diagonal elements. However, their von Neumann entropy, as defined in Equation (1), can be different. Which density matrix is associated with the correct physical entropy?
To attain an unambiguous definition of entropy, it is necessary to study states as abstract entities rather than density matrices. In this abstraction, the only relevant feature of the set of quantum states is its convex structure, and the problem translates into the more general question of giving a sensible definition of entropy for points in a convex set. This problem is studied in [14,15].
The purpose of this article is to give an unambiguous definition of entropy for a state over an algebra of observables, connecting this problem to the definition of entropy for points on a convex set. In addition, the physical implications of this mathematical definition are investigated, together with its thermodynamic interpretation and its connection with von Neumann entropy. The study is carried out for a finite dimensional algebra.
The article is organized as follows. In Section 2, we introduce the essential notation and briefly recall the algebraic approach to quantum theory. In particular, we discuss a structure theorem for finite dimensional C * -algebras, which plays a central role in the derivation of the results presented. Then, in Section 3, we briefly discuss the relation between von Neumann entropy of a density matrix in quantum mechanics and the Shannon entropy of its possible decompositions into pure states, which motivates the definition of the entropy for a state over a C * -algebra as the infimum over its possible decompositions. In Section 4, we explicitly compute the quantum entropy of a state by using first a generic faithful representation, and then the GNS construction, and we show its connection with von Neumann entropy. We also discuss some physical implications by extending a thermodynamic argument due to von Neumann to the algebraic setting. Finally, in Section 5, we conclude the paper with some remarks.

Algebraic Approach: Observables and States
There are several equivalent descriptions of quantum mechanical systems including the Hilbert space picture [16], the Moyal-Wigner phase space description [17][18][19], and the tomographic picture [20][21][22]. For an infinite number of degrees of freedom-as in a quantum field theory-a proper description is given in terms of algebras [11,23]. The main idea is to define observables for each region of space-time, such that observables associated with casually disjointed regions are compatible (or simultaneously measurable).
The set of observables A is required to satisfy certain properties, which define the structure of a C * -algebra. One considers the observables of a given experiment, and defines states as positive linear functionals giving the expectation values of the measurement outcomes. This is at variance with the standard quantum mechanics description on Hilbert spaces, where one starts by considering the set of vector states, and then defines the observables as operators on this set.
A C * -algebra is a Banach space (i.e., a normed and complete vector space) A with a product and an involution An algebra can be represented as an algebra of operators on a Hilbert space H. More precisely, a representation of the theory is a pair (H, π) where π is a linear map from A to B(H) preserving (4) and (5) and B(H) is the algebra of bounded operators on H. A representation is said to be faithful when π(A) = 0 if and only if A = 0.
Given an algebra of observables, a state is characterized by the measurement outcomes. States are defined as functionals ω : where I is the unit element of the algebra. The definition can be extended to non-unital algebras (see [12]). The convex combination of two states ω 1 and ω 2 , with λ ∈ (0, 1), is still a state. A state is called pure or extremal if it cannot be written as a convex combination of other states, that is if Equation (7) implies that ω 1 = ω 2 = ω. The states over an algebra A with a unit element form a convex weakly-* compact set and coincide with the weak-* closure of the convex envelope of its pure states. In other words, we can always decompose a state into pure states.
In the standard quantum mechanical approach, states are represented by density matrices ρ, and the expectation value of an observable A ∈ B(H) is given by which becomes ψ|Aψ for a vector state, that is a rank-1 projection ρ = |ψ ψ|, with ψ = 1. It is immediate to verify that this is a functional satisfying both Properties (a) and (b), and thus is a state over the full operator algebra B(H).
In fact, one can prove that in the algebraic description a state can be always realized in this way, using the GNS construction [24,25]. Given a C * -algebra A and a state ω, there exists (up to a unitary transformation) a unique representation (H ω , π ω ) and a unique unit vector Ω ω ∈ H ω such that Notice, however, that, at variance with quantum mechanics, in general, the algebra π ω (A) is smaller than the full operator algebra B(H ω ), and a vector state (and in particular |Ω ω Ω ω |) does not necessarily correspond to a pure state and vice versa. This is the case when the quantum system is subject to superselection rules or is composed by more than one thermodynamic phase [23,26].
In this article, we deal only with finite dimensional C * -algebras. In this case, the algebra is isomorphic to the direct sum of full matrix algebras [13]: Theorem 1 (Structure theorem). Every finite dimensional C * -algebra can be faithfully represented as the direct sum of full matrix algebras and thus any finite dimensional C * -algebra is unital. Moreover, any faithful non-degenerate finite dimensional representation has the form up to a unitary transformation, with the algebra obtained by repeating m times the same element of M n .
As a result of Theorem 1, any finite dimensional algebra can be faithfully represented as a finite-dimensional algebra of operators, as in Equations (11) and (12). Note that standard quantum mechanics corresponds to the case k = m 1 = 1.

Shannon Entropy and von Neumann Entropy
Given a probability vector p = (p 1 , p 2 , . . . , p n ), with p i 0 and ∑ i p i = 1, its Shannon entropy is defined as As required for the entropy, H is a strictly concave function, that is for all λ ∈ (0, 1), with equality holding if and only if p = q.
There is a connection between Shannon entropy and von Neumann entropy in quantum mechanics. For a given density matrix ρ with eigenvalues λ i , its von Neumann entropy is (by setting the Boltzmann constant k B = 1) that is the Shannon entropy of its eigenvalues. It can be seen that von Neumann entropy is also strictly concave as a function of ρ.
There is a deeper connection between the two entropies. Given a state in quantum mechanics, described by a density matrix ρ, it can always be seen as a probabilistic mixture of vector states However, this decomposition is not unique and the same state can be prepared in different ways as a convex combination of vector states: using the language of convex geometry, the set of quantum states is not a simplex [27,28]. The ambiguity in the preparation of a state is one of the greatest difference between classical and quantum information theory [29]. For any decomposition (16), it is possible to define a Shannon entropy H( p), and the ambiguity in the preparation is reflected in an ambiguity in the Shannon entropy. In particular, the von Neumann entropy (15) is the Shannon entropy associated with the spectral decomposition of ρ.
The problem of the ambiguity in the ensemble preparation was studied in a seminal paper by Schrödinger [30], who found a relation between all the preparations of a state, that is all the possible decompositions of a density matrix into vector states. He proved that for any decomposition (16) there exists an n × n unitary matrix U such that for all i = 1, . . . , n, where λ 1 , λ 2 , . . . , λ N are the (not necessarily distinct) eigenvalues of the density matrix ρ (in general, n N). Conversely, for any unitary matrix U, it is possible to find a decomposition in the form (16) such that (17) holds.
Notice that, since U is unitary, the matrix B with entries B ij = U ij 2 is a doubly stochastic matrix, and in particular ∑ n i=1 B ij = 1. Thus, the probability vector p is a randomization of the probability vector λ, through a stochastic process, namely p = B λ.
From (17), using the concavity of h(p) = −p log p, we get that is This is a very interesting result, as the von Neumann entropy of a density matrix ρ can be characterized in terms of Shannon entropies of its decompositions into vector states, as the most ordered decomposition, that is the decomposition with the smallest Shannon entropy: Since convex decomposition into extremal states is a broader concept than orthogonal decomposition, this minimality property suggests a possible definition of entropy for points in a generic convex set, and in particular for states over a C*-algebra.

Majorization Relation
There is a profound link between the Shannon entropy and the randomness of a probability vector, which sheds light on Equation (17), by giving a partial ordering on the set of probability vectors: the majorization relation [31,32]. Given two probability vectors p and q of length n, we say that p majorizes q if and we write p q.
Here, p ↓ is the permutation of p such that p ↓ 1 p ↓ 2 · · · p ↓ N . The majorization relation is related to the disorder content of a probability vector. For example, every probability vector p is always in the relation with respect to the deterministic vector p det = (1, 0, . . . , 0) and the maximally random probability vector p unif = (1/n, 1/n, . . . , 1/n). Notice, however, that it can happen that two probability vector p and q cannot be compared, that is neither p q nor q p hold. Nevertheless, one can prove that p q if and only if q is a randomization of p, that is q = B p for some double stochastic matrix B [33,34]. Due to the above properties, the majorization relation and its connection with Shannon and von Neumann entropies have proved to play an important role in the quantum resource theories of entanglement [35,36] and of quantum coherence [37][38][39] In terms of majorization, one can restate Schrödinger's theorem (17) by saying that the spectral decomposition of a density matrix majorizes all its possible decompositions: Moreover, the Shannon entropy (13) is a Schur concave function [28,32], that is if λ p, then that is inequality (19). In this sense, Shannon entropy is a measure of disorder.
In the next section, motivated by this minimality property, we define the entropy of a generic state over a C*-algebra as the minimal Shannon entropy over all its possible decompositions into extremal states. By Schrödinger's theorem, this quantum entropy reduces to the von Neumann entropy in the quantum mechanical case.

Entropy of States Over a C*-Algebra
By mirroring the minimality property (20), we now give a definition of entropy for states over an algebra of observables. Given a finite-dimensional C * -algebra A, the set of states over A is a finite-dimensional convex compact set. We define the entropy of a state ω to be the minimal Shannon entropy among its possible decompositions into pure states, namely In the following, we study the properties of this entropy, and, by representing the algebra on a Hilbert space, we investigate the implications of this formula and its physical interpretations. Different features can be obtained from inequivalent representations of the C * -algebra A.
Given a representation (H, π), it is known that the image π(A) is a C * -subalgebra of the operator algebra B(H) [12]. However, we cannot represent any state ω of the original algebra as a state over π(A). Consider the representative state This definition makes sense if and only if, for B ∈ A: This condition is fulfilled in a faithful representation, where by definition π(B) = 0 if and only if B = 0. Condition (29) is also fulfilled in the GNS representation associated with the state ω, where π ω (A) = 0 implies that ω(A) = Ω ω |π ω (A)Ω ω = 0. In the following, we compute the entropy (26) using a faithful representation (and later the GNS representation) and exhibit its connection with the von Neumann entropy of a distinguished representative density matrix in that representation.

States Over a C*-Algebra of Operators
In this section, we show that states can be uniquely characterized by density matrices when we deal with a finite dimensional algebra of operators. Moreover, we prove that there exists a unique representative density matrix which is also an element of the algebra.

Theorem 2. Let
A be a C * -algebra of operators over a finite-dimensional Hilbert space and let ω be a state over A. Then, there exists a unique density matrix belonging to the algebra, Proof. To prove the existence of such an element, consider the Hilbert-Schmidt inner product on B(H), which makes the subspace A a Hilbert space. From Riesz's lemma, for any functional f ∈ A * , there exists a unique ρ f ∈ A such that: In particular, given a state ω we get a unique operator We now prove that ρ ω is a density matrix, that is ρ † ω = ρ ω , ρ ω is positive (semidefinite), and Tr(ρ ω ) = 1. If where we use the fact that ω(B) is real. Since every self-adjoint operator is a linear combination of two positive operators, and every operator is a linear combination of two self-adjoint operators, we have Tr(ρ † ω A) = Tr(ρ ω A) for all A ∈ A, whence ρ ω = ρ † ω . Since ρ ω is self-adjoint, it can be written in its spectral decomposition ρ ω = ∑ i λ i P i , with λ i eigenvalues and P i eigenprojections. Since we have P i ∈ A for all i. However, then, since P i = P † i P i is positive. Here, H i is the eigenspace of the eigenvalue λ i . Therefore, λ i 0, and ρ ω is positive.
Therefore, ρ ω is a density matrix.
For an infinite-dimensional Hilbert space, only a subclass of states, known as normal states, can be represented by a density matrix. In this setting, Equation (32) is not defined for all pairs of bounded operators, and one must recur instead to the duality between bounded operators and trace-class operators [12].
Observe that, given a state ω, different density matrices can be chosen to represent it. However, ρ ω is the only density matrix which is also an element of the algebra A. Thus, we have a distinguished representative density matrix, and we might think to define the entropy of our system as the von Neumann entropy of this density matrix. A natural question is to understand what is the relation between this von Neumann entropy and the entropy of a state given by formula (26), and in particular whether holds or not. In the next section, we study the entropy of a state (26), and we see that indeed (38) is true for a faithful and multiplicity-free representation.

Evaluation in a Faithful Representation
Let us consider a finite-dimensional C * -algebra A and a finite-dimensional faithful representation (H, π), that is Given a state ω on A, it can be represented on π(A) by Let us decompose the representation into irreducible sub-representations Here, (H i , π i ) are irreducible sub-representations. The multiplicity of the sub-representation π i is m i , and The elements of π(A) have the form with X i spanning all B(H i ), by the structure theorem (see Equation (10)). From representation (41), we can obtain another, more economical faithful representation of the form where the multiplicities are m i = 1 for all i, thus eliminating all the redundancy of our description. For the moment, we stick with the general form (41), but we clearly expect that our results do not depend on the multiplicity m i . We rewrite the decomposition (41) in the form This follows by considering the unitary transformation which acts on each H where {e 1 , e 2 , . . . , e m i } is an orthonormal basis of C (m i ) . Given a state ω over the C * -algebra A, by Theorem 2 we can consider the unique representative density matrix ρ ω belonging to π(A) such that ω(A) = Tr(ρ ω π(A)).
Since ρ ω is an element of the algebra, it has the form where ρ i are density matrices of B(H i ), and p = (p 1 , . . . , p N ) is a probability vector. Conversely, any density matrix of the form (2) defines a state over A.
Given two states ω a and ω b , and their representative density matrices ρ a and ρ b , we have Therefore, a state ω is pure if and only if its density matrix is pure with respect to decompositions in density matrices of π(A).
Let ρ ω be a pure state, and let (48) be its decomposition. Then, we must have that all ρ i = 0, except for one i. For example, if ρ 1 , ρ 2 were both different from zero, then we could decompose ρ into two other density matrices of π(A). Thus, a pure state ρ ω has the form for some i, with ψ (i) being a unit vector of H i . Given a state ω over A, let its representative ρ ω be in the form (48). Consider the spectral decomposition of each density matrix ρ i , and obtain a decomposition of the density matrix ρ ω into pure states The weights of this decomposition are p i λ (i) j . We show that this is the minimal decomposition, i.e., having the minimal Shannon entropy as in definition (26), which is then the entropy S(ω) of the state ω.
Consider a generic decomposition of ρ ω into pure states with σ We gather the pure states so that σ . Notice that ρ ω can be expressed in the canonical form (48), with and where (if p i = 0, then all w (i) j = 0 and we can drop the corresponding terms in Equation (54)). The Shannon entropy of the decomposition (54) is Here, S VN (ρ i ) is the von Neumann entropy of the density matrix ρ i , which, by Schrödinger's theorem, is always smaller than the Shannon entropy of any other decomposition of ρ i . Now, the last line of (59) is also the Shannon entropy of the decomposition (52). Therefore, the entropy (26) reads This is our main result, which expresses the entropy of a state ω over an algebra A in terms of the canonical decomposition (48) of its distinguished representative density matrix ρ ω belonging to a faithful representation (45) Indeed, it contains an additional entropic term due to the redundancy of the representation, that is the presence of multiplicities m i . A similar phenomenon appears already at the level of classical thermodynamics in presence of a redundancy, e.g., for identical particles [40][41][42].
The equality between the two entropies is restored if one considers the most economical representation with no multiplicities (44). In such a case, the entropy of the state ω is equal to the von Neumann entropy of its distinguished representative density matrix ρ ω and equality (38) holds. This observation has a major consequence: since S(ω) is the von Neumann entropy of the representative density matrix of a representation with no multiplicities, it is a bona fide entropy and possesses all the desired thermodynamic properties; in particular, by Equation (49), it is a concave function.
We have proved the following theorem which gathers our main results: Then, ω → S(ω) is a nonnegative concave function which vanishes on pure states. Moreover, let (H, π) be a faithful finite-dimensional and multiplicity-free representation of A. Given a state ω, let ρ ω ∈ π(H) be the unique density matrix such that ω(A) = Tr ρπ(A) for all A ∈ A. Then, one has where S VN (ρ) = − Tr(ρ log ρ) is the von Neumann entropy of ρ.

Thermodynamic Considerations
In this section, we discuss the physical motivations of the definition (26) for the entropy of a quantum state ω. We make use of thermodynamic considerations by extending to the algebraic framework von Neumann's beautiful argument, based on the notions of Einstein's gas and semipermeable walls [1,27]. To this purpose, some preliminary considerations are necessary.
There is no immediate definition of eigenstates in the algebraic approach, and yet they are key ingredients in von Neumann's thermodynamic considerations. Instead, we can consider states that have a definite value for a given observable. If a state ω a has a definite value for an observable A, every measurement of this observable will yield the same value a on it. This can be expressed by saying that ω a (A) = a and its variance is zero: Furthermore, we assume that this property is stable in the sense that if a second measurement of the same observable is performed just after the first, the same result is obtained. In the following, we consider the faithful representation (H, π) of a finite-dimensional C * -algebra A, without multiplicities, as given by (44), namely with (H i , π i ) being irreducible sub-representations. Consider an observable A = A * ∈ A and let π(A) = π(A) † be its representative. Let (ϕ i ) i be its eigenstates with eigenvalues (a i ) i and suppose that A (and thus π(A)) has non-degenerate spectrum, that is a i = a j for i = j. Now, if the density matrix ρ a ∈ π(A) is the representative of the state ω a , then ρ a = |ϕ j ϕ j | for some j, and a = a j . Indeed, Equation (64) reads Therefore, ρ a has no support on ϕ i whenever a i = a. As a result, a = Tr[ρ a π(A)] is an eigenvalue of π(A), say a = a j for some j, and ρ a is supported on its eigenspace. Thus, we have ρ a = |ϕ j ϕ j |.
We are now ready to apply von Neumann's argument. In the previous sections we showed that, by considering the faithful multiplicity-free representation (65), there is a one-to-one correspondence between states ω over A and density matrices ρ ω belonging to π(A), and pure states over A correspond to vector states |ψ ψ| belonging to π(A), which, by the above argument, are states with a definite value for a suitable non-degenerate observable. Moreover, we have seen that the entropy of any state ω is equal to the von Neumann entropy of its distinguished representative ρ ω , as in equality (38). Therefore, the strategy is to use von Neumann's argument on the representation π(A).
Consider an ensemble of M copies of a system prepared in a state ω, represented by the density matrix ρ ∈ π(A). If M is large enough, we expect the system to follow the laws of thermodynamics. To obtain the entropy of the system, we need to evaluate the heat exchanged along a reversible transformation that brings the system from a reference state ω 0 , whose entropy S 0 is assigned to the state ω. The entropy is given by In quantum mechanics, one chooses pure states as the reference states, and sets S 0 = 0. In fact, it can be proved that pure states are isoentropic, and that two pure states can be connected adiabatically [1]. We show below that this is in general not true in the algebraic description, and that there are states that cannot be transformed into each other in this way.
Let us recall von Neumann's argument, which makes a clever use of a peculiar feature of quantum mechanics, later on named "quantum Zeno effect" [43,44]. Consider two orthogonal vectors ϕ and ψ in H. We explicitly construct the adiabatic transformation from ϕ to ψ. Fix an integer k, and define for ν = 0, 1, . . . , k with ψ (0) = ϕ and ψ (k) = ψ. Consider a family of non-degenerate self-adjoint operators B (ν) such that ψ (ν) is one of the possible eigenvectors. By measuring in sequence the observables corresponding to B (1) , B (2) , . . . , B (k) on the vector state |ϕ ϕ| one gets |ϕ ϕ| The fraction of states that goes from ψ (ν−1) to ψ (ν) in the measurement of B (ν) is and so that for large k we have a transformation of ϕ into ψ with probability one. Assuming that in the measurement no heat exchange occurs, we have: Since the transformation can be repeated in the opposite direction ψ → ϕ, we get S(|ψ ψ|) = S(|ϕ φ|).
This proof works in quantum mechanics, where the algebra of observables is the full algebra B(H), but has problems for a generic algebra A subject to selection rules, whose representation π(A) is a proper subalgebra of B(H).
In order for the operator B (ν) to be the representative of an observable, we need |ψ (ν) ψ (ν) | to be in π(A) for all ν. Since pure states are vector states in a subspace H i of (65), |ψ (ν) ψ (ν) | are elements of π(A) if and only if the vectors ψ and ϕ in (69) belong to the same Hilbert space H i . Only in this case we can prove that they are isentropic. Otherwise, they cannot be transformed into each other by the procedure described above, and we cannot compare their entropies. Physically, they represent pure states belonging to disjoint phases (or sectors) that cannot be connected by any physical operation.
We then call s 1 , s 2 , . . . , s N the entropies of the pure states whose representatives are in H 1 , H 2 , . . . , H N , respectively. From the entropy of pure states, we obtain the entropy of a generic mixed state. We need to consider a reversible process that brings the ensemble to a final pure state. This is performed by introducing the concept of Einstein's gas: the copies of the quantum system are inserted into boxes K i (a box for each copy), which are so thick and massive that the state of the system ω is not affected by the motion of the boxes. We then insert all these boxes into a larger box K, which is kept in contact with a reservoir R at temperature T. The boxes behave as a perfect gas if the temperature T is high enough.
Consider the spectral decomposition of the density matrix ρ corresponding to the state ω in the representation π. We get that the decomposition with |ψ , corresponds to the decomposition into pure states of ω, where the index i labels different sectors. Define the non-degenerate self-adjoint operator representing the observable A, i.e., B = π(A), and for which a j |, we use a semipermeable wall, constructed as a wall with some windows on it. In particular, when a box K i reaches a window, we let an engine open it and measure the observable A on the state inside the box. If the result is a given value a (i) j , the engine lets the box pass; otherwise, it reflects it. In this way, the wall is transparent for the states ω (i) j and opaque for the others. Using such a wall, it is possible to separate the pure components (see Figure 1). This process is reversible, and we get a final configuration of equal boxes, each containing one of the components ω (i) j of the gas. We then compress each box isothermally, so that the system will have the same density of the original gas (see Figure 2). The heat exchanged in each compression is given by The initial entropy of the gas is therefore We now need to find the entropy of the final configuration S pure consisting in separated pure components of the gas. Since entropy is an extensive quantity, it is given by the sum of the entropies of the pure components: Therefore, we finally get where equality (38) is used. The entropy of the state ω obtained by thermodynamic considerations in (81) differs from S(ω) given in (26) by an additional term, ∑ i p i s i , which is the average of the arbitrary entropies s i assigned to pure states belonging to different phases. By assuming that pure states belonging to disjoint phases have the same entropy s 1 = s 2 = · · · = s N , we get that the thermodynamic entropy is equal to the entropy S(ω) up to an arbitrary constant, which we can set to 0. This is in agreement with the physical meaning of expression (26), where the entropic content of a state ω is obtained exclusively as a result of the mixing process with weights p i of pure states ω i with zero entropy. The process is carried on isothermally at temperature T.

Evaluation via the GNS Construction
In this last section, we compute the entropy (26) of a quantum state ω by using the GNS representation of ω. The problem of the ambiguity was studied in this framework by Balachandran, de Queiroz, and Vaidya [15]. In particular, they described how to represent irreducible sub-representations as decomposition into pure states. This can be generalized for any decomposition.
We start with the following result [12,25].
with t i 1 and The weights of the decomposition are obtained by evaluating Equation (86) at A = I: Note that, if t i = 1 for all i, the projections will be orthogonal to each other, and we obtain a decomposition of the GNS representation into irreducible sub-representations, This is the description given in [15].
In the finite dimensional case, a decomposition into irreducible sub-representations always exists, as well as a decomposition into pure states is always possible in a convex set (by Minkowski's theorem). We can decompose the representation as using the unitary transformation (46). By the structure theorem, the representation of the algebra is and its commutant is Thus, from (91), the irreducible projections have the form for some i, with v a unit vector in C m i . Therefore, given a family of irreducible projections (P (i) j ), Equation (85) becomes with t (i) j 1 and P (i) In particular, the index i labels the sub-representation H i ⊗ C m i considered, while j labels the different projections in it. From (93), we get, for all i = 1, . . . , N, with u (i) Consider now the normalized projection of Ω ω on H i ⊗ C m i , namely where p i = I H i ⊗ I m i Ω ω 2 . By plugging (94) and (97) into Equation (87), we get λ (i) In general, the decomposition of the identity in Equation (95)

Conclusions
We showed that the ambiguity in the definition of the quantum entropy of a state can be traced back to an ambiguity in the definition of a representative on a Hilbert space, as different density matrices can be physically equivalent for a C * -algebra of observables.
We started by observing the property of the von Neumann entropy to be the minimum of the Shannon entropies of the decompositions into pure states. This minimality property is assumed to define unambiguously an entropy on the convex set of states over a C *algebra, obtaining a concave entropy, which generalizes the von Neumann entropy. We find that the theory can always be represented in an Hilbert space in which it yields the von Neumann entropy of a suitable density matrix.
We also observe that it is possible to obtain this entropy by using thermodynamic arguments. The main difference with respect to quantum mechanics is that we have to assume pure states to be isoentropic. In particular, we find that a theory can have disjoint sectors, associated with nontrivial invariant subspaces, and pure states of different sectors cannot be connected by a physical process.
A possible generalization of our construction could be its application to other entropies, such as the Kullback-Leibler divergence or the family of Rényi entropies. An interesting open problem would be the extension of our results to an infinite-dimensional C * -algebra of observables. Here, new phenomena arise as there are states which are not represented by a density matrix and, in general, one expects, e.g., to have decompositions given by an integral-with a suitable measure µ-over the set of pure states.
Author Contributions: P.F., G.G. and A.K. equally contributed to the manuscript. All authors have read and agreed to the published version of the manuscript.
Funding: This research received no external funding.