## Introduction

According to the standard postulates of Quantum Theory, if an observable (self-adjoint operator) A is measured repeatedly in a state $$|\varPsi \rangle$$, then the possible measurement outcomes (spectral values) $$\lambda$$ of A will be distributed according to a probability distribution. In fact, assuming for simplicity that the spectrum is discrete, the probability to measure the n-th (non-degenerate) eigenvalue $$\lambda _n$$ of A is $$p_n = |\langle \varPhi _n | \varPsi \rangle |^2$$, where $$|\varPhi _n \rangle$$ is the corresponding normalized eigenvector. The general case is covered by the spectral theorem, which provides a probability measure $$\mathrm{d}\nu _{A,\varPsi }(\lambda )$$ given in terms of the spectral decomposition $$P_A(\mathrm{d}\lambda )$$ of A by $$\mathrm{d}\nu _{A,\varPsi }(\lambda ) = \left<\varPsi \mid P_A(\mathrm{d}\lambda ) \varPsi \right>$$.Footnote 1 If $$|\varPsi \rangle$$ is an eigenstate of A the measure is concentrated solely on the corresponding eigenvalue; if it is not, then the probability distribution is non-trivial.

In Quantum Field Theory (QFT), observables of interest are the “averaged” local quantum fields,

\begin{aligned} A= \phi (f) \equiv \int \phi (x) f(x) \mathrm{d}^d x \end{aligned}
(1.1)

where f is a smooth spacetime “sampling function”, e.g., a smooth function that is nonzero within some bounded region. Of particular interest is the stress tensor of the theory, $$\phi =\varTheta _{\mu \nu }$$, in which case (1.1) has the interpretation of an averaged stress-energy-momentum component within the spacetime region characterized by the sampling function f. A surprising feature of QFT which follows directly from the Reeh–Schlieder theorem [24, 28] is that the vacuum state (or for that matter, any state with finite or exponentially bounded energy) is never an eigenstate of any$$\phi (f)$$—unless the field is trivial, i.e., a multiple of the identity operator.

Thus, in quantum field theory, any state with finite or exponentially bounded energy—an N-particle state—gives a non-trivial probability distribution for any averaged local field $$\phi (f)$$. If $$\phi (f)$$ has vanishing vacuum expectation value then there must be nonzero probabilities of obtaining both positive and negative outcomes from measurements $$\phi (f)$$ in the vacuum state; this is true even in case $$\phi$$ corresponds to a classical field observable (e.g., the energy density component of the stress tensor) that is classically nonnegative [9]. What is more, the distribution is typically strongly skewed, with large probabilities for small negative values balancing against small probabilities of large positive outcomes to give an overall expectation value of zero in the vacuum state.

Unfortunately, calculating the probability distribution of the smeared stress tensor seems a hard problem already in the simplest cases, e.g., when the state is the vacuum and the underlying QFT describes free fields or conformal QFTs (CFTs) in $$1+1$$ dimensions. In fact, closed form analytical expressions seem to be available only in the last case so far.Footnote 2 There it was shown [12] that Gaussian averages of the energy density in the vacuum state are distributed according to a shifted Gamma distribution, whose parameters are given explicitly in terms of the central charge c of the theory and the variance of the Gaussian concerned. Being more specific, the averaged “chiral half” of the energy density operator is

\begin{aligned} \varTheta (f)= \int _{-\infty }^\infty \varTheta (u)f(u)\,\mathrm{d}u, \end{aligned}
(1.2)

where $$\varTheta (u)$$ is the energy density operator on a light ray (i.e., more properly speaking, the generator of translations in a light-like direction, see Sect. 2). Let $$f(u)=\mathrm{e}^{-(u/\tau )^2}{/}(\tau \sqrt{\pi })$$ and consider measurements of $$\varTheta (f)$$ in the vacuum state. The results are statistically distributed according to a probability distribution that will be called the vacuum distribution of$$\varTheta (f)$$. The moments of this distribution can be organized into generating functions that are constrained by conformal Ward identities. At least in principle this permits the moment generating function and probability distribution to be obtained in closed form. In [12], it was shown (for Gaussian f) that the vacuum distribution has the shifted Gamma probability density

\begin{aligned} \mathrm{d}\nu _f(\lambda ) = \rho (\lambda ; \alpha , \beta , \sigma ) \mathrm{d}\lambda := \vartheta (\lambda +\sigma )\frac{\beta ^\alpha (\lambda +\sigma )^{\alpha -1}}{\varGamma (\alpha )} \exp (-\beta (\lambda +\sigma )) \, \mathrm{d}\lambda , \end{aligned}
(1.3)

where $$\vartheta$$ is the Heaviside function and the parameters $$\alpha$$, $$\beta$$ and $$\sigma$$ are

\begin{aligned} \alpha =\frac{c}{24}, \qquad \beta =\pi \tau ^2, \qquad \sigma = \frac{c}{24\pi \tau ^2}. \end{aligned}
(1.4)

Evidently, the vacuum distribution is supported in the half-line $$[-\sigma ,\infty )$$; on general grounds [12], the infimum of the support is equal to the optimal quantum energy inequality (QEI) for $$\varTheta (f)$$,

\begin{aligned} -\sigma = \inf _\varPsi \left<\varPsi \mid \varTheta (f)\varPsi \right>, \end{aligned}
(1.5)

with the infimum taken over all physically acceptableFootnote 3 normalized states $$\varPsi$$. For unitary, positive energy CFTs, the optimal QEI was established rigorously in [14], building on an earlier argument of Flanagan [16] for massless scalar fields. The bound is

\begin{aligned} \inf _\varPsi \left<\varPsi \mid \varTheta (f)\varPsi \right>= -\frac{c}{12\pi }\int _{-\infty }^\infty \left( \frac{\mathrm{d}}{\mathrm{d}u}\sqrt{f(u)}\right) ^2\,\mathrm{d}u \end{aligned}
(1.6)

and reproduces the value $$-\sigma$$ when f is the Gaussian.

As mentioned above, this is the only known example of a sampling function f for which the vacuum probability distribution has been determined in closed form. While the method of [12] applies to general test functions, it involves the solution of a nonlinear differentio-integral flow equation as an intermediate step and the only solutions known until now are Gaussian in form. There is another (partly formal) approach, due to Baumann [2], that gives the characteristic function of the CFT vacuum probability distribution for general sampling functions in terms of a functional calculus expression. To our knowledge, this has not been used to compute a closed form for the probability distribution in any specific example.

This paper makes progress in two directions. In part 1, we develop a novel method for computing probability distribution for the chiral smeared stress tensor in CFTs based on conformal welding. It works also for states other than the vacuum. In part 2, we develop further the moment generating technique of [12] by presenting new solutions to the flow equation, thereby obtaining new explicit formulas for probability distributions for sampling functions f belonging to two infinite families (that then can be combined and manipulated in various ways). In addition, we extend the ideas of [12] to thermal states.

### Part 1

The idea behind our new method is to explore the well-known relationship between the operator $$e^{i\varTheta (f)}$$ for smooth, compactly supported and real-valued functions f, and diffeomorphisms of the real line. In fact, the unitaries $$e^{it\varTheta (f)}$$, $$t \in {{\mathbb {R}}}$$ represent (up to phases) the action of the 1-parameter group of diffeomorphisms, $$\rho _t$$, flowing points u of the real line along the vector field $$f(u) \mathrm{d}/ \mathrm{d}u$$. We are able to convert the problem of calculating the characteristic function of the vacuum probability distribution $$\mathrm{d}\nu _f(\lambda )$$,

\begin{aligned} \langle \varOmega | e^{it\varTheta (f)} \varOmega \rangle =\int e^{it\lambda } \mathrm{d}\nu _f(\lambda ), \end{aligned}
(1.7)

to a “conformal welding problem” along the diffeomorphisms $$\rho _t$$. By a conformal welding problem, one means in the simplest case the problem of finding a pair of univalent analytic “welding” maps $$w^\pm$$ from the upper/lower complex half-plane $${{\mathbb {H}}}^\pm$$ to $${{\mathbb {C}}}$$ such that $$w^+(u) = w^-(\rho (u))$$ for all points u on the real axis, where $$\rho$$ is some given diffeomorphism of the real line. Given a solution to this problem for the diffeomorphism $$\rho _t(u)$$ generated by f(u), we show how to obtain from $$w^\pm _t$$ a solution to the problem of finding the probability distribution for $$\varTheta (f)$$ in the vacuum.

The method is conceptually interesting because it establishes a connection between CFT and the beautiful mathematical theory of such weldings, which is by now a classic part of complex analysis, see e.g., [30] which also treats numerical implementations for solving the welding problem as well as a connection with 2d-shape recognition theory. We give a concrete example in which the welding maps and the probability distribution can be calculated analytically in closed form taking the Fourier transform of (1.7), yielding a generalized hyperbolic secant distribution. Furthermore, we show how to generalize the method to other states such as thermal or highest weight states in CFT.

### Part 2

In the second part, we develop further the moment generating method of [12]. In this method, the probability distribution for any local average of the energy density in the vacuum state is expressed in terms of the solution to a certain nonlinear integro-differential flow equation whose initial condition is given by the averaging function f. We generalize this method to the case of a thermal (Gibbs-) state at some finite temperature. Instead of one nonlinear integro-differential flow equation, we now get a coupled system, whose initial condition is given by the averaging function f and the inverse temperature $$\beta$$. The method relies on the Ward identities for the stress tensor in a thermal state [10], in a similar way as the method of [12] relied on those in the vacuum state.

Even in the vacuum, the flow equation was solved in [12] only for Gaussian f. The main novelty in part 2 is that we are able to present two infinite new families of solutions to this equation. These give rise to two new infinite families of averaging functions f for which the vacuum distribution can be obtained in closed form. They are given by powers of the Lorentzian function, and a family related to the inverse Gamma distribution. In these cases, the vacuum distribution turns out to be a shifted Gamma distribution, just as in the case where f is Gaussian. It is noteworthy that the Gaussian, Lorentzian and inverse Gamma are examples of stable distributions: that is, the sum of independent random variables distributed according to such a distribution is a member of the same family. We conjecture that all stable distributions can be analyzed in a similar way.

The structure of this paper is as follows. In Sect. 2, we first review some well-known CFT basics. We then describe our general method based on conformal welding in Sect. 3, and then, we describe our results based on the moment generating function technique in Sect. 4. The evaluation of some integrals is moved to an “Appendix.”

## Notation and CFT basics

Here we describe our notation and basic facts about the stress tensor in two-dimensional conformal field theories (CFTs). Our conventions follow those used in [14]; for a more detailed exposition of CFT in particular in relation with vertex operator algebras, see [7]. As is well known, the stress energy operator in a CFT on $$(1+1)$$-dimensional Minkowski spacetime has two independent, commuting (“left and right chiral”) components depending only on the left and right moving light ray coordinates $$u=x^0-x^1, v=x^0+x^1$$, respectively. Focussing on one of them, we get a quantum field $$\varTheta (u)$$ living on one of the light rays. A light ray may be compactified to a circle via the Cayley transform, and in this way we get a quantum field T(z) on the circle. In order to set up the theory in a mathematically precise way, it is in some sense most natural to turn this story around and start from the quantum field T(z) on the circle, which we shall do now.

The basic algebraic input is the Virasoro algebra. It is the Lie-algebra with generators $$\{ L_n, \kappa \}_{n \in {{\mathbb {Z}}}}$$ obeying

\begin{aligned}{}[L_n,L_m] = (n-m) L_{n+m} + \frac{\kappa }{12} n(n^2-1) \delta _{n,-m} , \quad [L_n, \kappa ] = 0. \end{aligned}
(2.1)

A positive energy representation on a Hilbert space $$\mathcal {H}$$ is a representation such that (i) $$L^*_n=L_{-n}$$ (unitarity), (ii) $$L_0$$ is diagonalizable with nonnegative eigenvalues, and (iii) the central element is represented by $$\kappa = c \mathbf{1}$$. From now, we assume a positive energy representation. We assume that $$\mathcal {H}$$ contains a vacuum vector $$|\varOmega \rangle$$ which is annihilated by $$L_{-1}, L_0, L_1$$, ($$\mathfrak {sl}(2,{{\mathbb {R}}})$$-invariance) and which is a highest weight vector (of weight 0), i.e., $$L_n |\varOmega \rangle = 0$$ for all $$n >0$$. One has the bound [4, 7, 20, 21]

\begin{aligned} \Vert (1+L_0)^k L_n \varPsi \Vert \le \sqrt{c/2}(|n|+1)^{k+3/2} \Vert (1+L_0)^{k+1} \varPsi \Vert \end{aligned}
(2.2)

for $$|\varPsi \rangle \in \bigcap _{k \ge 0} {{\mathcal {D}}}(L_0^k) \subset \mathcal {H}$$ and any natural number k.

One next defines from the Virasoro algebra the stress tensor on the unit circle $${{\mathbb {S}}}$$, identified with points $$z=e^{i\theta }, \theta \in {{\mathbb {R}}}$$ in $${{\mathbb {C}}}$$. The stress tensor is an operator valued distribution on $$\mathcal {H}$$ defined in the sense of distributions by the series

