# A quantum optomechanical Mach clock

## Abstract

We introduce a quantum thermodynamic system that can operate as a thermal clock in analogy with the thermal clock first introduced by Ernst Mach in which the temperature difference between cooling bodies in contact can be used as a kind of relational time. Our model is based on an optomechanical system in which photons are transferred irreversibly between two cavities due to the modulation of the cavity cooling rate by a mechanical system coupled to a heat bath. We contrast the ensemble average view with a single system view using the theory of continuous measurement and we show that, by making a weak continuous measurement of the energy difference between the systems, a natural Mach thermal clock arises in an appropriate semiclassical limit. We investigate how quantum fluctuations modify this result.

## I Introduction

Mach introduced a temperature clock in an attempt to ground an understanding of time in our sense perception of irreversible processes Mach1 (). Mach’s clock is a thermodynamic system in which three identical materials, initially held at different temperatures, are placed in thermal contact but thermally isolated from the rest of the universe. Using Newton’s law of cooling, Mach showed that we can tell the time by using a thermometer. Mach’s temperature clock is non-periodic in contrast with the prototypical periodic mechanical clock—an astronomical clock—in which time is told by measurement of an angular coordinate.

Periodic clocks are more familiar, yet non-periodic clocks are equally good for coordinating kinematics BraMil (), and in fact a particular irreversible clock is in common usage: radiocarbon dating fn:allClocksIrr (). Non periodic clocks seem to depend upon irreversibility in an essential way unlike periodic clocks. In reality all mechanical clocks are irreversible machines operating on a stable limit cycleDenny () and are thus subject to phase fluctuations. Mach himself was well aware of this. As he says in Knowledge and Error, Indeed, if we look at these processes carefully and not just schematically, then like all kinds of oscillations they are not strictly periodic but contain irreversible components.Mach1 ()

In this paper we consider a quantum model for Mach’s temperature clock in order to elucidate the role of quantum flucutations. For such a model, temperature is not the focus of attention but rather we must necessarily consider the role of fluctuations in continuously measured quantities of a single realisation of the clock. There is currently a great deal of interest in how classical thermodynamic concepts should be recast in order to take account of quantum fluctuations Jarzynski (); Crooks (); Hanggi (); Vedral (); Pekola (). Recently the role of a clocks in quantum thermodynamic engines has been highlightedFrenzel ().

Our approach will be based on quantum analogs for Newton’s law of cooling: that the rate of change of the temperature of a body is proportional to the temperature difference between the body and its ambient temperature Winterton (). Strictly speaking this is not a fundamental law, but an empirical observation valid only under rather specific circumstances (e.g., ignoring radiative cooling). Newton used this observation to define a temperature scale in terms of temporal measurements Besson (). This is precisely the converse to Mach’s approach. That is, Newton uses a clock to define a temperature scale whereas Mach uses a thermometer to define a temporal scale—this duality is in fact quite generic Rovelli (); Menicucci (). By giving both a single-system and ensemble picture of Newton’s law of cooling, our approach also provides a perspective on Newton’s law of cooling in terms of fluctuations.

The paper is structured as follows. In section II we generalise the non-periodic, irreversible clock based on spontaneous decay of a two-state system to the stochastic transitions between ground and excited states when a two-level system is in thermal equilibrium with a bath at temperature . This enables us to connect temperature and time with quantum fluctuations.

In section III we give an abstract model for a Newton-like cooling law based on two qubits subject to a stochastic interaction. This model enables us to introduce the key role played by weak continuous measurement of energy to distinguish ensemble dynamics from stochastic dynamics of a single system. The measurement record now plays the role that measurement of temperature plays in Mach’s construct.

In the main part of the paper, we describe a more physically relevant model based on an opto-mechanical system in which the exchange of photons between two optical cavities is modulated by coupling to a mechanical degree of freedom. The mechanical system is coupled to a heat bath which maintains it at thermodynamic equilibrium.

In order to realise an analogue for Mach’s thermal clock with only a single instantiation of the optomechanical system, we introduce weak continuous measurements of the photon number difference between the cavities. This is equivalent to a continuous measurement of the energy of each cavity. Quantum deviations from semi-classical behaviour can be attributed to collective quantum coherence features. Using an analogy with Dicke superradiance we show how quantum fluctuaitons in our optomehanical example depart from the thermodynmic Mack clock.

## Ii Non periodic clocks.

