We present a quantum thermometry scheme based on a cavity-QED setup, which attains a sensitivity with Heisenberg scaling. A stream of identical two-level systems passes through a thermal bath to be tested. Each system partially thermalizes, carrying information on the temperature of the thermal bath, and it then interacts with a dissipative single-mode cavity. The Heisenberg scaling is attained from the initial coherence of each system. The systems cannot be fully thermalized by the thermal bath. The optimal interaction time between the system and the thermal bath is derived. Direct photon detection is proved to be an optimal measurement when there is no extra thermal bath in the cavity. In the case where there is an extra thermal bath in the cavity independent of the thermal bath to be tested, homodyne detection is the optimal measurement. Moreover, we show that direct photon detection obtains less information in the case where the extra thermal bath in the cavity is in thermal equilibrium with the thermal bath. However, the optimal measurement can utilize the information from the extra thermal bath to improve the estimation precision of the temperature.
For studies on thermalization of an isolated quantum many-body system, the fundamental issue is to determine whether a given system thermalizes or not. However, most studies tested only a small number of observables, and it was unclear whether other observables thermalize. Here, we study whether ``linear thermalization'' occurs for all additive observables: We consider a quantum many-body system prepared in an equilibrium state and its unitary time evolution induced by a small change $\mathrm{\ensuremath{\Delta}}f$ of a physical parameter
f of the Hamiltonian, and examine whether all additive observables relax to the equilibrium values in a manner fully consistent with thermodynamics up to the linear order in $\mathrm{\ensuremath{\Delta}}f$. We find that the additive observable conjugate to
f is key for linear thermalization in that its linear thermalization guarantees, under physically reasonable conditions, linear thermalization of all additive observables. Such a linear thermalization occurs in the timescale of $\mathcal{O}(|\mathrm{\ensuremath{\Delta}}f{|}^{0})$, and lasts at least for a period of $o(1/\sqrt{|\mathrm{\ensuremath{\Delta}}f|})$. We also consider linear thermalization against the change of other parameters, and find that linear thermalization of the key observable against $\mathrm{\ensuremath{\Delta}}f$ guarantees its linear thermalization against small changes of any other parameters. Furthermore, we discuss the generalized susceptibilities for cross responses and their consistency between quantum mechanics and thermodynamics. We demonstrate our main result by performing numerical calculations for spin models. The present paper offers an efficient way of judging linear thermalization because it guarantees that examination of the single key observable is sufficient.