1. Introduction
Dissipation and heat transfer are universal phenomena in Physics, appearing whenever a small system is coupled to the much larger environment. In this situation, it is, in practice not, possible to keep track of all the observables of the universe. Instead, some measurable macroscopic quantities, such as energy, entropy and heat flows are used to describe the evolution of the system and of its average properties.
In the presence of several environments (thermal baths or reservoirs) at different temperatures, the system reaches a non-equilibrium steady state where thermodynamical currents (such as heat, energy, spin or electrical) may flow through the system from one reservoir to the other. Close to equilibrium, those currents are proportional to the corresponding thermodynamical forces. Examples of thermodynamical forces include gradients or differences of temperature, voltage, chemical potentials and concentrations of chemical species. The language of thermodynamical forces and currents, which is nowadays the cornerstone of non equilibrium thermodynamics, was first developed by L. Onsager in the 1930s [
1,
2], and by R. Kubo in the 1950s [
3]. The formalism can be naturally extended beyond the linear regime, as it was first observed by Schnakenberg [
4] and subsequently in more recent works on stochastic thermodynamics [
5,
6,
7].
In out-of-equilibrium setups, it is of primary importance to determine the (possibly many) currents that flow between subparts of the system, together with the corresponding forces, and the heat flow that is dissipated to the environment [
8]. The first case corresponds typically to the work done on the system by the environment, while the latter is associated to the production of entropy and an increased disorder of the ensemble (the system and environment), and it is related to the efficiency of the thermodynamical process. In networks of nonlinear oscillators, the heat flow throughout the system is a coherent phenomenon that requires synchronisation of the oscillators, while the dissipated heat is incoherent [
8,
9,
10].
The scope of this paper is twofold. On one hand, to provide a unified and concise view of many subjects that are scattered in the literature and are apparently disconnected, such as non-hermitian hamiltonians, brackets and anti-brackets formalism, canonical transformations and their connections to heat transfer in oscillators’ networks. Then, and most importantly, to give a general recipe to calculate currents, dissipated heat and work in a large class of out-of-equilibrium systems. To this end, we shall adopt the formalism of stochastic thermodynamics (ST) [
5] applied to the dynamics of complex-valued Langevin and Fokker-Panck equations.
Complex Langevin equations, which here represent the paradigm to treat oscillator’s networks, have been long investigated and have application in a variety of physical systems, from the stochastic formulation of Quantum Mechanics [
11,
12] to Quantum Cromo Dynamics [
13], quantum statistics [
14] and lattice gauge theories [
15,
16]. Recently, they found application also in polymer field theory [
17] and random matrices [
18]. In the present paper, we shall focus on the discrete nonlinear Schrödinger equation (DNLS), a general complex Langevin oscillator equation, which has ramification in many branches of Physics and has recently attracted a certain attention.
At variance with the standard formulation of stochastic thermodynamics, which uses colloidal particles as paradigm [
5], using complex Langevin equations, here we provide a systematic way to describe the non-equilibrium thermodynamics of networks of nonlinear oscillators. Following the idea of ST, we start from the stochastic trajectories of a small ensemble of oscillators coupled to a bath and we extract useful information (such as currents and entropy) from the ensemble averages of the main observables. As the system evolves, different parts of the network and the environment become statistically correlated. The currents are expressed in terms of those correlations.
The present paper is organised as follows. In
Section 2 we apply the Lagrangian and Hamiltonian formalism to describe complex-valued equations of motion, following References [
19,
20,
21,
22]. In particular, we formulate the conservative and dissipative dynamics, respectively, in terms of Poisson commutators and anti-commutators for a possibly non-Hermitian Hamiltonian, a topic that has been extensively studied [
19,
23,
24,
25,
26].
In
Section 3 we develop the stochastic thermodynamics formalism for complex-valued equations, and we derive a simple and general formula for entropy production, which makes transparent the breaking of detailed balance and is proportional to the heat dissipated to the environment. This section generalises previous work [
8,
27,
28] to complex Langevin equations with multiplicative noise.
Section 4 contains the formulation of the first principle of thermodynamics. This constitutes the main result of this paper and allows one to identify the heat transported and dissipated.
Section 5 provides some examples of realistic physical systems where thermodynamical currents and entropy production are calculated. We shall describe in particular the dynamics of a one dimensional continuum ferromagnet, of a network of classical magnetic spins and of the Frenkel-Kontorova model [
29] for nano-friction.
2. Hamiltonian-Lagrange Formulation for Complex Equations of Motion
We consider here the following complex Langevin equation:
where the dot indicates time derivative and
is a complex wave function with amplitude
(also referred as power) and phase
. The force
is an arbitrary function of the
and their complex conjugate
. We assume that both the coupling between the
s and the damping are contained in the definition of
.
The terms
, which model the stochastic baths, are complex Gaussian random processes with zero average and correlation
. Here
is an arbitrary function of the
. Throughout the paper vectors and matrices are written in bold text, while their components are written in plain text with
m and
n subscripts. The quantity
plays the role of diffusion constant. We assume that the latter is proportional a damping coefficient
and temperature
, according to the fluctuation-dissipation theorem. Thus, at variance with previous studies [
8], we consider here the more general situation of Langevin equations with multiplicative noise.
The force is given by the derivative
of a complex (and possibly non-Hermitian) Hamiltonian
. Here the Wirtinger derivatives are defined as
where
is the complex conjugate and
. The complex conjugate equation to Equation (
1) contains the forces
. A straightforward calculation shows that in a dissipative system with Hamiltonian
, where
R and
I are respectively the Hermitian (or reversible) and anti-Hermitian (or irreversible) components, the dynamics of an arbitrary function
f of the observables
can be written as
Here the Poisson commutators (−) and anti-commutators (+) are defined respectively as
We note in particular that, from Equations (
2)–(
4), the reversible and irreversible forces can be expressed as
and
. On the other hand, the couple
are canonical conjugate variables, since one has
.
In order to derive Equation (
4), one proceeds as in the case of classical Hamiltonian mechanics, by writing the evolution equation for an arbitrary function of the observables
then one substitutes the equations of motions:
and its complex conjugate equation for
. Note that
and the conjugate variable
are considered here independent variables.
We remark that the time reversal of our system corresponds to the transformation of the Hamiltonian
. The irreversible and reversible components respectively change and do not change sign under this transformation. A typical way to make the Hamiltonian irreversible and non Hermitian is by adding a non-symmetric coupling between the oscillators. This will be discussed in the next sections, and has been treated extensively also in Reference [
8].
Since the commutators and anti-commutators define respectively a symplectic and a metric structure on the space tangent to the phase space, this kind of system is called metriplectic. The formulation of dissipative dynamics in terms of anti-brackets in metriplectic structures has been extensively studied, both for classical and quantum systems [
24,
30,
31,
32]. In those formulations, the irreversible part of the Hamiltonian is usually identified with the entropy of the system. Here we do not pursue this identification, since we will describe the irreversibility in terms of the information entropy and the associated entropy production, as it is customary in the ST formalism. Later in the paper, we shall elucidate the connection between the irreversible part of the Hamiltonian and the entropy production.
An important step here is to determine the canonical transformations, that must preserve the metriplectic structure. In practice, from the definition of force and from Equation (
5) one must have that
for a variable
function of the old coordinates
. From the chain rule of partial derivative one has
However, from the definition of commutators and anti-commutators the following equalities must also hold:
The two equalities can be both satisfied only if the following holds:
This means essentially that the new coordinates must be analytic functions of the old ones, since they cannot contain both a variable and its complex conjugate. Adding a complex number or performing a
gauge transformation preserves the commutators [
16], however note that the Bogoliubov transformations are not canonical in this case, although they are canonical transformations of the system without dissipation.
Note that the system can be described using the following Lagrangian, similar to the one for the heat Equation [
20]:
The equations of motion for
are given by the Euler-Lagrange equations
while the dynamics of
given by the complex conjugate equations. Equations (
13) and (
14) are particularly useful to determine the conserved currents of the system associated to the invariance of the Lagrangian with respect to a global
transformation, according to the Noether theorem, as it will be clarified in the next sections. We remark also that one could in principle consider a stochastic Lagrangian, from which the full Langevin equation can be obtained by means of the usual Euler-Lagrange equations, as it has been noted in Reference [
16].
3. Fokker-Planck Equation and Entropy Production
This section generalises the material presented in Reference [
8] to the case of multiplicative noise. The time evolution of the probability distribution in the phase space, associated to the Langevin Equation (
1), is given by the following Fokker-Planck (FP) equation:
Following References [
8,
27], we define the reversible and irreversible probability currents as
with
and
the complex conjugate. By using those currents, Equation (
15) assumes the usual form of a continuity equation:
Thermal equilibrium corresponds to the case where the probability currents are zero, while non-equilibrium steady state corresponds to non-zero divergenceless currents, with = 0.
The entropy flow
and entropy production
are obtained starting from the definition of phase space entropy
where
denotes the ensemble average. Computing the time derivative
by means of Equation (
17) we obtain:
Upon integrating by parts, and observing that the divergence of the reversible forces,
vanishes, Equation (
19) becomes
We remark that the fact that the reversible forces have zero divergence is due to the expression for the force , where is the reversible (Hermitian) component of the Hamiltonian. A straightforward calculation then gives and , so that their sum vanishes.
From the definition of probability currents Equation (
16) one has
together with the complex conjugate equation. Upon substituting the previous equation into Equation (
20) gives
The first and second terms are respectively entropy flow and entropy production. We remark that we here consider only steady states. In this condition, assuming that the probability currents vanish at infinity [
8,
27], one can integrate by part the last term, which is proportional to
However, since the divergence of the thermodynamical currents is zero in stationary states, the last term vanishes in that case. Thus, in steady state the entropy flow
is minus the entropy production
[
8,
27], as in the case of additive noise.
At this point we substitute integrals containing
P with ensemble averages. In this way Equations (
16) and (
22) give
which is the same expression obtained in Reference [
8], with
playing the role of diffusion constant. As in References [
8,
27] we identify the quantity
with the heat exchanged with the bath.
We proceed now by deriving an expression for the entropy production that makes transparent the breaking of detailed balance and the onset of irreversibility. Since in steady states one has
, one can apply the Hodge decomposition [
33] and write the currents as
where
is an anti-symmetric tensor and
a scalar. We separate the entropy flow into two components
and
containing respectively
and
. For the first component one has
where we have used the anti-symmetry of
and integrated by parts discarding the boundary terms. One has that the condition of detailed balance is
, which is met when the forces are potentials and/or the temperatures are the same,
. Note that this condition generalises the formulation of References [
27,
28] to the case of complex-valued forces.
However, in our system we have two coupled currents, associated respectively to the conservation of energy and of the total power , or “number of particles”. Thus, we expect that the entropy production contains two components: one that depends on the temperature differences and one that depends on the chemical potential differences.
To see this, let us write the force as the derivative of the following Hamiltonian:
where
is the local chemical potential.
A straightforward calculation gives for Equation (
25):
The first term is non zero if the Hamiltonian is non-Hermitian and/or if the temperatures are different. On the other hand, the second term is non zero if the chemical potentials or the temperatures are different.
There is also another way to drive the system off equilibrium: by applying a constant chemical potential that compensates the damping [
8,
34]. In this case one expects that the entropy production is non zero, even if the current vanishes. To see this, we consider the second contribution to the entropy production:
However, if we write the Hamiltonian as in the case of the DNLS [
8,
35], the term
is the damping of the system,
. Thus one has
. This shows that the system does not relax to equilibrium in the case where the chemical potential compensates the damping, as has been pointed out also in Reference [
34].
4. Transported Vs Dissipated Heat
This section contains the main results of the paper. Starting from the first principle of thermodynamics, we derive the expressions for the heat dissipated and flowing through the system. To keep the notation simple, we consider the case with
, with
the damping of the system. It is straightforward to generalise our discussion to the case of multiplicative noise. Following Reference [
8], for a network of
oscillators, we consider the Hamiltonian
where
is the local energy, and the Hamiltonian splits into a reversible and irreversible component, respectively
and
. Here
is the local chemical potential, while
plays as usual [
8] the role of particle number.
The first principle of thermodynamics can be expressed as a balance equation for the energy according to
where
is the volume element of the phase space. In Reference [
5] and in stochastic thermodynamics in general, the first and second terms of the previous equation are respectively identified with heat
Q and work
W. However, in the present case one does not have a clear distinction between heat and work. In particular, it turns out that
Q is the heat dissipated to the environment, while
W contains contributions both from the dissipated heat and from the heat flow that propagates between oscillators
m and
n in the network.
To see this, we started by calculating the value of
Q. We remark that, as observed in Reference [
8], only the irreversible part of the Hamiltonian enters these expressions. We use the FP equation Equations (
15) and (
17) and substitute
with the derivative of the currents
:
Then, upon substituting the expression for the currents, integrating by parts and discarding boundary terms one has
This corresponds to the entropy flow multiplied by the temperature, which constitutes the heat dissipated to the environment. This generalises to the complex case the results obtained in References [
27,
28].
From Equation (
30), we calculate
W as
Here one can see that this expression corresponds to the work of the system, i.e., to the average forces
along the “velocity”
. Applying the substitution
and its complex conjugate and substituting
with the equation of motion, a straightforward calculation shows that
, where
Thus, the “work” is indeed the heat flowing through the mth oscillator, and therefore transported along the network [
8]. On the other hand,
Q is the heat dissipated to the bath, given by Equation (
31).