At first sight the notion of a non periodic, irreversible clock seems paradoxical: a clock is the very epitome of a deterministic periodic system. Yet irreversible clocks have long been used, water clocks for example, and a particular irreversible clock is in common usage. Radiocarbon dating is based on the stochastic and irreversible decay of a radionuclide—. The key point is that metabolism ensures living organisms will continually refresh their concentration of while alive, but once dead the concentration begins to relax to the steady state non-organic concentration of in the environment. As we will see, relaxation from a non equilibrium state is a key feature of non deterministic clocks, especially when the non equlibrium state is a result of state conditioning of a system subject to measurement. Indeed, in radiocarbon dating one must take into account that different organisms die with differing concentations of . Furthermore, the vital concentration may change with time due to concentration of in the atmosphere changing over time. In other words, different organisms and different epochs do not necessarily begin with the same non equilibrium distribution.

It is known that the probability of a single radionuclide not to decay in a time is , where is called the decay rate. Given an ensemble of radionuclides, the number that have decayed after some time is therefore a Poisson distributed stochastic variable with parameter . The mean of is then simply . Thus, given a count of the number of radionuclides that have decayed, , we may estimate the time that has elapsed as

(1) |

The error in this estimate is given by the fluctuations in the final count for a fixed estimate . Since for a Poisson process the variance is equal to the mean, one finds the relative error is

(2) |

Conveniently, we get a better estimate the longer we wait. Now, in the case of radio-carbon dating, one indeed wishes to compute the elapsed time , and so one requires to know before hand; calibrate the clock. However, conversely, one could instead take this system as defining a temporal scale, where to take the time would be to make the count , and the value of would merely reflect a particular choice of units and thus be purely conventional. That is, the actual count , while subject to fluctuations, is a local physical quantity that can serve as physical time. Yet it is worth noting that a radionuclide can only decay, i.e., can only increase, so in contrast to the prototypical reversible clock, this is a clock with no tock.

A simple generalisation that introduces temperature in a fundamental way results if we consider a two-level system in a thermal bath at temperature (radiative damping). While the ensemble average is a stationary state in equilibrium with the bath, continuous measurement of the energy of a single realisation (discussed in more detail below) yields a random telegraph signal. Let us define the random telegraph signal to take the value if the two-level system is found in the ground state and if it is found in the excited state . The conditional state given this measurement record is then

(3) |

On the other hand, the ensemble average—the average over all possible random telegraph signals—yields the thermal state

(4) |

where is the inverse temperature of the bath and is the energy separation between and . (In our convention is assigned energy and is assigned energy .) The transition rate from to is and that from to is where is the bath occupation and is the zero-temperature decay rate. At high temperatures, , these two rates are approximately equal to .

A simple irreversible clock using a single two-level system can now be defined operationally by assuming that we have a means of making strong continuous (in time) measurements of the energy of the two-level system. Suppose, for example, we find the system in the ground state at time , i.e. we find the random telegraph signal is . The probability that the system continues in this state for a time is . We can thus use the estimator

(5) |

for time elapsed with parameter , which we stress is dependent upon temperature. In the high-temperature limit, this becomes

(6) |

In contrast to the example from radiocarbon dating, here the relative error in is limited by the relative error in . That is, in order for this system to define an accurate temporal scale, we require a good thermometer. Conversely, we may use this system as a thermometer where the temperature estimate is

(7) |

so one may equally well say that in order for this system to define an accurate temperature scale, we require a good clock. In summary,

(8) |

We have assumed that we can continuously monitor the energy of the two-level system without disturbing local thermodynamic equilibrium. This will require a system-measurement interaction which commutes with the Hamiltonian of the two-level system—a quantum non demolition interaction. As we will see below, such a measurement does not change the rate equations for the occupation probabilities and thus the steady state achieved by thermal equilibrium is not affected by the measurement.

The most general way to express the limit to the accuracy of a clock of any kind is based on a parameter estimation bound for a density operator of the clock system parameterised by time . This is given in terms of the rate of change of statistical distanceBraMil (),

(9) |

where

(10) |

and where the operator is defined as the inverse of the operator . For a single two-level system, the statistical distance is given by the simple expression

(11) |

with the definitions .

In the case of a two level system interacting with a thermal bath, the dynamics is given by the master equation

(12) |

where with . In this case we find that

(13) | |||||

(14) | |||||

(15) |

with . The solutions are

(16) | |||||

(17) | |||||

(18) |

where is the steady state value of . For an initial thermal state, and . The statistical distance is then given by

(19) |

