원시데이터 수집 시스템
선정목록으로

Boundary TBA, trees and loops

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Kostov Ivan
  2. Serban, Didina
  3. Vu Dinh Long
DOI
10.48550/arxiv.1809.05705
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1809.05705
토픽
Thermal properties of materials
OpenAlex ID
W6910643047

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We derive a graph expansion for the thermal partition function of solvable two-dimensional models with boundaries. This expansion of the integration measure over the virtual particles winding around the time cycle is obtained with the help of the matrix-tree theorem. The free energy is a sum over all connected graphs, which can be either trees or trees with one loop. The generating function for the connected trees satisfies a non-linear integral equation, which is equivalent to the TBA equation. The sum over connected graphs gives the bulk free energy as well as the exact g-functions for the two boundaries. We reproduced the integral formula conjectured by Dorey, Fioravanti, Rim and Tateo, and proved subsequently by Pozsgay. The method is easily extended to the case of non-diagonal bulk scattering and diagonal reflection matrices. Our method can be extended to the case of non-diagonal bulk scattering and diagonal reflection matrices with proper regularization.

본문 86,716자

본문 펼치기
## Boundary TBA, trees and loops Ivan Kostov, Didina Serban and Dinh-Long Vu _Institut de Physique Théorique, CNRS-UMR 3681-INP, C.E.A.-Saclay,_ _F-91191 Gif-sur-Yvette, France_ We derive a graph expansion for the thermal partition function of solvable two-dimensional models with boundaries. This expansion of the integration measure over the virtual particles winding around the time cycle is obtained with the help of the matrix-tree theorem. The free energy is a sum over all connected graphs, which can be either trees or trees with one loop. The generating function for the connected trees satisfies a non-linear integral equation, which is equivalent to the TBA equation. The sum over connected graphs gives the bulk free energy as well as the exact _g_ -functions for the two boundaries. We reproduced the integral formula conjectured by Dorey, Fioravanti, Rim and Tateo, and proved subsequently by Pozsgay. Our method can be extended to the case of non-diagonal bulk scattering and diagonal reflection matrices with proper regularization. ## 1 Introduction The notion of integrability has been extended to systems with boundary by Ghoshal and Zamolodchikov [1]. With the Yang-Baxter equation, unitarity, analyticity and crossing symmetry for both bulk scattering matrix and boundary reflection matrix, a model with integrable boundary is expected to be exactly solved. One of the simplest observables in such system is its free energy in large volume limit and at finite temperature. Unlike in periodic systems, this free energy contains a volume-independent correction, also known as the boundary entropy or _g_ -function [2]. The first attempt to compute _g_ -function was carried out by LeClair, Mussardo, Saleur and Skorik [3], using the Thermodynamics Bethe Ansatz (TBA) saddle point approximation. They obtained an expression similar to the bulk TBA free energy log( _gagb_ ) <sup>saddle</sup> ( _R_ ) = <sup><u>1</u></sup> 2 - + _∞_ _−∞_ _<u>du</u>_ (1.1) 2 _π_ <sup>Θ</sup> <sup>_ab_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log[1 +</sup> <sup>_e−ϵ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)]</sup> <sup>_,_</sup> where _u_ is the rapidity variable, _ϵ_ is the pseudo-energy at inverse temperature _R_ and Θ term involves the bulk scattering and the boundary reflection matrices. It was later shown by Woynarovich [4] that another volume-independent contribution is produced by the fluctuation around the TBA saddle point. The result can be written as a Fredholm determinant log( _gagb_ ) <sup>fluc</sup> ( _R_ ) = _−_ log det(1 _−_ _K_ <sup>ˆ</sup> <sup>+</sup> ) _,_ (1.2) where the kernel _K_ <sup>ˆ</sup> <sup>+</sup> involves the pseudo-energy and the bulk scattering matrix but not the reflection matrices. In other words, this fluctuation around the saddle point is boundary independent. A major problem of Woynarovich’s computation is that it also predicts a similar term for periodic systems, while it is known that there is no such correction. Dorey, Fioravanti, Rim and Tateo [5] took a different approach towards this problem. They started with the definition of the partition function as a thermal sum over a complete set of states labelled by mode numbers. In the infinite volume limit, this sum can be replaced by integrals over rapidity. The integrands were explicitly worked out for small number of particles. Based on these first terms and the structure of TBA saddle point result (1.1), the authors advanced a conjecture about the boundaryindependent part of _g_ -function. Their proposal has the structure of a Leclair-Mussardo type series log( _gagb_ )( _R_ ) = log( _gagb_ ) <sup>saddle</sup> ( _R_ ) _n_ _j_ =1 - + _∞_ _−∞_ _<u>duj</u>_ <u>1</u> (1.3) 2 _π_ 1 + _e_ <sup>_ϵ_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_u_</sup> <sup>1 +</sup> <sup>_u_</sup> <sup>2)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_u_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_u_</sup> <sup>3)</sup> <sup>_...K_</sup> <sup>(</sup> <sup>_un −_</sup> <sup>_u_</sup> <sup>1)</sup> <sup>_,_</sup> <u>1</u> _n_ + _n≥_ 1 where _K_ is the logarithmic derivative of the bulk scattering matrix. Pozsgay [6] (see also Woynarovich [7]) argued that the same expression for _g_ -function could be obtained from a refined version of TBA saddle point approximation. He noticed that the mismatch between (1.2) and the series in (1.3) is resolved if one uses a non-flat measure for the TBA functional integration. This non-trivial measure comes from the Jacobian of the change of variables from mode number to rapidity, and represents the continuum limit of the Gaudin determinant. The fluctuation around the saddle point involves only diagonal elements of this Gaudin matrix, resulting in the inverse power of the Fredholm determinant det(1 _−_ _K_ <sup>ˆ</sup> <sup>+</sup> ). On the other hand, the functional integration measure contains the off-diagonal elements as well, which constitute another Fredholm determinant det(1 _−_ _K_ <sup>ˆ</sup> <sup>_−_</sup> ). Pozsgay rewrote the result (1.3) in terms of these two Fredholm 2 determinants log( _gagb_ )( _R_ ) = log( _gagb_ ) <sup>saddle</sup> ( _R_ ) + log det <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>K</u>_</sup> <sup>ˆ</sup> <sup>_−_</sup> (1.4) 1 _−_ _K_ <sup>ˆ</sup> <sup>+</sup> <sup>_._</sup> The two kernels _K_ <sup>ˆ</sup> <sup>_±_</sup> can be read off from the asymptotic Bethe equations. For a periodic system, they happen to be the same and the effects from the fluctuation and the measure cancel each other. It is important to distinguish the Jacobians in [5] from the one in [6]. The former appear in each term of the cluster expansion while the latter is obtained from the thermodynamics state that minimizes the TBA functional action. Put it simply, the Jacobian in [6] is the thermal average of all the Jacobians in [5]. In this paper, we derive this known result for _g_ -function, following the strategy of [5]: writing the partition function as a sum over mode numbers and replacing it by an integral over phase space in the infinite volume limit. In contrast to [5], we are able to exactly carry out the cluster expansion, by virtue of the matrix-tree theorem [8]. This theorem allows us to write the Jacobian for a finite number of particles as a sum over diagrams. Consequently, the _g_ -function is expressed as a sum over graphs with no loops (trees) and graphs with one loop. These combinatorial objects possess simple structure and their sum can be written in the form (1.3) or (1.4). Compared to [6], the Gaussian fluctuations and the measure can be respectively interpreted as the sum over two types of loops. Our final result coincides with the one of [6], but our method allows an exact treatment of each term in the canonical partition sum, before the thermodynamical limit. Such advantage makes it potentially useful in the computation of more subtle objects such as correlation functions. This method has been applied for the free energy and one point function of a local observable of a periodic system [9], [10], [11]. The same idea has been used to derive the equation of state in Generalized Hydrodynamics [12]. Generalization to a theory with _n_ species of particles interacting via diagonal bulk scattering and diagonal reflection matrices is straightforward. The graphs now involve _n_ types of vertices and the Fredholm kernels are _n × n_ matrices. We also comment on how the g-function of a theory solved by Nested Bethe Ansatz can be obtained through a regularization procedure. We implement such procedure for a concrete example in another work [13]. The paper is structured as follows. In section 2 we recall the definition of _g_ -function and spell out the Fredholm determinant formula (1.4) for a massive theory with diagonal bulk and boundary scattering. In section 3 we develop the combinatorics needed to sum up the cluster expansion and express the partition function on a cylinder as a sum over (multi)wrapping virtual particles. In section 4 we expand, with help of the matrix-tree theorem, the canonical partition function on a cylinder as a sum over certain set of Feynman graphs. In section 5 we perform the sum and recover the expression for the _g_ -function. We compute the excited state g-function at the end of the section. In section 6 we generalise our method to theories of more than one type of particle with diagonal scatterings. We also establish a protocol to deal with g-function of theories solved by Nested Bethe Ansatz. The two appendices present two different proofs of the matrix-tree theorem in the form used in this paper. ## 2 Bulk and boundary free energy of a massive integrable field theory The _g_ -function, also known as boundary entropy or ground-state degeneracy, was first introduced by Affleck and Ludwig [2] and since then has been given many physical interpretations. In this paper we shall look at this multifaceted object as the non-extensive contribution to free energy of a system with boundaries. 3 Let us consider an 1 + 1 dimensional field theory with a single massive excitation above the vacuum, defined in an open interval of length _L_, whose boundaries will be denoted by _a_ and _b_ . The momentum and energy of a particle are parameterized by its rapidity _p_ = _p_ ( _u_ ) _, E_ = _E_ ( _u_ ). The theory is integrable with a two-to-two bulk scattering phase _S_ ( _u, v_ ) and reflection factors _Ra_ ( _u_ ) _, Rb_ ( _u_ ) at the boundaries. They satisfy a set of conditions [1], among which the unitarity condition _S_ ( _u, v_ ) _S_ ( _v, u_ ) = _Ra_ ( _u_ ) _Ra_ ( _−u_ ) = _Rb_ ( _u_ ) _Rb_ ( _−u_ ) = 1 _._ (2.1) The bulk scattering phase does not necessarily depend on the difference between rapidities. We assume a milder condition _S_ ( _u, −v_ ) _S_ ( _−u, v_ ) = 1 _,_ (2.2) as well as _S_ ( _u, u_ ) = _−_ 1. The partition function at inverse temperature _R_ is defined by the thermal trace _Zab_ ( _R, L_ ) = Tr _e_ <sup>_−Hab_</sup> <sup>(</sup> <sup>_L_</sup> <sup>)</sup> <sup>_R_</sup> _,_ (2.3) where _Hab_ ( _L_ ) is the Hamiltonian of the theory living on a segment of length _L_ with boundary conditions _a_ and _b_ . One can consider in parallel the partition function of a theory defined on a circle of length _L_ _Z_ ( _R, L_ ) = Tr _e_ <sup>_−H_</sup> <sup>(</sup> <sup>_L_</sup> <sup>)</sup> <sup>_R_</sup> _._ (2.4) The boundary entropy of the open system is given by the difference in the two free energies _Fab_ ( _R, L_ ) _≡_ log _Zab_ ( _R, L_ ) _−_ log _Z_ ( _R, L_ ) _._ (2.5) The _g_ -function is defined as the contribution of a _single_ boundary to the free energy. To compute it, we pull the two boundaries far away from each other to avoid interference log _ga_ ( _R_ ) = <sup><u>1</u></sup> (2.6) 2 _L_ <sup>lim</sup> _→∞_ <sup>_Faa_</sup> <sup>(</sup> <sup>_R, L_</sup> <sup>)</sup> <sup>_._</sup> Compared to the usual definition of _g_ -function given in perturbed CFTs literature, our definition seems to be over-simplifying. This is due to our specific choice of normalization of partition functions. More precisely, we have fixed the ground state energy in the _L_ _→∞_ limit of both Hamiltonians _H_ ( _L_ ) and _Hab_ ( _L_ ) to zero by discarding the bulk energy density as well as its non-extensive boundary contributions. In a relativistic theory there is a mirror transformation exchanging the roles of space and time _p_ ˜( _u_ ) = _−iE_ ( _u_ <sup>_γ_</sup> ) _,_ _E_ ˜( _u_ ) = _−ip_ ( _u_ <sup>_γ_</sup> ) _,_ (2.7) where _u_ <sup>_γ_</sup> means analytical continuation in the rapidity variable which assures that the mirror particle has positive energy _E_ <sup>˜</sup> and real momentum _p_ ˜. The inverse is true only if the mirror theory coincides with the original one. In this case the natural parametrisation is _p_ = _m_ sinh _u, E_ = _m_ cosh _u_ and _u_ <sup>_γ_</sup> = _u_ + _iπ/_ 2. The product of two mirror transformations, _u_ _→_ _u_ + _iπ_, gives a crossing transformation. In terms of the mirror theory, defined on a circle with circumference _R_, the partition function with periodic boundary conditions (2.4) takes a similar form _Z_ ( _R, L_ ) = Tr _e_ <sup>_−H_</sup> <sup>˜</sup> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>_L_</sup> _,_ (2.8) 4 _L_ _jBbi_ _hBaj_ _R_ _a_ _b_ Figure 1: Two equivalent ways of evaluating the partition function on a cylinder. where the trace is in the Hilbert space of the mirror theory. In contrast, after a mirror transformation the thermal partition function with open boundary conditions becomes the overlap of an initial state _⟨Ba|_ and a final state _|Bb⟩_ defined on a circle of circumference _R_ after evolution at mirror time _L_ [1]. Evaluated in the mirror theory, the partition function (2.3) reads _Zab_ ( _R, L_ ) = _⟨Ba|e_ <sup>_−H_</sup> <sup>˜</sup> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>_L_</sup> _|Bb⟩._ (2.9) Although the partition function is the same, the physics is rather different in the two channels. In the mirror theory, the _g_ -function provides information about overlapping of the boundary states and the ground state at finite volume. To see this, we write (2.9) as a sum over eigenstates _|ψ⟩_ of the periodic Hamiltonian _H_ <sup>˜</sup> ( _R_ ) _e_ <sup>_−LE_</sup> <sup>˜(</sup> <sup>_|ψ⟩_</sup> <sup>)</sup> <sup>_<u>⟨ψ|Bb⟩</u>_</sup> ~~<u>�</u>~~ _⟨ψ|ψ⟩_ _⟨Ba|e_ <sup>_−H_</sup> <sup>˜</sup> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>_L_</sup> _|Bb⟩_ = _|ψ⟩_ _<u>⟨Ba|ψ⟩</u>_ ~~<u>�</u>~~ _⟨ψ|ψ⟩_ _._ In the large _L_ limit, this sum is dominated by a single term corresponding to the ground state _|ψ_ 0 _⟩_ . The _g_ -function is then given by the overlap between this state and the boundary state _<u>⟨Ba|ψ</u>_ <u>0</u> _<u>⟩</u>_ _ga_ ( _R_ ) = ~~<u>�</u>~~ _⟨ψ_ 0 _|ψ_ 0 _⟩_ _._ (2.10) An expression for _g_ -function was conjectured in [5] and proven in [6]. Here we write down this result for the case where the bulk scattering matrix is not of difference form. Let us denote respectively by _K, Ka_ and _Kb_ the logarithmic derivatives of the bulk scattering phase and the boundary reflection factors associated with the boundaries _a_ and _b_ _K_ ( _u, v_ ) = _−i∂u_ log _S_ ( _u, v_ ) _,_ _Ka_ ( _u_ ) = _−i∂u_ log _Ra_ ( _u_ ) _,_ _Kb_ ( _u_ ) = _−i∂u_ log _Rb_ ( _u_ ) _._ It follows from (2.1) and (2.2) that _Ka_ ( _u_ ) = _Ka_ ( _−u_ ) _,_ _Kb_ ( _u_ ) = _Kb_ ( _−u_ ) _,_ _K_ ( _u, −v_ ) = _K_ ( _−u, v_ ) _._ (2.11) Let us also define Θ _⋆_ ( _u_ ) _≡_ _K⋆_ ( _u_ ) _−_ _K_ ( _u, −u_ ) _−_ _πδ_ ( _u_ ) _,_ _⋆_ = _a, b._ (2.12) 5 Then the expression for _g_ -function found in [6] reads _<u>du</u>_ (2.13) 2 _π_ <sup>Θ</sup> <sup>_a_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log(1 +</sup> <sup>_e−ϵ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)) +</sup> <sup><u>1</u></sup> 2 <sup>log det 1</sup> 1 <sup>_<u>−</u>_</sup> _−_ <sup>_<u>K</u>_</sup> _K_ <sup>ˆˆ</sup> <sup>_−_</sup> <sup>+</sup> <sup>_,_</sup> log _ga_ ( _R_ ) = <sup><u>1</u></sup> 2 - + _∞_ _−∞_ where _ϵ_ is the pseudo-energy at inverse temperature _R_ _e_ <sup>_−ϵ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> = _e_ <sup>_−E_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_R_</sup> exp �� _∞_ _−∞_ _<u>dv</u>_ _._ (2.14) 2 _π_ <sup>_K_</sup> <sup>(</sup> <sup>_v, u_</sup> <sup>) log(1 +</sup> <sup>_e−ϵ_</sup> <sup>(</sup> <sup>_v_</sup> <sup>))</sup> The kernels _K_ <sup>ˆ</sup> <sup>_±_</sup> have support on the positive real axis and their action is given by _K_ ˆ <sup>_±_</sup> _F_ ( _u_ ) = - _∞_ 0 _<u>dv</u>_ - _K_ ( _u, v_ ) _± K_ ( _u, −v_ )� <u>1</u> (2.15) 2 _π_ 1 + _e_ <sup>_ϵ_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_F_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_._</sup> In the next sections we will derive the expression (2.13) by evaluating the partition function in the _R_ -channel, namely equation (2.3), in the limit when _L_ is large. In order to do that, we will insert a decomposition of the identity in a complete basis of eigenstates of the Hamiltonian _Hab_ ( _L_ ) and perform the thermal trace. ## 3 Partition function on a cylinder as a sum over wrapping particles 3.1 Asymptotic Bethe equations in presence of boundaries The _g_ -function (2.6) is extracted by taking the limit of large volume _L_ . In this limit, we can diagonalize the Hamiltonian _Hab_ ( _L_ ) using the technique of Bethe ansatz. Consider an _N_ -particle eigenstate _|_ u _⟩_ = _|u_ 1 _, u_ 2 _, ..., uN_ _⟩_ . To obtain the Bethe Ansatz equations in presence of two boundaries, we follow a particle of rapidity _uj_ as it propagates to a boundary and is reflected to the opposite direction. It continues to the other boundary, being reflected for a second time and finally comes back to its initial position, finishing a trajectory of length 2 _L_ . During its propagation, it scatters with the rest of the particles twice, once from the left and once from the right. This process translates into the quantisation condition of the state _|_ u _⟩_ _e_ <sup>2</sup> <sup>_ip_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_L_</sup> _Ra_ ( _uj_ ) _Rb_ ( _uj_ ) _N_ _k̸_ = _j_ _S_ ( _uj, uk_ ) _S_ ( _uj, −uk_ ) = 1 _,_ _∀j_ = 1 _, ..., N._ (3.1) We can write these equations in logarithmic form by introducing a new set of variables: the total scattering phases _φ_ 1 _, φ_ 2 _, ..., φn_ defined by _φj_ ( u ) _≡_ 2 _p_ ( _uj_ ) _L −_ _i_ log[ _RaRb_ ( _uj_ ) _N_ _k̸_ = _j_ _S_ ( _uj, uk_ ) _S_ ( _uj, −uk_ )] _,_ _∀j_ = 1 _, ..., N._ (3.2) In terms of these variables, the quantization of state _|_ u _⟩_ reads _φj_ ( u ) = 2 _πnj_ _∀j_ = 1 _, ..., N_ with _nj_ _∈_ Z _._ (3.3) The next step is to impose particle statistics and indistinguishability. In periodic systems, simply taking the mode numbers _nj_ to be all different automatically satisfies both principles. However in the presence of boundary two particles having the same mode numbers but of opposite signs are 6 indistinguishable. To avoid overcounting of states, we should put a positivity constraint on mode numbers. A basis in the _N_ -particle sector of the Hilbert space is then labeled by all sets of strictly increasing positive integers 0 _<_ _n_ 1 _<_ _· · ·_ _<_ _nN_ . The corresponding eigenvector of the Hamiltonian _Hab_ ( _L_ ) is characterised by a set of rapidities 0 _< u_ 1 _< · · · < uN_, obtained by solving the Bethe equations (3.2) and (3.3). Inserting a complete set of eigenstates we write the partition function on a cylinder as - _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,...,nN_</sup> <sup>)</sup> _._ (3.4) 0 _<n_ 1 _<...<nN_ _Zab_ ( _R, L_ ) = _∞_ _N_ =0 In this equation, the energy _E_ is a function of mode numbers _n_ 1 _, ..., nN_ . To find its explicit form, one needs to solve the Bethe equations for the corresponding rapidities _u_ 1 _, ..., uN_ . As a function of the rapidities, the energy is equal to the sum of the energies of the individual particles _E_ ( _u_ 1 _, ..., uN_ ) = _N_ _j_ =1 _E_ ( _uj_ ) _._ In order to write the sum (3.4) as an integral over rapidities, we first have to remove the constraint between the mode numbers. We do this by inserting Kronecker symbols to get rid of unwanted configurations 0 _≤n_ 1 _,...,nN_ _N_ _j<k_ _N_ (1 _−_ _δnj_ _,_ 0) _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,...,nN_</sup> <sup>)</sup> _._ (3.5) _j_ =1 _Zab_ ( _R, L_ ) = _∞_ _N_ =0 <u>1</u> _N_ ! (1 _−_ _δnj_ _,nk_ ) The first Kronecker symbol introduces the condition that the mode numbers are all different, and the second one eliminates the mode numbers equal to zero. Let us expand in monomials the first factor containing Kronecker symbols, which imposes the exclusion principle. The partition function (3.5) can be written as a sum over all sequences ( _n_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., n_</sup> _m_ <sup>_rm_</sup> <sup>)</sup> clusion principle. The partition function (3.5) can be written as a sum over all sequences ( _n_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., n_</sup> _m_ <sup>_rm_</sup> <sup>)</sup> of non-negative, but otherwise unrestricted mode numbers _ni_ with multiplicities _ri_ . Each sequence ( _n_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., nr_</sup> _m_ <sup>_m_</sup> <sup>)</sup> <sup>in</sup> <sup>the</sup> <sup>sum</sup> <sup>corresponds</sup> <sup>to</sup> <sup>a</sup> <sup>state</sup> <sup>with</sup> <sup>_rj_</sup> <sup>particles</sup> <sup>of</sup> <sup>the</sup> <sup>same</sup> <sup>mode</sup> <sup>number</sup> <sup>_nj_</sup> <sup>,</sup> <sup>for</sup> ( _n_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., nr_</sup> _m_ <sup>_m_</sup> <sup>)</sup> <sup>in</sup> <sup>the</sup> <sup>sum</sup> <sup>corresponds</sup> <sup>to</sup> <sup>a</sup> <sup>state</sup> <sup>with</sup> <sup>_rj_</sup> <sup>particles</sup> <sup>of</sup> <sup>the</sup> <sup>same</sup> <sup>mode</sup> <sup>number</sup> <sup>_nj_</sup> <sup>,</sup> <sup>for</sup> _j_ = 1 _,_ 2 _, ..., m_ . The total number of particles in such a sequence is _N_ = _r_ 1 + _· · ·_ + _rm_ . For instance, there are four sequences all correspond to unphysical state with three particles of the same mode number _n_ : ( _n_ <sup>3</sup> ) _,_ ( _n_ <sup>2</sup> _, n_ <sup>1</sup> ) _,_ ( _n_ <sup>1</sup> _, n_ <sup>2</sup> ) and ( _n_ <sup>1</sup> _, n_ <sup>1</sup> _, n_ <sup>1</sup> ). They come with the coefficients of 1 _/_ 3 _, −_ 1 _/_ 4 _, −_ 1 _/_ 4 and 1 _/_ 6 respectively. These coefficients sum up to zero, removing this unphysical state from the partition function. Only when _n_ 1 _, .., nm_ are pairwise different and when _r_ 1 _, ..., rm_ are equal to one we have a physicial state. The coefficients in the expansion are purely combinatorial and have been worked out in [9] 0 _≤n_ 1 _,...,nm_ _m_ _j_ =1 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_r_</sup> <sup>1+</sup> <sup>_...._</sup> <sup>+</sup> <sup>_rm_</sup> _r_ 1 _....rm_ _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_n_</sup> 1 <sup>_r_</sup> <sup>1</sup> <sup>_,...,nrm_</sup> _N_ <sup>)</sup> _._ 1 _≤r_ 1 _,...,rm_ _Zab_ ( _R, L_ ) = _∞_ _m_ =0 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_m_</sup> _m_ ! (1 _−_ _δnj_ _,_ 0) (3.6) The rapidities _u_ 1 _, . . ., um_ of a generalised Bethe states ( _n_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., n_</sup> _m_ <sup>_rm_</sup> <sup>) satisfy the Bethe equations</sup> _φj_ = 2 _πnj,_ _j_ = 1 _, . . ., m,_ (3.7) where the scattering phases _φj_ = _φj_ ( _u_ 1 _, . . ., um_ ) are defined by _e_ <sup>_iφj_</sup> _≡_ _e_ <sup>2</sup> <sup>_ip_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_L_</sup> _× Ra_ ( _uj_ ) _Rb_ ( _uj_ ) _×_ ( _e_ <sup>_iπ_</sup> _S_ ( _uj, −uj_ )) <sup>_rj_</sup> <sup>_−_</sup> <sup>1</sup> _×_ 7 _m_ _k̸_ = _j_ ( _S_ ( _uj, uk_ ) _S_ ( _uj, −uk_ )) <sup>_rk_</sup> _._ (3.8) 3.2 From mode numbers to rapidities In the large _L_ limit, we can replace a discrete sum over mode numbers _n_ by a continuum integral over variables _φ_ _<u>dφ</u>_ <u>1</u> - _∞_ 2 _π_ <sup>_..._</sup> 0 0 _<u>dφm</u>_ 2 _π_ <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_e−L_</sup> <sup>)</sup> <sup>_._</sup> = 0 _≤n_ 1 _,,,,nm_ - _∞_ 0 _<u>dφ</u>_ <u>1</u> We can then use equation (3.8) to pass from ( _φ_ 1 _, ..., φm_ ) to rapidity variables ( _u_ 1 _, ..., um_ ). The only subtle point compared with the periodic case is the factor excluding the mode numbers _nj_ = 0 from the sum (3.6) 0 _<u>dφm</u>_ 2 _π_ _m_ (1 _−_ 2 _πδ_ ( _φj_ )) + _O_ ( _e_ <sup>_−L_</sup> ) _._ (3.9) _j_ =1 0 _≤n_ 1 _,...,nm_ _m_ _j_ =1 (1 _−_ _δnj_ _,_ 0) = - _∞_ 0 _<u>dφ</u>_ <u>1</u> _<u>dφ</u>_ <u>1</u> - _∞_ 2 _π_ <sup>_..._</sup> 0 We would like to incorporate this factor into the Jacobian matrix _∂uφ_ . We can do this by first expanding the product as a sum over subsets _α ⊂{_ 1 _,_ 2 _, ..., m}_, - _∞_ 0 _<u>dφ</u>_ <u>1</u> - _∞_ 2 _π_ <sup>_..._</sup> 0 0 _<u>dφm</u>_ 2 _π_ - _<u>∂φ</u>_ _∂u_ _α,α_ _<u>dφ</u>_ <u>1</u> _α_ ( _−_ 2 _π_ ) <sup>_|α|_</sup> _δ_ ( _φα_ ) = = _α_ _m_ _j_ =1 _m_ _j_ =1 - _∞_ 0 _<u>duj</u>_ 2 _π_ - _∞_ 0 _<u>duj</u>_ - _<u>∂φ</u>_ 2 _π_ <sup>det</sup> _∂u_ <sup>_−_</sup> <sup>2</sup> <sup>_πδ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> ( _−_ 2 _π_ ) <sup>_|α|_</sup> _δ_ ( _uα_ ) _<u>duj</u>_ _._ Here [ _∂φ/∂u_ ] _α,α_ denotes the diagonal minor of the Jacobian matrix obtained by deleting its _α_ -rows and _α_ -columns. The sum over subsets is the the expansion of the determinant of a sum of two matrices. Hence the unphysical state at _u_ = 0 can be eliminated by adding a term _−_ 2 _πδ_ ( _u_ ) to the diagonal elements of the Jacobian matrix when we change variables from _φ_ to _u_, _Gjk_ ( _u_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., u_</sup> _m_ <sup>_rm_</sup> <sup>)</sup> <sup>_≡_</sup> <sup>_∂u_</sup> _k_ <sup>_φj_</sup> <sup>_−_</sup> <sup>2</sup> <sup>_πδ_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_δjk_</sup> _rl_ ( _K_ ( _uj, ul_ ) + _K_ ( _uj, −ul_ ))� _δjk_ - _δjk_ = - _Dab_ ( _uj_ ) + 2 _rjK_ ( _uj, −uj_ ) + _m_ _l̸_ = _j_ where _−_ _rk_ [ _K_ ( _uk, uj_ ) _−_ _K_ ( _uk, −uj_ )] (1 _−_ _δjk_ ) _,_ _∀j, k_ = 1 _,_ 2 _, ..., m,_ (3.10) _Dab_ ( _u_ ) _≡_ 2 _Lp_ <sup>_′_</sup> ( _u_ ) + Θ _a_ ( _u_ ) + Θ _b_ ( _u_ ) _._ (3.11) with Θ _a_, Θ _b_ defined in (2.12). In order to apply the matrix-tree theorem, we consider the following matrix _G_ ˆ _jk_ _≡_ _rkGkj_ = _j_ <sup>2</sup> <sup>_K_</sup> <sup>¯</sup> <sup>_jj_</sup> <sup>+</sup> _rjrl_ ( _Kjl_ + _K_ <sup>¯</sup> _jl_ )� _δjk_ _rjrl_ ( _Kjl_ + _K_ <sup>¯</sup> _jl_ )� - _rjDab_ ( _uj, rj_ ) + 2 _rj_ <sup>2</sup> _m_ _l̸_ = _j_ _−_ _rjrk_ ( _Kjk −_ _K_ <sup>¯</sup> _jk_ ) (1 _−_ _δjk_ ) _,_ _∀j, k_ = 1 _,_ 2 _, ..., m,_ (3.12) where we have used the notation _Kjk_ = _K_ ( _uj, uk_ ) _,_ _K_ ¯ _jk_ = _K_ ( _uj, −uk_ ) = _K_ ( _−uj, uk_ ) _._ (3.13) In terms of this matrix, the partition function is written as _j_ 1 _≤r_ 1 _,...,rm_ _rj_ <sup>2</sup> _m_ _j_ =1 - _∞_ 0 _<u>duj</u>_ <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_rj_</sup> 2 _π_ _rj_ <sup>2</sup> _<u>duj</u>_ _Zab_ ( _R, L_ ) = _∞_ _m_ =0 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_m_</sup> _m_ ! _e_ <sup>_−rj_</sup> <sup>_RE_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> det _G_ <sup>ˆ</sup> ( _u_ <sup>_r_</sup> 1 <sup>1</sup> <sup>_, ..., u_</sup> _m_ <sup>_rm_</sup> <sup>)</sup> <sup>_._</sup> (3.14) _e_ <sup>_−rj_</sup> <sup>_RE_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> det _G_ <sup>ˆ</sup> ( _u_ <sup>_r_</sup> 1 <sup>1</sup> 8 Figure 2: A tree with _K_ <sup>+</sup> edges. (a) _K_ <sup>+</sup> loops (b) _K_ <sup>_−_</sup> loops Figure 3: Examples of loops with out-growing trees. _K_ <sup>_−_</sup> propagators are drawn as dashed ~~lines.~~ They appear only in a loop and such loop comes with a factor of _−_ 1. Tadpoles are loops of length 1. ## 4 Partition function as a sum over graphs 4.1 Matrix-tree theorem ~~T~~ he ~~matrix-tre~~ e theorem for signed graphs [8] allows us to write the determinant of the matrix (3.12) as a sum over graphs. This theorem as stated in [8] is quite technical and we provide a brief formulation in ~~th~~ e fo ~~llowing~~ together with two proofs, one combinatorial and one field-theoretical in the appendices. First, let us define _Kjk_ <sup>_±_</sup> <sup>=</sup> <sup>_Kjk ±_</sup> <sup>_K_</sup> <sup>¯</sup> <sup>_jk._</sup> (4.1) Then the Gaudin-like matrix (3.12) takes the form ( _j, k_ = 1 _,_ 2 _, ..., m_ ) _G_ ˆ _jk_ = _j_ <sup>2(</sup> <sup>_K_</sup> _jj_ <sup>+</sup> _jj_ <sup>_−_</sup> <sup>) +</sup> - _δjk −_ _rjrk Kjk_ <sup>_−_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_δjk_</sup> <sup>)</sup> <sup>_._</sup> (4.2) - _rjDab_ ( _uj_ ) + _rj_ <sup>2</sup> _jj_ <sup>+</sup> <sup>_−_</sup> <sup>_K_</sup> _jj_ <sup>_−_</sup> _m_ _l̸_ = _j_ _rjrl Kjl_ <sup>+</sup> The determinant of this matrix can be written as a sum over all (not necessarily connected) graphs _F_ having exactly _m_ vertices labeled by _vj_ with _j_ = 1 _, ..., m_ and two types of edges, positive and negative, which we denote by _ℓ_ <sup>_±_</sup> _jk_ <sup>_≡⟨vj_</sup> <sup>_→_</sup> <sup>_vk⟩±_</sup> <sup>.</sup> <sup>The connected component of each graph is either:</sup> _•_ A rooted directed tree with only positive edges _ℓ_ <sup>+</sup> _kl_ <sup>=</sup> <sup>_⟨vk_</sup> <sup>_→_</sup> <sup>_vl⟩_</sup> <sup>+</sup> <sup>oriented</sup> <sup>so</sup> <sup>that</sup> <sup>the</sup> <sup>edge</sup> points to the vertex which is farther from the root, as shown in fig. 2. The weight of such a tree is a product of a factor _rjDab_ ( _uj_ ) associated with the root _vj_ and factors _rlrkKlk_ <sup>+</sup> <sup>associated</sup> is a product of a factor _rjDab_ ( _uj_ ) associated with the root _vj_ and factors _rlrkKlk_ <sup>+</sup> <sup>associated</sup> with its edges _ℓ_ <sup>+</sup> _kl_ <sup>.</sup> <sup>+</sup> _kl_ <sup>.</sup> _•_ A positive (fig. 3a) or a negative (fig. 3b) oriented cycle with outgrowing trees. A positive/negatice loop is an oriented cycle (including tadpoles which are cycles of length 1) entirely made of positive/negative edges having the same orientation. The outgrowing trees consist of positive edges only. The weight of a loop with outgrowing trees is the product of the weights of its edges, with the weight of an edge _ℓ_ <sup>_±_</sup> _kl_ <sup>given by</sup> <sup>_rlrkK_</sup> _lk_ <sup>_±_</sup> <sup>.</sup> <sup>In addition, a negative loop carries</sup> <sup>_±_</sup> _kl_ <sup>given by</sup> <sup>_rlrkK_</sup> _lk_ <sup>_±_</sup> its edges, with the weight of an edge _ℓ_ <sup>_±_</sup> _kl_ <sup>given by</sup> <sup>_rlrkK_</sup> _lk_ <sup>_±_</sup> <sup>.</sup> <sup>In addition, a negative loop carries</sup> an extra minus sign. This is why we will call the positive loops bosonic and the negative loops fermionic. 9 Summarising, we write the determinant of the matrix (4.2) as det _G_ <sup>ˆ</sup> _jk_ = _F_ _W_ [ _F_ ] _,_ _W_ [ _F_ ] = ( _−_ 1) <sup>#negative loops</sup> _vj_ _∈_ roots _ℓ_ <sup>_±_</sup> _kl_ <sup>_∈_</sup> <sup>edges</sup> (4.3) _rlrkK_ <sup>_±_</sup> ( _ul, uk_ ) _,_ _rjDab_ ( _uj_ ) with _K_ <sup>_±_</sup> ( _u, v_ ) = _K_ ( _u, v_ ) _±_ _K_ ( _u, −v_ ). Equation (4.3) allows us to express the Jacobian for the integration measure as a sum over graphs whose weights depend only on the “coordinates” _{uj, rj}_ of its vertices. For a periodic system _K_ <sup>+</sup> = _K_ <sup>_−_</sup> and the two families of loops cancel each other, leaving only trees in the expansion of the Gaudin matrix [9]. 4.2 Graph expansion of the partition function Applying the matrix-tree theorem for each term in the series (3.14), we obtain a graph expansion for the partition function _j_ 1 _≤r_ 1 _,...,rm_ _rj_ <sup>2</sup> _m_ _j_ =1 - _∞_ 0 _<u>duj</u>_ <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_rj_</sup> 2 _π_ _rj_ <sup>2</sup> _<u>duj</u>_ _Zab_ ( _R, L_ ) = _∞_ _m_ =0 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_m_</sup> _m_ ! _e_ <sup>_−rj_</sup> <sup>_RE_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>) �</sup> _F_ _W_ [ _F_ ] _,_ (4.4) where the last sum runs over all graphs _F_ with _m_ vertices as constructed above. The next step is to invert the order of the sum over graphs and the integral/sum over the coordinates _{uj, rj}_ assigned to the vertices. As a result we obtain a sum over the ensemble of abstract oriented tree/loop graphs, with their symmetry factors, embedded in the space R <sup>+</sup> _×_ N where the coordinates _u, r_ of the vertices take values. The embedding is free, in the sense that the sum over the positions of the vertices is taken without restriction. As a result, the sum over the embedded graphs is the exponential of the sum over connected ones. One can think of these graphs as Feynman diagrams obtained by applying the Feynman rules in Fig. 4.6. The Feynman rules comprise there kinds of vertices: "root" vertices with only outgoing bosons, "bosonic" vertices with one incoming boson and an arbitrary number of outgoing bosons, "fermionic" vertices with one incoming and one outgoing fermion, together with an arbitrary number of outgoing bosons. The connected diagrams built from these vertices are either trees (figure 2) or bosonic loops (fig. 3a) or fermionic loops (fig. 3b). The free energy is a sum over these graphs, _<u>du</u>_ 2 _π_ <sup>_Dab_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _r≥_ 1 _n≥_ 1 _Cn_ <sup>_±._</sup> (4.5) log _Zab_ ( _R, L_ ) = - _∞_ 0 _rYr_ ( _u_ ) + In this expression, _Yr_ ( _u_ ) denotes the sum of over all trees rooted at the point ( _u, r_ ) and _Cn_ <sup>_±_</sup> <sup>is the sum</sup> over the Feynman graphs having a bosonic/fermionic loop of length _n_ . We have defined _Yr_ ( _u_ ) in such a way that the all vertices with _r_ outgoing lines, including the root, have the same weight. 10 = _rDab_ ( _u_ ) <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _~~e~~_ <sup>_<u>−rRE</u>_</sup> <sup><u>(</u></sup> <sup>_<u>u</u>_</sup> <sup><u>)</u></sup> _r_ <sup>2</sup> <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_r−_</sup> <sup>1</sup> = _e_ <sup>_−rRE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _r_ <sup>2</sup> ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) = = _r_ 1 _r_ 2 _K_ <sup>+</sup> ( _u_ 2 _, u_ 1) ( _u_ 1, _r_ 1) <u>(</u> _u_ 2, _r_ 2) ( _u_ 1, _r_ 1) <u>(</u> _u_ 2, _r_ 2) = _r_ 1 _r_ 2 _K_ <sup>_−_</sup> ( _u_ 2 _, u_ 1) = _−_ 1 Figure 4: The Feynman rules for the partition function. The vertex labeled by ( _u, r_ ) has _r_ outgoing lines. ## 5 Summing up the connected graphs: the exact g -function 5.1 The tree contribution In this section, we analyze the part of free energy (4.5) that comes from the tree-diagrams _<u>du</u>_ 2 _π_ <sup>_Dab_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _r≥_ 1 log _Zab_ ( _R, L_ ) <sup>trees</sup> = - + _∞_ 0 _rYr_ ( _u_ ) _,_ (5.1) _≡_ _u,r_ _._ (5.2) where _Yr_ ( _u_ ) = Being the generating function for directed trees rooted at ( _u, r_ ), _Yr_ ( _u_ ) obeys a simple equation ( _u,r_ ) - _∞_ <u>1</u> _n_ ! _s_ =1 - _n_ _<u>dv</u>_ 2 _π_ <sup>_srK_</sup> <sup>+(</sup> <sup>_v, u_</sup> <sup>)</sup> <sup>_Ys_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> _Yr_ ( _u_ ) = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _e_ <sup>_−rRE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _r_ <sup>2</sup> _∞_ _n_ =0 - + _∞_ 0 - _r_ _<u>dv</u>_ 2 _π_ <sup>_K_</sup> <sup>+(</sup> <sup>_v, u_</sup> <sup>)</sup> <sup>_sYs_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> _,_ (5.3) = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _r_ <sup>2</sup> _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> exp _∞_ _s_ =0 - + _∞_ 0 This equation can be understood diagramatically as in figure 5. In particular, we have for _r_ = 1 _Y_ 1( _u_ ) = _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> exp _∞_ - + _∞_ 0 _s_ =0 11 _<u>dv</u>_ 2 _π_ <sup>_K_</sup> <sup>+(</sup> <sup>_v, u_</sup> <sup>)</sup> <sup>_sYs_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_._</sup> (5.4) <u>1</u> <u>1</u> = ( _u_, _r_ ) + ( _u_, _r_ ) + ~~2!~~ ( _u_, _r_ ) + ~~3!~~ ( _u_, _r_ ) + … Figure 5: The combinatorial structure of trees with a fixed root. By replacing (5.4) into (5.3), we can express _Yr_ in terms of _Y_ 1 for arbitrary _r_ _≥_ 1 _Yr_ ( _u_ ) = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _Y_ 1( _u_ ) <sup>_r_</sup> _._ (5.5) _r_ <sup>2</sup> This allows us to rewrite (5.4) as a closed equation for _Y_ 1 _u,r_ _Y_ 1( _u_ ) = _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> exp - + _∞_ 0 _<u>dv</u>_ 2 _π_ <sup>_K_</sup> <sup>+(</sup> <sup>_v, u_</sup> <sup>) log[1 +</sup> <sup>_Y_</sup> <sup>1(</sup> <sup>_v_</sup> <sup>)]</sup> <sup>_._</sup> This integral can be extended to the real axis by using the parity of the kernel _K_ <sup>+</sup> ( _v, u_ ) = _K_ ( _v, u_ ) + _K_ ( _−v, u_ ) and by defining _Y_ 1( _−u_ ) = _Y_ 1( _u_ ) - + _∞_ _Y_ 1( _u_ ) = _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> exp _−∞_ _<u>dv</u>_ 2 _π_ <sup>_K_</sup> <sup>(</sup> <sup>_v, u_</sup> <sup>) log[1 +</sup> <sup>_Y_</sup> <sup>1(</sup> <sup>_v_</sup> <sup>)]</sup> <sup>_,_</sup> This is nothing but the TBA equation for a periodic system at inverse temperature _R_ . In particular, the periodic partition function can be written in terms of _Y_ 1 log _Z_ ( _R, L_ ) = _L_ - + _∞_ _−∞_ _<u>du</u>_ (5.6) 2 _π_ <sup>_p′_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log[1 +</sup> <sup>_Y_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)]</sup> <sup>_._</sup> Similarly, we can also extend the domain of integration in (5.2) to the real axis, using the parity of _Dab_ ( _u, r_ ) and _Y_ 1. By subtracting the periodic free energy (5.6) from the tree part of the free energy (5.2), we obtain the tree contribution to _g_ -function _Fab_ ( _R_ ) <sup>trees</sup> = <sup><u>1</u></sup> 2 - + _∞_ _−∞_ _<u>du</u>_ 2 _π_ <sup>[Θ</sup> <sup>_a_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) + Θ</sup> <sup>_b_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)] log[1 +</sup> <sup>_Y_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)]</sup> <sup>_._</sup> (5.7) 5.2 Loop contribution Now we turn to the sum over loops and show that they fill the missing part [5] of the _g_ -function (2.13). Let us define _Fab_ ( _R, L_ ) <sup>loops</sup> = _n≥_ 1 _Cn_ <sup>_±._</sup> (5.8) For each _n_ _≥_ 1, _Cn_ <sup>_±_</sup> <sup>is the partition sum of</sup> <sup>_K±_</sup> <sup>loops of length</sup> <sup>_n_</sup> <sup>with the trees growing out of these</sup> loops which can be summed separately _<u>dun</u>_ 2 _π_ <sup>_Yr_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>1)</sup> <sup>_....Yrn_</sup> <sup>(</sup> <sup>_un_</sup> <sup>)</sup> <sup>_r_</sup> <sup>2</sup> <sup>_r_</sup> <sup>1</sup> <sup>_K±_</sup> <sup>(</sup> <sup>_u_</sup> <sup>2</sup> <sup>_, u_</sup> <sup>1)</sup> <sup>_....r_</sup> <sup>1</sup> <sup>_rnK±_</sup> <sup>(</sup> <sup>_u_</sup> <sup>1</sup> <sup>_, un_</sup> <sup>)</sup> <sup>_._</sup> 12 _n_ <sup>_±_</sup> <sup>=</sup> <sup>_<u>±</u>_</sup> <sup><u>1</u></sup> 1 _≤r_ 1 _,...,rn_ _∞_ 0 _∞_ 0 _<u>du</u>_ <u>1</u> 2 _π_ <sup>_..._</sup> _Cn_ <sup>_±_</sup> _n_ _Yr_ 1 _Yr_ 2 Figure 6: A _K_ <sup>_−_</sup> loop connecting _n_ points ( _uj, rj_ ). Trees growing out of a vertex ( _uj, rj_ ) sum up to the corresponding _Yr_ ( _u_ ) function. The factor _rj−_ 1 _rj_ of the propagator from ( _uj−_ 1 _, rj−_ 1) to ( _uj, rj_ ) can be pulled into the adjacent trees. Taking the sum over all _rj_ results in the Fermi-Dirac factor _Y_ 1( _uj_ ) _/_ (1+ _Y_ 1( _uj_ )) at each vertex _j_ . In this expression, the sign comes from fermion loop and 1 _/n_ is the usual loop symmetry factor. We can use the relation (5.5) to carry out the sum over _r_ - _r_ <sup>2</sup> _Yr_ ( _<u>u</u>_ <u>) =</u> 1 + _<u>Y</u>_ <u>1</u> _Y_ <u>(</u> _<u>u</u>_ 1() _u_ ) <sup>_._</sup> _r≥_ 1 It follows that _n_ <sup>_±_</sup> <sup>=</sup> <sup>_<u>±</u>_</sup> <sup><u>1</u></sup> _n_ _Cn_ <sup>_±_</sup> <sup><u>1</u></sup> (5.9) _n_ <sup>tr( ˆ</sup> <sup>_K±_</sup> <sup>)</sup> <sup>_n._</sup> where the kernels _K_ <sup>ˆ</sup> <sup>_±_</sup> are defined in (2.15). The loop contribution is therefore given by _Fab_ ( _R_ ) <sup>loops</sup> = log det <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>K</u>_</sup> <sup>ˆ</sup> <sup>_−_</sup> (5.10) 1 _−_ _K_ <sup>ˆ</sup> <sup>+</sup> <sup>_._</sup> The _g_ -function is obtained by combining (5.7) and (5.10) and set _a_ = _b_ log _ga_ ( _R_ ) = <sup><u>1</u></sup> _aa_ <sup>trees(</sup> <sup>_R_</sup> <sup>) +</sup> <sup>_F_</sup> _aa_ <sup>loops</sup> _aa_ <sup>loops</sup> ( _R_ ) <sup><u>1</u></sup> - _Faa_ <sup>trees</sup> 2 _<u>du</u>_ (5.11) 2 _π_ <sup>Θ</sup> <sup>_a_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log[1 +</sup> <sup>_Y_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)] +</sup> <sup><u>1</u></sup> 2 <sup>log det 1</sup> 1 <sup>_<u>−</u>_</sup> _−_ <sup>_<u>K</u>_</sup> _K_ <sup>ˆˆ</sup> <sup>_−_</sup> <sup>+</sup> <sup>_._</sup> = <sup><u>1</u></sup> 2 - + _∞_ _−∞_ 5.3 Excited state g-function In this section, we derive the excited state g-function. This quantity can be regarded as the normalized overlap between the boundary state and an excited bulk eigenstate _ga_ <sup>_ψ_</sup> <sup>=</sup> ~~<u>�</u>~~ <sup>_<u>⟨B</u>_</sup> _⟨_ <sup>_<u>a</u>_</sup> _ψ_ <sup>_<u>|</u>_</sup> _|_ <sup>_<u>ψ</u>_</sup> _ψ_ <sup>_<u>⟩</u>_</sup> _⟩_ _._ (5.12) By setting _|ψ⟩_ to the ground state _|ψ_ 0 _⟩_, we recover the definition (2.10) of the g-function. We restrict our computation to the case where _|ψ⟩_ is of the form _| ± w_ 1 _, ±w_ 2 _, ..., ±wN_ _⟩_ . We also assume for simplicity that the scattering matrix is a function of the difference of rapidities (relativistic invariance). 13 First, let us briefly summarize the excited state TBA equations for a periodic system, following [9]. We consider a torus with one large dimension _L_ (physical volume) and a finite dimension _R_ (mirror volume). A mirror state _|ϑ⟩_ = _|v_ 1 _, ..., vN_ _⟩_ propagates along the _L_ direction. Note that the mirrorphysics convention is in reverse order compared to [9]. The Boltzmann weight of a physical particle is dressed by the interaction with these mirror particles _Yϑ_ <sup>_◦_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) =</sup> <sup>_e−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _Yϑ_ <sup>_◦_</sup> _N_ _j_ =1 _S_ ( _u −_ _vj_ + _iπ/_ 2) _,_ (5.13) To compute the energy of the mirror state _|ϑ⟩_, we have to add to the free energy the contribution from the mirror particles that go directly to the opposite edge without scattering _E_ ( _ϑ_ ) = _−_ <sup><u>1</u></sup> _L_ <sup>log</sup> <sup>_Z_</sup> <sup>(</sup> <sup>_R, L, ϑ_</sup> <sup>) =</sup> _N_ - _E_ ( _vj_ ) _−_ _j_ =1 - + _∞_ _−∞_ _<u>du</u>_ (5.14) 2 _π_ <sup>_p′_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log(1 +</sup> <sup>_Yϑ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>))</sup> <sup>_,_</sup> where _Yϑ_ solves for the excited state TBA equation _Yϑ_ ( _u_ ) = _Yϑ_ <sup>_◦_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) exp</sup> - <sup>�</sup> <sup>+</sup> <sup>_∞_</sup> _−∞_ _<u>dw</u>_ 2 _π_ <sup>_K_</sup> <sup>(</sup> <sup>_w, u_</sup> <sup>) log(1 +</sup> <sup>_Yϑ_</sup> <sup>(</sup> <sup>_w_</sup> <sup>))</sup> - _._ (5.15) The on-shell condition for the state _|ϑ⟩_ is obtained by transforming a mirror particle of rapidity _vj_ to a physical particle of rapidity _vj_ _−_ _iπ/_ 2. The relative factor between the two ways of computing the partition function is _−Y_ ( _vj_ _−_ _iπ/_ 2). This leads to the finite volume Bethe equations _Y_ ( _vj_ _−_ _iπ/_ 2) = _−_ 1 _,_ _j_ = 1 _,_ 2 _, ..., N._ (5.16) Now let us return to the excited state g-function (5.12). We repeat the same exercise for a long cylinder of length _L_ and radius _R_ with two boundaries _a_ and _b_ together with a state _|ψ⟩_ = _|_ _±_ _w_ 1 _, ±w_ 2 _, ..., ±wN_ _⟩_ propagating in the _L_ direction. We denote the partition function in this case by _Zab_ ( _R, L, ψ_ ). The idea is, if we can identify the excited energy (5.14) with the extensive part of the partition function _Zab_ ( _R, L, ψ_ ) when _|ψ⟩≡|ϑ⟩_, then the rest (intensive part) gives us the excited g-function corresponding to _|ψ⟩_ _a_ <sup>_ψg_</sup> _b_ <sup>_ψ_</sup> (5.17) <sup>_<u>ab</u>_</sup> <sup><u>(</u></sup> <sup>_<u>R, L, ψ</u>_</sup> <sup><u>)</u></sup> _Z_ ( _R, L, ψ_ ) <sup>_._</sup> _ga_ <sup>_ψ_</sup> _b_ <sup>_ψ_</sup> <sup>=</sup> <sup>_<u>Zab</u>_</sup> <sup><u>(</u></sup> <sup>_<u>R, L, ψ</u>_</sup> <sup><u>)</u></sup> _Z_ ( _R, L, ψ_ ) To compute _Zab_ ( _R, L, ψ_ ) we perform the sum over eigenstates of the physical Hamiltonian with boundary _Hab_ . The procedure is similar to that of ground-state g-function: we obtain a sum over trees and loops. The only difference is the Feynman rule for the vertices _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _→_ _e_ <sup>_−RE_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _N_ _j_ =1 _S_ ( _u −_ _wj_ + _iπ/_ 2) _S_ ( _u_ + _wj_ + _iπ/_ 2) _≡_ _Y_ <sup>˜</sup> _ψ_ <sup>_◦_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> (5.18) _S_ ( _u −_ _wj_ + _iπ/_ 2) _S_ ( _u_ + _wj_ + _iπ/_ 2) _≡_ _Y_ <sup>˜</sup> _ψ_ <sup>_◦_</sup> In particular, the extensive part of the partition function _Zab_ ( _R, L, ψ_ ) is given by _N_ log _Zab_ ( _R, L, ψ_ ) <sup>extensive</sup> = _−L_ _j_ =1 _E_ ( _±wj_ ) + 2 _L_ 14 - _∞_ 0 _<u>du</u>_ (5.19) 2 _π_ <sup>_p′_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log(1 +</sup> <sup>_Y_</sup> <sup>˜</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>))</sup> where _Y_ <sup>˜</sup> _ψ_ ( _u_ ) being the sum of trees rooted at vertex _u_ now satisfies the equation _Y_ ˜ _ψ_ ( _u_ ) = _Y_ ˜ _ψ_ <sup>_◦_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) exp</sup> - <sup>�</sup> <sup>+</sup> <sup>_∞_</sup> 0 _<u>dw</u>_ 2 _π_ <sup>_K_</sup> <sup>+(</sup> <sup>_w, u_</sup> <sup>) log(1 +</sup> <sup>_Y_</sup> <sup>˜</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_w_</sup> <sup>))</sup> - _._ (5.20) As a consequence of the crossing symmetry _S_ ( _u_ ) = _S_ ( _iπ −_ _u_ ) we have the identity _S_ ( _u −_ _wj_ + _iπ/_ 2) _S_ ( _u_ + _wj_ + _iπ/_ 2) = _S_ ( _−u −_ _wj_ + _iπ/_ 2) _S_ ( _−u_ + _wj_ + _iπ/_ 2) (5.21) which means that the function _Y_ <sup>˜</sup> _ψ_ <sup>_◦_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>is</sup> <sup>an</sup> <sup>even</sup> <sup>function</sup> <sup>of</sup> <sup>_u_</sup> <sup>.</sup> <sup>Therefore</sup> <sup>we</sup> <sup>can</sup> <sup>extend</sup> <sup>_Y_</sup> <sup>˜</sup> <sup>_ψ_</sup> <sup>to</sup> <sup>the</sup> real axis and identify _Y_ <sup>˜</sup> _ψ_ with _Yϑ_ when _|ψ⟩_ = _|ϑ⟩_ . Again we have _Y_ <sup>˜</sup> _ψ_ ( _wj_ ) = _Y_ <sup>˜</sup> _ψ_ ( _−wj_ ) = _−_ 1. We conclude that 2 _<u>duπ</u>_ <sup>[Θ</sup> <sup>_a_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) + Θ</sup> <sup>_b_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)] log(1 +</sup> <sup>_Y_</sup> <sup>˜</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)) + log det</sup> 1 +1 _−_ _KK_ <sup>ˆˆ</sup> _ψψ_ <sup>+</sup> <sup>_−_</sup> _a_ <sup>_ψg_</sup> _b_ <sup>_ψ_</sup> log( _ga_ <sup>_ψ_</sup> _b_ <sup>_ψ_</sup> <sup>)(</sup> <sup>_R_</sup> <sup>) =</sup> - _∞_ 0 _,_ (5.22) where the Fermi-Dirac factor in the kernel _K_ <sup>ˆ</sup> _ψ_ <sup>_±_</sup> <sup>is now given by</sup> <sup>_Y_</sup> <sup>˜</sup> <sup>_ψ/_</sup> <sup>(1 +</sup> <sup>_Y_</sup> <sup>˜</sup> <sup>_ψ_</sup> <sup>), c.f.</sup> <sup>eq.</sup> <sup>(2.15).</sup> Our method produces correctly equations (5.15), (5.16), (5.20) that determine the excited states in both periodic and open case. However in the periodic case our intuitive picture misses a contribution - _E_ ( _vj_ ) to the excited state energy. Similarly, we believe that the structure of the excited state gfunction given in (5.22) is correct up to a simple additional contribution. By comparison with the asymptotic g-function derived in [14], this term appears to be the mirror-continued reflection factor. We leave this problem to future investigations. ## 6 More than one type of particle In this section we generalize our method to theories with multiple species of particle interacting via diagonal bulk scattering and diagonal reflection matrices. This generalization also provides insight on g-function of non-diagonal theories solved by Nested Bethe Ansatz. We present a regularization scheme for these theories and we consider an explicit example in another work [13]. For simplicity we consider a theory with two species. The bulk scattering matrices and the reflection matrices are denoted by _Spq_ and _Rpa, Rpb_ for _p, q_ _∈{_ 1 _,_ 2 _}_ . They are assumed to satisfy the following properties _Spp_ ( _u, u_ ) = _−_ 1 _,_ _Spq_ ( _u, v_ ) _Sqp_ ( _v, u_ ) = _Rpa_ ( _u_ ) _Rpa_ ( _−u_ ) = _Rpb_ ( _u_ ) _Rpb_ ( _−u_ ) = 1 _,_ (6.1) _Spq_ ( _u, −v_ ) _Sqp_ ( _−u, v_ ) = 1 _._ The last property is only needed for system with boundaries. 6.1 Periodic systems An ( _N_ 1 + _N_ 2)-particle state is characterized by a set of rapidities _|u_ 11 _, ..., u_ 1 _N_ 1 _, u_ 21 _, ..., u_ 2 _N_ 2 _⟩_ . Particles of the same type must have different rapidities: _u_ 1 _j̸_ = _u_ 1 _k_, _u_ 2 _j̸_ = _u_ 2 _k_ . The Bethe equations for such state read _N_ 2 - _−i_ log _S_ 12( _u_ 1 _j, u_ 2 _k_ ) = _φ_ 1 _j_ = 2 _πn_ 1 _j,_ _k_ =1 _N_ 2 - _−i_ log _S_ 22( _u_ 2 _j, u_ 2 _k_ ) = _φ_ 2 _j_ = 2 _πn_ 2 _j._ _k̸_ = _j_ 15 _p_ 1( _u_ 1 _j_ ) _L_ + _p_ 2( _u_ 2 _j_ ) _L_ + _N_ 1 _k̸_ = _j_ _N_ 1 _k_ =1 _−i_ log _S_ 11( _u_ 1 _j, u_ 1 _k_ ) + _−i_ log _S_ 21( _u_ 2 _j, u_ 1 _k_ ) + (6.2) The partition function can be written as a sum runs over two sets of mode numbers n 1 = _n_ 11 _, ..., n_ 1 _m_ 1 and n 2 = _n_ 21 _, ..., n_ 2 _m_ 2 along with two sets of multiplicities (wrapping numbers) r 1 = _r_ 11 _, ..., r_ 1 _m_ 1 and r 2 = _r_ 21 _, ..., r_ 2 _m_ 2 _mp_ _j_ =1 0 _≤_ n 1 _,_ n 2 1 _≤_ r 1 _,_ r 2 2 _p_ =1 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_rpj_</sup> _rpj_ _Zab_ ( _R, L_ ) = _∞_ _m_ 1=0 _m_ 2=0 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_m_</sup> <sup>1+</sup> <sup>_m_</sup> <sup>2</sup> _m_ 1! _m_ 2! _e_ <sup>_−RE_</sup> <sup>((</sup> <sup>n</sup> <sup>1</sup> <sup>_,_</sup> <sup>r</sup> <sup>1)</sup> <sup>_,_</sup> <sup>(</sup> <sup>n</sup> <sup>2</sup> <sup>_,_</sup> <sup>r</sup> <sup>2))</sup> _._ (6.3) The mode numbers (( n 1 _,_ r 1) _,_ ( n 2 _,_ r 2)) are related to the rapidities (( u 1 _,_ r 1) _,_ ( u 2 _,_ r 2)) through Bethe equations with multiplicities _m_ 2 _k_ =1 _m_ 2 _k̸_ = _j_ _−ir_ 2 _k_ log _S_ 12( _u_ 1 _j, u_ 2 _k_ ) = _φ_ 1 _j_ = 2 _πn_ 1 _j,_ _−ir_ 2 _k_ log _S_ 22( _u_ 2 _j, u_ 2 _k_ ) = _φ_ 2 _j_ = 2 _πn_ 2 _j._ _p_ 1( _u_ 1 _j_ ) _L_ + _p_ 2( _u_ 2 _j_ ) _L_ + _m_ 1 _k̸_ = _j_ _m_ 1 _k_ =1 _−ir_ 1 _k_ log _S_ 11( _u_ 1 _j, u_ 1 _k_ ) + _−ir_ 1 _k_ log _S_ 21( _u_ 2 _j, u_ 1 _k_ ) + The Gaudin matrix has a 2 _×_ 2 block structure _G_ ˆ = - _t_ - r 1 _∂u_ 1 _φ_ 1 r 1 _∂u_ 2 _φ_ 1 = r 2 _∂u_ 1 _φ_ 2 r 2 _∂u_ 2 _φ_ 2 - _A_ ˆ _B_ ˆ� (6.4) _C_ ˆ _D_ ˆ The explicit expressions of each block are _m_ 2 _l_ =1 _r_ 1 _jr_ 2 _lK_ 12 <sup>_jl_</sup> <sup>]</sup> <sup>_−_</sup> <sup>_r_</sup> <sup>1</sup> <sup>_jr_</sup> <sup>1</sup> <sup>_kK_</sup> 11 <sup>_jk,_</sup> _A_ ˆ _jk_ = _δjk_ [ _r_ 1 _jLp_ <sup>_′_</sup> 1 _j_ <sup>+</sup> _m_ 1 _l̸_ = _j_ _r_ 1 _jr_ 1 _lK_ 11 <sup>_jl_</sup> <sup>+</sup> _r_ 1 _jr_ 1 _lK_ 11 <sup>_jl_</sup> _B_ ˆ _jk_ = _−r_ 1 _jr_ 2 _kK_ 12 <sup>_jk_</sup> 12 <sup>_jk,_</sup> _C_ ˆ _jk_ = _−r_ 2 _jr_ 1 _kK_ 21 <sup>_jk_</sup> 21 <sup>_jk,_</sup> _m_ 2 _l̸_ = _j_ _D_ ˆ _jk_ = _δjk_ [ _r_ 2 _jLp_ <sup>_′_</sup> 2 _j_ <sup>+</sup> _m_ 1 _l_ =1 _r_ 2 _jr_ 1 _lK_ 21 <sup>_jl_</sup> <sup>+</sup> _r_ 2 _jr_ 2 _lK_ 22 <sup>_jl_</sup> <sup>]</sup> <sup>_−_</sup> <sup>_r_</sup> <sup>2</sup> <sup>_jr_</sup> <sup>2</sup> <sup>_kK_</sup> 22 <sup>_jk._</sup> The partition function can be written in terms of the determinant of this matrix _mp_ - + _∞_ _−∞_ _j_ =1 r 1 _,_ r 2 _pj_ 2 _p_ =1 _<u>dupj</u>_ _<u>dupj</u>_ <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_rpj_</sup> <sup>_−_</sup> <sup>1</sup> 2 _π_ _rpj_ <sup>2</sup> _Z_ ( _R, L_ ) = _∞_ _m_ 1=0 _m_ 2=0 <u>1</u> _m_ 1! _m_ 2! _r_ <sup>2</sup> _e_ <sup>_−rpj_</sup> <sup>_REp_</sup> <sup>(</sup> <sup>_upj_</sup> <sup>)</sup> det _G._ <sup>ˆ</sup> (6.5) We apply the matrix-tree theorem for the matrix _G_ <sup>ˆ</sup> and obtain a tree expansion of the free energy. Each vertex now carries an index _p_ _∈{_ 1 _,_ 2 _}_ to indicate what type of particle it stands for. A branch going from vertex of type _p_ to vertex of type _q_ has a weight of _rqrpKqp_ . We represent vertices of type 1 by a disk and those of type 2 by a circle. Let us denote by _Ypr_ ( _u_ ) the sum over all the trees rooted at ( _u, r_ ) of type _p_ . The free energy is given by _p_ <sup>_′_</sup> 1 <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _r_ 16 _rY_ 1 _r_ ( _u_ ) + _p_ <sup>_′_</sup> 2 <sup>(</sup> <sup>_u_</sup> <sup>)</sup> _r_ _Y_ 2 _r_ ( _u_ ) _._ (6.6) log _Z_ ( _R, L_ ) = _L_ - + _∞_ _−∞_ _<u>du</u>_ 2 _π_ ( _u_ 1, _r_ 1) ( _u_ 2, _r_ 2) <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_r_</sup> <sup>1</sup> <sup>_−_</sup> <sup>1</sup> = _e_ <sup>_−r_</sup> <sup>1</sup> <sup>_RE_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)</sup> 1 <sup>2</sup> _r_ 1 <sup>2</sup> (6.7) <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_r_</sup> <sup>2</sup> <sup>_−_</sup> <sup>1</sup> = _e_ <sup>_−r_</sup> <sup>2</sup> <sup>_RE_</sup> <sup>2(</sup> <sup>_u_</sup> <sup>)</sup> 2 <sup>2</sup> _r_ 2 <sup>2</sup> The generating functions of the two types of trees are intertwined with each other _Y_ 1 _r_ ( _u_ ) = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _e_ <sup>_−rRE_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)</sup> exp _r_ <sup>2</sup> _Y_ 2 _r_ ( _u_ ) = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _e_ <sup>_−rRE_</sup> <sup>2(</sup> <sup>_u_</sup> <sup>)</sup> exp _r_ <sup>2</sup> - - _<u>dv</u>_ _r_ 2 _π_ - - _<u>dv</u>_ _r_ 2 _π_ _s_ _s_ _sK_ 11( _v, u_ ) _Y_ 1 _s_ ( _v_ ) + _sK_ 21( _v, u_ ) _Y_ 2 _s_ ( _v_ ) _,_ _,_ _sK_ 12( _v, u_ ) _Y_ 1 _s_ ( _v_ ) + _sK_ 22( _v, u_ ) _Y_ 2 _s_ ( _v_ ) _._ _._ ~~2!~~ ( _u_, _r_ ) ( _u_, _r_ ) + <sup><u>1</u></sup> <sup><u>1</u></sup> + <sup><u>1</u></sup> ~~2!~~ ~~2!~~ ( _u_, _r_ ) _u,r_ _u,r_ = + + + ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) = + + + ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) ( _u_, _r_ ) + ~~2!~~ ( _u_, _r_ ) ( _u_, _r_ ) + <sup><u>1</u></sup> <sup><u>1</u></sup> + <sup><u>1</u></sup> ~~2!~~ ~~2!~~ ( _u_, _r_ ) ( _u_, _r_ ) + . . . + . . . ( _u_, _r_ ) + Figure 7: The two-species TBA equations In particular, we have _Y_ 1 _r_ ( _u_ ) = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> 11 <sup>_r_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_,_</sup> _Y_ 2 <sup>_r_</sup> 21 <sup>_r_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_._</sup> (6.8) <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _Y_ 11 <sup>_r_</sup> _r_ <sup>2</sup> 2 <sup>_r_</sup> _r_ <sup>(</sup> <sup>_u_</sup> <sup>) =</sup> <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> <sup><u>1)</u></sup> <sup>_r−_</sup> <sup>1</sup> _Y_ 21 <sup>_r_</sup> _r_ <sup>2</sup> For simplicity, let us denote _Y_ 11 and _Y_ 21 simply by _Y_ 1 and _Y_ 2. We recover the TBA equation of two species log _Z_ ( _R, L_ ) = _L_ - + _∞_ _−∞_ _<u>du</u>_ 2 _π_ - _p_ <sup>_′_</sup> 1 <sup>(</sup> <sup>_u_</sup> <sup>) log[1 +</sup> <sup>_Y_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)] +</sup> <sup>_p′_</sup> 2 <sup>(</sup> <sup>_u_</sup> <sup>) log[1 +</sup> <sup>_Y_</sup> <sup>2(</sup> <sup>_u_</sup> <sup>)]</sup> _,_ _p_ <sup>_′_</sup> 1 _Y_ 1( _u_ ) = _e_ <sup>_−RE_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>)</sup> exp _Y_ 2( _u_ ) = _e_ <sup>_−RE_</sup> <sup>2(</sup> <sup>_u_</sup> <sup>)</sup> exp - _K_ 12 _⋆_ log(1 + _Y_ 1) + _K_ 22 _⋆_ log(1 + _Y_ 2)� _._ 17 - _K_ 11 _⋆_ log(1 + _Y_ 1) + _K_ 21 _⋆_ log(1 + _Y_ 2)� _,_ (6.9) 6.2 Open systems Let us denote by _R_ 1 _ab_ and _R_ 2 _ab_ the reflection factors of the first and second particle.The Bethe equations for the state _|u_ 11 _, ..., u_ 1 _N_ 1 _, u_ 21 _, ..., u_ 2 _N_ 2 _⟩_ now read _N_ 2 _S_ 11( _u_ 1 _j, u_ 1 _k_ ) _S_ 11( _u_ 1 _j, −u_ 1 _k_ ) _k_ =1 _N_ 2 _S_ 21( _u_ 2 _j, u_ 1 _k_ ) _S_ 21( _u_ 2 _j, −u_ 1 _k_ ) _k̸_ = _j_ _e_ <sup>2</sup> <sup>_ip_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>1</sup> <sup>_j_</sup> <sup>)</sup> <sup>_L_</sup> _R_ 1 _ab_ ( _u_ 1 _j_ ) _e_ <sup>2</sup> <sup>_ip_</sup> <sup>2(</sup> <sup>_u_</sup> <sup>2</sup> <sup>_j_</sup> <sup>)</sup> <sup>_L_</sup> _R_ 2 _ab_ ( _u_ 2 _j_ ) _N_ 1 _k̸_ = _j_ _N_ 1 _k_ =1 _S_ 12( _u_ 1 _j, u_ 2 _k_ ) _S_ 12( _u_ 1 _j, −u_ 2 _k_ ) = 1 _,_ _S_ 22( _u_ 2 _j, u_ 2 _k_ ) _S_ 22( _u_ 2 _j, −u_ 2 _k_ ) = 1 _._ The rapidities and the mode numbers are taken to be positive. Similar to (3.6), we have _mp_ _j_ =1 0 _≤_ n 1 _,_ n 2 1 _≤_ r 1 _,_ r 2 2 _p_ =1 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_rpj_</sup> (1 _−_ _δnpj_ _,_ 0) _e_ <sup>_−RE_</sup> <sup>((</sup> <sup>n</sup> <sup>1</sup> <sup>_,_</sup> <sup>r</sup> <sup>1)</sup> <sup>_,_</sup> <sup>(</sup> <sup>n</sup> <sup>2</sup> <sup>_,_</sup> <sup>r</sup> <sup>2))</sup> _._ (6.10) _rpj_ _Zab_ ( _R, L_ ) = _∞_ _m_ 1=0 _m_ 2=0 <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_m_</sup> <sup>1+</sup> <sup>_m_</sup> <sup>2</sup> _m_ 1! _m_ 2! The conversion between mode numbers and rapidities under the presence of multiplicities _m_ 2 _k_ =1 _m_ 2 _k̸_ = _j_ 2 _p_ 1( _u_ 1 _j_ ) _L −_ _i_ log _R_ 1 _ab_ ( _u_ 1 _j_ )[ S 11( _u_ 1 _j, u_ 1 _j_ )] <sup>_r_</sup> <sup>1</sup> <sup>_j_</sup> <sup>_−_</sup> <sup>1</sup> 2 _p_ 2( _u_ 2 _j_ ) _L −_ _i_ log _R_ 2 _ab_ ( _u_ 2 _j_ )[ S 22( _u_ 2 _j, u_ 2 _j_ )] <sup>_r_</sup> <sup>2</sup> <sup>_j_</sup> <sup>_−_</sup> <sup>1</sup> _m_ 1 �[ S 11( _u_ 1 _j, u_ 1 _k_ )] <sup>_r_</sup> <sup>1</sup> <sup>_k_</sup> _k̸_ = _j_ _m_ 1 �[ S 21( _u_ 2 _j, u_ 1 _k_ )] <sup>_r_</sup> <sup>1</sup> <sup>_k_</sup> _k_ =1 [ S 12( _u_ 1 _j, u_ 2 _k_ )] <sup>_r_</sup> <sup>2</sup> <sup>_k_</sup> [ S 22( _u_ 2 _j, u_ 2 _k_ )] <sup>_r_</sup> <sup>2</sup> <sup>_k_</sup> = _φ_ 1 _j_ = _φ_ 2 _j_ where we have used the notation S _pq_ ( _u, v_ ) = _Spq_ ( _u, v_ ) _Spq_ ( _u, −v_ ). The Gaudin matrix now has a 2 _×_ 2 block structure _G_ ˆ _ab_ = - _t_ - _r_ 1[ _∂u_ 1 _φ_ 1 _−_ 2 _πδ_ ( _u_ 1)] _r_ 1 _∂u_ 2 _φ_ 1 = _r_ 2 _∂u_ 1 _φ_ 2 _r_ 2[ _∂u_ 2 _φ_ 2 _−_ 2 _πδ_ ( _u_ 2)] - _A_ ˆ _B_ ˆ (6.11) _C_ ˆ _D._ ˆ The explicit expressions of each block are _r_ 1 _j_ [2 _Lp_ <sup>_′_</sup> 1 <sup>_jj−_</sup> 11 <sup>) +</sup> _r_ 1 _jr_ 2 _lK_ 12 <sup>_jl_</sup> <sup>+</sup> _r_ 1 _jr_ 2 _lK_ 12 <sup>_jl_</sup> <sup>+</sup> _A_ ˆ _jk_ = _δjk_ <sup>_′_</sup> 1 <sup>(</sup> <sup>_u_</sup> <sup>1</sup> <sup>_j_</sup> <sup>) + Θ1</sup> <sup>_ab_</sup> <sup>(</sup> <sup>_u_</sup> <sup>1</sup> <sup>_j_</sup> <sup>)] +</sup> <sup>_r_</sup> 1 <sup>2</sup> _j_ <sup>(</sup> <sup>_K_</sup> 11 <sup>_jj_</sup> <sup>+</sup> _−_ _K_ 11 <sup>_jj−_</sup> _r_ 1 _jr_ 1 _lK_ 11 <sup>_jl_</sup> <sup>+</sup> <sup>+</sup> _−_ _r_ 1 _jr_ 1 _kK_ 11 <sup>_jk−_</sup> _−_ _r_ 1 _jr_ 1 _kK_ 11 <sup>_jk−,_</sup> _B_ ˆ _jk_ = _−r_ 1 _jr_ 2 _kK_ 12 <sup>_jk−,_</sup> _C_ ˆ _jk_ = _−r_ 2 _jr_ 1 _kK_ 21 <sup>_jk−,_</sup> 12 <sup>_jk−,_</sup> _C_ ˆ _jk_ = _−r_ 2 _jr_ 1 _kK_ 21 <sup>_jk−_</sup> 21 <sup>_jk−,_</sup> _r_ 2 _j_ [2 _Lp_ <sup>_′_</sup> <sup>_jj−_</sup> 22 <sup>) +</sup> _m_ _l_ =1 _m_ _l̸_ = _j_ _r_ 2 _jr_ 2 _lK_ 22 <sup>_jl_</sup> <sup>+</sup> _r_ 2 _jr_ 2 _lK_ 22 <sup>_jl_</sup> <sup>+</sup> _D_ ˆ _jk_ = _δjk_ <sup>_′_</sup> 2 <sup>(</sup> <sup>_u_</sup> <sup>1</sup> <sup>_j_</sup> <sup>) + Θ2</sup> <sup>_ab_</sup> <sup>(</sup> <sup>_u_</sup> <sup>2</sup> <sup>_j_</sup> <sup>)] +</sup> <sup>_r_</sup> 2 <sup>2</sup> _j_ <sup>(</sup> <sup>_K_</sup> 22 <sup>_jj_</sup> <sup>+</sup> _−_ _K_ 22 <sup>_jj−_</sup> _n_ _l̸_ = _j_ _m_ _l_ =1 _r_ 2 _jr_ 1 _lK_ 21 <sup>_jl_</sup> <sup>+</sup> <sup>+</sup> _−_ _r_ 2 _jr_ 2 _kK_ 22 <sup>_jk−._</sup> where the notations are Θ _pab_ = Θ _pa_ + Θ _pb,_ Θ _p⋆_ ( _u_ ) = _Kp⋆_ ( _u_ ) _−_ _Kpp_ ( _u, −u_ ) _−_ _πδ_ ( _u_ ) _,_ _⋆_ = _a, b_ _Kpq_ <sup>_jk±_</sup> = _Kpq_ ( _upj, uqk_ ) _± Kpq_ ( _upj, −uqk_ ) _,_ for _p, q_ _∈{_ 1 _,_ 2 _}._ 18 If we set Θ to zero and _K_ <sup>+</sup> and _K_ <sup>_−_</sup> to equal then we would recover the Gaudin matrix for the periodic system (6.4). The partition function is written in terms of the determinant of this matrix _mp_ _j_ =1 _pj_ 1 _≤_ r 1 _,_ r 2 2 _p_ =1 - + _∞_ _−∞_ _<u>dupj</u>_ _<u>dupj</u>_ <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_rpj_</sup> <sup>_−_</sup> <sup>1</sup> 2 _π_ _rpj_ <sup>2</sup> <u>1</u> _m_ 1! _m_ 2! _Zab_ ( _R, L_ ) = _m_ 1=0 _m_ 2=0 _r_ <sup>2</sup> _e_ <sup>_−rpj_</sup> <sup>_REp_</sup> <sup>(</sup> <sup>_upj_</sup> <sup>)</sup> det _G_ <sup>ˆ</sup> _ab._ (6.12) The tree contribution to _g_ -function is obtained in a similar way as before log( _gagb_ ) <sup>trees</sup> ( _R_ ) = <sup><u>1</u></sup> 2 2 _p_ =1 - + _∞_ _−∞_ _<u>du</u>_ 2 _π_ <sup>Θ</sup> <sup>_pab_</sup> <sup>(</sup> <sup>_u_</sup> <sup>) log(1 +</sup> <sup>_Yp_</sup> <sup>(</sup> <sup>_u_</sup> <sup>))</sup> <sup>_,_</sup> (6.13) where _Yp_ for _p_ = 1 _,_ 2 are solutions of the TBA equations (6.9). Now comes the loop contribution log( _gagb_ ) <sup>loops</sup> ( _R_ ) = _n≥_ 1 _Cn_ <sup>_±,_</sup> (6.14) where _Cn_ <sup>_±_</sup> <sup>denotes the sum over bosonic/fermionic loops of length</sup> <sup>_n_</sup> <sup>.</sup> <sup>Each of these</sup> <sup>_n_</sup> <sup>vertices can be</sup> either of type 1 or 2. The trees growing out of each vertex can be summed to the Fermi-Dirac factor of each type, by virtue of the relation (6.8) _r_ _<u>Yp</u>_ <u>(</u> _<u>u</u>_ <u>)</u> _r_ <sup>2</sup> _Ypr_ ( _u_ ) = 1 + _Yp_ ( _u_ ) <sup>=</sup> <sup>_fp_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_,_</sup> _p_ = 1 _,_ 2 _._ (6.15) The loop contribution can then be written as a sum over cyclic sets p of C( _{_ 1 _,_ 2 _}_ <sup>_n_</sup> ) _p_ <sup>_±_</sup> 1 _pn_ <sup>(</sup> <sup>_u_</sup> <sup>1</sup> <sup>_, un_</sup> <sup>)</sup> <sup>_,_</sup> (6.16) _n_ _j_ =1 - + _∞_ 0 _<u>duj</u>_ <u>1</u> _S_ ( p ) _Cn_ <sup>_±_</sup> <sup>=</sup> <sup>_±_</sup> _p_ 1 _,...,pn∈_ C( _{_ 1 _,_ 2 _}_ <sup>_n_</sup> ) _<u>j</u>_ 2 _π_ <sup>_fpj_</sup> <sup>(</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_K_</sup> _p_ <sup>_±_</sup> 2 _p_ 1 <sup>(</sup> <sup>_u_</sup> <sup>2</sup> <sup>_, u_</sup> <sup>1)</sup> <sup>_....K_</sup> _p_ <sup>_±_</sup> 1 where _S_ ( p ) is the symmetry factor of p . This sum is nothing but the trace of 2 _×_ 2 matrices _K_ <sup>ˆ</sup> <sup>_±_</sup> with elements _Kpq_ <sup>_±_</sup> <sup>(</sup> <sup>_F_</sup> <sup>)(</sup> <sup>_u_</sup> <sup>) =</sup> - + _∞_ 0 _<u>dv</u>_ 2 _π_ <sup>_K_</sup> _pq_ <sup>_±_</sup> <sup>(</sup> <sup>_u, v_</sup> <sup>)</sup> <sup>_fq_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_F_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_,_</sup> _p, q_ _∈{_ 1 _,_ 2 _}._ We obtain two Fredholm determinants with 2 _×_ 2 matrix kernels as a generalization of (5.10) log( _gagb_ ) <sup>loops</sup> ( _R_ ) = log det <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>K</u>_</sup> <sup>ˆ</sup> <sup>_−_</sup> (6.17) 1 _−_ _K_ <sup>ˆ</sup> <sup>+</sup> <sup>_._</sup> 6.3 g-function of theories with non-diagonal bulk scattering A periodic theory with non-diagonal bulk scattering can be diagonalized with the Nested Bethe Ansatz technique. The Bethe equations then involve additional particles with vanishing momentum and energy. These particles called magnons can be regarded as excitations on a spin chain where the physical rapidities are non-dynamical impurities. In particular the number of magnons cannot exceed the number of physical particles. This constraint presents a major obstruction in the implementation of our approach for non-diagonal theories as we cannot carry out the first step of summing over mode numbers. 19 When the number of physical particles is large however, magnons can form strings of evenly distributed complex rapidities. As a consequent, the TBA equations are effectively the same as those of a diagonal theories with an infinite number of particles in the spectrum. This means that if we include magnon strings into our cluster expansion and remove the constraint of their numbers, then according to the above analysis we will recover the correct TBA equations. If we follow this line of logic to non-diagonal open systems, we come to the conclusion that the g-function of these theories is an infinite-dimensional extension of (6.13) and (6.17). Such direct extension proves however to be problematic. Indeed, as magnons have vanishing energy, there is no driving term in the TBA equations determining their pseudo-energies. As a consequent, the corresponding Y-functions do not vanish at zero temperature limit and so does the g-function. This value of g-function at zero temperature comes from graphs made entirely of magnons. Their contribution is present at any temperature and we propose to get rid of it by normalizing the finite temperature g-function by its zero temperature limit value _<u>g</u>_ <u>(</u> _<u>R</u>_ <u>)</u> _g_ ( _R_ ) _→_ _g_ <sup>ren</sup> ( _R_ ) _≡_ _g_ ( _R_ = + _∞_ ) <sup>_._</sup> Under the presence of an infinite tower of magnon strings this normalization can be subtle. We consider a concrete model with string solutions in another paper [13]. ## Conclusion and outlook We propose a graph theory-based method to compute the _g_ -function of a theory with diagonal bulk scattering and diagonal reflection matrices. The idea is to apply the matrix-tree theorem to write the Jacobians in the cluster expansion of the partition function by a sum over graphs. The _g_ -function is then written as a sum over trees and loops. The sum over trees gives TBA saddle point result while the sum over loops constitute the two Fredholm determinants. The method was generalized to theories of more than one particle type with diagonal bulk scattering and diagonal reflection matrices. We also propose a protocol to obtain g-function of non-diagonal theories solved by Nested Bethe Ansatz. We would like to point out the relationship between the expression of the g-function and the overlap between an initial state and the ground-state (2.10). The normalized overlaps play an important role in the study of out of equilibrium dynamics [15–19] and one point function in AdS/CFT [20], [21–23]. A direct comparison of the two types of results on the overlaps is not straightforward since they imply different regimes of parameters, but it is an interesting open problem to understand the link between the two. Several other directions can be investigated in near future. First, we would like to find the missing contribution in our proposition of the excited state g-function. As explained in the main text, our approach yields the correct equations that determine the excited states so it could potentially be modified to produce the corresponding g-function. Second, one can consider the case of non-diagonal reflection matrices. It would be ideal to have a candidate theory which is sufficiently simple to be the working example. Last but not least, our method could also be applied in the hexagon proposal for three point functions in _N_ = 4 super Yang-Mills [24], [25]. This non-perturbative approach is plagued with divergence when one glues two hexagon form factors together [26]. The divergence takes the form of a free energy of particles in the mirror channel. The regularization prescription that leads to this free energy also predicts a finite contribution which bears some similarities to the g-function. 20 ## Acknowledgements The authors thank Benjamin Basso for critical comments on nested g-function. We thank Zoltán Bajnok for important remarks during the development of this paper, notably for a clear explanation of the different normalizations of the partition function. I.K and D.S. would like to thank JeanSébastien Caux, Patrick Dorey, Balázs Pozsgay, Shota Komatsu for discussions, and Yunfeng Jiang, Shota Komatsu, Amit Sever and Edoardo Veskovi for sharing the information about an unpublished result concerning the equivalent of the g-function in the nested case [27]. ## A A combinatorial proof for the matrix-tree theorem In this appendix we give a direct proof of the matrix-tree theorem in the form presented in section 4.1 The aim is to compute the determinant of a _n × n_ matrix _M_ with elements _k̸_ = _i_ _Kik_ <sup>+</sup>   _δij_ _−_ _Kij_ <sup>_−_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_δij_</sup> <sup>)</sup> <sup>_._</sup> (A.1) _Mij_ =   _Di_ + _ij_ <sup>+</sup> <sup>and</sup> <sup>_K_</sup> _ij_ <sup>_−_</sup> in terms of trees and loops made by the elements _Kij_ <sup>+</sup> in terms of trees and loops made by the elements _Kij_ <sup>+</sup> <sup>and</sup> <sup>_K_</sup> _ij_ <sup>_−_</sup> <sup>.</sup> Compared to the Gaudin matrix (4.2), the notations are related as follows _i_ <sup>2(</sup> <sup>_K_</sup> _ii_ <sup>+</sup> _ii_ <sup>_−_</sup> <sup>)</sup> <sup>_,_</sup> _Di_ _→_ _riDab_ ( _ui_ ) + _ri_ <sup>2</sup> _ii_ <sup>+</sup> <sup>_−_</sup> <sup>_K_</sup> _ii_ <sup>_−_</sup> _Kij_ <sup>_±_</sup> _ij_ <sup>_±_</sup> <sup>_→_</sup> <sup>_rirjK_</sup> _ij_ <sup>_±_</sup> _ij_ The tree-matrix theorem states that the determinant of (A.1) can be written as a sum over spanning forests for the complete graph formed by the _n_ vertices. The disconnected trees contain each either a single loop formed by _K_ <sup>_−_</sup> elements, or a loop formed by _K_ <sup>+</sup> elements, or a root associated with _Di_ ’s. In this section we do not distinguish between tadpoles and roots. Each _K_ <sup>_−_</sup> loop comes with a minus sign. To proceed, we express the determinant as a sum over permutations det _M_ = _σ∈Sn_ ( _−_ 1) <sup>_s_</sup> <sup>(</sup> <sup>_σ_</sup> <sup>)</sup> _M_ 1 _σ_ (1) _. . . Mnσ_ ( _n_ ) _._ (A.2) Each permutation can be decomposed as a product of disjoint cycles of lengths _k_ 1 _, . . ., km_ with _k_ 1 + _. . ._ + _km_ = _n_ . Each cycle of length _k_ comes with a sign ( _−_ 1) <sup>_k−_</sup> <sup>1</sup>, since it involves at least _k_ _−_ 1 transpositions. The structure of the diagonal and off-diagonal elements of the matrix _M_ is different, one should consider separately the non-trivial cycles, of length greater than one, and the trivial ones. Each non-trivial cycle in the permutation _σ_ gives as a factor a loop formed out of elements _Kij_ <sup>_−_</sup> <sup>.</sup> <sup>For</sup> example the cycle (123) will give a contribution (123) _−→_ _−K_ <sup>_−_</sup> (123) <sup>_−_</sup> <sup>_≡−K_</sup> 12 <sup>_−_</sup> 12 <sup>_−_</sup> <sup>_K_</sup> 23 <sup>_−_</sup> <sup>_K_</sup> 31 <sup>_−_</sup> <sup>_._</sup> (A.3) The overall minus sign comes from the signature of the cycle times ( _−_ 1) <sup>_k_</sup> form the individual contributions of the matrix elements. To discuss the contribution of the trivial cycles, _i.e._ of the diagonal elements _Mii_, it is convenient to introduce an orientation for the elements _Kij_ <sup>+, with an arrow going</sup> elements _Mii_, it is convenient to introduce an orientation for the elements _Kij_ <sup>+, with an arrow going</sup> from _j_ to _i_ (the same can be done for the elements _Kij_ <sup>_−_</sup> <sup>, so the cycle in (A.3) has an arrow circulating</sup> _ij_ <sup>_−_</sup> <sup>, so the cycle in (A.3) has an arrow circulating</sup> 21 around the loop). Let us now consider the factors which contain the diagonal elements _Mii_ . For simplicity we are going to consider indices _i_ = 1 _, . . ., l_, the other cases will be obtained by permutation of the indices. We have _l_ _k̸_ = _i_ _Kik_ <sup>+</sup> <sup>+</sup> - _l_ _i_ =1   _Di_ + ( _−_ 1) <sup>_r_</sup> _K_ <sup>_−_</sup> cycle <sup>_−_</sup> 1 <sup>_. . . K−_</sup>   _,_ (A.4) _n_ _k_ = _l_ +1 _Kik_ <sup>+</sup> _Ml_ _≡_ - _l_ _Mii_ = _i_ =1 _Kik_ <sup>+</sup> while the complement is given by cycles _∈Sn−l_ (A.5) cycle <sup>_−_</sup> _r_ <sup>_,_</sup> _M_ ˜ _l_ = _r_ where the sum is over the non-trivial cycles involving indices from _l_ + 1 to _n_ and _r_ is the number of cycles. In (A.4) we have separated in the sums the terms which have both indices in the ensemble _{_ 1 _, . . ., l}_ and those which have one index inside and one index outside the ensemble. The sum in (A.4) can be expanded then as - _n_ _k_ = _l_ +1 _i∈α_ 1  _l_  _k̸_ = _i_   _i∈α_ 2 _i∈α_ 3 _Kik_ <sup>+</sup> _._ (A.6) _Ml_ = _α_ 1 _∪α_ 2 _∪α_ 3= _{_ 1 _,...,l}_ _Kik_ <sup>+</sup> _Di_ The terms from the last factor will grow branches attached to the loops _K_ <sup>_−_</sup> ( _s_ The terms from the last factor will grow branches attached to the loops _K_ <sup>_−_</sup> ( _s_ 1 _s_ 2 _..._ _sm_ ) <sup>with</sup> <sup>indices</sup> _{s_ 1 _, s_ 2 _, . . ., sm}_ _⊂{l_ + 1 _, . . ., n}_ . <sup>1</sup> The tips of these branches belong to the ensemble _α_ 3. The second factor in (A.6) give roots in the ensemble _α_ 2. The first factor <sup>�</sup> _i∈α_ 1 - _lk̸_ = _i_ <sup>_K_</sup> _ik_ <sup>+</sup> <sup>has</sup> <sup>a</sup> <sup>more</sup> <sup>complicated</sup> <sup>structure.</sup> <sup>In</sup> <sup>the</sup> <sup>case</sup> <sup>when</sup> <sup>_α_</sup> <sup>1</sup> <sup>=</sup> _{_ 1 _, . . ., l}_, it contains at least one loop of type _K_ ( <sup>+</sup> _s_ 1 _s_ 2 _..._ _sm_ ) <sup>with</sup> <sup>indices</sup> <sup>in</sup> <sup>_{s_</sup> <sup>1</sup> <sup>_, s_</sup> <sup>2</sup> <sup>_, . . ., sm}_</sup> <sup>_⊂_</sup> The first factor <sup>�</sup> _i∈α_ 1 - _lk̸_ = _i_ <sup>_K_</sup> _ik_ <sup>+</sup> _{_ 1 _, . . ., l}_, it contains at least one loop of type _K_ ( <sup>+</sup> _s_ 1 _s_ 2 _..._ _sm_ ) <sup>with</sup> <sup>indices</sup> <sup>in</sup> <sup>_{s_</sup> <sup>1</sup> <sup>_, s_</sup> <sup>2</sup> <sup>_, . . ., sm}_</sup> <sup>_⊂_</sup> _{_ 1 _, . . ., l}_ . The reason is that each term in the sum has the structure _K_ 1 <sup>+</sup> _⋆_ <sup>_K_</sup> 2 <sup>+</sup> _⋆_ <sup>_. . . K_</sup> _l⋆_ <sup>+</sup> <sup>_,_</sup> (A.7) where _⋆_ denotes an arbitrary second index not equal to the first one. Let us suppose that one of the indices denoted by a star is the beginning of a tree. Because the same index appears as a first index as well, we conclude that the corresponding vertex is also the tip of a branch, so it belongs to a loop. In a single factor of the type (A.7) there can be several loops, and multiple branches can grow out from these loops. Two different loops cannot be joined by a branch, because in this case two branches would join at their tips, and this is forbidden by the structure in (A.7) where each tip of a branch is different from the others. We conclude that when _α_ 1 = _{_ 1 _, . . ., l}_ the corresponding contribution is that of disjoint graphs with a single loop each and with branching growing out of them, spanning the ensemble of vertices _{_ 1 _, . . ., l}_ . When _α_ 1 _̸_ = _{_ 1 _, . . ., l}_ one should repeat again the procedure of splitting the sum over indices, _l_ _k̸_ = _i_ _Kik_ <sup>+</sup> _α_ 11 _∪α_ 12= _α_ 1 _Kik_ <sup>+</sup> _Kik_ <sup>+</sup>   (A.8) _i∈α_ 1     _k̸_ = _i_ ; _k∈α_ 1 _k/∈α_ 1 _Kik_ <sup>+</sup> _Kik_ <sup>+</sup>   = = _i∈α_ 1 _Kik_ <sup>+</sup> <sup>+</sup>   _k∈α_ 2 _∪α_ 3   <sup>�</sup> _i∈α_ 12 _i∈α_ 11   _k̸_ = _i_ ; _k∈α_ 1   _._ _Kik_ <sup>+</sup> 1 A branch is associated with a factor of type _Kij_ + <sup>, the origin of the branch being the second index,</sup> <sup>_j_</sup> <sup>and the tips to the</sup> first index _i_ . 22 The terms from the second product in the second line above will add a new layer of branches from the branches already grown from the loops of type _K_ ( <sup>_−_</sup> _s_ 1 _s_ 2 _..._ _sm_ ) <sup>,</sup> <sup>if</sup> <sup>_k_</sup> <sup>_∈_</sup> <sup>_α_</sup> <sup>3,</sup> <sup>or</sup> <sup>will</sup> <sup>grow</sup> <sup>branches</sup> from the roots _Di_, if _k_ _∈_ _α_ 2. The new branches have tips in the ensemble _α_ 12. The terms in the first product will be treated as in the previous stage. The procedure will be repeated until all the indices are exhausted. We conclude that after repeating the procedure we are left with an ensemble of disconnected (generalised) trees each growing out from _•_ a loop of type _K_ <sup>_−_</sup> ( _s_ 1 _s_ 2 _..._ _sm_ ) <sup>or</sup> _•_ a loop of type _K_ ( <sup>+</sup> _s_ 1 _s_ 2 _..._ _sm_ ) <sup>or</sup> _•_ a root of type _Di_ spanning the indices _{_ 1 _, . . ., n}_ . ## B A field-theoretical proof of the matrix-tree theorem To begin with, we write the matrix _M_ defined by (A.1) in a slightly different form, _Mij_ = _M_ <sup>ˆ</sup> _i δij_ _−_ _Kij_ <sup>_−,_</sup> _M_ ˆ _i_ _≡_ _D_ <sup>ˆ</sup> _i_ + _n_ _k_ =1 _Kik_ <sup>+</sup> <sup>_._</sup> (B.1) Note that in this writing the second term does not vanish on the diagonal. Compared to the Gaudin matrix (4.2), the notations here are related as follows _D_ ˆ _i_ _→_ _riDab_ ( _ui_ ) _,_ _Kij_ <sup>_±_</sup> _ij_ <sup>_±_</sup> <sup>_→_</sup> <sup>_rirjK_</sup> _ij_ <sup>_±_</sup> _ij_ <sup>_±._</sup> The starting point is the representation of the determinant (A.1) as an integral with respect to _n_ pairs of grassmannian variables _θi,_ _θ_ <sup>¯</sup> _i_ ( _i_ = 1 _, ..., n_ ). The determinant of any matrix _M_ = _{Mjk}_ <sup>_m_</sup> _j,k_ =1 can be written as an integral over _n_ pairs of grassmannian variables _θ_ = _{θ_ 1 _, ..., θm}_ and _θ_ <sup>¯</sup> = _{θ_ <sup>¯</sup> 1 _, ...,_ _θ_ <sup>¯</sup> _m}_ <sup>_T_</sup> : det _M_ = _n_ _i_ =1 _dθidθ_ <sup>¯</sup> _i e_ - _ij_ <sup>_θ_</sup> <sup>¯</sup> <sup>_iMij_</sup> <sup>_θj_</sup> _._ (B.2) For a matrix of the type (B.1) we want to express the determinant in terms of the quantities _D_ <sup>ˆ</sup> _i_ and _Kij_ <sup>_±_</sup> <sup>.</sup> <sup>For that we first expand the exponential of the diagonal part using the nilpotent property of the</sup> grassmannian variables, _jk_ <sup>_−_</sup> <sup>_θk_</sup> _._ (B.3) det _M_ = ( _−_ 1) <sup>_n_</sup> _n_ _j_ =1 _dθjdθ_ <sup>¯</sup> _j_ (1 + _θ_ <sup>¯</sup> _jθjM_ <sup>ˆ</sup> _j_ ) _e_ <sup>_−_</sup> <sup>�</sup> <sup>_n_</sup> _j,k_ <sup>_n_</sup> =1 <sup>_θ_</sup> <sup>¯</sup> <sup>_j_</sup> <sup>_K_</sup> _jk_ <sup>_−_</sup> Now we go to the dual variables _ψ_ <sup>¯</sup> _i, ψi_, related to the original ones by a Hubbard-Stratonovich transformation _j_ <sup>(¯</sup> <sup>_θj_</sup> <sup>_ψj_</sup> <sup>+</sup> <sup>_θj_</sup> <sup>_ψ_</sup> <sup>¯</sup> <sup>_j_</sup> <sup>) �</sup> _ψ_ ¯ _jψj_ + _M_ ˆ _j_ _._ (B.4) _jk_ <sup>_−_</sup> <sup>_θk−_</sup> <sup>�</sup> det _M_ = _n_ _j_ =1 _dθjdθ_ <sup>¯</sup> _jdψjdψ_ <sup>¯</sup> _j_ _e_ <sup>_−_</sup> <sup>�</sup> _j,k_ <sup>_θ_</sup> <sup>¯</sup> <sup>_j_</sup> <sup>_K_</sup> _jk_ <sup>_−_</sup> _j_ 23 Here we used the obvious identities for grassmanian integration _dψdψ e_ <sup>¯</sup> _θψ_ ¯ + _θ_ ¯ _ψ_ = _θθ,_ ¯ _dψdψ e_ <sup>¯</sup> _θψ_ ¯ + _θ_ ¯ _ψ_ ¯ _ψψ_ = 1 _._ (B.5) This gaussian integral is evaluated by performing all Wick contractions _⟨_ _ψ_ <sup>¯</sup> _jψk ⟩_ = _Kjk_ <sup>_−_</sup> <sup>. Symbolically</sup> Wick <sup>_,_</sup> _⟨_ _ψ_ <sup>¯</sup> _jψk ⟩_ = _Kjk_ <sup>_−_</sup> <sup>_._</sup> (B.6) det _M_ = - - <sup>_m_</sup> _j_ =1 _ψ_ ¯ _jψj_ + _M_ ˆ _j_ �� _k_ <sup>_K_</sup> _jk_ <sup>+</sup> In a similar way, we will introduce the piece <sup>�</sup> In a similar way, we will introduce the piece <sup>�</sup> _k_ <sup>_K_</sup> _jk_ <sup>+</sup> <sup>in</sup> <sup>_Mj_</sup> <sup>through the expectation value with</sup> respect to _n_ pairs of bosonic variables _ϕi,_ _ϕ_ ¯ _i_ ( _i_ = 1 _, ..., n_ ) _n_ _j_ =1 - _n_ ( _ψ_ <sup>¯</sup> _iψi_ + _M_ <sup>ˆ</sup> _j_ ) = _e_ _j,k_ =1 _<u>∂</u>_ _∂ϕj_ <sup>_K_</sup> _jk_ <sup>+</sup> _<u>∂</u>_ _∂ϕk_ ¯ _n_ - _e_ <sup>_ϕj_</sup> _j_ =1 - _D_ ˆ _j_ + _ϕ_ ¯ _j_ + _ψ_ ¯ _iψi_ - <sup>�</sup> ���� _ϕj_ = ¯ _ϕj_ =0 _._ (B.7) Equivalently one can represent the rhs as an expectation value with respect to _n_ pairs of quantum bosonic variables with correlator _⟨_ _ϕ_ ¯ _iϕj ⟩_ = _Kij_ <sup>+, with all other correlators vanishing.</sup> <sup>Together with</sup> (B.6), this yields the following representation of the determinant as an expectation value Wick det _M_ = - _m_ _j_ =1 ( _D_ <sup>ˆ</sup> _j_ + _ϕ_ ¯ _j_ + _ψ_ <sup>¯</sup> _jψj_ ) _e_ <sup>_ϕj_</sup> _,_ (B.8) with the non-zero bosonic and fermionic propagators given respectively by _jk_ <sup>+</sup> <sup>_,_</sup> _⟨ψjψ_ <sup>¯</sup> _k⟩_ = _Kjk_ <sup>_−_</sup> _⟨ϕj_ ¯ _ϕk⟩_ = _Kjk_ <sup>+</sup> _jk_ <sup>_−_</sup> <sup>_._</sup> (B.9) Performing all possible fermionic and bosonic Wick contractions generates the forest expansion of the determinant. The expectation value is a sum of all Feynman graphs (in general disconnected) whose vertices cover the set _{_ 1 _,_ 2 _, ..., n}_ once and only once. Each Feynman graph consists of vertices connected by propagators. The correlator _⟨_ _ϕ_ ¯ _iϕj ⟩_ = _Kji_ <sup>+</sup> <sup>is represented by an oriented line pointing</sup> connected by propagators. The correlator _⟨_ _ϕ_ ¯ _iϕj ⟩_ = _Kji_ <sup>+</sup> <sup>is represented by an oriented line pointing</sup> from _i_ to _j_ . The correlator _⟨ψ_ <sup>¯</sup> _iψj⟩_ = _Kij_ <sup>_−_</sup> <sup>is</sup> <sup>represented</sup> <sup>by</sup> <sup>an</sup> <sup>oriented</sup> <sup>dotted</sup> <sup>line.</sup> <sup>At</sup> <sup>each</sup> <sup>vertex</sup> from _i_ to _j_ . The correlator _⟨ψ_ <sup>¯</sup> _iψj⟩_ = _Kij_ <sup>_−_</sup> <sup>is</sup> <sup>represented</sup> <sup>by</sup> <sup>an</sup> <sup>oriented</sup> <sup>dotted</sup> <sup>line.</sup> <sup>At</sup> <sup>each</sup> <sup>vertex</sup> there is at most one incoming line while the number of the outgoing lines is unrestricted. The vertices with one incoming line have weight 1 while the vertices with only outgoing lines have weight _D_ <sup>ˆ</sup> _i_ . If a vertex has a fermionic incoming line, then it must have one fermionic outgoing lines and an unrestricted number of outgoing bosonic lines. There is only one such vertex per connected tree and it corresponds to the root. Each connected graph can have at most one loop, fermionic or bosonic. The fermionic loops have extra factor ( _−_ 1). ## References [1] Subir Ghoshal and Alexander B. Zamolodchikov. Boundary S matrix and boundary state in two dimensional integrable quantum field theory. _Int. J. Mod. Phys._, A9:3841–3886, 1994. [Erratum: Int. J. Mod. Phys.A9,4353(1994)]. [2] Ian Affleck and Andreas W. W. Ludwig. Universal noninteger ’ground state degeneracy’ in critical quantum systems. _Phys. Rev. Lett._, 67:161–164, 1991. 24 [3] A. LeClair, G. Mussardo, H. Saleur, and S. Skorik. Boundary energy and boundary states in integrable quantum field theories. _Nucl. Phys._, B453:581–618, 1995. [4] F. Woynarovich. O(1) contribution of saddle point fluctuations to the free energy of Bethe Ansatz systems. _Nucl. Phys._, B700:331–360, 2004. [5] Patrick Dorey, Davide Fioravanti, Chaiho Rim, and Roberto Tateo. Integrable quantum field theory with boundaries: The Exact g function. _Nucl. Phys._, B696:445–467, 2004. [6] Balazs Pozsgay. On O(1) contributions to the free energy in Bethe Ansatz systems: The Exact g-function. _JHEP_, 08:090, 2010. [7] F. Woynarovich. On the normalization of the partition function of Bethe Ansatz systems. _Nucl._ _Phys._, B852:269–286, 2011. [8] Seth Chaiken. A combinatorial proof of the all minors matrix tree theorem, 1982. [9] Ivan Kostov, Didina Serban, and Dinh-Long Vu. TBA and tree expansion. In _12th International_ _Workshop on Lie Theory and Its Applications in Physics (LT-12) Varna,_ _Bulgaria,_ _June 19-25,_ _2017_, 2018. [10] Go Kato and Miki Wadati. Graphical representation of the partition function of a onedimensional delta-function bose gas. 42:4883–4893, 10 2001. [11] Go Kato and Miki Wadati. Partition function for a one-dimensional _δ_ -function bose gas. _Phys._ _Rev. E_, 63:036106, Feb 2001. [12] Dinh-Long Vu and Takato Yoshimura. Equations of state in generalized hydrodynamics. _SciPost_ _Phys._, 6:23, 2019. [13] Dinh-Long Vu, Ivan Kostov, and Didina Serban. Boundary entropy of integrable perturbed su (2)k wznw. _Journal of High Energy Physics_, 2019(8):154, Aug 2019. [14] Marton Kormos and Balazs Pozsgay. One-Point Functions in Massive Integrable QFT with Boundaries. _JHEP_, 04:112, 2010. [15] Balázs Pozsgay. Overlaps between eigenstates of the xxz spin-1/2 chain and a class of simple product states. _Journal_ _of_ _Statistical_ _Mechanics:_ _Theory_ _and_ _Experiment_, 2014(6):P06011, 2014. [16] M Brockmann, J De Nardis, B Wouters, and J-S Caux. Néel-xxz state overlaps: odd particle numbers and lieb-liniger scaling limit. _Journal_ _of_ _Physics_ _A:_ _Mathematical_ _and_ _Theoretical_, 47(34):345003, 2014. [17] M Brockmann, J De Nardis, B Wouters, and J-S Caux. A gaudin-like determinant for overlaps of néel and xxz bethe states. _Journal of Physics A: Mathematical and Theoretical_, 47(14):145003, 2014. [18] M Brockmann. Overlaps of q-raised néel states with xxz bethe states and their relation to the lieb liniger bose gas. _Journal_ _of_ _Statistical_ _Mechanics:_ _Theory_ _and_ _Experiment_, 2014(5):P05006, 2014. 25 [19] B Pozsgay. Overlaps with arbitrary two-site states in the xxz spin chain. _Journal of Statistical_ _Mechanics:_ _Theory and Experiment_, 2018(5):053103, 2018. [20] Marius de Leeuw, Charlotte Kristjansen, and Konstantin Zarembo. One-point Functions in De fect CFT and Integrability. _JHEP_, 08:098, 2015. [21] Isak Buhl-Mortensen, Marius de Leeuw, Charlotte Kristjansen, and Konstantin Zarembo. One point Functions in AdS/dCFT from Matrix Product States. _JHEP_, 02:052, 2016. [22] Marius de Leeuw, Charlotte Kristjansen, and Stefano Mori. AdS/dCFT one-point functions of the SU(3) sector. _Phys. Lett._, B763:197–202, 2016. [23] Marius De Leeuw, Charlotte Kristjansen, and Georgios Linardopoulos. Scalar one-point func tions and matrix product states of AdS/dCFT. _Phys. Lett._, B781:238–243, 2018. [24] Benjamin Basso, Shota Komatsu, and Pedro Vieira. Structure Constants and Integrable Bootstrap in Planar N=4 SYM Theory. 2015. [25] Benjamin Basso, Vasco Goncalves, Shota Komatsu, and Pedro Vieira. Gluing Hexagons at Three Loops. _Nucl. Phys._, B907:695–716, 2016. [26] Benjamin Basso, Vasco Goncalves, and Shota Komatsu. Structure constants at wrapping order. _JHEP_, 05:124, 2017. [27] Y. Jiang, S. Komatsu, and Edoardo Vescovi. Structure Constants in _N_ = 4 SYM at Finite Coupling as Worldsheet _g_ -Function. 2019. 26

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.