\begin{aligned} T(z) = -\,\frac{1}{2\pi } \sum _{n =-\,\infty }^\infty L_n z^{-n-2}. \end{aligned}
(2.3)

More precisely, for a test function $$f \in C^\infty ({{\mathbb {S}}})$$ on the circle, it follows from (2.2) that the corresponding smeared field

\begin{aligned} T(f) = \int _{{{\mathbb {S}}}} T(z) f(z) \mathrm{d}z :=-\,\frac{1}{2\pi } \sum _{n =-\,\infty }^\infty \left( \int _{{{\mathbb {S}}}} z^{-n-2} f(z) \mathrm{d}z\right) L_n \end{aligned}
(2.4)

is an operator defined, e.g., on the dense invariant domain $$\bigcap _{k \ge 0} {{\mathcal {D}}}(L_0^k) \subset \mathcal {H}$$ (which can be shown to be a common core for the operators T(f)) and the assignment $$f \mapsto T(f)|\psi \rangle$$ is continuous in the topologies on $$C^\infty ({{\mathbb {S}}})$$ and $$\mathcal {H}$$ for any vector in this domain. Letting $$\varGamma$$ be the anti-linear involution

\begin{aligned} \varGamma f(z) = -\,z^2 \overline{f(z)}, \end{aligned}
(2.5)

the smeared stress tensor is a self-adjoint operator on $${{\mathcal {D}}}(L_0)$$ for f obeying the reality condition $$\varGamma f = f$$, and one has $$T(f)^* = T(\varGamma f)$$ in general.

A real test function (in the above sense) defines a real vector field $${\textsf {f}} \in \mathrm{Vect}_{{\mathbb {R}}}({{\mathbb {S}}})$$ by means of the formula

\begin{aligned} ({\textsf {f}} g)(z) = f(z) g'(z), \end{aligned}
(2.6)

where $$ie^{i\theta }g'(e^{i\theta }) = \frac{\mathrm{d}}{\mathrm{d}\theta } g(e^{i\theta })$$. Under this correspondence, if we define $$l_n(z) = z^{n+1}$$ then the corresponding complex vector fields $${\textsf {l}}_n = z^{n+1} \frac{\mathrm{d}}{\mathrm{d}z} \in \mathrm{Vect}_{{\mathbb {C}}}({{\mathbb {S}}}) = \mathrm{Vect}_{{\mathbb {R}}}({{\mathbb {S}}}) \otimes _{{\mathbb {R}}}{{\mathbb {C}}}$$ satisfy the Witt algebra

\begin{aligned}{}[{\textsf {l}}_n, {\textsf {l}}_m]=(m-n) {\textsf {l}}_{n+m} \end{aligned}
(2.7)

under the commutator of vector fields, and furthermore $$iT(l_n) = L_n$$.

For real $$f \in C^\infty ({{\mathbb {S}}})$$, we denote by $$\rho _t \in \mathrm{Diff}({{\mathbb {S}}})$$ the 1-parameter flow of diffeomorphisms generated by the corresponding vector field $${\textsf {f}}$$, in formulas,

\begin{aligned} \frac{\partial }{\partial t} \rho _t(z) = f(\rho _t(z)), \quad \rho _0 = \mathrm {id}. \end{aligned}
(2.8)

Note that $$\rho _t$$ leaves invariant all z outside the support of f. For a smooth function f(z) on the complex plane or circle, the Schwarzian derivative is defined by