If all we know is that a two-level system is in thermal equilibrium with a heat bath at temperature , Eq.9 implies that we cannot use it to implement a good clock. Strong continuous measurement of the energy changes this as the conditional state that results will be far from the stationary state of thermal equilibrium. Under strong continuous measurement of the energy, as we assumed above, the conditional value of as the system makes random telegraph transitions between energy eigenstates. In that case we have the bound . The simple protocol described above can achieve this only in the limit of very high temperature.

## Iii Quantum thermalisation and Newton’s law of cooling

Newton’s law of cooling describes, under suitable assumptions, how two materials beginning at different temperatures and placed in thermal contact eventually come to the have the same temperature. It says that the rate of change of temperature for each material is proportional to the temperature difference between them.

### iii.1 A two qubit model.

We now give a quantum model for Newton’s law of cooling based on a pair of identical two-level systems—qubits—each initially in thermal equilibrium with two distinct heat baths at temperatures . The input state is where is given by Eq. (4). We suppose that each ensemble is then isolated from their respective thermal environments and allowed to interact with each other. To begin with, let us describe this interaction by a map from input to output states—we shall extend this description to a continuous time flow later. That is, we imagine that the pair of two-level systems is injected into a device described by a completely-positive trace-preserving map on the tensor-product space of the pair of two-level systems, which produces the output state . Following Brunner et al. Brunner (), we assume that the device acts as a non-deterministic swap operation: with probability it implements the transformation where , i.e.,

(20) |

The input state is thereby mapped to

(21) |

In order for the reduced density matrices of each subsystem after the map to be identical we require , whereupon where

(22) |

The mixed ensemble has come to a new thermal state with inverse temperature . If the initial temperatures are very high, then , and if in addition the temperature difference is very small then .

An alternative way to write down the action of is by introducing the unitary swap operator :

(23) |

Then, . Now we may make the process dynamical by supposing that a swap happens at random times with rate , i.e., in an infinitesimal time a swap occurs with probability , otherwise nothing happens. The corresponding change in the ensemble is then simply the action of with : . This implies obeys the equation of motion

(24) |

which has solution

(25) |

Taking yields the stationary state , which is simply the action of with , whereupon for we recover and the reduced state of each two-level system is a thermal state with inverse temperature as above. On the other hand, let us consider the average energy of each two-level system where and . From the master equation (24), these obey the equations of motion

(26) | ||||

(27) |

Note that the total energy of the two systems is a constant of the motion as required for complete thermal isolation. We can parameterise the reduced density matrix of each two-level system at all times in terms of a time-dependent inverse temperature via where . At high temperatures Eqs. (26) and (27) then become

(28) | ||||

(29) |

Newton’s law of cooling thus results only for high temperatures, , and only if the difference in temperature is small, . The more general expression is given by the rate of change of the average energy difference between the two ensembles and this will form the basis for a Mach clock implementation.

How does one use a model like this to tell time? In the analogy with Mach’s clock, the rate of change of the mean energy, Eqns.(26,27), suggest that we should consider measuring the energy difference between the two ensembles in place of energy measurements. Equivalently, one can monitor the population of the energy eigenstates.

One approach is similar to the example of radio carbon dating. Consider a large ensemble, , of identical pairs of two-level systems each of which is subject to continuous, very accurate, energy measurements. At the initial time, just as the process is starting, we check to see how many of the pairs are in opposite states, say . The number of such systems is approximately . We then simply wait and count how many of these systems have remained in this state for the entire duration, . This is determined simply by the probability that all such systems have never experienced a swap operation, which is . Thus we can use the estimate

(30) |

The fractional error in this estimate is the same as for the case of any Poisson process

(31) |

One may object that the protocol just described assumes the ability to continuously monitor the energy of each system, but we have not taken this process into account explicitly in the dynamics. It also explicitly refers to an ensemble yet it should be possible to consider a system made up of just two qubits subject to the same continuous irreversible dynamics.

To address these points we now consider a model in which we include weak continuous measurements of on each qubit. The master equation describing the ensemble average dynamics is then given byHMW_GJM ()

(32) |

where is the measurement strength parameter. Note that these measurements do not change the dynamics of the occupation probabilities of the qubit states as the measurement operator is diagonal in this basis. Thus adding the measurement does not change the ensemble average dynamics for systems that start in product thermal states.

The observed measurement records are classical stochastic process that obey the Ito stochastic differential equation for the measurement current,

(33) |

where are independent Wiener increments and is the conditional mean value of up to time conditioned on the entire previous history of the measurement record . It is given by

