{'fraction_non_alphanumeric': 0.03189155745542494, 'fraction_numerical': 0.008127566229821699, 'mean_word_length': 4.693083573487032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Work production of quantum rotor engines

We study the mechanical performance of quantum rotor heat engines in terms of common notions of work using two prototypical models: a mill driven by the heat flow from a hot to a cold mode, and a piston driven by the alternate heating and cooling of a single working mode. We evaluate the extractable work in terms of ergotropy, the kinetic energy associated to net directed rotation, as well as the intrinsic work based on the exerted torque under autonomous operation, and we compare them to the energy output for the case of an external dissipative load and for externally driven engine cycles. Our results connect work definitions from both physical and information-theoretical perspectives. In particular, we find that apart from signatures of angular momentum quantization, the ergotropy is consistent with the intuitive notion of work in the form of net directed motion. It also agrees with the energy output to an external load or agent under optimal conditions. This sets forth a consistent thermodynamical description of rotating quantum motors, flywheels, and clocks.


Introduction
From heat engines to refrigerators, thermodynamics undoubtedly plays an integral role in our everyday life. With modern technologies being able to reduce things down to the nanoscale where quantum effects may not be negligible, there has been an increased interest in the applicability of thermodynamics in the quantum regime. For the study of heat engines, both autonomous [1][2][3][4][5][6][7][8] and non-autonomous [9][10][11][12][13][14] models have been proposed. Non-autonomous heat engines require external control for work extraction, whereas autonomous engines are self-contained. The notion of work may be well-established in the classical regime, but it is not unanimous when we look into quantum systems [15][16][17][18]. This is because, unlike observables such as position and momentum associated to a given state, work characterizes a given process [19]. In fact, many theoretical studies have looked at work extraction for arbitrary quantum systems [20][21][22][23][24].
In this paper, we apply and compare common definitions of work to analyze the thermodynamic performance of autonomous rotor heat engines in the quantum regime. The essential component of these selfcontained engine models is a planar rotor degree of freedom representing a piston that is coupled to a given quantum working fluid. Its periodic motion defines a continuous engine cycle, and it accelerates by virtue of the force exerted by the thermally driven working fluid, thus integrating an intrinsic clock and a 'flywheel' work storage. We demonstrate that, even in the quantum regime of low inertia and noisy operation, the amount of extractable work is stored in the form of angular momentum and captured fairly accurately by the kinetic energy associated to the net directed piston motion-a distinct and intuitive perk of rotor engines. Moreover, we show that one can extract the greater part of it by 'putting the wheels on the ground', i.e.attaching a dissipative load to the rotor.
We first establish the generic rotor engine setting in section 2, and review the relevant notions of work. In section 3, we then introduce two prototypical engine models and examine their work performance. The first model, based on a modified three-mode interaction from previous works [3,4,6,[25][26][27][28], realizes a quantum mill, or 'flywheel engine': rotation is driven by a directed heat flow between two resonantly coupled qubits (or harmonic modes), each thermalizing with its local (hot or cold) environment. The second model, closer in spirit to a real-life piston engine, is comprised of a single-qubit working fluid that simultaneously interacts with a hot and a cold bath [7]. The working fluid heats up and cools down as a function of the rotor angle, resulting in alternating strokes that accelerate the piston and subject it to backaction noise. In section 4, we then consider stationary engine operation in the presence of an external dissipative load attached to the rotor. There, the work output will be measured in terms of the dissipated energy, according to a recently developed damping-diffusion model for the orientation state [29]. Finally, in section 5, we compare the extractable work predicted by these dynamical models with that of their externally controlled, non-autonomous counterparts where the piston coordinate is made to rotate at a controlled angular frequency.

Work on a rotor piston
We consider a generic quantum rotor engine setting comprised of a single planar rotor degree of freedom for the engine piston and one or few bound quantum degrees of freedom for the working fluid. The piston is characterized by its moment of inertia I, and by the canonical operators j (ˆˆ) L , for the angle and angular momentum, with We assume rigid coupling between the piston position and the working fluid, described by an angledependent interaction ĵ (ˆ) H int mediating between the free HamiltonianĤ 0 of the fluid and the kinetic energŷ L I 2 2 of the piston. The corresponding torque will be denoted by The working fluid, or separate parts thereof, is in contact with a hot and a cold thermal reservoir, as described by two Lindblad superoperators  ĵ H and  ĵ C . In general, we allow them to depend on the piston coordinate ĵ , in which case they predict an effective measurement backaction on the piston in the form of angular momentum diffusion. For fixed j-values, however, each superoperator should predict thermalization of the free working fluid to a Gibbs state of temperature T H,C , i.e. = . The overall master equation for the autonomous quantum engine reads as Note that, to ensure validity of this equation, we consider typical transition frequencies of the free Hamiltonian H 0 much greater than the inverse correlation times of the thermal environments, which in turn exceed the piston-induced modulation of the working fluid associated to ĵ (ˆ) H int [30]. In section 3, we will study two paradigmatic engine models described by master equations of the above type, see figure 1.
Contrary to textbook examples, an autonomous rotor engine described by (2) will not evolve on predefined engine cycles synchronized to the pointer of an external clock. That role will instead be played by the engine's piston and its dynamical variable ĵ . We now introduce intrinsic figures of merit for the work that accumulates in the isolated piston generated by the isolated engine, which we will compare later with the actual work output to an attached load or external control agent.

Intrinsic work definitions
For an intrinsic definition of mechanical output, we must look at the net energy transfer from the working fluid, which continuously receives and dispenses heat, to the rotor piston. The latter acts as an integrated 'flywheel' battery, and any change of its kinetic energy is entirely caused by the thermally driven dynamics of the working fluid, This power is comprised of two parts. The first one describes how the kinetic energy changes in response to the torque (1) exerted by the working fluid, It is the quantum version of the work done by a classical force on the piston over time, F L I. The second part in (3) reflects the systematic effect and the backaction noise that comes directly from thermalization. It is only present if the Lindblad dissipators representing the thermal contact to the baths explicitly depend on ĵ ; the incoherent energy exchange between the working fluid and the environment then constitutes an effective nonselective measurement channel for the piston position that results in momentum diffusion [7].
The powers (3) or (4) describe, with or without backaction, the rate at which the working fluid stores kinetic energy in the piston. However, not all of this energy is useful in the sense that it could be extracted and consumed to, say, lift a weight in a deterministic manner. In the worst case, the working fluid would just heat up the piston by exerting a random out-of-sync force, and the resulting kinetic energy would be entirely disordered (or passive) and could not fuel any useful deterministic task.
Classical intuition tells us that net clockwise or anti-clockwise motion reflects the amount of useful energy stored in the rotor piston, . This motivates the heuristic definition of useful work in terms of the net kinetic energy that accumulates in the piston degree of freedom as the engine starts moving, It is upper-bounded by (3) and, in the absence of backaction, by (4).
In section 5, we will replace the dynamical piston degree of freedom by a fixed external time dependence, . The expressions (3)-(5) will then all reduce to the same conventional work definition (24) for time-dependent systems, suggesting that the subtle differences in the definition of work arise in the autonomous scenario.

Maximum extractable work: ergotropy
In the absence of an external agent that would continuously extract work during operation, the mechanical output of the working fluid accumulates in the accelerating piston. The amount of work the external agent could extract after a given time is upper-bounded by the ergotropy [20,31]. It is defined for a system HamiltonianĤ and state ρ as the greatest amount of energy that can be removed by means of a unitary (representing an ideal cyclic process without dissipation), The resulting transformed state p is said to be passive [24,32,33], i.e.its energy content cannot be reduced further by means of another unitary. This implies that p must be diagonal in the energy eigenbasis e ñ {| } n and its eigenvalues decrease with growing energy  e e + n n 1 . Note that the ergotropy is always upper-bounded by the free energy difference between ρ and a Gibbs state of the same entropy [20].
Given the spectral decomposition r = å ñá | | p v v n n n n in descending order, p n+1 p n , we get explicitly ) 0, 2 . The rotor also acts as a piston that experiences a downward push (towards j=π) by the excited qubit at coupling rate g. It will spin up clockwise in a setting where the hot bath coupling dominates for j<π and the cold one for j>π.
Here we define ergotropy with respect to the piston degree of freedom, assuming that, naturally, any external load or work extraction process can only access the energy stored in the piston. We thus consider the reduced rotor state for ρ and =Ĥ L I 2 2 . This way, we do not count in hypothetical work associated to correlations (and free energy differences) between piston and working fluid that could be extracted by means of global unitaries.

Rotor heat engine models
We now study the work performance of the two most elementary prototypical models for autonomous rotor heat engines. They will realize continuous engine cycles rather than clearly separated heat and work strokes. Both models predict a self-acceleration of the rotor piston driven solely by the temperature bias between two conventional thermal reservoirs without external driving.
All the following numerical results were obtained from a simulation of the underlying engine master equations on a truncated rotor Hilbert space using the QuTiP package [34]. We assume that the piston always starts from its ground state = ñ ℓ | 0 at rest, avoiding external energy input at the initialization stage. When computing the time derivative of the ergotropy (7), we remove numerical fluctuations with help of a variational scheme for numerical differentiation [35].

Quantum mill
In the most basic engine scheme, we employ the rotor as a quantum mill wheel that is accelerated by a steady directed heat flow from a hot to a cold thermal reservoir, see figure 1(a). The working fluid that accommodates the heat flow and exerts the corresponding pressure on the rotor consists of two qubits, Each shall be coupled to its own harmonic oscillator bath, hot (H) or cold (C), assuming standard weak-coupling dissipators [36][37][38][39] for the thermalization terms in the engine master equation (2), κ denotes the thermalization rate parameter for both qubits, andn j the mean occupation number of oscillators at frequency ω j and temperature T j in bath j=C, H. There is no backaction-inducing angle dependence in the dissipators.
For the heat exchange between the qubits pushing the rotor, we consider the interaction Hamiltonian which describes a positive or negative angular momentum kick for each excitation transfer from the hot to the cold qubit or vice versa. The heat exchange at rate G thus makes the rotor perform an incoherent random walk in angular momentum steps of ±ÿ, and the temperature bias induces a momentum bias that accumulates in the rotor. Once the latter spins at an average frequency á ñ L I, it will act as an effective detuning between the qubits and eventually stifle the heat exchange as soon as the frequency exceeds the qubit linewidth,  k á ñ L I . For simplicity, we consider the resonant case ω H =ω C , which allows us to ignore the free HamiltonianĤ 0 .
In the regime of fast thermalization, k á ñ Ĝ L I , , we can eliminate the qubits by assuming they are always in thermal equilibrium with their respective baths. The approximate master equation for the reduced state ρ R of the rotor (see appendix A for a derivation) is The rotor is effectively pushed by incoherent angular momentum kicks into positive or negative direction, depending on the temperature difference. The kick rate decreases the faster the qubits thermalize, The mean and the variance of the angular momentum grow linearly with time, which implies that the signal-to-noise ratio á ñ D L Lwill improve like t . Starting from the rotor ground state, good signal-to-noise beyond unity is reached once x > + + - . The present model is inspired by previous studies based on harmonic or unbounded linear degrees of freedom in place of the rotor [4,6]. In the working fluid, one may easily substitute harmonic oscillators for qubits by replacing all ladder operators s  j with their bosonic equivalents. The validity of master equations based on local thermalization channels (8) and a simultaneous energy exchange was studied in [40][41][42][43]. These models typically fail to give a correct physical description for strong coupling, G ? κ.
An exemplary time evolution of the rates at which work accumulates in the rotor is plotted in figure 2(a), comparing the intrinsic mechanical power expressions of section 2.1 with the time derivative of the ergotropy (7). With no backaction present, the power (4) associated to the intrinsic force equals the rate of change (3) in kinetic energy (yellow solid line), It overestimates the change (5) in net kinetic energy (red) only slightly. Note that the intrinsic work expressions would deviate more in the strong coupling regime, G ? κ. Backaction would then enter the game, as the local master equation (2) would no longer be valid and a global master equation should be used instead [41][42][43].
The ergotropy change (green) exhibits an oscillatory pattern around its baseline, which coincides with the net kinetic energy (red) curve when the mean angular momentum á ñ L assumes an integer multiple of ÿ (black markers). This is a result of angular momentum discretization and represents the only genuine quantum signature in the otherwise incoherent rotor dynamics.
The approximate master equation (10) predicts a linear increase of the extractable power, For small κ in figure 2(a), the approximate model (dashed line) does not hold right from the start, whereas it agrees with the initial slope of the exact result in the case (b) of larger κ. There, the model ceases to be valid for greater times when the angular frequency of the rotor is comparable to κ, viz. k á ñ > L I 0.24 for ÿt/I>20 .

Quantum piston engine
The second rotor engine model we consider is a variation of a previously proposed one [7], as sketched in figure 1(b). Instead of a harmonic mode, we here employ a single qubit as the working fluid exerting pressure on the rotor piston at the rate g through is once again omitted. The rotor angle, on the other hand, controls the thermal coupling of the qubit to a hot and a cold thermal oscillator bath via as symbolized by the interlocked gears in figure 1(b). This is the quantum version of a continuous Otto motorlike engine, which synchronizes the thermally driven push and the piston position according to (deliberately chosen) coupling functions  When the piston starts moving down in positive direction from its upper turning point at j=0, the working fluid will couple predominantly to the hot bath and thus generate high pressure to accelerate the piston until it passes its lower turning point at j=π. After that, a predominant coupling to the cold bath removes excitations, and thus the piston moves up faster as a result of reduced pressure. The result is an average net gain of angular momentum at the completion of each cycle. Our choice of coupling functions ensures that the engine will eventually start spinning in positive direction autonomously, independent of the initial piston state. In the working regime of fast thermalization, k á ñ L I, we may approximate the excitation probability of the working qubit by means of an angle-dependent average of the hot and cold steady-state values, j j j This probability is bounded by p(j)<1/2, which limits the angular momentum gain, Assuming that the net gain per cycle is small, we may further approximate it by the angle-averaged expression The qubit-driven piston dynamics is similar to the oscillator-driven one for a suitably rescaled coupling strength g. See appendix B for an explicit comparison at equal maximum gain, which results in a slightly less noisy performance for the qubit case. We will restrict our analysis to this case, which keeps the numerical effort manageable. Figure 3 shows the intrinsic and extractable work rates as a function of time for two different sets of temperatures: (a) the ideal case of a cold bath temperature that approximately amounts to = n 0 . The latter case exhibits a poorer work performance, as the cold bath can cause unwanted excitations that are detrimental to the angular momentum gain per cycle. It also leads to a more pronounced difference between the intrinsic work definitions and the ergotropy (green). In particular, the kinetic energy (yellow) now clearly overestimates the extractable work, indicating that a significant amount of energy accumulating in the rotor is useless, or passive, heat. Part of the reason lies in the backaction noise that contributes to the kinetic energy increase (3) on top of the torque term, sin , . 19 int Quite surprisingly, the mechanical power associated to the torque (blue) underestimates the increase in ergotropy at later points in time, when the rates drop as a result of rotations that are as fast as the qubit can react, k á ñL I . Apart from small ergotropy modulations due to angular momentum quantization, the net kinetic energy (red) once again captures the amount of extractable work under all circumstances. This indicates that, in both engine models considered here, useful work appears almost entirely in terms of directed motion, while other contributions to ergotropy, stored in the form of additional quantum coherence, are irrelevant.

Performance comparison
We now compare the two models in terms of their work performance under equal physical conditions. We consider them at the same qubit resonance frequencies ω H,C =ω 0 , thermalization rates κ, and bath temperatures T H,C such that » n 0 C and = n 1 H as in figures 2 and 3(a). The key difference between the models is the interaction between the rotor and the working fluid, as characterized by the coupling parameters G and g for the mill and the piston engine model, respectively. For a fair comparison, we choose them to match the angular momentum gain, equations (12) and (18) As expected, a higher thermalization rate κ increases the attainable work. We also note that, while both models initially accumulate the same amount of work, the piston engine (red) is quickly outperformed by the mill model (blue). We attribute this to the fact that the piston engine couples to both baths simultaneously, as described by the overlapping coupling functions (16). This constitutes a direct heat leak from the hot to cold bath lowering the engine performance [44][45][46].
In both models, we observe that the work accumulation eventually slows down. Indeed, it is not uncommon that the output power of an engine decreases with fast operating cycles [47][48][49][50][51][52], and we have seen in figures 2 and 3 that there exists a point of maximum power beyond which the work rate starts to fall. The critical cycle duration is determined by the finite reaction time of the working fluid, here reached when k á ñL I . At higher rotation frequencies, the working medium can no longer thermalize effectively.

Steady state work extraction
So far, we have studied the transient engine behavior under autonomous operation, quantifying the amount of useful work (ergotropy) that accumulates in the rotor degree of freedom and can, in principle, be extracted from it at a given time. We have also identified the kinetic energy associated to the net directed rotation as a good figure of merit.

Dissipative load
In practical scenarios, the rotor will be attached to an external load and output its work under steady-state conditions. The load can be modeled, for example, by means of a classical control field in combination with feedback stabilization [6], or simply by an additional dissipation channel [5]. We focus on the latter option, which represents the theorist's simplistic version of 'putting the wheels on the ground'.
At steady state, we will expect a balance of stationary flows: part of the heat influx from the hot bath dissipates as mechanical output in the load, the remainder is exhausted into the cold bath. The ratio of output to input, the to get the same momentum gain (12) and (18) for both models. For both the solid and dashed lines, we truncated to −100 ℓ 300 (red) and −50ℓ250 (blue). efficiency, will depend on the dissipation rate γ characterizing the load's power consumption. From the previous transient analysis, we can already anticipate a sweet spot for maximum efficiency: on the one hand, if γ is too low the rotor will spin too fast for the working fluid to thermalize with the baths effectively; on the other hand, at too large γ the rotor will not be able to gain enough momentum due to its inertia. Optimal output should be achieved when 1/γ agrees roughly with the time at which the rotor spins as fast as thermalization occurs, k á ñL I . We treat the dissipative load at the rotor by means of a newly developed theory for damping-diffusion of orientation degrees of freedom [29]. It contributes an additional Lindblad term  R to the master equation (2), which can be viewed as the analog of the Caldeira-Leggett model of linear Brownian motion [37,53] for rotors. Accordingly, it describes angular momentum decay at the rate γ and thermalization to a Gibbs-like state of temperature T R , including a low-temperature correction to ensure complete positivity as in [54,55]. Contrary to linear motion,  R consists of two dissipators and is expressed in terms of trigonometric functions to account for the ĵ -periodicity and the rotor symmetry.

Steady state output and efficiency
For the mechanical output power, we consider the rate at which the system dissipates energy into the load, At steady state and for appropriate values of the load parameters γ, T R , this will be a positive number balancing the net energy flow from the hot and cold baths. For the two engine models studied in sections 3.1 and 3.2, we get The first two terms reflect the classical equipartition theorem for a free rotor at steady state. Indeed, one recovers where the thermal distribution extends over many quanta of angular momentum. The low-temperature corrections represented by the remaining terms (and diverging like 1/T R ) can then be neglected.
For the driven engine rotor at steady state,  > 0 out reflects the mechanical output power, provided that the finite-temperature load does not inject appreciable power on its own, i.e.γk B T R is small compared to the input from the working fluid. Figure 5(a) shows the steady-state output power as a function of γ for the mill (blue) and the piston engine model (red), using the same set of comparable parameters at κ = 10ÿ/I as in figure 4. We fix to avoid low-temperature corrections. Both models predict a maximum output power at small dissipation rates compared to κ and a vanishing output for 'heavy' loads of large γ.
The steady-state efficiencies   h =˙ȯ ut in for the mill and the piston are shown in figure 5(b) in the weak-coupling regime considered here, g, G = ω 0 . We use the ratio of the thermal linewidth over the qubit frequency, κ/ω 0 = 1, as a common reference unit for the efficiency. In the piston model, maximum output power and efficiency is achieved around γ∼10 −2 κ, and the corresponding time scale 1/γ matches roughly the time at which the piston rotates as fast as the qubit thermalizes and at which the extractable power in figure 3(a) is greatest. The latter is also represented by the red dotted line in figure 5(a), which slightly underestimates the maximum output to the load.
The mill model, on the other hand, achieves its highest output power to the load at smaller dissipation rates and faster rotations, while the efficiency keeps growing as γ decreases. Nevertheless, the maximum power matches the greatest value for the time derivative of ergotropy (blue dotted line) that would be obtained without load. This demonstrates that the ergotropy evaluated under autonomous engine operation captures well the extractable work for a dissipative load, but an efficient extraction crucially depends on the load's pull.
In terms of efficiency, the mill clearly outperforms the piston, which we attribute again to the presence of a direct heat leak in the piston model. The more effective use of heat input in the mill model allows the efficiency to grow with increasing steady-state rotation speed (or decreasing γ) beyond the point of maximum output power. Indeed, and contrary to the piston model, as the mill accelerates, its angular frequency W = á ñ L I acts as an effective detuning between the two qubits, which suppresses the heat flow. Once they get driven out of resonance to the point where Ω>κ, both the net heat exchange and steady-state angular momentum gain are then expected to reduce like Ω −2 , as determined from This implies that the mechanical output power, i.e.the rate of change in rotational energy, reduces in proportion to Ω −1 , which causes the efficiency to grow. We note however that our master equation model assumes weak thermal bath coupling at the qubit resonance frequency ω 0 and is valid only when Ω = ω 0 .
Finally, notice the small residual output power for the piston engine model at very high dissipation rates in figure 5(a). In this limit, the load is effectively jamming the piston, and no useful motion is generated. However, the working qubit keeps exchanging excitations with the two thermal baths via the angle-dependent dissipators (15), which leads to backaction heating of the rotor [7]. In general, its kinetic energy balance has three contributions: the intrinsic work power (19), backaction-induced diffusion, and the output (22) to the load. Omitting the low-temperature corrections, which vanishes at steady state. The backaction-induced heating term on the right contributes to the output power and thus constitutes a direct heat leak from the thermal baths to the load. It is more significant the higher the bath temperatures. For comparison, we plot the intrinsic work power  int under load (red dashed) in figure 5(a). It does not give the residual offset and its maximum is closer to the greatest extractable power without load. The discrepancy is minor for the temperatures considered here, and only relevant for the piston model, but it calls attention to the fact that a dissipative load in general does not distinguish between useful work and passive, entropic energy.

Off-resonant performance gain for the quantum mill
So far, we have conveniently assumed that the working medium in the mill model comprises two resonant qubits, w w w = = H C 0 . However, considering the observed interplay between rotation-induced detuning, heat exchange, and momentum gain, one may increase the mill's work performance by detuning the two qubits. Indeed, the acceleration at a given point in time is best when the qubit frequency difference w w D = -H C is positive and matches the effective detuning W = á ñ L I, and optimal gain would be achieved at all times by adjusting Δ as the mill wheel spins up. At a fixed Δ>0, on the other hand, the initial acceleration from rest would be suppressed and the mill would take longer to reach the rotation speed of maximum gain.
In figure 6, we illustrate the effect of a fixed detuning Δ for an autonomous mill under load. We plot (a) the steady-state output power and (b) the efficiency for various detunings. They range from zero (black, matching figure 5) to ten thermal linewidths κ (green). We observe that the maximum possible output power to the dissipative load improves drastically with growing detuning, but this maximum is also shifted towards smaller dissipation rates γ, i.e.requires a weaker pull of the load.
The corresponding efficiency in (b) exhibits a step-like critical behavior in the off-resonant limit when the detuning exceeds the natural linewidth of the qubits, Δ>κ. The step occurs where the stationary rotation frequency of the mill under load matches the detuning, which facilitates a resonant heat flow between the qubits and thereby enhances the output power. For heavier loads on the right of the step, the mill reaches stationary rotation frequencies Ω<Δ that are still too low to enhance the heat exchange. Left of the step, the fast rotation begins to suppress the heat exchange again.
It assumes that the working qubit thermalizes instantaneously to the angle-dependent excitation probability (17) yielding an optimal gain [7]. In the case of slow rotation (blue curve), we find that the work output increases in steps of the ideal value. The first half of each step corresponds to the strong push when the qubit couples mostly to the hot bath; the second half exhibits no push as all excitation is dumped in the cold bath. For faster driving exceeding the thermalization rate κ (yellow, red, black), we find that the net work output per cycle decreases since the qubit is no more able to follow.
The cycle-averaged output power t will eventually reach a stationary value for t ? 1/ κ. In figure 7(b), we plot this asymptotic value for different driving frequencies ω, comparing the piston model (red) to the resonant mill model (blue) at comparable parameters. In both cases, maximum output power is achieved at ω∼κ, and this maximum also agrees with the greatest time derivative of net kinetic energy (or ergotropy) at autonomous operation without load (dotted lines). In this optimal working regime, autonomous rotor engines are on par with their external clock-driven counterparts.

Conclusion
We have analyzed and compared the performance of self-contained quantum rotor engine models in terms of intrinsic work storage, ergotropy, and work output to a dissipative load. The models are inspired by the role of rotational degrees of freedom in classical thermal machines: In the first one, the quantum rotor is driven like a mill into directed motion by the stationary heat flow from the hot to the cold end of a working fluid; in the second model, the rotor synchronizes the heating and cooling of a working medium with its pressure on a piston like in an Otto motor.
In the transient scenario of autonomous engine operation without load, we have shown that the potentially extractable work generated by the engine has a characteristic time dependence achieving optimal power when the rotor spins about as fast as the working medium can react, i.e.thermalize with the baths. This highlights the rotor's function as a flywheel work storage, even in the noisy quantum regime of operation. Apart from small modulations due to angular momentum quantization, the extractable work (ergotropy) matches closely with the net rotor spin, which consolidates the formal work definition derived from quantum information with physical interpretations.
In the scenario of steady-state operation, we could observe a similar and related behavior with a sweet spot of maximum output power as a function of the coupling rate to an external load attached to the rotor. Here, the load is described in terms of a dissipation model for the orientation state [29]. At a properly chosen dissipation rate, the load can extract as much work as predicted by ergotropy under autonomous operation.
Moreover, by comparing these results to the work output obtained from time-dependent models, where the rotor is replaced by a fixed external driving frequency, we elucidated the rotor's role as an internal engine clock. Once again, the time derivatives of ergotropy and of the energy contained in the net 'ticking' motion of the autonomous rotor agree well with the highest output powers achieved for external driving frequencies of the order of the engine's thermalization rate. Overall, we find a better maximum performance and agreement for the mill model.
Our work demonstrates the benefits of rotor degrees of freedom in the study of quantum thermal machines. Serving both as a flywheel for intermediate work storage and as an internal clock that sets the engine cycle, they facilitate intuitive designs of autonomous quantum engines. The manifestation of work as directed rotation admits an unambiguous assessment of the engine performance in both the quantum and the classical regime. , for different moments of inertia I in the exact model (solid lines) and for the approximate model (dashed). In all cases, the attained momentum grows to a maximum at low bias and then keeps decreasing as the high thermal occupation stalls the energy exchange between the qubits that pushes the rotor. The validity of the approximate model is best at high inertia, i.e. k  I , and it improves towards higher bias (and poorer work performance). Figure A1. Steady-state value of angular momentum as a function of the hot bath occupation for the mill under dissipative load for different moments of inertia. We assume = n 0 C , k = -G 10 2 , and g = -G 10 5 . The dashed curve depicts the ideal value á ñ L ss obtained from (A.6) and the dissipative load term (20). The other curves are obtained by adding the load to the full master equation (A.1) of the tripartite state and solving for the steady state numerically. Figure B1. Comparison of the piston engine dynamics using a qubit (blue) and a harmonic oscillator (red) as working modes. The lines represent the mean angular momenta of the rotor, the shaded regions cover two standard deviations. We chose matching coupling strengths, g ho /κ=0.1 and = g g 3 ho , at  = Ig 10 ho and mean bath occupations = (¯¯) ( ) n n , 1 ,0 H C . Contrary to [7], the simulations start from the rotor ground state = ñ ℓ | 0 . Angular momenta and harmonic excitations are truncated to   ℓ 80 160 and n7.