
Entropy and Temperature in finite isolated quantum systems
Phillip C. Burke1and Masudul Haque2, 1, 3
1Department of Theoretical Physics, Maynooth University, Maynooth, Kildare, Ireland
2Institut f¨ur Theoretische Physik, Technische Universit¨at Dresden, 01062 Dresden, Germany
3Max-Planck Institute for the Physics of Complex Systems, Dresden, Germany
(Dated: April 5, 2023)
We investigate how the temperature calculated from the microcanonical entropy compares with
the canonical temperature for finite isolated quantum systems. We concentrate on systems with sizes
that make them accessible to numerical exact diagonalization. We thus characterize the deviations
from ensemble equivalence at finite sizes. We describe multiple ways to compute the microcanonical
entropy and present numerical results for the entropy and temperature computed in these various
ways. We show that using an energy window whose width has a particular energy dependence
results in a temperature with minimal deviations from the canonical temperature.
I. INTRODUCTION
In recent years, there has been considerable inter-
est in understanding how statistical mechanics emerges
from the quantum dynamics of isolated many-body sys-
tems. Such considerations invariably require a correspon-
dence between energy, a quantity well-defined in quan-
tum mechanics, and temperature, which is necessary for
a statistical-mechanical description. Since temperature
is not a priori defined in quantum mechanics, assigning
temperatures to energies is a nontrivial issue.
Ideas regarding thermalization in isolated quantum
systems, e.g., the eigenstate thermalization hypothesis
(ETH) [1–9] and its extensions or variants are often
tested or verified using numerical “exact diagonalization”
calculations [5,6,10–50]. As a result, quantum sys-
tems with Hilbert space dimensions between ∼103and
∼105have acquired particular relevance. It is therefore
important to ask how meaningful various definitions of
thermodynamic quantities like temperature or entropy
are for finite systems, particularly systems of sizes typ-
ically treated by full numerical diagonalization. In this
work, we critically examine different ways of calculating
entropy from the energy eigenvalues of finite systems and
compare the temperature derived from the entropy with
the so-called ‘canonical’ temperature.
The most common definition of temperature for finite
isolated quantum systems is the canonical temperature.
This is obtained for any energy Eby inverting the canon-
ical equation
E=hHi=tre−βH H
tr(e−βH )=Pne−βEnEn
Pne−βEn.(1)
If the eigenvalues {En}of a system are known, then
this relationship provides a map between energy and the
canonical temperature Tc= (kBβc)−1. (Here kBis the
Boltzmann constant.) The relationship (1) originates
in statistical mechanics from the context of a system
with a bath. However, it is widely used in the study
of thermalization of isolated (bath-less) quantum sys-
tems, to obtain an energy-temperature correspondence
[5,6,10,11,13,15–19,24,26,28,36,45,51–55].
An alternate way to define temperature is to use the
thermodynamic relation [56–61]
T=∂E
∂S Xi
=∂S
∂E −1
Xi
.(2)
Here Sis the (thermal) entropy, and the subscript Xi
denotes the system parameters that should be held con-
stant. For an isolated (i.e. microcanonical) quantum
system, defining the entropy S(E) at a particular en-
ergy Einvolves counting the number of eigenstates (‘mi-
crostates’) within an energy window ∆Earound that en-
ergy E. This raises the question of how to choose the
width ∆E, or possibly avoiding an explicit choice of ∆E
and instead estimating the density of states. In the large-
size (thermodynamic) limit, these choices can be shown
to become inconsequential. This paper aims to explore
the consequences of these choices for finite sizes, focusing
on systems of Hilbert space dimensions ∼104typical for
full numerical diagonalization studies.
Motivated by the analysis of Ref. [62], we consider four
choices for defining the entropy. In each case, we compare
the resulting temperature obtained using Eq. (2) with the
canonical temperature obtained directly from inverting
Eq. (1).
First, we consider counting eigenstates in an arbitrar-
ily chosen but constant (energy-independent) width win-
dow, as illustrated in Figure 1(top). This is the most
obvious choice but turns out to be far from optimal —
the resulting temperature deviates strongly at finite sizes
from the canonical temperature.
Second, noting that the leading correction to the large-
size limit can be made to disappear by choosing ∆E∝
pT2
cCc[62], we examine the result of using such an
energy-dependent window width. (Here Ccis the heat ca-
pacity.) Such an energy-dependent window is illustrated
in Figure 1(bottom). We show that this choice works ex-
tremely well for the sizes of interest, modulo some caveats
regarding the proportionality constant.
Finally, we can compute the microcanonical entropy
using standard numerical estimation procedures for the
d.o.s. via approximations to the integrated d.o.s. or cu-
mulative spectral function. We first formulate the defi-
arXiv:2210.02380v2 [cond-mat.stat-mech] 4 Apr 2023