(34) |

where , the conditional state, satisfies the stochastic master equation

(35) |

The stochastic terms, that represent the conditional evolution, make this a nonlinear dynamical system. The effect of the stochastic terms is to drive the system towards the energy eigenstates. To see this note that when the system enters one of the four energy eigenstates, the noise term vanishes.

The measurement record has two sources of stochasticity; (i) the added white noise due to the measurement that scales as and (ii), due to the stochastic dynamics of as we describe below. In analogy with the Mach clock we will consider the difference measurement current defined by

(36) | |||||

(37) |

We first find . Using the stochastic equations for the occupation probabilities we find that

(38) | |||||

(39) |

Thus,

(40) |

Note that if we now average over the noise, we reproduce the ensemble average equations of motion in Eqs.(26,27).

Ignoring the noise, the systematic dynamics is linear and is a constant of the motion and

(41) |

and the systematic part of the measurement current simply decays to zero. Due to the noise, the ability to distinguish the two measurement currents becomes increasingly difficult. In fact, if the initial temperatures are not sufficiently different, we would not be able to distinguish the two measurement currents even at short times due to the white noise added by the measurement itself.

We will first consider the case in which the measurement rate is much smaller than the swap rate, . A typical example is shown in Fig. 1.

Over a time such that , the solution can be approximated by

(42) | |||||

(43) |

where we have approximated the noise as a constant determined by the mean and variance of the independent Gaussian random variables with zero mean and variance, and, by assumption . The initial conditional averages are simply given by the initial thermal product states so that .

Define the random variable

(44) |

The ensemble average of this quantity is

(45) |

However for short times the fluctuations in are given by the standard deviation of the gaussian random variable . This is

(46) |

where

(47) |

At high temperatures, the initial states are close to the identity and . In that case

(48) |

This quantity has an interesting interpretation in terms of the Kullback-Leibler divergenceCover (), an information-theoretical measure of the statistical distinguishability of two thermal states at different temperatures. Define

(49) |

which, for high temperatures reduces to

(50) |

At high temperatures we thus see that

(51) |

To make the error in the estimator as small as possible we need to ensure . The error will be small in the case that the two ensembles are strongly distinguishable. A good estimate of the time will require which is equivalent to the condition

(52) |

Now turn to what we might do in a particular trial of the experiment. Suppose we measure a value for . We define the estimator for the elapsed time , given a particular measurement record as

(53) |

The noise in this estimate is given by

(54) |

where the uncertainty is given above.

There is another important limit corresponding to“quantum jumps”. This occurs when the ‘measurement rate’ is much faster than the rate of probabilistic swaps, so that . In this limit, the measurement rapidly localises on with the relative fraction ending up on given by the probability and the fraction ending up on given by . This is the limit of projective measurements. If each system initially localises on a different eigenstate we simply see Poisson distributed swapping, otherwise there is no dynamics at all. In this limit we are back to the Poisson distributed jumps method for estimating elapsed time like radiocarbon dating and thermalisation of a two-level system.

### iii.2 An optomechanical model.

We now turn to a more experimentally accessible model to illustrate a cooling law in a quantum system. In Chang et al Chang () a model for two coupled optical cavities with a coupling mediated by a mechanical system was presented. The scheme is depicted in Fig. 2.

The Hamiltonian for this systems is given by

(55) |

where are the annihilation and creation operators for the cavity fields, are the annihilation and creation operators for the mechanical resonator, , are the resonant frequencies of each cavity mode and is the resonate frequency of the mechanical element and is the coupling constant. The interaction Hamiltonian in Eq. (55) plays the role of the non-deterministic swap operation in the abstract qubit model of the previous section. A similar interaction was used by Levy et al. Levy () in their model of a quantum refrigerator.

We now move to an interaction picture at the optical and mechanical frequencies,

(56) |

where and . There are two choices for resonant interactions, for which we can make the rotating wave approximation to obtain

(57) | |||||

(58) |

These Hamiltonians describe Raman transitions in which a photon is moved from cavity to cavity by absorbing a mechanical excitation in the case of and emitting a mechanical excitation in the case of . Energy is conserved by the mechanical system exchanging excitations with its heat bath. Note that exchanging the labels for optical cavities makes these Hamiltonians equivalent. We will see below that the two choices for the detuning correspond to opposite directions of heat flow.

In reality both the optical cavities and the mechanical resonator are damped. In the case of the mechanical resonator it is also coupled to a non-zero temperature that bath. These may be described using the master equation