\begin{aligned} Sf(z) = \frac{f'''(z)}{f'(z)} - \frac{3}{2} \left( \frac{f''(z)}{f'(z)} \right) ^2. \end{aligned}
(2.9)

It can be shown (see [14], which uses results of [20, 21, 32]) that $$e^{iT(f)}$$ (for real f) leaves invariant the dense set $$\bigcap _{k \ge 0} {{\mathcal {D}}}(L_0^k) \subset \mathcal {H}$$ of vectors, and on this set, we have the transformation formula

\begin{aligned} e^{iT(f)} T(z) e^{-iT(f)} = \rho '(z)^2 T(\rho (z)) - \frac{c}{24 \pi } S\rho (z) \, \mathbf{1}, \end{aligned}
(2.10)

in the sense of distributions in the variable $$z \in {{\mathbb {S}}}$$, where $$\rho = \rho _{t=1}$$ is the flow of f at unit flow “time”, i.e., the exponential $$\rho =\exp {\textsf {f}}$$. See [14] for the somewhat non-trivial assignment of phases and the unitary implementation of the covering group of $${{\mathrm{Diff}}}_+({{\mathbb {S}}})$$, which corrects an error in [20].

The generators $$L_0, L_{\pm 1}$$ together exponentiate to a unitary positive energy representation of $$\mathrm {PSL}(2,{{\mathbb {R}}})$$ on $$\mathcal {H}$$ leaving $$|\varOmega \rangle$$ invariant. Under this action, the stress tensor transforms covariantly as in (2.10) with action $$z \mapsto \rho (z) = (az+b)/({\bar{b}} z + {\bar{a}})$$ on the circle, where the correspondence between the matrix $$\left( \begin{matrix} a &{}\quad b\\ {\bar{b}} &{}\quad {\bar{a}} \end{matrix} \right) \in \mathrm {SU}(1,1),$$ and a group element of $$\mathrm {PSL}(2,{{\mathbb {R}}})$$ is given by the standard group isomorphism $$\text {SU}(1,1) \cong \mathrm {PSL}(2,{{\mathbb {R}}})$$.

The stress tensor on the real line is defined by pulling back the stress tensor on the circle via the Cayley transform C, which maps the real line to the circle by

\begin{aligned} {{\mathbb {R}}}\ni u \mapsto C(u)=\frac{1+iu}{1-iu} \in {{\mathbb {S}}}{\setminus }\{-1\}, \end{aligned}
(2.11)

with inverse $$C^{-1}(z)=i(1-z)/(1+z)$$. Defining $$C(\infty )=-\,1$$ this becomes a bijection between the compactified real line and the circle. Then the stress tensor on the real line is

\begin{aligned} \varTheta (u) \equiv \left( \frac{\mathrm{d}C(u)}{\mathrm{d}u} \right) ^2 T(C(u)) = -\frac{4}{(1-iu)^4} T\left( \frac{1+iu}{1-iu} \right) , \end{aligned}
(2.12)

in the sense of an operator valued distribution on the same domain. Using this formula, we can easily convert any result on stress tensor on the circle to one on the real line.

Finally, the stress energy tensor in a $$1+1$$-dimensional Minkowski spacetime $${{\mathbb {R}}}^{1,1}$$ is constructed on the tensor product $$\mathcal {H}\otimes \mathcal {H}$$ carrying two (not necessarily equal) positive energy representations of the Virasoro-algebra. These allow us to define $$\varTheta ^R(u) = \varTheta (u) \otimes 1, \varTheta ^L(v) = 1 \otimes \varTheta (v)$$, from which the components of $$\varTheta _{\mu \nu }(x)$$ are then defined as Wightman fields on $${{\mathbb {R}}}^{1,1}$$ in terms of inertial coordinates $$x=(x^0,x^1)=\frac{1}{2}(u+v,-u+v)$$ by

\begin{aligned} (\varTheta ^{\mu \nu }(x)) = \left( \begin{matrix} \varTheta ^R(u) + \varTheta ^L(v) &{} \varTheta ^R(u) - \varTheta ^L(v)\\ \varTheta ^R(u) - \varTheta ^L(v) &{} \varTheta ^R(u) + \varTheta ^L(v) \end{matrix} \right) . \end{aligned}
(2.13)

The stress energy tensor satisfies $$\partial ^\mu \varTheta _{\mu \nu } = 0 = \varTheta ^\mu _\mu$$. Conversely, the Lüscher–Mack theorem [27] states that any translation and dilation invariant hermitian Wightman field theory containing an operator valued distribution $$\varTheta _{\mu \nu }$$ such that $$P_\nu =\int \varTheta _{\mu \nu }(x) \mathrm{d}x^\mu$$ (with the integral over any $$x^0=cst.$$ surface) is the generator of translations, the left and right moving components $$\varTheta ^{L/R}$$ satisfy the relations of two commuting Virasoro algebras. In particular, if we have probability distributions of $$\varTheta ^{L/R}(f)$$ in some state, we can therefore immediately find the corresponding probability distribution of any component of $$\varTheta _{\mu \nu }$$.

## Part 1: Probability distributions from conformal welding

### General construction

Our goal is to describe a general method for obtaining, in principle, the probability distribution of $$T(f)=\int T(z) f(z) \mathrm{d}z$$ in a vacuum state $$|\varOmega \rangle$$. This method will be based on the technique of conformal welding. We assume that $$f \in C^\infty ({{\mathbb {S}}})$$ is a test function on the circle satisfying the reality condition $$\varGamma f = f$$ which has its support within some interval $$I \subset {{\mathbb {S}}}$$. Since T(f) is self-adjoint, the probability distribution is a measure $$\mathrm{d}\nu _f(\lambda )$$ on $${{\mathbb {R}}}$$ in view of the spectral theorem. It is uniquely determined by its characteristic function

\begin{aligned} \int _{{\mathbb {R}}}e^{it\lambda } \mathrm{d}\nu _f(\lambda ) = \langle e^{itT(f)} \rangle , \end{aligned}
(3.1)

where $$t \in {{\mathbb {R}}}$$ and where and, as in the rest of this subsection, $$\langle A \rangle = \langle \varOmega | A\varOmega \rangle$$. Our aim is to find this characteristic function in terms of f.

To this end, we define an auxiliary function G(z) by

\begin{aligned} G(z) = \langle e^{iT(f)} \rangle ^{-1} {\left\{ \begin{array}{ll} \langle T(z) e^{iT(f)} \rangle &{} \text {if}~ |z|>1,\\ \langle e^{iT(f)} T(z) \rangle &{} \text {if}~ |z|<1. \end{array}\right. } \end{aligned}
(3.2)

A priori, both functions $$\langle T(z) e^{iT(f)} \rangle$$ and $$\langle e^{iT(f)} T(z) \rangle$$ are only defined as a distribution on $${{\mathbb {S}}}$$. However, in view of (2.2), the series defining $$T(z) |\varOmega \rangle$$ converges absolutely for $$|z| < 1$$, while the series defining $$\langle \varOmega | T(z)$$ converges absolutely for $$|z|>1$$. The properties $$L_n |\varOmega \rangle = 0$$ for $$n \ge -1$$ then show that G(z) is a holomorphic function on $${{\mathbb {C}}}\setminus {{\mathbb {S}}}$$ vanishing at infinity as $$z^{-4}$$.

Now let $${{\mathbb {D}}}^+=\{|z|<1\}$$ be the interior of the circle $${{\mathbb {S}}}$$ and $${{\mathbb {D}}}^-=\{|z|>1\}$$ the exterior. Using the energy bound (2.2) it follows that the limits from inside/outside the disk

\begin{aligned} G^\pm (z) = \lim _{r \rightarrow 1^\mp } G(rz) \end{aligned}
(3.3)

for $$z \in {{\mathbb {S}}}$$ exist in the sense of distributions on $${{\mathbb {S}}}$$. For $$z \in {{\mathbb {S}}}{\setminus } I$$ in the complement of the interval I where f is supported, the relation (2.10) gives immediately

\begin{aligned} G^+(z) = \frac{\langle e^{iT(f)} T(z) \rangle }{\langle e^{iT(f)} \rangle } = \frac{\langle T(z) e^{iT(f)} \rangle }{\langle e^{iT(f)} \rangle } = G^-(z), \quad \text {if}~ {z \in {{\mathbb {S}}}{\setminus } I.} \end{aligned}
(3.4)

On the other hand, for $$z \in I$$, we get using again (2.10),

\begin{aligned} \begin{aligned} G^+(z)&= \frac{\langle e^{iT(f)} T(z) \rangle }{\langle e^{iT(f)} \rangle } \\&= \frac{\langle \{ \rho '(z)^2 T(\rho (z)) - \frac{c}{24 \pi } S\rho (z) \mathbf{1}\} e^{iT(f)} \rangle }{\langle e^{iT(f)} \rangle } \\&= \rho '(z)^2 G^-(\rho (z)) - \frac{c}{24 \pi } S\rho (z), \quad \text {if}~ {z \in I.} \end{aligned} \end{aligned}
(3.5)

By the edge-of-the-wedge theorem G(z) is hence a holomorphic function on $${{\mathbb {C}}}{\setminus } I$$. It vanishes at infinity as $$O(z^{-4})$$, and satisfies across I the jump condition (3.5). We shall now argue that it is possible to reconstruct G from this information.

We first consider two univalent holomorphic functions $$w^\pm : {{\mathbb {D}}}^\pm \rightarrow \varDelta ^\pm$$ from the inside ($$+$$) or outside (−) of the circle onto the inside/outside $$\varDelta ^\pm$$ of a Jordan curve C, such that their respective boundary values on the circle $${{\mathbb {S}}}$$ satisfy the junction (“conformal welding”) condition

\begin{aligned} w^+(z) = w^- \circ \rho (z) \quad \text {for}~{z \in {{\mathbb {S}}}.} \end{aligned}
(3.6)

The existence of such functions, given the diffeomorphism $$\rho$$, is a classic result, see e.g., [30] and references therein; we will recall two methods for constructing the solution below. $$w^\pm$$ may be normalized in such a way that the point $$z=0$$ gets mapped to zero with unit differential at 0, and that $$z=\infty$$ gets mapped to infinity with unit differential on the real axis at infinity. The functions $$w^\pm$$ can be joined together to a holomorphic map defined on $${{\mathbb {C}}}{\setminus } I$$ called w, which is invertible on its image, with an inverse z(w). Note that the normalization conditions on $$w_+$$ imply that $$w''$$ and $$w'''$$ vanish as $$z\rightarrow \infty$$ so (Sw)(z) and thus (Sz)(w) also vanish at infinity. Consider next the function H defined on $${{\mathbb {C}}}$$ minus the portion of the Jordan curve C which is the image of I,

\begin{aligned} H(w) = z'(w)^2 G(z(w)) - \frac{c}{24 \pi } Sz (w). \end{aligned}
(3.7)

Also, define the boundary values from the inside resp. outside of the Jordan curve C as

\begin{aligned} H^\pm (w) = \lim _{v \rightarrow w, v \in \varDelta ^\pm } H(v). \end{aligned}
(3.8)

Using the chain rule for the Schwarzian derivative,

\begin{aligned} S(f \circ g)(z) = g'(z)^2 (Sf) \circ g(z) + Sg(z), \end{aligned}
(3.9)

as well as the jump conditions (3.5), (3.6), we immediately see that

\begin{aligned} H^+(w) = H^-(w) \quad \text {for}~ {w \in C,} \end{aligned}
(3.10)

and from the normalization of $$w^\pm$$, we see that H(w) is holomorphic on $$\varDelta ^\pm$$ and vanishes at infinity. By the edge-of-the-wedge theorem, H(w) is hence holomorphic on all of $${{\mathbb {C}}}$$ and vanishes at infinity, and hence must be zero. We conclude that $$G(z) = \frac{c}{24 \pi } (z' \circ w)^{-2} (S\rho ) \circ w$$, and thus in view of the chain rule for the Schwarzian derivative that

\begin{aligned} G(z) = -\,\frac{c}{24 \pi } Sw(z) \end{aligned}
(3.11)

on $${{\mathbb {C}}}{\setminus } I$$. We can obviously repeat the same construction with the $$\varGamma$$-invariant test function $$tf(z), t \in {{\mathbb {R}}}$$, resulting in a t-dependent function w(tz) and a t-dependent function G(tz). By construction, the characteristic function of the probability measure then satisfies, for either $$+$$ or −,

\begin{aligned} \frac{\partial }{\partial t} \log \int _{{\mathbb {R}}}e^{it\lambda } \mathrm{d}\nu (\lambda ) = \frac{\partial }{\partial t} \log \langle e^{itT(f)} \rangle = i \int _{{{\mathbb {S}}}} G^\pm (t,z) f(z) \mathrm{d}z, \end{aligned}
(3.12)

or integrating

\begin{aligned} \langle e^{iT(f)} \rangle = \exp \left( -\frac{ic}{24 \pi } \int _0^1 \int _{{{\mathbb {S}}}} f(z) Sw^-(t,z) \, \mathrm{d}z \mathrm{d}t \right) , \end{aligned}
(3.13)

which would also hold for $$+$$ instead of −. Thus, we have in principle determined the characteristic function of the probability measure: We must first solve the flow Eq. (2.8) to determine $$\rho (t, z)$$ and then the jump problem (3.6) to determine w(tz).

### Remark 1

If we integrate (3.12) between 0 and t, we can also write the result as

\begin{aligned} \int _{{\mathbb {R}}}e^{it\lambda } \mathrm{d}\nu _f(\lambda ) = \exp \left( -\frac{ic}{24 \pi } \int _0^t \int _{{{\mathbb {S}}}} f(z) Sw^-(t',z) \, \mathrm{d}z \mathrm{d}t' \right) , \end{aligned}
(3.14)

For completeness, we now recall two methods to solve the jump problem (3.6), setting again $$t=1$$ and $$\rho (z) = \rho _1(z)$$ to simplify the notation. Both methods can, in principle, be implemented numerically, see e.g., [30]. Since $$\rho$$ is in the connected component of the identity in $$\mathrm{Diff}({{\mathbb {S}}})$$, there is a smooth function $$\chi : {{\mathbb {R}}}\rightarrow {{\mathbb {R}}}$$ with $$\chi (\theta + 2\pi ) = \chi (\theta ) + 2\pi$$ and with $$\chi '(\theta )>0$$ such that $$\rho (e^{i\theta }) = \exp i\chi (\theta )$$. With the aid of this function, we extrapolate the diffeomorphism $$\rho \in \mathrm{Diff}({{\mathbb {S}}})$$ to a homeomorphism of the unit disk $${{\mathbb {D}}}^+$$ as $$\rho (re^{i\theta }) = re^{i\chi (\theta )}.$$ Now let

\begin{aligned} \mu (z) = {\left\{ \begin{array}{ll} \partial _{{\bar{z}}} \rho (z)/\partial _{z} \rho (z) &{} \text {if}~ {z \in {{\mathbb {D}}}^+,}\\ 0 &{} \text {otherwise.} \end{array}\right. } \end{aligned}
(3.15)

This can also be written as $$\mu (re^{i\theta }) = e^{i\theta } (1-\chi '(\theta ))/(1+\chi '(\theta ))$$ on $${{\mathbb {D}}}^+$$ and $$\mu (z)=0$$ on $${{\mathbb {D}}}^-$$. In view of $$\chi '(\theta )>0$$, it follows that $$\mu \in {{\mathcal {L}}}^\infty ({{\mathbb {C}}})$$, and in fact $$\mathrm{ess-sup} |\mu | < 1$$. It is well-known (see e.g., [26] for a detailed exposition) that the Beltrami equation

\begin{aligned} \partial _{{\bar{z}}} F = \mu \partial _z F \end{aligned}
(3.16)

has a “principal solution” under this condition. This solution is a homeomorphism of the inside/outside of the unit disk to the inside/outside of a Jordan curve C, and we may apply a linear transformation replacing F by $$aF+b$$ with $$a,b \in {{\mathbb {C}}}$$ to achieve that $$F(0)=0$$ and F has unit derivative at the point at infinity on the real axis. Note that $$\rho$$ satisfies the Beltrami equation on $${{\mathbb {D}}}^+$$, so by the Stoilov factorization theorem (see e.g., [26]), it must be the case that F is $$\rho$$ followed by an analytic function on $${{\mathbb {D}}}^+$$. So let $$w^+$$ be the analytic function $$F \circ \rho ^{-1}$$ on $${{\mathbb {D}}}^+$$ and let $$w^-=F$$ on $${{\mathbb {D}}}^-$$. It follows that $$w^\pm$$ have the desired properties.

One may also obtain a more explicit expression for $$w^\pm$$ which is manifestly independent of the precise way of extending $$\rho$$ to the disk via the Hilbert transform, see [17] for details. First, $$w^\pm (z)$$ are assumed to be given in $${{\mathbb {D}}}^\pm$$ by convergent power series

\begin{aligned} w^+(z) = z + a_2 z^2 + a_3 z^3 + \cdots , \quad w^-(z) = z + b_1 z^{-1} + b_2 z^{-2} + \cdots .\quad \quad \end{aligned}
(3.17)

On the Hilbert space $${{\mathcal {L}}}^2({{\mathbb {S}}}) \equiv {{\mathcal {L}}}^2({{\mathbb {S}}}, \mathrm{d}\theta /2\pi )$$ consider the orthonormal basis $$e_n(\theta ) = e^{in\theta }$$ where $$n \in {{\mathbb {Z}}}$$. It follows that $$w^+$$ is in the closed subspace $$\mathcal {H}^2({{\mathbb {S}}})$$ spanned by $$e_n, n \ge 0$$, which can be identified with the Hardy space of holomorphic functions on $${{\mathbb {D}}}^+$$ that are square integrable on each circle $${{\mathbb {S}}}_r=\{ re^{i\theta } \}, r<1$$ with uniformly bounded $${{\mathcal {L}}}^2({{\mathbb {S}}}_r)$$-norm. Let $$\varSigma$$ be the Hilbert transform defined by $$\varSigma e_n = \mathrm{sgn}(n) e_n$$ for $$n \ne 0$$ and $$\varSigma e_0=0$$. The integral kernel of $$\varSigma$$ with respect to the measure $$\mathrm{d}\theta /(2\pi )$$ is $$\varSigma (\theta , \theta ')=i \mathrm{ctg}(\frac{\theta -\theta '}{2})$$ for $$\theta \ne \theta '$$. Viewing $$w^-$$ as a function on $${{\mathbb {S}}}$$, we have $$\varSigma w^- = -\,w^- + 2e^{i\theta }$$ and from the jump condition (3.6) we also have $$\varSigma (w^- \circ \rho ) = w^- \circ \rho$$. It follows $$\varSigma w^- -\varSigma (w^- \circ \rho ) \circ \rho ^{-1} = -\,2w^- +2e^{i\theta }$$. Let $$U_\rho F(z) = F(\rho ^{-1}(z))$$. Then $$U_\rho$$ is a bounded operator on $${{\mathcal {L}}}^2({{\mathbb {S}}})$$, and, letting $$K=(\varSigma -U_\rho \varSigma U_\rho ^{-1})/2$$, we have $$(I+K)w^- =e^{i\theta }$$. Explicitly, for a smooth function F such that $$F(\theta +2\pi ) = F(\theta ) + 2\pi$$ the integral operator K is

\begin{aligned} KF(\theta )&= \frac{i}{4\pi } \int _0^{2\pi } \left[ \mathrm{ctg}\left( \frac{\theta -\theta '}{2} \right) \right. \nonumber \\&\quad \left. - (\chi ^{-1})'(\theta ')\mathrm{ctg}\left( \frac{\chi ^{-1}(\theta )-\chi ^{-1}(\theta ')}{2} \right) \right] F(\theta ') \mathrm{d}\theta ', \end{aligned}
(3.18)

where as before, $$\rho (e^{i\theta })= e^{i\chi (\theta )}$$. It can be shown that the kernel of this operator is smooth, and that $$I+K$$ has no kernel. By the Fredholm alternative, it is invertible, and therefore

\begin{aligned} w^-(e^{i\theta }) = (I+K)^{-1}(e^{i\theta }). \end{aligned}
(3.19)

So our main result is as follows.

### Theorem 1

Let f(z) be a $$\varGamma$$-invariant smooth function on $${{\mathbb {S}}}$$, let $$\chi _t(\theta )$$ be the flow defined by $$\partial _t \chi _t(\theta ) = -\,ie^{-i\chi _t(\theta )}f(e^{i\chi _t(\theta )})$$, let $$w^-(t,z)$$ be defined by (3.19) with $$\chi _t$$ in the definition of K, Eq. (3.18). Then the characteristic function of the probability distribution of the self-adjoint operator T(f) in the vacuum state $$|\varOmega \rangle$$ is given by (3.14).

### Remark 2

Our expression (3.14) for $$\langle e^{iT(f)} \rangle$$ is somewhat similar but not identical to an expression given by [1] and by [23] for the exponential of the smeared stress tensor in Euclidean CFTs. In fact, their expression also involves the Schwarzian of a function F(tz) which is a solution to a Beltrami equation. However, the Beltrami coefficient in their equation is not identical to our coefficient $$\mu$$, and their solution is consequently different. These differences are probably due to the fact that the exponential of the smeared stress tensor in Euclidean CFT would correspond more closely to a “radially ordered” exponential of a smeared stress tensor over $${{\mathbb {C}}}$$, whereas our expression concerns instead the non-ordered smeared stress tensor over $${{\mathbb {S}}}$$. We believe that these differences are also at the root of an inconsistency between two derivations given in [23] and noted by the author himself.

### Generalizations

#### Light ray picture

The expression (2.12) for the stress tensor on the light ray $${{\mathbb {R}}}$$ allows us to transplant the previous result to the light ray via the Cayley transform $$u \ni {{\mathbb {R}}}\mapsto C(u)=(1+iu)/(1-iu) \in {{\mathbb {S}}}$$. Let $$g \in C^\infty _0({{\mathbb {R}}}, {{\mathbb {R}}})$$ be a smooth real-valued test function on the light ray and note that $$\varTheta (g)=T(f)$$, where

\begin{aligned} f(z)=C'(C^{-1}(z))g(C^{-1}(z)). \end{aligned}
(3.20)

The method of the previous subsection, applied to f, therefore provides the characteristic function for $$\varTheta (g)$$. It is instructive to see how the results can be expressed more directly in terms of g. Let $$\psi _t$$ be the flow of the corresponding vector field $${\textsf {g}} = g(u) \frac{\mathrm{d}}{\mathrm{d}u}$$, i.e.,

\begin{aligned} \partial _t \psi _t(u) = g(\psi _t(u)), \qquad \psi _0 = \mathrm {id}, \end{aligned}
(3.21)

and which is related to the flow $$\rho _t$$ induced by f on $${{\mathbb {S}}}$$ by $$\psi _t=C^{-1}\circ \rho _t\circ C$$. Writing $$w^\pm$$ for the solution to the welding problem for $$\rho =\rho _1$$, we find that $$w_{{\mathbb {R}}}^\pm = C^{-1}\circ w^\pm \circ C$$ solves the welding problem for two holomorphic functions $$w^\pm _{{\mathbb {R}}}$$ from the upper/lower half-plane $${{\mathbb {H}}}^\pm$$ to $${{\mathbb {C}}}$$ leaving $$\pm i$$ fixed and such that their boundary values on the real axis satisfy

\begin{aligned} w_{{\mathbb {R}}}^+ = w_{{\mathbb {R}}}^-\circ \psi \end{aligned}
(3.22)

(here $$\psi =\psi _1$$). If we replace more generally $$\psi$$ by $$\psi _t$$, we get a solution $$w^-_{{\mathbb {R}}}(t,u)$$ depending also on t. Combining (2.12) with the fact that $$SC(u)=0$$, with the chain rule for the Schwarzian, and with the preceding theorem then gives us

\begin{aligned} \langle e^{i\varTheta (g)} \rangle = \exp \left( -\frac{ic}{24 \pi } \int _0^1 \int _{{\mathbb {R}}}g(u) Sw^-_{{\mathbb {R}}}(t,u) \, \mathrm{d}u \mathrm{d}t \right) , \end{aligned}
(3.23)

which is the analogue of the result (3.13) for the light ray.

The welding problem may be solved by operator means, using the Cayley transform to define a unitary $$U:{{\mathcal {L}}}^2({{\mathbb {S}}},\mathrm{d}\theta /(2\pi ))\rightarrow {{\mathcal {L}}}^2({{\mathbb {R}}},\mathrm{d}u/(\pi (1+u^2)))$$ by $$UF=F\circ C$$, the pull back. Then [compare (3.19)]

\begin{aligned} {\tilde{w}}_{{\mathbb {R}}}^- := (I+K_{{\mathbb {R}}})^{-1}f_1, \qquad K_{{\mathbb {R}}}=UKU^{-1},\quad f_1(u)=(Ue_1)(u)=\frac{1+iu}{1-iu},\quad \end{aligned}
(3.24)

is nonlinearly related to $$w_{{\mathbb {R}}}^-$$ by $$w_{{\mathbb {R}}}^-=C^{-1}\circ {\tilde{w}}_{{\mathbb {R}}}^-$$. In fact, one can use $${\tilde{w}}_{{\mathbb {R}}}^-$$ in place of $$w_{{\mathbb {R}}}^-$$ in (3.23) because they have the same Schwarzian derivative due to the chain rule and $$(SC)(u)=0$$.

Explicitly, $$K_{{\mathbb {R}}}F = (K(F \circ C^{-1}))\circ C$$ is the pullback of the Fredholm operator K (3.18) to the light ray via the Cayley transform, and can be written

\begin{aligned} (K_{{\mathbb {R}}}F)(u)&=\frac{i}{2\pi }\int _{-\infty }^\infty \left[ \frac{1}{u'^2+1}\frac{1+uu'}{u-u'}\right. \nonumber \\&\quad \left. -\,\frac{(\psi ^{-1})'(u)}{1+(\psi ^{-1})'(u')^2}\frac{1+\psi ^{-1}(u)\psi ^{-1}(u')}{\psi ^{-1}(u)-\psi ^{-1}(u')}\right] F(u')\mathrm{d}u' \end{aligned}
(3.25)

for $$\psi =\psi _1$$.

#### KMS states

By a similar trick, we can also obtain a corresponding result for KMS-states on the light ray. As is well known, there is a KMS state $$\langle \ \cdot \ \rangle _\beta$$ at each $$\beta >0$$ for the Virasoro algebra which is obtained by “pulling back” the vacuum state via the map $${{\mathbb {R}}}\ni s \mapsto u(s)=e^{2 \pi s/\beta } \in (0,\infty )$$ due to the Bisognano–Wichmann theorem in conformal field theory. This is in fact the unique KMS state by the results of [5, 6]. The expectation value of $$e^{i\varTheta (g)}$$, $$g \in C^\infty _0({{\mathbb {R}}}, {{\mathbb {R}}})$$ in such a state is then given by

\begin{aligned} \langle e^{i\varTheta (g)} \rangle _\beta = \langle e^{i\varTheta (g_\beta )} \rangle _\infty , \end{aligned}
(3.26)

where the subscript $$\infty$$ has been inserted to indicate the vacuum state on the light ray, and where

\begin{aligned} g_\beta (u) = \frac{2 \pi u}{\beta } 1_{(0,\infty )}(u) \, g((\beta /2\pi ) \log u). \end{aligned}
(3.27)

By solving the welding problem (3.22) for the flow $$\psi _t$$ induced by $$g_\beta$$ to obtain $$w_{{\mathbb {R}}}^-$$ the characteristic function for the thermal probability distribution is then given by (3.23). The result can be expressed in terms of a welding problem for the 1-parameter flow $$\phi _t$$ generated by the vector field $${\textsf {g}} = g(s) \frac{\mathrm{d}}{\mathrm{d}s}$$ on $${{\mathbb {R}}}$$ associated with g and which is related to $$\psi _t$$ by $$\phi _t = u^{-1}\circ \psi _t\circ u$$, i.e.,

\begin{aligned} \phi _t(s)=\frac{\beta }{2\pi }\log \psi _{t}(e^{2\pi s/\beta }). \end{aligned}
(3.28)

Consider the particular diffeomorphism $$\phi =\phi _1$$ and let $$w_{{\mathbb {R}}}^\pm$$ solve the welding problem (3.22) for $$\psi =\psi _1$$. Defining $$w_\beta ^\pm (s)=\frac{1}{4}\beta w^\pm _{{\mathbb {R}}}(e^{2\pi s/\beta })$$, we obtain holomorphic maps from $${{\mathbb {P}}}^\pm$$ to $${{\mathbb {C}}}$$, where $${{\mathbb {P}}}^\pm =\{z\in {{\mathbb {C}}}:0<\pm \text {Im}\, z<\beta /2\}$$ are the open upper/lower strips, leaving $$\pm i\beta /4$$ fixed and with boundary values on $${{\mathbb {R}}}$$ obeying

\begin{aligned} w_\beta ^+(s)=w_\beta ^-\circ \phi (s), \quad w_\beta ^\pm (s \pm i\beta /2) = w_\beta ^\pm (-s). \end{aligned}
(3.29)

Conversely, a solution to this welding problem for $$\phi _t$$ provides a solution to the welding problem (3.22) for $$\psi _t$$, whose Schwarzian derivative is easily found using the chain rule and the fact that $$S(e^{2\pi s/\beta }) = -\,2\pi ^2 /\beta ^2$$. In this way, and using also the definition (3.27), there follows the formula

\begin{aligned} \langle e^{i\varTheta (g)} \rangle _\beta = \exp \left( -\frac{ic}{24\pi } \int _0^1 \int _{{\mathbb {R}}}g(s) Sw^-_\beta (t,s) \, \mathrm{d}s \mathrm{d}t \right) \exp \left( \frac{ic\pi }{12 \beta ^2} \int _{{\mathbb {R}}}g(s) \, \mathrm{d}s \right) .\nonumber \\ \end{aligned}
(3.30)

As before, $$w_\beta ^-$$ may be obtained by Hilbert space means, though with a slight complication. Consider the diffeomorphisms $$\phi =\phi _1$$, $$\psi =\psi _1$$. Pullback using u(s) induces a partial isometry

\begin{aligned} V_\beta :{{\mathcal {L}}}^2({{\mathbb {R}}},\mathrm{d}u/(\pi (1+u^2)))\rightarrow {{\mathcal {L}}}^2({{\mathbb {R}}},\mathrm{d}s/(\beta \cosh (2\pi s/\beta ))) \end{aligned}
(3.31)

given by $$(V_\beta F)(s)= F(u(s))=F(e^{2\pi s/\beta })$$, whose adjoint $$V_\beta ^*$$ is an isometry onto the subspace of functions supported in $${{\mathbb {R}}}^+$$. It is convenient to regard $${{\mathcal {L}}}^2({{\mathbb {R}}},\mathrm{d}u/(\pi (1+u^2)))$$ as the direct sum of the subspaces of functions supported on the positive and negative half-lines. In an obvious matrix notation,

\begin{aligned} \begin{pmatrix} I+K_{{{\mathbb {R}}},++} &{} K_{{{\mathbb {R}}},+-} \\ K_{{{\mathbb {R}}},-+} &{} I+K_{{{\mathbb {R}}},--}\end{pmatrix} \begin{pmatrix} w_{{{\mathbb {R}}},+}^- \\ w_{{{\mathbb {R}}},-}^-\end{pmatrix} = \begin{pmatrix} f_{1,+} \\ f_{1,-} \end{pmatrix} \end{aligned}
(3.32)

where $$f_{1,+}$$, for instance, denotes the restriction of $$f_{1,+}$$ to the positive half-line. An important point is that the component $$K_{{{\mathbb {R}}},--}$$ of $$K_{{\mathbb {R}}}$$ vanishes, because $$\psi$$ fixes all points on the negative half-line. This means that $$w_{{{\mathbb {R}}},-}^-$$ can be eliminated easily, leaving the equation

\begin{aligned} (I+K_{{{\mathbb {R}}},++} - K_{{{\mathbb {R}}},+-}K_{{{\mathbb {R}}},-+})w_{{{\mathbb {R}}},+}^- = f_{1,+}- K_{{{\mathbb {R}}},+-}f_{1,-} \end{aligned}
(3.33)

for $$w_{{{\mathbb {R}}},+}$$. As $$I+K_{{\mathbb {R}}}$$ is invertible, the same is true of the operator on the left-hand side, giving altogether

\begin{aligned} w_{{{\mathbb {R}}},+}^- = (I+K_{{{\mathbb {R}}},++} - K_{{{\mathbb {R}}},+-}K_{{{\mathbb {R}}},-+})^{-1}(f_{1,+}- K_{{{\mathbb {R}}},+-}f_{1,-}). \end{aligned}
(3.34)

Restricted to the subspace corresponding to the positive half-line, $$V_\beta$$ becomes unitary, and we therefore have

\begin{aligned} w_\beta ^{-} = \frac{\beta }{4} (I+K_\beta )^{-1}g_{1,\beta }, \end{aligned}
(3.35)

where $$K_\beta = V_\beta (K_{{{\mathbb {R}}},++} - K_{{{\mathbb {R}}},+-}K_{{{\mathbb {R}}},-+}) V_\beta ^*$$ is compact and $$g_{1,\beta }=V_\beta (f_{1,+}- K_{{{\mathbb {R}}},+-}f_{1,-})$$. An explicit kernel for $$K_\beta$$ can be written down, but we refrain from doing so in full.

#### Highest weight states

We now assume that on the Hilbert space $$\mathcal {H}$$, we have operators $$\phi _n, n \in {{\mathbb {Z}}}$$ satisfying (i) an energy bound of the type (2.2), that is $$\Vert (1+L_0)^m \phi _n \varPsi \Vert \le C(1+|n|)^s \Vert (1+L_0)^{k+m} \varPsi \Vert$$ for all $$m \in {{\mathbb {N}}}_0, |\varPsi \rangle \in \mathcal {H}$$, and for some $$s,k \ge 0$$, satisfying (ii) the commutation relations $$[L_m, \phi _n]=((h-1)m-n)\phi _{n+m}$$, as well as (iii) $$\phi _n |\varOmega \rangle = 0$$ for $$n>-h$$, where $$h \in {\mathbb {N}}$$. It follows from the energy bound (i) that for any test function $$f \in C^\infty ({{\mathbb {S}}})$$, the smeared “primary field”

\begin{aligned} \phi (f) = \int _{{{\mathbb {S}}}} \phi (z) f(z) \mathrm{d}z := \sum _{n =-\,\infty }^\infty \left( \int _{{{\mathbb {S}}}} z^{-n-h} f(z) \mathrm{d}z\right) \phi _n \end{aligned}
(3.36)

is an operator defined, e.g., on the dense invariant domain $$\bigcap _{k \ge 0} {{\mathcal {D}}}(L_0^k) \subset \mathcal {H}$$, which is a common core for the operators $$\phi (f)$$. The properties (i) and (ii) imply furthermore that $$\phi (z)| \varOmega \rangle$$ can be analytically continued to a vector-valued holomorphic function on $${{\mathbb {D}}}^+$$ with vector-valued distributional boundary value on $${{\mathbb {S}}}$$. The vector

\begin{aligned} |h\rangle = \phi (0) | \varOmega \rangle = \phi _{-h} | \varOmega \rangle . \end{aligned}
(3.37)

is called highest weight vector; we assume normalizations such that $$\langle h | h \rangle = 1$$. (ii) implies that $$L_0|h\rangle =h|h\rangle$$ and $$L_n|h\rangle = 0$$ for all $$n>0$$, and furthermore that $$e^{iT(f)} \phi (z) e^{-iT(f)} = \rho '(z)^h \phi (\rho (z))$$ in the sense of distributions in $$z \in {{\mathbb {S}}}$$ where $$\rho \in \mathrm{Diff}({{\mathbb {S}}})$$ is the diffeomorphism generated by the vector field $${\textsf {f}}=f(z) \frac{\mathrm{d}}{\mathrm{d}z}$$, see (2.10). Furthermore it is well known (see e.g., [7] for a mathematical account) that (i), (ii) and (iii) imply the operator product expansion

\begin{aligned} -2\pi \, T(w) \phi (z) |\varPsi \rangle&= \frac{h}{(w-z)^2} \phi (z) |\varPsi \rangle + \frac{1}{w-z} \frac{\mathrm{d}}{\mathrm{d}z}\phi (z) |\varPsi \rangle + \ldots , \nonumber \\&\qquad \hbox { if}\ e^{-s}< |z|< |w| < 1 \end{aligned}
(3.38)

which is valid in the Hilbert space topology, e.g., for vectors $$|\varPsi \rangle \in {{\mathcal {D}}}(e^{sL_0})$$ and in the limit as $$w \rightarrow z$$. The dots represent terms of order $$O(|w-z|^0)$$.

Now let $$f \in C^\infty ({{\mathbb {S}}})$$, real in the sense that $$\varGamma f = f$$, and compactly supported in a closed interval $$I \subset {{\mathbb {S}}}$$. As in the previous section, define

\begin{aligned} G_h(z) = \langle e^{iT(f)} \rangle ^{-1}_h {\left\{ \begin{array}{ll} \langle T(z) e^{iT(f)} \rangle _h &{} \text {if}~ {|z|>1,}\\ \langle e^{iT(f)} T(z) \rangle _h &{} \text {if}~{|z|<1,} \end{array}\right. } \end{aligned}
(3.39)

where $$\langle A \rangle _h = \langle h | A h \rangle$$. This function is again well defined and analytic on $${{\mathbb {C}}}{\setminus } (\mathrm{supp}(f) \cup \{0\})$$. Indeed, analyticity inside $${{\mathbb {D}}}^+ {\setminus } \{0\}$$ follows expanding out T(z) in a power series in z, commuting the Virasoro generators $$L_n$$ through $$\phi _{h}$$ via (ii) and using the energy bound (2.2) as well as $$L_n |\varOmega \rangle = 0$$ for $$n \ge -2$$. The operator product expansion of the quasi primary field implies that

\begin{aligned} G_h(z) = -\,\frac{h}{2\pi } z^{-2} + O(z^{-1}) \quad \text {when}~ {z \rightarrow 0,} \end{aligned}
(3.40)

at the origin. The function is $$G_h$$ is also analytic on $${{\mathbb {D}}}^-$$ by a similar argument and $$G_h(z) = O(z^{-2})$$ when $$z \rightarrow \infty$$ follows from the fact that $$L_{n} |h\rangle = 0$$ for $$n \ge 1$$. Again, we may argue using the edge-of-the-wedge theorem that $$G_h$$ can be continued analytically across the circle $${{\mathbb {S}}}$$ where $$f=0$$.

As above, we next define the two univalent holomorphic functions $$w^\pm : {{\mathbb {D}}}^\pm \rightarrow \varDelta ^\pm$$ from the inside/outside of the circle onto the inside/outside $$\varDelta ^\pm$$ of a Jordan curve C, such that their respective boundary values on the circle $${{\mathbb {S}}}$$ satisfy the junction condition (3.6), and which together define a corresponding univalent analytic function $$w: {{\mathbb {C}}}{\setminus } I \rightarrow {{\mathbb {C}}}$$. Furthermore, similarly as above, we define the meromorphic function $$H_h(w)$$ on $${{\mathbb {C}}}{\setminus } C$$ as in (3.7), with boundary values on C as in (3.8). As before, $$H_h(w)$$ extends, in fact, to a meromorphic function on $${{\mathbb {C}}}$$ with a pole only at $$w=0$$, where it behaves as

\begin{aligned} H_h(w) = -\,\frac{h}{2\pi } w^{-2} + O(w^{-1}) \quad \text {when}~ {w \rightarrow 0,} \end{aligned}
(3.41)

and as $$H_h(w) = O(w^{-2})$$ when $$w \rightarrow \infty$$. (These last statements follow from the behavior of $$G_h$$ at $$z=0,\infty$$ and the facts that $$z=0$$ gets mapped under $$w^+$$ to zero with unit differential at 0, and that $$z=\infty$$ gets mapped under $$w^-$$ to infinity with unit differential on the real axis at infinity). It follows that $$w^2 H_h(w)$$ is a bounded analytic function on $${{\mathbb {C}}}$$ and hence constant, thus $$H_h(w) = -\,\tfrac{h}{2\pi }w^{-2}$$.

Reinstating the definition of $$H_h$$ in terms of $$G_h$$ and using the chain rule for the Schwarzian derivative, we obtain in a similar way as before

\begin{aligned} G^-_h(z) = -\,\frac{c}{24 \pi } Sw^-(z) -\frac{h}{2\pi } \frac{1}{ w^-(z)^{2}} \left( \frac{\mathrm{d}w^-(z)}{\mathrm{d}z} \right) ^2 \end{aligned}
(3.42)

for $$z \in {{\mathbb {S}}}$$, where $$w^-$$ is as in (3.19). We can obviously repeat the same construction with the $$\varGamma$$-invariant test function $$tf(z), t \in {{\mathbb {R}}}$$, resulting in a t-dependent function w(tz) and a t-dependent function $$G_h(t,z)$$. As before, this leads to the formula

\begin{aligned}&\langle e^{iT(f)} \rangle _h \nonumber \\&\quad = \exp \left\{ \frac{1}{2\pi i} \int _0^1 \mathrm{d}t \int _{{{\mathbb {S}}}} \mathrm{d}z \, f(z) \left( \frac{c}{12} Sw^-(t,z) + h \left[ \frac{\mathrm{d}}{\mathrm{d}z} \log w^-(t,z) \right] ^2 \right) \right\} ,\nonumber \\ \end{aligned}
(3.43)

which is the analogue of the result (3.14) for highest weight states.

### Examples

Here we illustrate our welding construction by giving an explicit derivation of the probability distributions $$\mathrm{d}\nu _f$$ of T(f) (or $$\varTheta (f)$$ for the CFT on the real line) in the vacuum state for the infinite family of test- functions $$f_n$$ on $${{\mathbb {S}}}$$ equal to

\begin{aligned} f_n(z) = \frac{1}{2n}(z^{-n+1} - z^{n+1}) = \frac{1}{2n}(l_{-n}(z) - l_{n}(z)), \end{aligned}
(3.44)

where $$n \in {\mathbb {N}}$$, giving the smeared fields

\begin{aligned} T(f_n) = \frac{1}{2in}(L_{-n}-L_n). \end{aligned}
(3.45)

The corresponding vector field $${\textsf {f}}_n$$ defined as in (2.6) is real because $$f_n(z) = \varGamma f_n(z) = -\,z^2 \overline{f_n(z)}$$, and in fact

\begin{aligned} {\textsf {f}}_n = \frac{1}{2n}({\textsf {l}}_{-n} - {\textsf {l}}_{n}) = -\,\frac{1}{n} \sin (n \theta ) \frac{\mathrm{d}}{\mathrm{d}\theta }. \end{aligned}
(3.46)

It is clear that this vector field has 2n zeros located at $$z_k=e^{i\pi k/n}, k=0, 1, \ldots , 2n-1$$. Therefore, the corresponding 1-parameter group $$\rho _t$$ of diffeomorphisms of $${{\mathbb {S}}}$$ generated by $${\textsf {f}}_n$$ has the 2n fixed points $$z_k$$, too. Explicitly, we can write

\begin{aligned} \rho _t(z) = e^{i\pi k/n} \left[ (-1)^k \frac{z^n \cosh \frac{t}{2}+ \sinh \frac{t}{2}}{z^n \sinh \frac{t}{2}+ \cosh \frac{t}{2}} \right] ^{\frac{1}{n}} \quad \text {for}~{\pi k/n \le \mathrm{arg}(z) < \pi (k+1)/n.}\nonumber \\ \end{aligned}
(3.47)

For $$n=1$$ this corresponds to a Möbius transformation leaving $$z=1, -1$$ fixed. Since Möbius transformations leave the vacuum state invariant, the probability distribution $$\mathrm{d}\nu _n \equiv \mathrm{d}\nu _{f_n}$$ of the stress tensor $$T(f_n)$$ is trivial if $$n=1$$, in the sense that

\begin{aligned} \mathrm{d}\nu _n(\lambda ) = \delta (\lambda ) \mathrm{d}\lambda \quad \hbox { for}\ n=1. \end{aligned}
(3.48)

This is easily understood because $$T(f_1)=(2i)^{-1}(L_{-1}-L_{1})$$ has $$|\varOmega \rangle$$ as an eigenstate of zero eigenvalue. In the following, we therefore assume $$n>1$$.

Next, consider the conformal welding problem (3.6) for the diffeomorphism $$\rho _t$$ given by (3.47). It is solved by the univalent holomorphic functions $$w^+_n: {{\mathbb {D}}}^+ \rightarrow \varDelta ^+$$ and $$w^-_n: {{\mathbb {D}}}^- \rightarrow \varDelta ^-$$ given by

\begin{aligned} w_n^+(z) = z \left( \cosh \frac{t}{2}\right) ^{-\frac{2}{n}} \left[ 1 + z^n \tanh \frac{t}{2}\right] ^{-\frac{1}{n}} \end{aligned}
(3.49)

and

\begin{aligned} w_n^-(z) = z \left[ 1 - z^{-n} \tanh \frac{t}{2}\right] ^{\frac{1}{n}} \end{aligned}
(3.50)

for $$z \in {{\mathbb {D}}}^+$$ and $$z \in {{\mathbb {D}}}^-$$, respectively. Our way of writing $$w^\pm _n$$ shows in each case that it is holomorphic in $${{\mathbb {D}}}^\pm$$ as the term in square brackets is bounded away from the negative real axis in either case due to $$|\tanh \frac{t}{2}|<1$$ and thus bounded away from the branch cut of the n-th root. The Jordan curve C separating the domains $$\varDelta ^\pm$$ is drawn in Fig. 1.

In order to check that the above formulas give a solution to the welding problem (3.6) for $$f_n$$, one may argue as follows. First, we note that $$\rho _t$$ is invariant under a rotation by an angle of $$2\pi /n$$, or in other words $$\rho _t(e^{i2\pi /n} z) = e^{i2\pi /n} \rho _t(z)$$. It then follows that $$z \mapsto e^{-i2\pi /n}w_n^\pm (e^{i2\pi /n} z)$$ are solutions to the same welding problem mapping $$z=0$$ and the point at infinity on the real axis to themselves with unit derivative. By the uniqueness of the solution to the welding problem, we must therefore have $$e^{-i2\pi /n}w_n^\pm (e^{i2\pi /n} z) = w^\pm _n(z)$$, i.e., the solutions have to be periodic with period $$2\pi /n$$. Thus we can unambiguously define holomorphic univalent functions $$v^+: {{\mathbb {D}}}^+ \rightarrow \varDelta ^+$$ and $$v^-: {{\mathbb {D}}}^- \rightarrow \varDelta ^-$$ by

\begin{aligned} v^\pm (z) = {\left\{ \begin{array}{ll} {[}w^\pm (z^{1/n})]^n &{} 0\le \arg (z)<\pi \\ {[}w^\pm (e^{i\pi /n}(-z)^{1/n})]^n &{} \pi \le \arg (z)<2\pi , \end{array}\right. } \end{aligned}
(3.51)

and these have to be solutions of the welding problem $$v^+ = v^- \circ g_t$$ on $${{\mathbb {S}}}$$ where $$g_t$$ is the Möbius transformation $$g_t(z) = \frac{z \cosh \frac{t}{2}+ \sinh \frac{t}{2}}{z \sinh \frac{t}{2}+ \cosh \frac{t}{2}}$$. Since Möbius transformations extend to holomorphic univalent functions of $${{\mathbb {D}}}^\pm$$, the solution of this welding problem can be constructed trivially, with

\begin{aligned} v^-(z)=z-\tanh \frac{t}{2},\qquad v^+(z) = \frac{z{{\mathrm{sech}}}^2\frac{t}{2}}{1+z\tanh \frac{t}{2}} \end{aligned}
(3.52)

and then going back from $$v^\pm$$ to $$w^\pm _n$$ gives the above solution.

By direct calculation, the Schwarzian derivative is given by

\begin{aligned} Sw^-_n(z,t) = \frac{n^2-1}{2z^2} \left( -1 + \frac{1}{(1- z^{-n} \tanh \frac{t}{2})^2} \right) . \end{aligned}
(3.53)

When $$t \ge 0$$, it has poles at $$z=0, z=e^{i2\pi k/n}(\tanh \frac{t}{2})^{1/n}, k=0, 1, \ldots , n-1$$ inside the unit disk, and similarly for $$t \le 0$$. For definiteness, we now assume that $$t \ge 0$$. The other case is treated with a symmetry argument based on $$\overline{\langle \exp itT(f_n)\rangle } = \langle \exp [-itT(f_n)] \rangle$$ since $$f_n$$ is real. Application of the residue theorem then gives

\begin{aligned} \frac{1}{2\pi i} \int _{{\mathbb {S}}}f_n(z) Sw^-_n(z,t) \mathrm{d}z = -\frac{n^2-1}{2n} \tanh \frac{t}{2}. \end{aligned}
(3.54)

We now substitute this into the formula (3.14) applied to the smearing function $$f_n$$. This shows that the Fourier transform of the probability distribution $$\mathrm{d}\nu _n$$ for $$T(f_n)$$ in the vacuum satisfies, for $$n>1$$,

\begin{aligned} \int _{{\mathbb {R}}}e^{it\lambda } \mathrm{d}\nu _n(\lambda ) = \left( {{\mathrm{sech}}}\frac{t}{2}\right) ^p, \qquad p=\frac{c}{12} \left( n - \frac{1}{n} \right) , \end{aligned}
(3.55)

which is the characteristic function of a generalized hyperbolic secant distribution [25]. An inverse Fourier transform [22, 3.985] gives

\begin{aligned} \mathrm{d}\nu _n(\lambda ) = \frac{2^{p-1}}{\pi \varGamma (p)}\left| \varGamma \left( \frac{p}{2}-i\lambda \right) \right| ^2\mathrm{d}\lambda . \end{aligned}
(3.56)

The probability distribution function has a single peak centered at $$\lambda =0$$, about which it is symmetric; the breadth of the distribution increases with n. The same probability distribution is obtained for $$g_n(z) = \frac{i}{2n}(l_n(z)+l_{-n}(z))$$ which is equivalent to the vector field $${\textsf {g}}_{\textsf {n}} = \frac{1}{n} \cos (n\theta ) \frac{\mathrm{d}}{\mathrm{d}\theta }$$, since $$\mathrm{rot}_{\pi /2}^* {\textsf {g}}_{\textsf {n}} = {\textsf {f}}_{\textsf {n}}$$, so $$e^{itT(f_n)} = e^{-i\pi L_0/2} e^{itT(g_n)} e^{i\pi L_0/2}$$ [by (2.10)] and since the vacuum vector is invariant under $$e^{i\pi L_0/2}$$.

As a consistency check on these results, let us note that the second moment of $$T(f_n)$$ in the vacuum state may be computed directly, using the Virasoro relations and $$L_m\varOmega =0$$ for $$m\ge 0$$. One finds

\begin{aligned} \left<\varOmega \mid T(f_n)^2\varOmega \right> =\frac{1}{4n^2}\left<\varOmega \mid [L_n,L_{-n}] \varOmega \right> = c \frac{n^2-1}{48n}. \end{aligned}
(3.57)

On the other hand, the second moment is minus the second derivative of the characteristic function at $$t=0$$, and on noting

\begin{aligned} \left( {{\mathrm{sech}}}\frac{t}{2}\right) ^p = \left( 1 - \frac{t^2}{8} + O(t^4)\right) ^p = 1 - \frac{ct^2(n^2-1)}{96n} + O(t^4), \end{aligned}
(3.58)

we have agreement with our direct calculation.

Finally, we may also calculate the probability distribution $$\mathrm{d}\nu _{n,h}(\lambda )$$ for $$T(f_n)$$ in a highest weight state $$|h \rangle$$ rather than the vacuum, now using (3.43) in place of (3.14). This gives again a generalized hyperbolic secant distribution for the probability measure $$\mathrm{d}\nu _{n,h}(\lambda )$$, where the parameter p is now

\begin{aligned} p=\frac{c}{12} \left( n - \frac{1}{n} \right) + \frac{2h}{n}. \end{aligned}
(3.59)

Again, this correctly yields the second moment of $$T(f_n)$$ in this state, providing a consistency check.

## Part 2: Probability distributions via moment generating functions

### General theory

We briefly recall how the probability distribution may be recovered from its moments, working with the stress energy density on the line. Let f be any real-valued test function, so that $$\varTheta (f)$$ is a self-adjoint operator with an associated projection-valued measure $$P_f(\mathrm{d}\lambda )$$ on the real line. Recall that the vacuum probability distribution of $$\varTheta (f)$$ corresponds to the measure

\begin{aligned} \mathrm{d}\nu _f(\lambda ) = \left<\varOmega \mid P_f(\mathrm{d}\lambda )\varOmega \right> \end{aligned}
(4.1)

and of course the distribution in any other state is obtained by setting it in place of $$\varOmega$$. The n’th moment of $$\nu _f$$ is

\begin{aligned} m_n = \int _{{\mathbb {R}}}\lambda ^n\, \mathrm{d}\nu _f(\lambda ) \end{aligned}
(4.2)

and by functional calculus, one finds

\begin{aligned} m_n = \int _{{\mathbb {R}}}\lambda ^n \left<\varOmega \mid P_f(\mathrm{d}\lambda )\varOmega \right>=\left<\varOmega \mid \varTheta (f)^n\varOmega \right> \end{aligned}
(4.3)

as is well-known.

In [12], it was shown that the moment generating function

\begin{aligned} M[\mu f]=\sum _{n=0}^\infty \frac{\mu ^n}{n!}\left<\varOmega \mid \varTheta (f)^n\varOmega \right> \end{aligned}
(4.4)

can be expressed as

\begin{aligned} M[\mu f]= \exp W[\mu f], \end{aligned}
(4.5)

where

\begin{aligned} W[\mu f]= \int _0^\mu \mathrm{d}\lambda \, (\mu -\lambda ) \left<\varOmega \mid \varTheta (f_\lambda )^2\varOmega \right> \end{aligned}
(4.6)

and $$f_\lambda$$ solves the flow equation

\begin{aligned} \frac{\mathrm{d}f_\lambda }{\mathrm{d}\lambda } = f_\lambda \star f_\lambda ,\qquad f_0=f, \end{aligned}
(4.7)

with the $$\star$$ operation defined by

\begin{aligned} (f\star f)(u):=\int _{-\infty }^\infty \mathrm{d}w \frac{f(w)f'(u)-f'(w)f(u)}{2\pi (w-u)}. \end{aligned}
(4.8)

This result was reached as a consequence of the CFT Ward identities, which yield recursion relations for the moments and related quantities. In the first instance (4.5) is to be understood as an equality of formal power series in $$\mu$$; however, if $$W[\mu f]$$ is holomorphic in a neighborhood of the origin, it becomes an identity of functions. As we also have, formally,

\begin{aligned} M[\mu f]= \int _{{\mathbb {R}}}e^{\mu \lambda } \, \mathrm{d}\nu _f(\lambda ), \end{aligned}
(4.9)

the process of recovering the probability distribution becomes one of inverting a Laplace transform. This outline must be supplemented by conditions to guarantee that the moments uniquely determine the distribution, for example, the Hamburger condition that $$|m_n|\le C D^n n!$$ for constants C and D. If f is nonnegative, the existence of a finite QEI bound (1.6) (see [14] for details) implies that the vacuum distribution is supported on a half-line and therefore the Stieltjes condition $$|m_n|\le C D^n (2n)!$$ would also suffice to guarantee uniqueness of the reconstructed distribution. See [31] for an exposition of these and other facts concerning moment problems in general.

A specific solution to (4.7) was given in [12] for the case where f is a Gaussian, namely

\begin{aligned} f_\lambda (u) = \frac{\tau \sqrt{\pi }}{\pi \tau ^2-\lambda }e^{-(u/\tau )^2}. \end{aligned}
(4.10)

Using the expression

\begin{aligned} \left<\varOmega \mid \varTheta (f_\lambda )^2\varOmega \right> = \frac{c}{48\pi ^2}\int _0^\infty \mathrm{d}\omega \, \omega ^3 |\hat{f_\lambda }(\omega )|^2, \end{aligned}
(4.11)

the moment generating function was obtained in closed form as

\begin{aligned} M[\mu f]= \left( \frac{e^{-\mu /(\pi \tau ^2)}}{1-\mu /(\pi \tau ^2)}\right) ^{c/24}. \end{aligned}
(4.12)

This can be compared with the moment generating function

\begin{aligned} M_{\alpha ,\beta ,\sigma }(\mu ) = e^{-\mu \sigma }(1-\mu \beta )^{-\alpha } \end{aligned}
(4.13)

of the shifted Gamma distribution (1.3), from which it follows that $$\mu \mapsto M[\mu f]$$ is the shifted gamma distribution $$\mathrm{d}\nu _f(\lambda )$$ given by (1.3) with parameters (1.4). Given that the moments satisfy the Hamburger moment criterion, this is the unique probability distribution with this moment generating function. As already mentioned, $$-\sigma$$ is the QEI lower bound [14] for Gaussian averaging.

No other solutions to the flow equation were known when [12] was written so the Gaussian result seemed perhaps to be an isolated curiosity. We will describe two new infinite families of solutions below in Sects. 4.2 and 4.3 and then explain in Sect. 4.4 how the above approach can be extended to a Gibbs state on a CFT in the circle picture.

### Lorentzian family

For $$b>0$$, consider functions of the form

\begin{aligned} f(u)= \frac{a}{(b^2+u^2)^n}, \end{aligned}
(4.14)

with derivative

\begin{aligned} f'(u)= -\,\frac{2nu a}{(b^2+u^2)^{n+1}}. \end{aligned}
(4.15)

For simplicity, we take $$n\ge 1$$ to be integer, but large parts of the analysis go through without change for arbitrary real $$n>0$$. Noting that

\begin{aligned} \frac{f(w)f'(u)-f'(w)f(u)}{w-u}&= \frac{2nb^2a^2}{(b^2+w^2)^{n+1}(b^2+u^2)^{n+1}} \nonumber \\ {}&\quad - \frac{2nuwa^2}{(b^2+w^2)^{n+1}(b^2+u^2)^{n+1}}, \end{aligned}
(4.16)

of which the second term is evidently odd in w, we find

\begin{aligned} (f\star f)(u) = \frac{n a^2\kappa _{n+1}}{(b^2+u^2)^{n+1}b^{2n-1}}, \end{aligned}
(4.17)

where

\begin{aligned} \kappa _n = \int _{-\infty }^\infty \frac{\mathrm{d}x}{\pi } \frac{1}{(1+x^2)^{n}} = \frac{\varGamma (n-1/2)}{\varGamma (n)\sqrt{\pi }}. \end{aligned}
(4.18)

Equivalently, one has

\begin{aligned} \kappa _1=1,\qquad \kappa _n=\frac{8}{4^n}\left( {\begin{array}{c}2n-3\\ n-1\end{array}}\right) ,~\quad (n\ge 2). \end{aligned}
(4.19)

Now set $$f_\lambda$$ equal to f with b replaced by $$b_\lambda$$. Noting that

\begin{aligned} \frac{\mathrm{d}f_\lambda }{\mathrm{d}\lambda } =-\,\frac{2n b_\lambda a}{(b_\lambda ^2+u^2)^{n+1}} \frac{\mathrm{d}b_\lambda }{\mathrm{d}\lambda }, \end{aligned}
(4.20)

this ansatz solves the flow equation provided that

\begin{aligned} b_\lambda ^{2n}\frac{\mathrm{d}b_\lambda }{\mathrm{d}\lambda } = -\,\frac{\kappa _{n+1} a}{2}, \end{aligned}
(4.21)

which has the unique solution

\begin{aligned} b_\lambda = b_0\left( 1-\frac{(2n+1)\kappa _{n+1} a\lambda }{2b_0^{2n+1}}\right) ^{1/(2n+1)}. \end{aligned}
(4.22)

If $$f_0$$ is normalized to have unit integral, then

\begin{aligned} a = \frac{b_0^{2n-1}}{\pi \kappa _n} \end{aligned}
(4.23)

so one has

\begin{aligned} b_\lambda = b_0\left( 1-\frac{(4n^2-1)\lambda }{4n \pi b_0^{2}}\right) ^{1/(2n+1)}. \end{aligned}
(4.24)

Now

\begin{aligned} \langle \varTheta (f)^2\rangle = \frac{ca^2}{48\pi ^2 b^{4n+2}}K_n, \end{aligned}
(4.25)

where

\begin{aligned} K_n = \int _0^\infty y^3\, \left| {\mathcal {F}}[x\mapsto (1+x^2)^{-n}](y)\right| ^2\,\mathrm{d}y \end{aligned}
(4.26)

is evaluated in the “Appendix” as

\begin{aligned} K_n=\frac{2\pi ^2 n^2}{16^n}\left( {\begin{array}{c}2n-1\\ n\end{array}}\right) \left( {\begin{array}{c}2n+1\\ n\end{array}}\right) . \end{aligned}
(4.27)

Inserting the normalization for a and the solution to the flow equation yields

\begin{aligned} \langle \varTheta (f_\lambda )^2\rangle = \frac{cK_n}{48\pi ^4 \kappa _n^2 b_0^{4}}A_n(\lambda )^2, \end{aligned}
(4.28)

where

\begin{aligned} A_n(\lambda ) = \frac{\beta _n}{\beta _n-\lambda },\qquad \beta _n = \frac{4n\pi b_0^2}{4n^2-1}. \end{aligned}
(4.29)

It follows that

\begin{aligned} W[\mu f] = \frac{cK_n}{48\pi ^4 b_0^{4}} \left( \beta _n^2\log A_n(\mu ) - \beta _n\mu \right) = \frac{cK_n\beta _n^2}{48\pi ^4 b_0^4} \log \frac{e^{-\mu /\beta _n}}{1-\mu /\beta _n} \end{aligned}
(4.30)

and hence the moment generating function is again that of a shifted gamma distribution (1.3) with parameters $$\alpha _n$$, $$\beta _n$$ and $$\sigma _n$$, where $$\beta _n$$ was given above and

\begin{aligned} \alpha _n = \frac{cK_n\beta _n^2}{48\pi ^4\kappa _n^2 b_0^{4}}, \qquad \sigma _n = \frac{\alpha _n}{\beta _n}. \end{aligned}
(4.31)

Substituting the explicit formulae for $$K_n$$ and $$\kappa _n$$ and simplifying, one finds

\begin{aligned} \alpha _n = \frac{c n^2}{12(2n+1)(n+1)}, \qquad \sigma _n=\frac{c n(2n-1)}{48(n+1)\pi b_0^2}. \end{aligned}
(4.32)

The parameter $$\sigma _n$$ can be compared with the QEI bound (1.6). To this end, we compute

\begin{aligned} \left( \frac{\mathrm{d}}{\mathrm{d}u}\sqrt{f(u)}\right) ^2 = \frac{an^2 u^2}{(b^2+u^2)^{n+2}} = \frac{an^2}{(b^2+u^2)^{n+1}} - \frac{ab^2 n^2}{(b^2+u^2)^{n+2}} \end{aligned}
(4.33)

so

\begin{aligned} \frac{c}{12\pi }\int _{-\infty }^\infty \left( \frac{\mathrm{d}}{\mathrm{d}u}\sqrt{f(u)}\right) ^2\,\mathrm{d}u&= \frac{an^2 c}{12 b^{2n+1}} \left( \kappa _{n+1} - \kappa _{n+2}\right) = \frac{n^2 c\left( \kappa _{n+1} - \kappa _{n+2}\right) }{12\pi \kappa _n b_0^2}\nonumber \\&= \frac{c n(2n-1)}{48(n+1)\pi b_0^2} = \sigma _n \end{aligned}
(4.34)

on inserting the normalization for $$f=f_0$$. As is required on general grounds, the QEI bound therefore coincides with the infimum of the support of the vacuum probability distribution.

### Inverse Gamma sampling

For $$\mu \in {{\mathbb {R}}}$$, $$b>0$$, $$\gamma >1$$, let

\begin{aligned} f(u) = \vartheta (u-\mu )a \frac{e^{-b/(u-\mu )}}{(u-\mu )^{\gamma }}, \end{aligned}
(4.35)

which is normalized to unit integral if one has

\begin{aligned} a=\frac{b^{\gamma -1}}{\varGamma (\gamma -1)}. \end{aligned}
(4.36)

With this normalization, f is the probability density function of an inverse gamma distribution, supported on $$[\mu ,\infty )$$.

As before, the first step is to calculate $$f\star f$$. Starting from

\begin{aligned} f'(u) = \frac{f(u)}{(u-\mu )^2}\left( b- \gamma (u-\mu )\right) , \end{aligned}
(4.37)

a calculation gives

\begin{aligned} \frac{f(w)f'(u)-f'(w)f(u)}{w-u} = \frac{f(u)}{(u-\mu )^2} \frac{b f(w)}{w-\mu } + \frac{f(u)}{u-\mu } f'(w) \end{aligned}
(4.38)

so

\begin{aligned} (f\star f)(u) = \frac{f(u)}{(u-\mu )^2} \int _\mu ^\infty \frac{b f(w)}{w-\mu }\,\frac{\mathrm{d}w}{2\pi }, \end{aligned}
(4.39)

and the integral is easily evaluated, giving

\begin{aligned} (f\star f)(u) = \frac{a \varGamma (\gamma ) f(u)}{2\pi b^{\gamma -1}(u-\mu )^2}. \end{aligned}
(4.40)

On the other hand,

\begin{aligned} \frac{\mathrm{d}f(u)}{\mathrm{d}\mu } = -\frac{f(u)}{(u-\mu )^2}\left( b+(u-\mu )\frac{\mathrm{d}b}{\mathrm{d}\mu } -\gamma (u-\mu )\right) = -\,\frac{b f(u)}{(u-\mu )^2}, \end{aligned}
(4.41)

provided we take $$b=\gamma (\mu +\delta )$$ with $$\delta$$ a constant. Note that we must stay in the regime where $$\mu +\delta >0$$.

Now make the ansatz$$f_\lambda =f$$ with $$\mu =\mu (\lambda )$$, $$b=\gamma (\mu +\delta )$$, but keeping a constant. Then the flow equation is satisfied if

\begin{aligned} \frac{\mathrm{d}\mu }{\mathrm{d}\lambda } = -\,\frac{a\varGamma (\gamma )}{2\pi \gamma ^\gamma (\mu +\delta )^\gamma } \end{aligned}
(4.42)

which has solution

\begin{aligned} \mu (\lambda ) +\delta = (\mu _0+\delta ) \left( 1 - \frac{a\varGamma (\gamma +2)\lambda }{2\pi [\gamma (\mu _0+\delta )]^{\gamma +1}}\right) ^{1/(\gamma +1)} \end{aligned}
(4.43)

Evidently we may absorb $$\delta$$ into $$\mu$$ and $$\mu _0$$ and we therefore do so.

To evaluate $$\langle \varTheta (f_\lambda )^2\rangle$$ we need the Fourier transform $$\hat{f}$$. As only the modulus enters, we may set $$\mu =0$$ and work with $$\vartheta (u)e^{-b/u}/u^\gamma$$. Then

\begin{aligned} \langle \varTheta (f)^2\rangle = \frac{c a^2 K_\gamma }{48\pi ^2 b^{2\gamma +2}} \end{aligned}
(4.44)

where

\begin{aligned} K_\gamma&:= \int _0^\infty y^3\, \left| {\mathcal {F}}[x\mapsto \vartheta (x) x^{-\gamma } e^{-1/x}](y)\right| ^2\,\mathrm{d}y \end{aligned}
(4.45)
\begin{aligned}&= \frac{1}{2}\varGamma (\gamma +1)\varGamma (\gamma +3). \end{aligned}
(4.46)

The evaluation of this integral is described in the “Appendix.”

Inserting the normalization for a and the solution to the flow equation,

\begin{aligned} \langle \varTheta (f_\lambda )^2\rangle = \frac{cK_\gamma }{48\pi ^2 \varGamma (\gamma -1)^2 b_0^{4}}A(\lambda )^2, \end{aligned}
(4.47)

where

\begin{aligned} A(\lambda ) = \frac{\beta }{\beta -\lambda },\qquad \beta = \frac{2\pi b_0^2}{(\gamma ^2-1)\gamma }. \end{aligned}
(4.48)

This leads to a shifted gamma distribution (1.3) with parameters $$\alpha$$, $$\beta$$ and $$\sigma$$, where $$\beta$$ is as above and

\begin{aligned} \alpha = \frac{c\beta ^2 K_\gamma }{48\pi ^2 \varGamma (\gamma -1)^2 b_0^{4}} = \frac{c K_\gamma }{12 \varGamma (\gamma +2)^2 }, \quad \sigma = \frac{\alpha }{\beta } = \frac{cK_\gamma }{24\pi \varGamma (\gamma +2)\varGamma (\gamma -1)b_0^2}.\nonumber \\ \end{aligned}
(4.49)

Substituting the value of the constant $$K_\gamma$$, we have, overall:

\begin{aligned} \alpha = \frac{c(\gamma +2)}{24(\gamma +1)}, \qquad \beta = \frac{2\pi b_0^2}{(\gamma ^2-1)\gamma }, \qquad \sigma = \frac{c(\gamma +2)(\gamma -1)\gamma }{48\pi b_0^2}. \end{aligned}
(4.50)

The value of $$\sigma$$ agrees exactly with the QEI bound calculated for (4.35) with normalization (4.36), which is easily calculated using $$(d\sqrt{f(u)}/du)^2=f'(u)^2/(4f(u))$$ together with (4.37) and the same integrals used to compute the normalization.

We have discussed two distinct infinite families of test functions on the light ray for which the vacuum probability distribution can be obtained in closed form. These can immediately be translated into examples on the circle, using the correspondence (2.12). Furthermore, the $$\mathrm {PSL}(2,{{\mathbb {R}}})$$-covariance of the stress energy tensor immediately provides further new examples. To be specific, if $$\rho \in \mathrm {PSL}(2,{{\mathbb {R}}})$$, the Schwarzian derivative in (2.10) vanishes and one finds that T(f) is unitarily equivalent to $$T(f_\rho )$$ where $$f_\rho (z)=f(\rho ^{-1}(z))\rho '(\rho ^{-1}(z))$$. As the unitary transformation leaves the vacuum vector invariant, the vacuum probability distributions of T(f) and $$T(f_\rho )$$ are identical. This also applies on the line: $$\varTheta (f)$$ and $$\varTheta (f_\rho )$$ have the same distribution if $$\rho$$ is an orientation-preserving Möbius transformation mapping the real line to itself, writing $$f_\rho (u)=f(\rho ^{-1}(u)) \rho '(\rho ^{-1}(u))$$.

As a particular example, we note that $$\rho (u)= -\,1/u$$ converts the inverse Gamma test function given by (4.35) with $$\mu =0$$ to the Gamma density function $$f_\rho (u)=\vartheta (-u)a (-u)^{2+\gamma } e^{bu}$$ on the negative half-line, and one may equally consider shifted or reflected versions thereof. Thus these test functions (which are smooth except at $$u=0$$, where they have finite order of differentiability) also have shifted Gamma vacuum probability distributions.

By mapping the positive real line to a bounded interval, one obtains an example of a compactly supported test function on $${{\mathbb {R}}}$$ (smooth except at one endpoint, where there is only finite differentiability) with a shifted Gamma distribution. Now consider two such test functions $$f_1$$ and $$f_2$$ with disjoint support. As $$\varTheta (f_1)$$ and $$\varTheta (f_2)$$ commute, the vacuum distribution for $$\varTheta (f_1+f_2)$$ is simply the convolution of the two individual vacuum distributions. This will again be a shifted Gamma if the QEI bounds of $$f_1$$ and $$f_2$$ are equal. The distribution for other (not necessarily positive) linear combinations of the $$f_i$$ can be determined as well.

### Thermal states

The moment generating technique can be extended, in principle, to thermal states and presumably also to other special states. As an illustration, we now look at the probability distribution of the smeared stress tensor T(f) on the circle $${{\mathbb {S}}}$$ in a Gibbs state,

\begin{aligned} \langle A \rangle _\beta = Z(\beta )^{-1} \mathrm{Tr}\, (A e^{-\beta L_0}), \quad \beta > 0, \quad Z(\beta ) = \mathrm{Tr}\, e^{-\beta L_0}, \end{aligned}
(4.51)

where we assume that $$Z(\beta ) < \infty$$. The idea is as in [12] to use the conformal Ward identities (now of the Gibbs state) in order to get recursive relations between the moments, now given by $$m_n = \langle T(f)^n \rangle _\beta$$, where f is a real (in the sense $$\varGamma f = f$$) test function on $${{\mathbb {S}}}$$. To simplify the formulas, we are going to use the coordinate $$z=e^{i\theta }$$ on $${{\mathbb {S}}}$$, where $$\theta \in (0,2\pi ]$$ is periodic, and we define, by abuse of notation

\begin{aligned} T(\theta ) \equiv -\,2\pi z^2T(z), \quad z=e^{i\theta }, \end{aligned}
(4.52)

which corresponds to the transformation law of the stress tensor (up to the central term and a factor of $$2\pi$$). If we simultaneously change f(z) to $$f(\theta ) \equiv -ie^{-i \theta } f(e^{i\theta })/2\pi$$ (up to $$2\pi$$ the transformation law of the vector field (2.6) on $${{\mathbb {S}}}$$), then we can write $$T(f) = \int _0^{2\pi } T(\theta ) f(\theta ) \mathrm{d}\theta$$ and $$f(\theta )$$ is now real-valued in the ordinary sense.

With these conventions understood for the remainder of this section, the conformal Ward identities are most conveniently expressed in terms of the distributions

\begin{aligned} G_{n,\beta }(\theta _1, \ldots , \theta _n) = \mathrm{Tr}\left( T(\theta _1) \cdots T(\theta _n) e^{-\beta L_0 } \right) \end{aligned}
(4.53)

were each $$\theta _i \in (0,2\pi ]$$ is the periodic coordinate on $${{\mathbb {S}}}$$ just defined. Evidently, $$G_{0,\beta }=Z(\beta )$$, while one finds $$G_{1,\beta }(\theta )\equiv -\mathrm{d}Z/\mathrm{d}\beta$$ (independent of $$\theta$$) as a consequence of cyclicity of the trace and the identity $$L_k e^{-\beta L_0}=e^{-\beta k}e^{-\beta L_0}L_k$$. Adapting [10] to our conventions, the Ward identities read, for $$n\ge 1$$:

\begin{aligned}&G_{n+1,\beta }(\theta ,\theta _1, \ldots , \theta _n) \nonumber \\&\quad =-\,\frac{c}{24 \pi } \sum _{j=1}^n \varphi '''(\theta _j-\theta + i0) G_{n-1,\beta }(\theta _1, \ldots , {\hat{\theta }}_j, \ldots , \theta _n) -\frac{\partial }{\partial \beta } G_{n,\beta }(\theta _1, \ldots , \theta _n) \nonumber \\&\qquad + \frac{1}{2\pi }\sum _{j=1}^n \left[ 2\varphi '(\theta _j-\theta +i0) + \varphi (\theta _j-\theta +i0) \frac{\partial }{\partial \theta _j} \right] G_{n,\beta }(\theta _1, \ldots , \theta _n). \end{aligned}
(4.54)

Here, a caret on $${\hat{\theta }}_j$$ means omission and

\begin{aligned} \varphi (\theta ) = \sum _{n \in {{\mathbb {Z}}}, n\ne 0} \frac{e^{in\theta }}{1-e^{-\beta n}} = i \zeta (\theta ) + \frac{\eta _1(\beta )}{i\pi } \theta -\frac{1}{2} \end{aligned}
(4.55)

where $$\zeta$$ is the Weierstrass zeta function with full periods $$(2\pi ,i\beta )$$ on the real/imaginary axis, $$\eta _1(\beta ) = \zeta (\pi )$$. Explicitly, in terms of Jacobi $$\vartheta$$-functions,

\begin{aligned} \zeta (\theta ) = \frac{\vartheta _1'(\theta | i\beta )}{\vartheta _1(\theta | i\beta )} + \frac{\eta _1(\beta )}{\pi } \theta . \end{aligned}
(4.56)

If we multiply the Ward identity with a product of $$n+1$$ factors of the test function f and integrate against $$\theta ,\theta _j$$, we obtain after a few trivial manipulations

\begin{aligned}&{G_{n+1,\beta }(f, \ldots , f) =}\nonumber \\&\quad -\frac{nc}{24 \pi } \left( \int _0^{2\pi } \int _0^{2\pi } \varphi '''(\theta _1-\theta _2+i0) f(\theta _1) f(\theta _2) \mathrm{d}\theta _1 \mathrm{d}\theta _2 \right) G_{n-1,\beta }(f, \ldots , f) \nonumber \\&\quad -\,\left( \int _0^{2\pi } f(\theta ) \mathrm{d}\theta \right) \frac{\partial }{\partial \beta } G_{n,\beta }(f, \ldots , f) + \sum _{j=1}^n G_{n,\beta }(f, \ldots , f \star _\beta f, \ldots , f), \end{aligned}
(4.57)

where, analogous to (4.8),

\begin{aligned} (f\star _\beta f)(\theta ):=\int _{0}^{2\pi } \frac{\mathrm{d}\theta '}{2\pi } [f(\theta ')f'(\theta )-f'(\theta ')f(\theta ) ] \varphi (\theta '-\theta ). \end{aligned}
(4.58)

Now we multiply (4.57) by $$\mu ^n/n!$$, we sum over n from 1 to infinity and we divide by the partition function $$Z(\beta )$$. We then get a partial differential equation for the moment generating function

\begin{aligned} M_\beta [\mu f] \equiv \sum _{n=0}^\infty \frac{\mu ^n}{n!} \langle T(f)^n \rangle _\beta . \end{aligned}
(4.59)

To solve this equation, we consider a 1-parameter family $$(f_\lambda , \beta _\lambda )$$ of a periodic test function $$f_\lambda$$ on the interval $$(0,2\pi )$$ and a $$\lambda$$-dependent temperature parameter $$\beta _\lambda$$ solving the coupled flow equations

\begin{aligned} \frac{\mathrm{d}f_\lambda }{\mathrm{d}\lambda } = f_\lambda \star _{\beta _\lambda } f_\lambda , \quad \frac{\mathrm{d}\beta _\lambda }{\mathrm{d}\lambda } = -\int _0^{2\pi } f_\lambda \mathrm{d}\theta , \end{aligned}
(4.60)

with the initial conditions $$f_0 = f, \beta _0=\beta$$. Then the partial differential equation for the moment generating function becomes

\begin{aligned}&\left( \frac{\partial }{\partial \mu } - \frac{\partial }{\partial \lambda } \right) \log M_{\beta _\lambda }[\mu f_\lambda ] - \frac{\partial }{\partial \lambda } \log Z(\beta _\lambda ) \nonumber \\&\quad = \mu \varPhi _\lambda [f_\lambda ], \end{aligned}
(4.61)

where

\begin{aligned} \varPhi _\lambda [f]:=-\,\frac{c}{24 \pi } \int \varphi '''_\lambda (\theta _1-\theta _2+i0) f (\theta _1) f (\theta _2) \, \mathrm{d}\theta _1 \mathrm{d}\theta _2 \end{aligned}
(4.62)

and the subscript on $$\varphi _\lambda$$ means that we should insert the $$\lambda$$-dependent temperature parameter $$\beta _\lambda$$, and where the variables $$\theta _i$$ are integrated from 0 to $$2\pi$$. The solution is with our boundary conditions,

\begin{aligned} \log M_{\beta _\lambda }[\mu f_\lambda ] =\log (Z(\beta _{\mu +\lambda })/Z(\beta _\lambda )) + \int _\lambda ^{\lambda +\mu } (\mu +\lambda -\lambda ')\varPhi _{\lambda '}[f_{\lambda '}]\, \mathrm{d}\lambda ' \end{aligned}
(4.63)

and after setting $$\lambda =0$$,

\begin{aligned} M_\beta [\mu f] = \frac{Z(\beta _\mu )}{Z(\beta )} \exp \left[ \int _0^\mu (\mu -\lambda ) \varPhi _\lambda [f_\lambda ]\,\mathrm{d}\lambda \right] . \end{aligned}
(4.64)

As in the vacuum case, the above formulas are, a priori, understood as formal series in $$\mu$$, the convergence of which will in general depend on our choice of f. Note that the exponent in this result is directly proportional to the central charge c.

Our result can be put into a simpler form on noting that (suppressing the subscript $$\lambda$$) the Ward identity (4.57) with $$n=1$$ gives

\begin{aligned} \varPhi [f]&= \langle T(f)^2\rangle _\beta - \left( \int _0^{2\pi } f(\theta )\, \mathrm{d}\theta \right) ^2 \frac{1}{Z}\frac{\mathrm{d}^2 Z}{\mathrm{d}\beta ^2} + \int _0^{2\pi } (f\star _\beta f)(\theta )\, \mathrm{d}\theta \frac{1}{Z}\frac{\mathrm{d}Z}{\mathrm{d}\beta } \nonumber \\&= \langle T(f)^2\rangle _\beta ^{C} - \left( \int _0^{2\pi } f(\theta )\, \mathrm{d}\theta \right) ^2 \frac{\mathrm{d}^2}{\mathrm{d}\beta ^2}\log Z + \int _0^{2\pi } (f\star _\beta f)(\theta )\, \mathrm{d}\theta \frac{\mathrm{d}}{\mathrm{d}\beta }\log Z, \end{aligned}
(4.65)

where the connected two-point function is

\begin{aligned} \langle T(f)^2\rangle _\beta ^{C}=\langle T(f)^2\rangle _\beta -\langle T(f)\rangle _\beta ^2. \end{aligned}
(4.66)

Along the flow, therefore, we have

\begin{aligned} \varPhi _\lambda [f_\lambda ] = \langle T(f_\lambda )^2\rangle _{\beta _\lambda }^{C} - \frac{\mathrm{d}^2}{\mathrm{d}\lambda ^2}\log Z(\beta _\lambda ), \end{aligned}
(4.67)

and on noting that

\begin{aligned} \int _0^\mu (\mu -\lambda ) \frac{\mathrm{d}^2}{\mathrm{d}\lambda ^2}\log Z(\beta _\lambda )\mathrm{d}\lambda&= \log \frac{Z(\beta _\mu )}{Z(\beta )} - \mu \left. \frac{\mathrm{d}}{\mathrm{d}\lambda }\log Z(\beta _\lambda )\right| _{\lambda =0}\nonumber \\&= \log \frac{Z(\beta _\mu )}{Z(\beta )} - \mu \langle T(f)\rangle _\beta , \end{aligned}
(4.68)

we obtain

\begin{aligned} M_\beta [\mu f] = \exp \left[ \mu \langle T(f)\rangle _\beta + \int _0^\mu (\mu -\lambda ) \langle T(f_\lambda )^2\rangle _{\beta _\lambda }^{C} \mathrm{d}\lambda \right] , \end{aligned}
(4.69)

which generalizes Eqs. (4.5) and (4.6) to the Gibbs state (for the CFT on the circle).

Thus, the final answer for the moment generating function has a similar structure as in the vacuum case. Instead of one flow equation, we now need to solve a coupled pair of flow equations, and the kernel in $$\star _\beta$$ is more complicated than the corresponding kernel in the vacuum case, being an elliptic function rather than a rational function. As a consequence, it is presumably harder to find examples of functions f where an explicit solution is available. As in the vacuum case, we need the conditions of the Hamburger/Stieltjes moment problems to be satisfied in order to get a unique probability distribution of T(f) from the moments in our Gibbs state.

## Conclusions

The ability to find closed form expressions for the probability distribution of the smeared stress energy operator, at least in principle, makes 2-dimensional CFTs particularly important in this context. The novel examples of probability distributions for nonnegative smearing functions f are all given by a shifted gamma distribution, the parameters of which depended on the smearing function. Furthermore, in all cases the probability distributions were uniquely characterized by their moments in view of the Stieltjes/Hamburger theorems.

Unfortunately, all our methods relied, in one way or another, on the powerful constraints imposed by conformal invariance in two dimensions. In fact, in the moment generating technique, one uses the conformal Ward identities, whereas in the welding technique, one uses the connection between Virasoro symmetry and diffeomorphisms of the real line (or circle). Thus, it seems that our methods have no straightforward generalization to theories without conformal invariance, or to higher spacetime dimensions.

In fact, even for free massless fields in four-dimensional spacetime, a closed form has appeared to be out of reach, and previous results on this theory have focussed on asymptotic behavior of the moments of the distribution [11, 13] or been obtained by numerically diagonalizing the energy density operator [29]. Among other things, it has been shown that the moments of the time-averaged energy density operator can grow very rapidly—so rapidly, indeed, that they fall outside the scope of the Stieltjes and Hamburger theorems that guarantee the unique reconstruction of a distribution from its moments [31]. One may nonetheless infer qualitative information about the tail of the probability distribution and this has confirmed independently by the numerical study [29]. One may ask similar questions of other observables. In particular, a combination of analytical and numerical methods were used to examine the moments of the Wick square, averaged against the Lorentzian function, i.e., the $$n=1$$ member of our “Lorentzian family” [13]. Using some novel combinatorics [15], it was possible to compute the first 65 moments exactly, obtaining an exact match with the moments of a shifted Gamma distribution with parameters $$\alpha =1/72$$, $$\beta =4\pi ^2 b_0^2/3$$, $$\sigma =1/(96\pi ^2 b_0^2)$$.Footnote 4 As is seen from (4.29) and (4.31), these are the parameters appropriate to the $$c=1$$ CFT stress energy probability distribution averaged against the Lorentzian and divided by $$\pi$$. An explanation for this can be given as follows: restricted to a timelike line, the massless field in $$3+1$$ dimensions can be expressed as an infinite tensor product of theories that are related to the $$c=1$$ free current [3, Sec. 8], under which correspondence the Wick square is mapped to the chiral stress tensor (divided by $$\pi$$). It is hoped to investigate further this intriguing direction elsewhere.

Finally, we should remark that quantities similar to those we have studied also appear in the problem of determining the so-called full counting statistics of heat flows in certain non-equilibrium states in CFT; for specific calculations in the Luttinger model see, e.g., [18] and references therein. After this paper was posted, we have learned that welding methods also have, independently, been applied in that context in a forthcoming work by Gawedzki [19].