key: cord-0452240-h0i13tva authors: Holmes, Zoe; Anders, Janet; Mintert, Florian title: Enhanced energy transfer to an optomechanical piston from indistinguishable photons date: 2020-03-24 journal: nan DOI: nan sha: ad3dad3e4daa032f205edeadab5742dbe0c14a7b doc_id: 452240 cord_uid: h0i13tva Thought experiments involving gases and pistons, such as Maxwell's demon and Gibbs' mixing, are central to our understanding of thermodynamics. Here we present a quantum thermodynamic thought experiment in which the energy transfer from two photonic gases to a piston membrane grows quadratically with the number of photons for indistinguishable gases, while linearly for distinguishable gases. This signature of Bosonic bunching may be observed in optomechanical experiments, highlighting the potential of these systems for the realisation of thermodynamic thought experiments in the quantum realm. Thought experiments involving gases and pistons, such as Maxwell's demon and Gibbs' mixing, are central to our understanding of thermodynamics. Here we present a quantum thermodynamic thought experiment in which the energy transfer from two photonic gases to a piston membrane grows quadratically with the number of photons for indistinguishable gases, while linearly for distinguishable gases. This signature of Bosonic bunching may be observed in optomechanical experiments, highlighting the potential of these systems for the realization of thermodynamic thought experiments in the quantum realm. The concept of particle indistinguishability is deeply entwined into the history of both quantum mechanics and thermodynamics. The first remarkable example of the consequences of the difference between distinguishable and indistinguishable particles is found in Gibbs' thought experiment [1] on the extraction of work from the mixing of gases. Subsequently, the indistinguishability of energy quanta played a central role in the development of quantum mechanics with Planck's reconciliation of Wien's law and the Rayleigh-Jeans limit of black body radiation. The indistinguishability of elementary particles, Fermions and Bosons, is now recognised as a fundamental principle, with diverse signatures such as the Pauli blockade [2] or the Hong-Ou-Mandel effect [3] , which causes even non-interacting photons to leave beamsplitters in pairs, i.e. to bunch. The role of the statistics of indistinguishable quantum particles in thermodynamics has recently gathered renewed attention. For quantum generalisations of a Szilard engine the extractable work is independent of whether the working substance is Bosonic or Fermionic [4] , but Bosonic bunching can enhance the conversion of information and work [5] and the performance of thermodynamic cycles [6] . Although any two Fermions or Bosons of the same type are intrinsically identical, in practise it is often possible to distinguish such particles via their internal states [7] . In the case of photons, for example, the distinguishability can be carried by a degree of freedom such as polarization that admits coherent superpositions. The distinguishability between two photons, one vertically polarised and the other in the state |θ = cos θ |V + sin θ |H with |V and |H referring to vertical and horizontal polarizations, can thus be varied continuously, with the photons partially distinguishable for 0 < θ < π/2. The possibility of partially distinguishable quantum gases has provided a natural generalisation to Gibbs mixing [8, 9] with many implications for thermodynamics. For example, it is impossible to perfectly distinguish nonorthogonal quantum states without breaking the second law of thermodynamics [10] , the accessible information in Gibbs mixing is limited by the Holevo bound [11] , and the extractable work from mixing, defined as the ergotropy [12] , can decrease with distinguishability [13] . In this paper we present a thought-experiment that probes the interplay of distinguishability and particles statistics in quantum thermodynamics. Drawing inspiration from ground breaking thought experiments involving gases performing work on a membrane attached to a movable piston [1, 14, 15] , we consider the interaction between photon gases and a beamsplitter membrane, that gives the photons access to superpositions of spatial states located either side of the membrane. We find that the photonic bunching results in striking consequences for how energy is transferred between light and the membrane. Namely, as a result of the Hong-Ou-Mandel effect, the energy transfer grows quadratically with the number of photons for indistinguishable gases, while linearly for distinguishable gases. The proposed thought experiment may be realised in multi-mode optomechanical systems in which a microscopic membrane separates an optical cavity into two parts [16] [17] [18] [19] [20] [21] , thus highlighting a new avenue for quantum thermodynamic experiments. We argue here that such multi-mode optomechanical setups go beyond previous proposals in single-mode systems [22] [23] [24] [25] , by pro-viding a platform both for studying quantum signatures of distinguishability and, more broadly, realising thermodynamic thought experiments involving the interaction of gases with membranes. A setup realising this variety of quantum mechanical generalizations of piston-like experiments is given by an optomechanical system comprised of a cavity with a membrane that behaves like a beamsplitter and that divides the cavity symmetrically into a left and a right part, as sketched in Fig. 1 . The photon dynamics resultant from the membrane can be modelled in terms of the Hamiltonian where the annihilation (creation) operators of both the horizontally, R V , polarised photons in the right and left halves of the cavity are explicitly modelled in order to study the effect of distinguishability [26] . The membrane has a motional degree of freedom (DOF), like a cantilever, and the interaction between the light field and the motional DOF is given by in terms of the total particle number in the left and right part of the cavity (i.e. and the displacement operator X M of the membrane [27] . This optomechanical coupling will allow us to discuss a notion of energy (be it work or heat) transferred to the mechanical DOF in analogy to the extraction of work in the classical setting. The full system Hamiltonian H is given by the sum of H BS and H I (defined in Eqs. (1) and (2)) and the non-interacting terms for the four photonic modes H C = ω(N L + N R ) and single phonon mode H M = ω M M † M . The eigenfrequencies of both parts of the cavity and of the mechanical DOF are denoted by ω and ω M respectively and the annihilation (creation) operator M ( †) of the mechanical phonons is related to the displacement operator via X M = x zpf (M + M † ). The prefactor x zpf is the mechanical oscillator's zero point uncertainty x zpf = 1/ √ 2mω M with m the mass of the membrane. To solve the system dynamics explicitly, despite the high-dimensional Hilbert space, it is helpful to consider the equations of motion for the observables of interest in the Heisenberg picture. The equation of motion for the displacement X M of the mechanical DOF, depends on the photonic mode imbalances ∆N p = L † p L p − R † p R p (for p = H and V ) whose dynamics re-sult from the equation of motion In a thought experiment the damping rates κ and κ M of the cavity and mechanical modes can be assumed to vanish such that the number of photons in each gas is conserved and the piston membrane is frictionless. However, any experiment would be realised with finite damping. Solving the coupled differential equations Eqs. (3) (4) (5) , exactly is prohibitively difficult but a perturbative solution that describes the dynamics of selected observables for any given initial state can be constructed. Given that the force exerted by a single photon on the membrane is weak, the single photon coupling strength, gx zpf , is small compared to the inter-cavity coupling strength, λ. It is therefore appropriate to solve the dynamics perturbatively in g. With the membrane cooled to cryogenic temperatures (mean phonon occupation numbern th of the order of 10) [28] , the higher order contributions are negligible, as discussed in the supplement [29] . We thus focus here on the dynamics to first order; however, similar behaviour is observed to higher orders [29] . The initial state of the left and right parts of the cavity and the membrane, ρ L ⊗ ρ R ⊗ σ M , is chosen in analogy to classical thermodynamic thought experiments and hence the gases are taken to have the same number distribution (and therefore the same average photon number N (0) = tr L [N L (0) ρ L ] = tr R [N R (0) ρ R ] and variance δN (0)). The transition between distinguishable and indistinguishable photon gases can be explored by taking all photons in the left cavity to be in the polarisation state |V and all photons in the right in |θ , where θ can be varied continuously between 0 to π/2. For the membrane, an initial state with vanishing displacement, tr M [X M (0) σ M ] = 0, and vanishing momentum is inline with the classical thought experiments, for example, the membrane could be prepared in a thermal state. The dynamics induced by H BS entangles the mechanical and optical degrees of freedom, resulting in an energy transfer from the effective energy of the photons, To first order in the interaction constant g, the quantum mechanical average of the energy of the membrane is given by following Eqs. (3) (4) (5) . The scalar prefactors u(t) and v(t), discussed further in [29] , are positive oscillatory functions (see Fig. 4 ) that depend on the system parameters (g, ω M , λ, m, κ and κ M ), but not on the initial state of the gases, which enters through the terms δN (0), N (0) and cos 2 (θ). The correlation function gL,R, Eq. (2), as function of time for single photon, coherent and thermal initial states of the light field in the absence of damping (κ = κM = 0). Perfectly distinguishable (θ = π/2), partially distinguishable (θ = π/4) and perfectly indistinguishable (θ = 0) gases are denoted by solid, dashed and dotted lines. For any choice in the number distribution of the photon gases, the energy transfer to the membrane is larger for indistinguishable photons than distinguishable photons, with the difference between these two cases scaling as N (0) 2 cos 2 (θ). That is, the energy transfer to the membrane is quadratically enhanced for indistinguishable photons. The enhancement is most pronounced for Fock states where the initial fluctuations in photon number δN (0) vanish, or coherent states where the fluctuations are equal to the average photon number, δN (0) = N (0) . Conversely, for high temperature thermal gases 1 the initial fluctuations in photon number δN (0) will be substantial and so there is a substantial contribution to ∆H M that is independent of θ. This dependence of the energy transfer on distinguishability is the opposite to Gibbs mixing where work extraction is possible for distinguishable gases but not for indistinguishable gases. The difference in behaviour is perhaps unsurprising as the present mechanism does not rely on mixing. What seems striking is the scaling with particle number. Whereas the extractable work in the Gibbs [1] , and indeed the Szilard [15] and Maxwell Demon thought-experiments [14] , scales linearly with the particle number, i.e. it can be interpreted as 'work per particle', the present situation realises a quadratic scaling, with a potentially strongly enhanced energy transfer to the membrane. As we will show in the following, this quantum mechanical enhancement of energy transfer, ∆H M , between light and the mechanical DOF is a direct consequence of photon bunching as observed in the Hong-Ou-Mandel (HOM) effect [3, 30] . To this end, it is instructive to in- spect the two mode second order correlation function [31] A vanishing value of g L,R indicates that a measurement would find all photons in one cavity, whereas large values of g L,R imply that approximately equal numbers would be found in both halves of the cavity. A small value of g L,R thus indicates bunching, whereas a large value indicates anti-bunching [29] . The dynamics of g L,R as the light field interacts with the beamsplitter membrane can readily be obtained to first order in g. It is depicted in Fig. 2 in the absence of damping effects (κ = κ M = 0) for perfectly distinguishable (θ = π/2), perfectly indistinguishable (θ = 0) and partially distinguishable (θ = π/4) gases. In all three sub-figures, corresponding to single photon, coherent and thermal states of the light field, one can see that for all times, distinguishable gases result in the largest values of g L,R and indistinguishable gases the smallest. Moreover, the time averaged correlation function [29] , where γ = 2 for thermal photons, γ = 1 − 1 n for an n photon Fock state and γ = 1 for coherent state photons, has the same cos(θ) 2 dependence on distinguishability as the energy transfer to the membrane, Eq. (6). That is, bunching is most pronounced for indistinguishable gases, as expected. To understand heuristically how this bunching affects the membrane dynamics, it is instructive to consider the case of single photon gases as sketched in Fig. 3 . For both distinguishable and indistinguishable photons the (quantum) average displacement of the membrane will The average energy of the membrane as a function of time for coherent states of the light field containing 6 × 10 6 photons. Perfectly distinguishable, partially distinguishable and perfectly indistinguishable gases are denoted by red, purple and blue lines. We utilise the following parameters from the experimental settings in [19, 20] : ωM = 350kHz, ω = 20THz, λ = 34GHz, κ =85kHz, κM =1Hz, m =45ng and gxzpf =3.3kHz, with similar behaviour expected for a range of parameters. be zero at all times. However, the fluctuations in the position of the membrane, and therefore the energy of the membrane, will be greater for the case of indistinguishable photons because the probability for the membrane to be displaced to the left or right is double that for distinguishable photons. Moreover, the quadratic scaling of the energy transfer may be explained by the fact that the HOM effect is a pairwise interference effect. Since N (0) photons in one gas can interfere with each of the N (0) photons in the other gas, the number of pairs of photons which can interfere with one another scales as N (0 2 and this quadratic scaling carries over to the energy transfer. While considering an initial thermal state for the photon gases realises a close analogy with classical thermodynamics, including the process of pumping brings the discussion closer to an experimentally realizable situation. If the cavity is driven on resonance in a pulsed fashion [32] [33] [34] [35] , with pulses that are shorter than the tunnelling time λ, the driving processes and tunnelling processes occur on different time scales and can be considered independently. Accordingly, driving the left modes of the cavity with a short laser pulse of θ polarised photons and the right modes with a short pulse of vertically polarised photons, will generate the coherent states |α, θ and |α, V in the respective halves of the cavity [36] , leading again to an enhanced energy transfer to the membrane for indistinguishable photons as per Eq. (6) with δN = N = |α| 2 . In the limit in which the cavity damping is much faster than the membrane damping, as is the case in experimental settings such as [20, 21] , the energy of the membrane, as shown in Fig. 4 , tends to an approximately constant value on the time scale 1 κ t 1 κ M . In this limit the energy transfer to the membrane after being driven by a single pair of pulses is where η = 1.2 × 10 −8 Hz and µ = 1.3 × 10 −18 Hz for the experimental parameters listed in Fig. 4 . For a pulse containing 6 × 10 6 indistinguishable photons, the expected energy transfer to the membrane is of the order of 400kHZ. This effect could be amplified by driving the cavity with a train of laser pulses, increasing the viability of experimentally observing the enhanced energy transfer to the membrane using currently available measurement protocols [28] . It is natural to ask whether this energy transfer to the piston membrane, ∆H M , should be interpreted as heat or work. While the question of how to define work [37] [38] [39] [40] and heat [41, 42] in the quantum regime has been discussed extensively, in essence the distinction reduces to the extent to which the energy is 'useful' energy as opposed to un-directed fluctuating energy. Since the quantum mechanical average of the mechanical displacement and momentum vanishes at all times, the energy transfer ∆H M is entirely given in terms of the fluctuations resulting from the entanglement between light fields and mechanical degree of freedom [43] . In this vein, one might classify the energy transfer as heat rather than work. However, the fact that the quantum mechanical average over displacement vanishes can be seen as a direct consequence of the system's mirror symmetry (i.e. exchange of L p and R p and simultaneous replacement of X M with −X M ). Given a symmetric initial state, this symmetry is preserved during the dynamics and necessarily needs to be satisfied in the final state. Nonetheless, this symmetry could be broken with a measurement of the photon number in the left or right part of the cavity. As indicated by the correlations depicted in Fig. 2 and Fig. 3 , a suitable measurement will collapse the symmetric superposition and therefore is likely to find a pronounced misbalance of photons between left and right corresponding to a substantial instantaneous displacement of the membrane. Indeed, the cross correlation function between the photon number difference, ∆N = N L − N R , and the displacement of the membrane, with ν(t) and ζ(t) oscillatory prefactors depending only the system parameters [29] , features the same quadratic enhancement for indistinguishable photons as found for the energy transfer, Eq. (6). This suggests that a reasonably simple Szilard-type extraction protocol [5] , using auxiliary measurements on the light field, would allow one to find a predictable displacement of the membrane that increases with the indistinguishability of the photons in the cavity. The potential energy associated with this displacement is well defined and thus could plausibly be interpreted as a work output. The bunching enhanced energy transfer to the piston membrane for indistinguishable photons draws a link between iconic thermodynamic experiments conceived by Gibbs, Maxwell and Szilard, and a paradigmatic example of the impact of indistinguishability in quantum optics, the HOM effect. The optomechanical analysis further gives a flavor of the rich physics that can be explored by explicitly introducing polarisation into optomechanical setups, while introducing a new platform for quantum thermodynamic experiments. For example, a crucial difference between the present optomechanical setting and classical thermodynamical experiment, is the inability of the photons to thermalize via mutual interactions. Interactions with dye-molecules on the other hand are routinely used to mediate effective interactions between photons resulting in thermalization [44, 45] . One may thus envision extensions of the presently discussed setup with thermalization rates as additional parameters, permitting a broad range of future directions. Other open questions include the variation of initial state, optomechanical coupling regime and coupling of the photons to the heat bath. Similarly to the present analysis, such settings can be discussed as a thought experiment or even realized in practice with optomechanical systems. We are grateful for insightful conversations with Jack Clarke and Michael Vanner. We acknowledge support from the Engineering and Physical Sciences Research Council Centre for Doctoral Training in Controlled Quantum Dynamics; the Engineering and Physical Sciences Research Council Grants EP/M009165/1 and EP/S000755/1 and the Royal Society. Supplementary Information for "Enhanced energy transfer to an optomechanical piston from indistinguishable photons" Here we provide a derivation of the results presented in the main text. Initial condition We make the following assumptions on the initial state of the light field and the mechanical osccilator: 1. The photons and membrane are initially non-interacting such that A(0)B(0) = A(0) B(0) for any operator of the light field, A, and operator of the membrane, B. Calculation of dynamics The membrane evolves as a quantum harmonic osccilator driven by the radiation pressure from the photons in the cavity. To explicitly calculate the dynamics of the membrane we work in the Heisenberg picture since this allows us to obtain results for the evolution of pertinent physical variables that hold for the general set of initial conditions stated above. Working in the Heisenberg picture, the equation of motion of the membrane reads where the driving force F (g) = g∆N and κ M is the damping rate of the membrane. To calculate the force exerted by the photons on the membrane we need to determine the dynamics of the photons. The left and right modes (with polarisations p = H and p = V ) obey where we include phenomenologically the damping of the cavity modes at the rate κ. Solving these coupled differential equations, Eq. (11) and Eq. (12), for the four photonic modes and single mechanical mode exactly is prohibitively difficult but a perturbative solution that describes the dynamics of selected observables for any given initial state can be constructed. Given the typically weak coupling between the optical and mechanical degrees of freedom, it is appropriate to consider the system dynamics perturbatively in the coupling g. To first order, which we focus on, this amounts to assuming that the back action of the motion of the membrane on the photon dynamics is negligible. To calculate the dynamics of the membrane to 1st order in g, we drop the dependence of Eq. (12) on g and solve the resulting coupled differential equations to find that From this it follows that the membrane is driven by the force F (g) = g exp(−2κt) (∆N (0) cos(λt) + ∆K(0) sin(λt)) , where we have defined ∆K := ∆K H + ∆K V with The solution to the equation of motion of the membrane, Eq. (16), for the time dependent force induced by the dynamics of the photons, Eq. (16) , is of the form where the functions a(t), b(t), c(t) and d(t) depend on the system parameters (g, ω M , λ, m, κ and κ M ) and not on the initial state. The functions a(t), b(t), c(t) and d(t) can be calculated explicitly by substituting the trial solution Eq. (18) into Eq. (11); however, since the functions do not depend on the initial state of the photons it is not necessary to calculate these functions to determine the distinguishability dependence of the energy transfer to the membrane. The average energy of the membrane can be written in terms of the membrane displacement operator as and therefore Since we assume the light and mechanical modes are initially uncorrelated and that the mean position and momentum of the membrane vanish, it follows that the initial correlation functions ∆N (0)X M (0) , ∆K(0)X M (0) , ∆N (0)P M (0) and ∆K(0)P M (0) vanish. Similarly, since we assume that the photons in the left cavity are in polarisation state |V and the photons in the right cavity are in the polarisation state |θ , the ∆K(0)∆N (0) and ∆K(0)∆N (0) terms also vanish. It follows that the energy of the membrane is given by and therefore the time dependent energy transfer to the membrane, ∆H where u(t) = mω 2 M c(t) 2 + mċ(t) 2 and v(t) = mω 2 M d(t) 2 + mḋ(t) 2 . The distinguishability and photon number dependence of the energy of the membrane enter through the evaluation of the ∆N (0) 2 and ∆K(0) 2 terms. The ∆N (0) 2 term is calculated as follows where the final line follows from the fact that we assume the photon number distribution in the two halves of the cavity are equal and therefore we can write N := N L (0) = N R (0) and N 2 := N L (0) 2 = N R (0) 2 . Thus the ∆N (0) 2 is distinguishability independent and equal to the variance, δN , in the number of photons in each gas, Similarly, for the ∆K(0) 2 term we have that The cross term vanishes since all the photons in the left cavity are vertically polarised and remaining two terms evaluate to Substituting these expressions into the equation for the total energy of the membrane we have that the change in energy of the membrane is given by We thus see that the energy transfer to the membrane is quadratically enhanced for indistinguishable photon gases. The derivation of the membrane correlation function ∆N (t)X M (t) , Eq. (10), proceeds in an entirely analogous manner to the derivation of ∆H M (t) set out here. In the general case the expressions for u(t) and v(t) are long and uninstructive. However, in the experimentally realisable limit in which the cavity damping κ is much faster than the membrane damping κ M , the energy of the membrane tends to an approximately constant value on the time scale 1 κ t 1 κ M as shown in Fig. 4 . In this limit we can effectively disregard the membrane damping, that is set κ M = 0, and calculate the time averaged change in energy of the membrane in the limit of large t, To perform this calculation we disregard any terms that exponentially vanish in the limit of large t and average over remaining sinusoidal terms. On doing so we obtain, In the idealised case of a friction-less piston and no cavity damping, that is for κ = 0 and κ M = 0, these expressions reduce to with the ratio of the prefactors given by Therefore the relative significance of the distinguishability dependent contribution to the energy transfer term depends on the relative magnitude of the tunnelling rate λ and the membrane frequency ω M . However, in the presence of damping, that is for κ = 0, these expressions reduce to with the ratio of the prefactors given by When λ is substantially greater than κ and ω M , as is the case in the experimental settings such as [20, 21] , η is substantially larger than µ and therefore the distinguishability dependent term in Eq. 27 dominates over the fluctuation dependent term. The effect of the back action of the membrane's motion on the photons dynamics can be incorporated by calculating the evolution of the membrane's displacement to second order in g. As shown in Fig. 5 below, the second order contribution to the energy transfer to the membrane also increases with the indistinguishability of the photons. In contrast to the first order contribution, the second order contribution depends on the initial state of the membrane. Assuming the membrane is initially thermal, the second order contribution increases with the initial temperature of the membrane as shown in Fig. 5 . Also, in contrast to the first order, the second order contribution to the energy of the membrane, once averaged over oscillations, grows quadratically over time. Nonetheless, the effect of back action is negligible over the lifetime of the cavity, 1/κ, as long as the initial thermal occupancy of the membrane,n th , is lower than ∼ 50 phonons. Such low temperature regimes have been experimentally achieved [28] . We plot the first and second order contributions to the time averaged energy transfer to the membrane as a function of the distinguishability of the photons in the cavity in the absence of damping effects (κ = κC = 0). Once the energy transfer to the membrane is averaged over fast oscillations the first order contribution to the energy transfer is constant in time, while the second order contribution has an amplitude that grows quadratically in time. Here we plot the second order correction up to 10µs (the cavity lifetime in the experimental setup of Ref [23] ). The membrane is prepared in a thermal state containing on averagen th phonons, wheren th = 10,n th = 100 andn th = 1000 in the left, centre and right plots respectively and the light field in both halves of the cavity is initially in a coherent state containing on average 10 6 photons. We utilise the following parameters from the experimental settings in [19, 20] : ωM = 350kHz, ω = 20THz, λ = 34GHz, m = 45ng and gxzpf =3.3kHz, with similar behaviour expected for a range of parameters. Photon correlation function calculation The degree of bunching of the photons in the cavity is quantifiable by the second order coherence correlation function g. The second-order correlation function between any two modes a and b is given by where a † (t)b † (t)b(t)a(t) is the probability of measuring a photon in mode a and a photon in mode b at time t, and the product of is a normalisation factor. The second order correlation function is most often used to quantify the spacing of photons within a single mode, i.e. where a = b. A coherent light beam has randomly spaced photons and therefore a g a,a value of 1. If g a,a is greater than 1 the probability of measuring two photons simultaneously is greater than expected for a random beam of photons and in this sense the photons are 'bunched' together. Thermal light with super-Poissonian statistics and a g a,a value of 2 is therefore bunched. In contrast, if g a,a is less than 1 then the probability of measuring two photons simultaneously is greater than expected for a random beam of photons and the photons are said to be 'antibunched'. The correlation function corresponding to an n photon Fock state scales as 1 − 1 n . Therefore a single Fock state photon is maximally antibunched with a g a,a of 0 but the degree of antibunching decreases as the number of photons is increased [36, 46] . We are primarily interested in the correlations between the between the left and right modes, rather than within a mode, that is g L,R (t) which can be written as A g L,R value of 0 entails that if we simultaneously measure the number of photons in the left and right halves of the cavity, we are certain to find at least one photon in the left cavity and zero photons in the right cavity, or vice versa, despite on average there being photons in both halves of the cavity. Thus, in contrast to the single mode correlation function, a g L,R value of 0 indicates that the correlations between the photons in the two halves of the cavity are such that the photons are bunched in a single cavity. Conversely, a g L,R of 1 indicates that whenever a photon is measured in the one cavity, it is certain that at least one photon will be measured in the other cavity, indicating that the photons are evenly spread between the two halves of the cavity. In this way, we can use g L,R to quantify the degree to which on measurement the photons bunch in one half of the optical cavity. To verify that bunching is playing an active role in the dynamics we calculate the correlation function g L,R (t) for cavities containing a BS membrane. To do so, we use the expressions for the evolution of the creation and annihilation operators of the cavity modes on disregarding the back-action of the membrane on the photon dynamics, Eq. (14) . We find that the number operators for the photons in the left and right halves of the cavity evolves as N L (t) = cos 2 λt 2 N L (0) + sin 2 λt 2 N R (0) + sin(λt) 2 ∆K (41) N R (t) = cos 2 λt 2 N R (0) + sin 2 λt 2 N L (0) − sin(λt) 2 ∆K (42) and therefore the correlation function evaluates to where g L,L (0) = g R,R (0) = N (N −1) is the second order correlation function of both the photon gases. To highlight the distinguishability dependence of the correlation function it is insightful to consider the quantity 1 − g L,R (t) t where g L,R (t) t denotes the time average of g L,R (t). This quantity is a measure of the degree of bunching in the cavity. More precisely, it equals 0 when the photons are evenly spread between the two halves of the cavity but is positive for light bunched in a single cavity and negative for light that is antibunched between the two parts. Using Eq. 43, we thus find that 1 − g L,R (t) t = 1 4 1 + cos(θ) 2 − g L,L (0) . Therefore, for all possible photon number distributions of the initial gases, the bunching within one half of the cavity decreases with the distinguishability of the photons. Connecticut Acad. Sci Quantum Mechanics Statistical Thermodynamics Quantum Theory: Concepts and Methods Theory of heat Cavity Optomechanics npj Quantum Information 2001) Chap. Photon statistics at beam-splitters: an essential tool in quantum information and teleportation Supplementary material of: Enhanced energy transfer to an optomechanical piston from indistinguishable photons Quantum Optics npj Quantum Information The Quantum Theory of Light