(59) |

where is given by either of the Eqs. (57). In seeking a quantum model analogous to the Mach clock, we are primarily interested in how the cavities evolve when they are coupled through the opto mechanical interaction. We will thus begin by setting the cavity decay rates to zero.

If the mechanics is coupled to a high temperature heat bath, it is rapidly thermalised to a steady state that is little effected by the coupling to the optical cavities. To be more precise, if where are the mechanical damping rates and the thermal occupation of the mechanical bath respectively, we can adiabatically eliminate the mechanical degree of freedom to obtain an effective master equations for the cavity fields alone (see appendix)

(60) |

where the two Lindbald super-operators corresponding to the interaction Hamiltonians are

(61) | |||||

(62) |

with and

(63) |

Eq. (60) is equivalent to the model in Levy et al.Levy (), Eq. (8)) with the role of hot and cold baths interchanged when we interchange and .

We will restrict the discussion in the paper to the case of . The master equation in Eq. (60) describes two conditional Poisson processes, and . The jump operatorsWisMil () for these processes are

(64) | |||||

(65) |

In the first of these, a photonic excitation is removed from cavity and added to cavity , in the second, the opposite occurs. The rates for the corresponding Poisson process are given by

(66) | |||||

(67) |

We can see that the ratio

(68) |

is the thermal Boltzmann factor with the temperature of the mechanical system at frequency and the last expression results from noting that we are considering the case for which . In Levy et al.Levy () this would correspond to regarding cavity as the hot system and cavity as the cold system. We will use a similar definition in what follows and assume that initially the cavities are prepared in thermal states with . Thus the Poisson process descries a transition from hot to cold while describes a transition for cold to hot.

We can define a net number current (or flux) by the classical stochastic process

(69) |

The change in the energy of the cavities in this time is

(70) |

The ensemble average of this current is given by

(71) | |||||

(72) |

On the other hand the change in the energy of the mechanics over this time interval is

(73) |

as a transfer of a photon from cavity to requires an absorption of one excitation from the mechanics, and a transfer of a photon from cavity to requires the emission of one excitation into the the mechanics. The average current then determines the rate at which phonons enter the mechanics. It is clear that for conservation of energy. Thus is the negative of the rate of change of energy in the optical system.

The mechanical degree of freedom is held in contact with a heat bath. If a single phonon enters/exits the mechanical system it is no longer in thermal equilibrium but is rapidly restored to thermal equilibrium by the exchange of heat with the thermal bath with which it is in contact. In this way a classical stochastic heat transfer is conditioned on elementary quantum tunnelling events. We illustrate this relation in Fig. 3 for the case of a transfer of a single photon from cavity-1 to cavity-2 corresponding to the event .

The nonlinear dependence on photon number in the expressions for the rates of each stochastic process is indicative of nonlinear cooling/heating. This can be checked by computing the rate of change of average photon number in each cavity using the master equation in Eq. (60). For example the rate of change of photon number difference is

(74) |

While is a constant of motion. Comparing these results to Eq. (71) we see that the ensemble average of the current is

(75) |

## Iv The Optomechanical Mach clock.

In order to turn this model into a Mach clock we need to introduce an analogue to a temperature measurement on each of the cavity modes. The temperature is a thermodynamic quantity for macroscopic systems and ensemble averages of microscopic systems. In our model the temperature of the mechanics is well defined as it is in thermal equilibrium with a heat bath. How to generalise thermodynamics quantities to the case of a single quantum system not in thermal equilibrium is one of the key questions in the field of quantum thermodynamicsJarzynski (). As for the qubit model, we consider continuous quantum non demotion measurements of photon number in each cavity as a quantum equivalent to temperature measurements in the macroscopic thermodynamic case. Such measurements, when averaged over all results, do not change the photon number statistics in each cavity.

Returning to Eq. (71) and Eq. (74) we see that we need to make a continuous time measurement of the photon number difference between the two cavities. With this in mind we define the operators

(76) | |||||

(77) |

These operators have the same algebra as with the Casimir invariant

(78) |

where is the total photon number operator.

In terms of the su(2) generators the master equation for the case in Eq. 60 can be written

(79) |

This equation is structured so that the stochastic dynamics takes place entirely in the subspaces defined by the eigenstates of . In other words the total ‘angular momentum’ quantum number, , is conserved. This is direct consequence of the conservation of . In this situation, the model in Eq. (79) is familiar from quantum optics where is it known as the incoherently driven Dicke model for which an exact steady state is knownHassan ().

In the optomechanical model,the optical system starts in a product thermal state

(80) |

with , and is thus an incoherent mixture of eigenstates of . We write the initial product thermal state in terms of the eigenstates of as

(81) |

where

(82) | |||||

(83) |

where . In these expressions, .

The initial value of is

(84) |

where . For high temperatures this is approximately

(85) |

Typically this will be small.

From the master equation Eq. (79), we find the equation of motion for the photon number difference in the form,

(86) |

This is certainly not a simple exponential decay. Indeed, for the case of , and an initial eigenstate of total photon number (), this is the old problem of superradiance which has a particular kind of non exponential decay, depending on the initial conditionBonifacio (); Braun (). The dynamics in the case of , with , has been treated by Hassan et al. Hassan (). For the case of initial thermal states, we find that,

(87) |

where . Noting that is a constant of motion, we can write

(88) |

In the case that with we see that

(89) |

To reach a Mach clock limit we need to consider the relationship of and and an appropriate semiclassical limit. It will be convenient to scale this variable in terms of .

(90) |

In the limit of , . We then find that the semiclassical dynamics is given by

(91) |

If we now assume that and further that , we can use the approximation

(92) |

which does imply an exponential decay of the average photon number difference between the two cavities. A similar result was first noted by Hassan et al. Hassan (). This is the limit in which the optomechanical system obeys a Newton-like cooling law and can function as a Mach clock.

The average decay of photon number difference gives us an idea of the appropriate limit for this model to function as a Mach clock however it does not describe how we use a single realisation of this system. To answer this we need to consider a weak continuous measurement of (see Appendix B).

## V Discussion and conclusion.

A clock, be it periodic or non periodic, is a machine and, like all machines, subject to the laws of thermodynamics. Mach’s thermal clock is a non periodic clock that operates by the laws of thermodynamics. As Mach emphasised, the time it measures is just as good for kinematics as that measured by periodic mechanical clocks. This equivalence is ultimately due to the implications of the second law of thermodynamics for irreversible dynamical systems.

It might be useful here to consider an explicit example of a periodic irreversible clock. The coherent output of a single mode laser is such an example and forms the essential component of atomic clocks. The key point is that, above threshold, the quadrature phase amplitudes of the laser field relax onto a limit cycle. The steady state distribution of these amplitudes are described by a stationary distribution localised on this limit cycle. On the other hand a continuous monitoring of the field amplitudes at the laser frequency (via heterodyne detection say) shows a slow phase diffusion around the limit cycle. In the ensemble average, the statistics of the diffusing trajectories is described by the stationary distribution function on the limit cycle. The laser, like the optomechanical Mach clock, is an irreversible system and the phase diffusion on the limit cycle is a reflection of the fluctuation-dissipation theorem and, ultimately, the second law of thermodynamics.

Mach’s non periodic clock, like radiocarbon dating, works by using special non equlibrium initial conditions. For thermodynamic systems, this requires implementing physico-chemical processes to drive the state away from equlibrium. In contrast, in this paper we have emphasised that the act of observation itself suffices to prepare a non equlibrium state from a stationary equlibrium state. The future behaviour of the clock is then simply a direct result of the second law of thermodynamics. There is an essential role for the observer in defining a thermal clock (in fact any clock) as well as the special cosmological initial conditions that are conjectured to underlie the second law.

In the quantum case the role of measurement is inescapable. Rather than measuring a macroscopic thermodynamic quantity (temperature), in our quantum examples we focused on the need to make continuous measurements of energy. Quantum correlations, for example in the Dicke model, lead to departures from the prototypical Mach clock, yet quantum Mach clocks are nonetheless good non-periodic clocks that depend on the second law of thermodynamics for their operation.

## Appendix A

In this appendix we derive the effective master equations for the optical system by adiabatically eliminating the mechanical degrees of freedom. The key idea is that the mechanical resonator relaxes to a thermal state much faster than the dynamics determined by the interaction with the optical field modes. We will give the example for the derivation for is very much the same.

We begin with the optomechanical interaction written as a time dependent function

(93) |

where we have defined We will assume that the quantum stochastic processes defined by and can be approximated by the stationary two-time correlation functions for the annihilation and creation operators of the mechanical system subject only to thermalisation. In the long time limit (ignoring initial transients) we find that

(94) |

where is a quantum white noise process WisMil (). The we find for example, in the limit that , by the quantum regression theorem