scieee AI-readable full text Open interactive document viewer

Fermionic Gaussian states: an introduction to numerical approaches

Surace, Jacopo,Tagliacozzo, Luca

Abstract

65 pags., 16 figs.

Full text

SciPost Phys. Lect. Notes 54 (2022) Fermionic Gaussian states: An introduction to numerical approaches Jacopo Surace1?and Luca Tagliacozzo2 1ICFO-Institut de Ciencies Fotoniques, The Barcelona Institute of Science and Technology, Castelldefels (Barcelona), 08860, Spain 2Departament de Física Quàntica i Astrofísica and Institut de Ciències del Cosmos (ICCUB), Universitat de Barcelona, Martí i Franquès 1, 08028 Barcelona, Catalonia, Spain ?jacop[email protected] Abstract This document is meant to be a practical introduction to the analytical and numerical manipulation of fermionic Gaussian systems. Starting from the basics, we move to relevant modern results and techniques, presenting numerical examples and studying relevant Hamiltonians, such as the transverse field Ising Hamiltonian, in detail. We finish introducing novel algorithms connecting fermionic Guassian states with matrix product states techniques. All the numerical examples make use of the free Julia package F_utilities. Copyright J. Surace and L. Tagliacozzo. This work is licensed under the Creative Commons Attribution 4.0 International License. Published by the SciPost Foundation. Received 28-01-2022 Accepted 28-04-2022 Published 16-05-2022 Check for updates doi:10.21468/SciPostPhysLectNotes.54 Contents 1 Introduction 2 2 Basics 4 2.1 The canonical anticommutation relations 4 2.2 Dirac and Majorana representations 5 2.3 Fermionic Quadratic Hamiltonians 6 2.4 Dirac Representation 6 2.5 Majorana Representation 7 2.6 Diagonalisation 7 2.7 Numerical diagonalisation 8 3 Fermionic Gaussian States 10 3.1 Fermionic Gaussian states 10 3.2 Correlation Matrix 11 3.3 Covariance matrix 12 3.4 Wick’s theorem 12 3.5 Diagonalisation of the correlation matrix 13 3.6 Eigenvalues of ρand eigenvalues of Γ15 1 SciPost Phys. Lect. Notes 54 (2022) 3.7 Reduced density matrix and tensor product of fermionic Gaussian states 17 3.8 Correlation matrices of translational invariant states 18 3.9 Product Rule 21 3.10 Information measures 22 3.11 Examples 24 3.12 Time Evolution 27 4 Hopping model 28 4.1 Numerical diagonalisation 28 4.2 Time Evolution 30 5 Transverse Field Ising Model 32 5.1 Analytical diagonalisation of the TFI Hamiltonian 34 5.2 Ground state 36 5.3 Time Evolution 39 6 Benchmarking with fermionic Gaussian states 40 6.1 Imaginary-time evolution 41 6.2 Numerical Imaginary time evolution 42 6.3 Fermionic Gaussian States with Fixed Bond Dimension 43 6.4 Reduction of the bond dimension of a two dimensional system divided in sectors 50 7 Conclusions 51 A Appendix 52 A.1 Extended calculations 52 A.1.1 Eigenvalues of Γand Hα52 A.1.2 Purity 54 A.1.3 Real Time Evolution 54 A.1.4 Circulant Matrices 54 A.1.5 Block diagonal form of skew-symmetric matrices 55 A.1.6 Power method algorithm 55 A.1.7 Equilibration of fermionic Gaussian systems 56 A.1.8 Jordan-Wigner transformation 58 A.2 Matrix product states 59 A.3 Useful relations 60 A.3.1 Pauli Matrices 60 A.3.2 Operators obeying CAR 60 A.3.3 Jordan-Wigner Transformations 61 A.3.4 Formulas 61 References 62 1 Introduction In these notes, we review the properties of free fermionic systems. When we talk about free fermionic systems we naturally think of them as an idealisation of electrons weakly interacting 2 SciPost Phys. Lect. Notes 54 (2022) with the electro-magnetic field. This happens, for example, in vacuum, when an electron is separated from any other electron and moves slowly. Free fermionic systems appear naturally even as emerging collective excitations in materials [1]. For example the Landau pseudo-particles in Fermi-liquids that describe metals behave as free. Most of the metal properties can be described through the band theory of these collective free electrons. In one dimension the relevance of free fermions is even larger since they provide the natural language for describing some of the integrable spin chains, such as the Ising model and its derivates [2,3]. Furthermore, the possible phases of free fermionic systems in 1D have been fully characterized [4]. In higher dimensions, the analogous program is still ongoing, but by studying the topology of free fermionic bands, one can naturally identify and characterise a plaethora of topological materials [5]. Similarly to condensed matter, quantum chemistry often requires properly describing the orbitals of complicated molecules. In first approximation, one uses a Hartree Fock approach that is based on identifying the best set of free electronic orbitals to describe the molecule of interest [6]. As a result, just by properly understanding systems of free fermions, one can understand a great deal of modern physics. For these reasons, free fermionic systems have been widely used in advancing our understanding of new fields of physics such as e.g. the quantum information approach to many-body quantum systems [7]. More importantly, free fermionic systems are also at the base of approximate methods in solid-state physics and quantum chemistry. There the interacting multi-electron problem is solved by finding the best set of non-interacting orbitals that approximate the system [8]. Here we consider a different aspect of the free fermionic systems. We study them from the computational point of view, as a tool for benchmarking new ideas and new algorithms for solving many-body quantum systems. New approaches to quantum many-body systems inspired by quantum information and based on tensor networks, indeed, can be thought of as perturbation theories in terms of the entanglement in the system rather than around its interactions [9–11]. Roughly speaking, there is a consensus that the computational cost of simulating quantum many-body systems with classical computers increases as the entanglement increases (for a review on the topic of entanglement in many-body physics see [12]and references therein). Free systems constitute an exception to this. In fact, no matter their entanglement structure, the Hamiltonian of a system of free fermions, can be diagonalised with a cost proportional to N3, where Nis the number of fermionic modes in the system, and, as a result, most of the interesting states of the system can be obtained for relatively large mode sets. For example, a Fermi-sea in one dimension can have logarithmic violation to the area law, and we can build arbitrarily entangled free systems, across one partition (see e.g. the rainbow chain [13,14]). We will review how to construct ground states, thermal states, diagonal ensembles, and states resulting from the out-of-equilibrium evolution resulting from quenches or time-depen- dent Hamiltonians. Free systems provide the natural benchmark for algorithmic ideas on how to treat generic systems. The first example of this approach is presented in [15]. Successively, algorithms such as DMRG were introduced for free fermionic system [16]. This review describes a software package in Julia that can be used to experiment with those systems. The package is freely available in GitHub and provides the basic building blocks of any numerical simulation of free fermionic systems. As specific examples, we review how to encode a one-dimensional system in a matrix product state at the level of correlation matrices, thus obtaining algorithms to encode optimal 3 SciPost Phys. Lect. Notes 54 (2022) Gaussian matrix product states [17]given the Hamiltonian of the system. The two most wellknown algorithms used in this context, namely DMRG and the time-evolving block decimation are reviewed in this setting and explicitly implemented. We also review how to perform real-time evolution using the correlation matrices, something that we have used for example in [18,19]. We also discuss how to encode a system of free fermions on a cylinder as a matrix product state. Using matrix product states for describing 2D systems is something that has found applications in detecting topological phases of matter [20,21]. Here we use the natural mixed coordinates momentum and real space, respectively in the periodic direction and in the open direction to describe the 2D system as a set of decoupled one-dimensional chains. By using the previously introduced time-evolving block decimation on each of those chains, we can build a matrix product state for the two-dimensional system. 2 Basics 2.1 The canonical anticommutation relations Consider a set of operators {ai}N i=1acting on a Hilbert space H. These operators satisfy the canonical anticommutation relation (CAR) {ai,a† j}=Iδi,j;{ai,aj}=0, (1) where the curly brakets {a,b}:=ab +ba denote the anticommutator. As shown in [22]a number of properties for the set of operators {ai}N i=1and for the Hilbert space Hcan be inferred just by the fact that such operators exist and obey the CAR. The a† iaiform a set of commuting, Hermitian, positive operators with eigenvalues {0,1}. We denote with ~x∈ {0,1}Na binary string of length Nwith the i-th elements xi. With |~x〉we identify one of the 2Nstates that is the simultaneous eigenstate of a† iaifor all i=1,...,Nwith eigenvalues respectively xi. The operator aiacts as a lowering operator for a† iaiand a† iacts as araising operator for a† iaiin the sense that 1. If a† iai|~x〉=|~x〉, that is, |~x〉is an eigenvector of a† iaiwith eigenvalue equal to 1, then the action of aion |~x〉lowers the corresponding eigenvalue, meaning that a† iai(ai|~x〉) = 0(ai|~x〉). 2. If a† iai|~x〉=0|~x〉, that is, |~x〉is an eigenvector of a† iaiwith eigenvalue equal to 0, then the action of a† ion |~x〉raises the corresponding eigenvalue, meaning that a† iai(a† i|~x〉) = 1(a† i|~x〉). We define an ordering by explicitly defining |~x〉:= (a† 1)x1(a† 2)x2...(a† N)xN|~ 0〉, where ~ 0 is the string of Nzeros. The set {|~x〉}~x∈{0,1}Nforms an orthonormal basis. Since the dimension of the Hilbert space His 2N, then {|~x〉}~x∈{0,1}Nis an orthonormal basis of H. The orthonormal basis {|~x〉}~x∈{0,1}Nis called Fock basis. The action of the raising and lowering operators on |~x〉is then ai|~x〉=¨−(−1)Si ~x|~ x0〉with x0 i=0 and x0 j6=i=xj6=i, if xi=1 0 if xi=0, (2) a† i|~x〉=¨0 if xi=1 −(−1)Si ~x|~ x0〉with x0 i=1 and x0 j6=i=xj6=i, if xi=0, (3) 4 SciPost Phys. Lect. Notes 54 (2022) with Si ~x=Pi−1 k=1xk. In appendix Awe report some useful equalities valid for operators satisfying the CAR. 2.2 Dirac and Majorana representations The raising and lowering operators a† i,aiare called Dirac operators and they represent the action of adding and removing the i-th fermionic mode. Both aiand its adjoint a† iare not Hermitian. The Hermitian combinations of the raising and lowering operators xi=ai+a† i p2,pi=ai−a† i ip2,(4) are called Majorana operators. The inverse transformations are: ai=xi+ipi p2,a† i=xi−ipi p2.(5) In terms of Majorana operators the CARs read as {xi,xj}={pi,pj}=δi,j,{xi,pj}=0. (6) We remark that to Majorana operators labelled by icorrespond Dirac operators labelled by i. Moving between Majorana and Dirac operators does not mix modes. Vector notation We can collect the Dirac operators of a system with Nmodes in the vector ~α of length 2Ndefined as ~α =          a† 0 . . . a† N−1 a0 . . . aN−1          ,~α†=a0... aN−1a† 0... a† N−1. (7) Analogously we can collect the Majorana operators in the vector ~rdefined as ~r=          x0 . . . xN−1 p0 . . . pN−1          , (8) in terms of ~rthe CAR are conveniently written as ri,rj=δi,j. (9) We define the unitary matrix Ωas Ω=1 p2I I iI−iI,Ω†=Ω−1=1 p2I−iI IiI. (10) Such a matrix, applied to the vector of the Dirac operators ~α, returns the vector of Majorana operators ~r=Ω~α. 5 SciPost Phys. Lect. Notes 54 (2022) Fermionic transformation A transformation ~r→~s=O~ris said to preserve the CAR in the Majorana representation if it maps a vector of Majorana operators ~rto a new one ~s=O~r. If we explicitly impose ~s=O~rto preserve the CAR we obtain δi,j={si,sj}=X k,l Oi,kOj,l{rk,rl}= (OOT)i,j, (11) thus matrix Omust be an orthogonal matrix. We call fermionic transformation any transformation ~α →~ β=U~α that preserves the CAR of the Dirac operators vectors. Matrix Uhas the form of U=Ω†OΩwith Oan orthogonal matrix. It has been shown in [23]that fermionic transformations are generated by fermionic quadratic Hamiltonian (to be defined later), thus have the general form U=e−iˆ H, with ˆ Ha generic fermionic quadratic Hamiltonian. Clifford Algebra The Majorana operators {ri}i=1,...,2Nare Hermitian, traceless and generate the Clifford algebra denoted by C2N. Any arbitrary operator X∈C2Ncan be represented as a polynomial of the Majorana operators as [23] X=α0I+ 2N X p=1X 1≤q1<···<qp≤2N αq1,...,qprq1... rqp, (12) where Iis the identity and the coefficients α0and αq1,...,qpare real. When the representation of X∈C2Ninvolves only even powers of Majorana operators, we call it an even operator. If the representation of Xinvolves only odd powers of Majorana operators, then Xis called odd operator. We define the parity operator as P= (i)2Nr1r2... r2N= N Y i=1 (I−2a† iai). (13) Every even operator Xcommutes with the parity operator P. The parity pXof an operator X is defined as PX =pXXand it can only assume the two values pX∈{−1,1}. fermionic quadratic Hamiltonians (to be defined later) are even operators. For an N-mode fermionic system with orthonormal basis {|~x〉}, the matrices |~x〉〈~x|defined for every ~xhave the polynomial representation |~x〉〈~x|=I 2−i(−1)x1r1r2I 2−i(−1)x2r3r4...I 2−i(−1)xNr2N−1r2N, (14) thus {|~x〉〈~x|} are all even operators with parity p|~x〉〈~x|=−(−1)PN i=1xi. Mixed matrices |~x〉〈~ x0|with ~x6=~ x0are odd operators if mod(d(~x,~ x0),2) = 1, where d(~x,~y) is the Hamming distance1of ~xand ~y, and they are even operators if mod(d(~x,~ x0),2) = 0. 2.3 Fermionic Quadratic Hamiltonians 2.4 Dirac Representation The general fermionic quadratic Hamiltonians (f.q.h.) on a finite lattice of Nsites in the Dirac operators representation can be written as ˆ H= N X i,j=1Ai,ja† iaj−¯ Ai,jaia† j+Bi,jaiaj−¯ Bi,ja† ia† j, (15) 1The Hamming distance between two string is the minimum number of substitutions required to change one string into the other. For example, the Hamming distance between ~x="000" and ~y"=010" is 1 since flipping the bit y2is enough to change ~yto ~x. 6 SciPost Phys. Lect. Notes 54 (2022) where Ais a Hermitian complex matrix, A†=A, and Bis a skew-symmetric complex matrix, BT=−B. Defining the matrix H=−¯ A B −¯ B A , (16) the compact form of equation (15) reads ˆ H=~α†H~α. (17) We will call Hamiltonians both ˆ Hand Has for a fixed choice of Dirac operators one completely identifies the other. 2.5 Majorana Representation The Majorana representation of the generic f.q.h. reads as ˆ H=i N X i,j=1hx x i,jxixj+hpp i,jpipj+hxp i,jxipj+hpx i,jpixj=i~r†h~r, (18) where ih =ΩHΩ†=iℑ{A+B} ℜ{A+B} ℜ{B−A} ℑ{A−B}=ihx x hxp hpx hpp . (19) Where ℑ{·} and ℜ{·} are respectively the imaginary and the real part of their argument. Using the properties of matrices Aand B, it is easy to see that matrix his real and skewsymmetric. 2.6 Diagonalisation Diagonal form of the Hamiltonian with Dirac operators Given a particular f.q.h. ˆ Hin the general form (15) it is always possible to find a new set of Dirac operators {bk}N k=1such that ˆ Hin terms of {bk}N k=1reads as ˆ H= N X k=1 εk(b† kbk−bkb† k), (20) with εk∈Rfor all k=1,2,...,N[24]. We call Hamiltonians in this form free-free fermion Hamiltonians. In compact form ˆ H=~ β†HD~ β, (21) with HD=U†HU =            −ε10 ... ... 0 0....... . . . . ....−εN ε1 .... . . . . .......0 0 ... ...0 εN            , (22) where ~ βis the collection of the Dirac operators bk,b† mordered as in ~α, and Uis the fermionic transformation that diagonalises the Hamiltonian. We will always order the eigenvalues in descending order (ε1≥ε2≥···≥εN≥0). 7 SciPost Phys. Lect. Notes 54 (2022) Diagonal form of the Hamiltonian with Majorana operators In terms of Majorana operators the diagonal form of a generic f.q.h. reads as ˆ H=i N X i=1 λi(˜ xi˜ pi−˜ pi˜ xi), (23) for a set of Majorana operators {˜ xi}i,{˜ pi}i. In compact form ˆ H=i~s†hD~s, (24) where ~sis the collection of the Majorana operators ˜ xi,˜ pjordered as (31) and where hD=OThO = N M i=10λi −λi0(25) is a block diagonal matrix and Othe orthogonal transformation that diagonalises the Hamiltonian in the Majorana operators representation. Substituting the definition of Majorana operators (4) into equation (23) and confronting with equation (20) we note that εk=λk. 2.7 Numerical diagonalisation As seen in subsection 2.6, diagonalising a general f.q.h. ˆ Hreduces to diagonalising (or to block diagonalise in the case of Majorana representation) the matrix Hof its compact form. We are thus interested in finding the fermionic transformation Uthat maps Hand the vector of Dirac operators ~α respectively to the diagonal matrix HD=U†HU and to the vector of Dirac operators ~ β=U~α such that, in terms of ~ β, the Hamiltonian is in the diagonal form (20). Here we focus on the numerical approach, we diagonalise the Hamiltonian using standard matrix decomposition techniques. For a more physical approach we refer to [24]. First step in the diagonalisation procedure is moving to the Majorana representation of H ˆ H=~α†H~α =~α†Ω†ΩHΩ†Ω~α = =i~r†h~r. (26) The following theorem is a standard result in matrix theory [25,26] Theorem 1 (Block diagonal form of skew-symmetric matrices) Let h be 2N×2N a real, skew-symmetric matrix. There exists a real special orthogonal matrix O such that h=OhDOT, (27) with hDa block diagonal matrix of the form hD= N M i=10λi −λi0(28) for real, positive-definite {λi}i=1,...,N. The non-zero eigenvalues of matrix h are the imaginary numbers {±iλi}i=1,...,N. For a more general form of this theorem see appendix A.1.5. Matrix hin (18) is real, skew-symmetric, thus, using theorem (27) we know there exists an orthogonal transformation Othat diagonalises the matrix ˆ H=i~r†h~r=i~r†OO†hOO†~r(29) =i~s†N M i=10λi −λi0~s=i~s†hD~s. (30) 8 SciPost Phys. Lect. Notes 54 (2022) That is ˆ H=iPN−1 i=0λi(˜ xi˜ pi−˜ pi˜ xi)once defined the new collection of Majorana operators ~s=O~ras ~s=           ˜ x0 ˜ p0 ˜ x1 ˜ p1 . . . ˜ xN−1 ˜ pN−1           . (31) Block-diagonal form of real skew-symmetric matrices The matrix decomposition (27) of theorem 1is numerically obtained in 3 steps 1. Compute numerically a Schur decomposition (or Schur triangularisation as in [26]) of the skew-symmetric matrix hsuch that: h=˜ O˜ hD˜ OT. The matrix ˜ hDshould be a blockdiagonal matrix with each block in the anti-diagonal form 0˜ λi −˜ λi0. (32) It is not guaranteed that the ˜ λiare positive for each i. It is necessary to reorder them as in step 2. 2. Build the orthogonal matrix S=LbN/2c i=1siwith si=0 1 1 0 (33) if ˜ λi<0 or si=1 0 0 1 , (34) if ˜ λi>0. 3. The final orthogonal transformation is O=˜ OS such that h=OhDOT. F_utilities 2.1: Diag_real_skew(h) →hD,O This function implements the algorithm for the block diagonalisation of ha generic skew-symmetric real matrix. hDis the block-diagonal matrix of (27) and has the following property: it is in the block diagonal form, each 2 ×2 block is skew-symmetric with the upper-right element positive and real and hDis in ascending order for the upper diagonal. Ois an orthogonal matrix such that: h=OhDOT. Moving back to Dirac representation The vector of Majorana operators ~s(31) has a different ordering with respect to the vector ~r. We call the order of the operators in ~san xp ordering and the ordering of the operators in ~rand x x ordering. The transformation matrix Ω†maps a vector of Majorana operators in x x ordering to a vector of Dirac operators, thus, before being 9 SciPost Phys. Lect. Notes 54 (2022) Uρ. The Fock basis in which ρis diagonal is the one generated by the set of operators that expresses Γin diagonal form. In these two basis ρand Γassume the forms ΓD=            ν10 ... ... 0 0....... . . . . ....νN 1−ν1 .... . . . . .......0 0 ... ...0 1 −νN            , ρD= N O k=1νk0 0 1 −νk=   π~ 00 ... 0.... . . . . . ... π~ 1   . (67) Thus if we denote each of the 2Neigenvalues π~xof ρwith a binary string ~x∈{0,1}Nwe have that π~x= N Y k=1 (~xkνi+ (1−~xk)(1−νk)) . (68) For example in the case of N=2 one has the four eigenvalues: π00 = (1−ν1)(1−ν2),π01 = (1−ν1)ν2,π10 =ν1(1−ν2),π11 =ν1ν2. It is evocative changing the order of the Dirac operators in the representation of ΓD ~ β=          b† 0 . . . b† N−1 b0 . . . bN−1          →~ ˜ β=            b† 0 b0 b† 1 b1 . . . b† N bN            , (69) this can be easily done with the fermionic transformation ˜ ΓD=F† xp→x x ΓDFxp→x x . With this ordering we have ˜ ΓD= N M k=1νk0 0 1 −νk,ρD= N O k=1νk0 0 1 −νk. (70) To the tensor product of density matrices corresponds a direct sum of correlation matrices. F_utilities 3.6: Eigenvalues_of_rho(Γ)→~ν This function returns the eigenvalues of the correlation matrix ρassociated to the fermionic Gaussian state with Dirac correlation matrix Γ. 16 SciPost Phys. Lect. Notes 54 (2022) 3.7 Reduced density matrix and tensor product of fermionic Gaussian states Trying to define a partial trace over fermionic modes subspaces one soon faces what is often called the "partial trace ambiguity" [27,28](see also the end of appendix A.1.8). In the case of fermionic Gaussian states, though, this is a much simpler task. Any reduced state formalism has to satisfy the simple criterion that the reduced density operator must contain all the information about the subsystem that can be obtained from the global state when measurements are performed only on the respective subsystem alone [27,28]. With Wick’s theorem in mind it is easy to see that the correlation matrix of the reduced state on the modes i1,...,imis just the correlation matrix Γ|{i1,...,im}and that the reduced state of a f.g.s. is a f.g.s. too. F_utilities 3.7: Reduce_gamma(Γ,m,i_1)→Γ|{i1,...,im} This function takes a Dirac correlation matrix Γ, a dimension of the partition mand the initial site of the partition i1and return Γ|{i1,...,im}, the reduced correlation matrix on the contiguous modes {i1,...,im}where im=i1+mand periodic boundary conditions are always assumed. Examples: the green elements of the matrix M6×6are the ones returned by the function calls. Reduce_gamma(M6×6,2,1)→ Reduce_gamma(M6×6,2,3)→ The correlation matrix ΓA,Bof the tensor product of two f.g.s. ΓAand ΓBis obtained simply by collecting all the elements of ΓAand ΓBin a single well ordered correlation matrix ΓA,B. The code for obtaining ΓA,Bfrom ΓAand ΓBis D_A = size(Gamma_A,1); D_B = size(Gamma_B,1); D = D_A+D_B; Gamma_AB = zeros(Complex{Float64}, D,D); Gamma_AB = Inject_gamma(Gamma_AB,Gamma_A,1); Gamma_AB = Inject_gamma(Gamma_AB,Gamma_B,D_A+1); This code makes use of the function Inject_gamma. 17 SciPost Phys. Lect. Notes 54 (2022) F_utilities 3.8: Inject_gamma(Γ,Γinj, i)→Γcomp This function takes a 2N×2Nmatrix Γand a 2n×2nmatrix Γinj with n≤Nand an injection point i. It returns the 2N×2Nmatrix Γcomp as shown in the pictures. Γ=,Γinj = Inject_gamma(Γ,Γinj,1) →, Inject_gamma(Γ,Γinj,3) →. In the last example it is clear the systems behave with periodic boundary conditions. If Γis the correlation matrix of a f.g.s ρand Γinj is the correlation matrix of a f.g.s ρinj then Γcomp is the correlation matrix of the state Tri,...,i+n-1 [ρ]⊗ρinj. It is clear that with the ordering (69), the tensor product of two f.g.s. corresponds to the direct sum of their correlation matrices ρA,B=ρA⊗ρB→˜ ΓA,B=˜ ΓA⊕˜ ΓB. (71) 3.8 Correlation matrices of translational invariant states We consider a state ρof a system of Nsites and all its reduced density matrices ρA, where Ais any possible set of sites of the system. We denote with A+mthe set of sites A+m={j=i+m|iis a site of A}, that is a translation of all site of Aby msites. When we will assume Periodic Boundary Conditions (PBC) we will allow for translations "over the border" of the system, in the sense that when i+m>N(or i+m<1) we will substitute it with i+m→mod(i+m−1,N+1)+1. This is interpreted as connecting the first site with the last site of the system. Thus for PBC all translations are allowed. When we will assume Open Boundary Conditions (OBC) only translations within the system. This means that if i∈Aand i+m>N(or i+m<1), then the subset A+mis not an allowed subset of sites. Atranslational invariant state is a state such that for every Awe have ρA=ρA+mfor every allowed m. This property easily translates to correlation matrices of states. For the two point correlators of a translational invariant state we have that 〈a† jal〉=〈a† j+mal+m〉and 〈ajal〉=〈aj+mal+m〉 for every m. The specific correlator is thus individuated just by the difference of the sites of 18 SciPost Phys. Lect. Notes 54 (2022) Figure 1: System with Open Boundary Conditions. If the state is translational invariant, then the reduced density matrix on sites 1 and 2 is the same as the one on sites 3 and 4, but is different from the one on sites 5 and 1 Figure 2: System with Periodic Boundary Conditions. If the state is translational invariant then the reduced density matrix on sites 1 and 2 or sites 3 and 4 or even sites 5 and 1 are all the same the first and second operator ∆:=l−jwith ∆∈[−(N−1),N−1]. Using this, we substitute 〈a† jal〉→〈a†a〉∆and analogously 〈ajal〉→〈aa〉∆. We now focus on Γa†a, explicitly expressing it, we have Γa†a      〈a†a〉0〈a†a〉1〈a†a〉2... 〈a†a〉N−1 〈a†a〉−1〈a†a〉0〈a†a〉1... 〈a†a〉N−2 〈a†a〉−2〈a†a〉−1〈a†a〉0... 〈a†a〉N−3 . . .. . .. . ..... . . 〈a†a〉−(N−1)〈a†a〉−(N−2)〈a†a〉−(N−3)... 〈a†a〉0       . (72) Matrix with this structure are called Toeplitz matrices. If we further require the system to have PBC, we have that the parameter ∆is restricted to the range [0,N−1]. Consider for example the specific instance of the correlator 〈a†a〉1−N=〈a† Na1〉, because of the translational invariance property of the system and because of the PBC we know that 〈a† Na1〉=〈a† N+1a1+1〉=〈a† 1a2〉=〈a†a〉1(see figure 2). With PBC, Γa†ahas the form Γa†a=      〈a†a〉0〈a†a〉1〈a†a〉2... 〈a†a〉N−1 〈a†a〉N−1〈a†a〉0〈a†a〉1... 〈a†a〉N−2 〈a†a〉N−2〈a†a〉N−1〈a†a〉0... 〈a†a〉N−3 . . .. . .. . ..... . . 〈a†a〉1〈a†a〉2〈a†a〉3... 〈a†a〉0       . (73) We see that Γa†ais the circulant matrix (see appendix A.1.4) characterised by the circulant vector ~ 〈a†a〉=〈a†a〉0,〈a†a〉1,〈a†a〉2,...,〈a†a〉N−1. Following the same reasoning, we see that Γaa†is a circulant matrix characterised by the circulant vector ~ 〈aa†〉=〈aa†〉0,〈aa†〉1,〈aa†〉2,...,〈aa†〉N−1. Matrices Γaa and Γa†a†are circulant skewsimmetric matrices, often called skew-circulant matrices. If Nis even Γaa and Γa†a†are specified by the circulant vectors 19 SciPost Phys. Lect. Notes 54 (2022) ~ 〈aa〉=〈aa〉0,〈aa〉1,〈aa〉2,...,〈aa〉N 2−1,0,−〈aa〉N 2−1,−〈aa〉N 2−2,...,〈aa〉1 and ~ 〈a†a†〉=〈a†a†〉0,〈a†a†〉1,〈a†a†〉2,...,〈a†a†〉N 2−1,0,−〈a†a†〉N 2−1,−〈a†a†〉N 2−2,...,〈a†a†〉1. If Nis odd Γaa and Γa†a†are specified by the circulant vectors ~ 〈aa〉=〈aa〉0,〈aa〉1,〈aa〉2,...,〈aa〉N−1 2,−〈aa〉N−1 2−1,−〈aa〉N−1 2−2,...,〈aa〉1 and ~ 〈a†a†〉=〈a†a†〉0,〈a†a†〉1,〈a†a†〉2,...,〈a†a†〉N−1 2,−〈a†a†〉N−1 2−1,−〈a†a†〉N−1 2−2,...,〈a†a†〉1. Eigenvalues using the properties of circulant-matrices In appendix A.1.4 we show the general form of the eigenvalues of a circulant matrix. For Γaa,Γa†a†matrices Γa†a,Γaa†we have that their respective eigenvalues λa†a k,λaa† kare λa†a k= N−1 X ∆=0 ei2π N∆k〈a†a〉∆,λaa† k= N−1 X ∆=0 ei2π N∆k〈aa†〉∆. (74) For matrices Γaa,Γa†a†we have that their respective eigenvalues λaa k,λa†a† kare λaa k=(2PN 2−1 ∆=0ei2π Nk∆〈aa〉∆if Neven (1+e−iπ N)PN 2−1 ∆=0ei2π Nk∆〈aa〉∆if Nodd , λa†a† k=(2PN 2−1 ∆=0ei2π Nk∆〈a†a†〉∆if Neven (1+e−iπ N)PN 2−1 ∆=0ei2π Nk∆〈a†a†〉∆if Nodd . (75) We notice that the eigenvalues of Γaa,Γa†a†comes in pairs λaa k=−λaa k+dN 2eand λa†a† k=−λa†a† k+dN 2e as expected from the property of skew-symmetric matrices (see appendix A.1.5). Eigenvalues using the Fourier transform on a linear lattice We introduce the Fourier transforms on a linear lattice fk=1 pN N X j=1 ei2π Nkjaj,f† k=1 pN N X j=1 e−i2π Nkja† j, (76) with inverse transformations aj=1 pN N X k=1 e−i2π Nkj fk,a† j=1 pN N X k=1 ei2π Nkj f† k. (77) It is easy to see that the Fourier modes {fk,f† k}kobey to the CAR and are valid Dirac operators. Now we perform the substitutions (5.1) in the expression of Γa†aand we further exploit the translational invariance (〈a†a〉∆=1 NPN j=1〈a† jaj+∆〉) to obtain 〈a†a〉∆=1 N2 N X jX k,k0 ei2π Nk0∆ei2π N(k−k0)j〈f† kfk0〉. (78) 20 SciPost Phys. Lect. Notes 54 (2022) Collecting the Kronecker delta (see appendix A.3.4) we can express the elements of Γa†aas 〈a†a〉∆=1 N N X k=1 e−i2π Nk∆〈f† kfk〉. (79) With the same procedure we obtain 〈a†a〉∆=1 N N X k=1 e−i2π Nk∆〈f† kfk〉,〈aa†〉∆=1 N N X k=1 e−i2π Nk∆〈fkf† k〉, 〈aa〉∆=1 N N X k=1 e−i2π Nk∆〈fkfN−k〉,〈a†a†〉∆=1 N N X k=1 e−i2π Nk∆〈f† N−kf† k〉, (80) with inverse transformations 〈f† kfk〉= N X ∆=1 ei2π Nk∆〈a†a〉∆,〈fkf† k〉= N X ∆=1 ei2π Nk∆〈aa†〉∆, 〈fkfN−k〉= N X ∆=1 ei2π Nk∆〈a†a〉∆,〈f† kf† N−k〉= N X ∆=1 e−i2π Nk∆〈aa†〉∆. (81) We can easily identify λa†a k=〈f† kfk〉,λaa† k=〈fkf† k〉, λaa k=〈fkfN−k〉,λa†a† k=〈f† kf† N−k〉. (82) At last, we note that the Fourier transform does not mix creation and annihilation operators and can be implemented directly on the vector of Dirac operators ~α with the fermionic transformation Uωthat has the block diagonal form Uω=W0 0¯ W, (83) where Wis the matrix implementing the discrete Fourier transform (see appendix A.1.4) and it acts separately on the creation and annihilation operators sectors of ~α. For an example of diagonalisation of translational invariant matrices see e.g. subsection 4 F_utilities 3.9: Build_Fourier_matrix(N)→Uω This function returns the fermionic transformation Uωfor a system of Nsites. 3.9 Product Rule It will result useful to compute the product ρ=ρ1ρ2of the density matrices of two fermionic Gaussian states. We observe that the commutator of two quadratic terms of Majorana operators ~ris always again a quadratic operator or zero [rirj,rkrl] = δk,irlrj+δk,jrirl−δi,lrkrj−δl,jrirk. (84) This is also valid for Dirac operators. We say that the commutator of two monomials of Dirac operators of degree at most 2 is a polynomial of Dirac operators of degree at most 2. Using 21 SciPost Phys. Lect. Notes 54 (2022) this observation together with the Baker-Campbell-Hausdorff formula ( equation B.C.H.0 in appendix A.3.4), it is easy to see that ρ, the product of two f.g.s., is always a f.g.s. ρ=e−ˆ H Z, (85) with ˆ Hgiven by the B.C.H.0. It is possible to derive the covariance matrix γof ρdirectly from the covariance matrices γ1and γ2of the states ρ1and ρ2. This formula appears in [37]where a more detailed description, considering even pathological cases, is given. If we assume that I−γ1and I−γ2are invertible then we have γ=I−(I−γ2)1 I+γ1γ2 (I−γ1). (86) F_utilities 3.10: Product(Γ1,Γ2)→Γ This function returns the correlation matrix Γcorresponding to the f.g.s ρ=ρ1ρ2, where ρ1and ρ2are characterised by the correlation matrices Γ1and Γ2. 3.10 Information measures Von Neumann Entropies The von Neumann entropy of a quantum state described by the density matrix ρis S(ρ) = −Tr[ρln(ρ)] . (87) In terms of the eigenvalues λof ρ, the von Neumann entropy reads as S(ρ) = −X λ λln(λ). (88) If ρis a f.g.s. of a system with Nsites, since the von Neumann entropy is invariant under unitary transformation of the state, substituting in (87) the product form (70) and using the fact that the von Neumann entropy is additive for product states, the von Neumann entropy becomes a function of the eigenvalues νiof the correlation matrix Γand it is the sum of just 2Nterms S(Γ)≡S(ρ) = − N X k=1 [νkln(νk)+(1−νk)ln(1−νk)] . (89) F_utilities 3.11: VN_entropy(Γ)→S This function returns S, the Float64 value of the von Neumann Entropy of the state described by the Dirac correlation matrix Γ. Purity A state is pure if its correlation matrix Γis such that [38] Γ2=Γ, (90) or, equivalently, γ2=−I. (91) The purity of a state ρis defined as Purity(ρ)≡Tr ρ2. (92) 22 SciPost Phys. Lect. Notes 54 (2022) We have that: Purity(ρ) = N−1 Y i=1 1 21+tanh(εi)2, (93) Purity(Γ) = N−1 Y i=1 (2(νi−1)νi+1), (94) Purity(γ) = N−1 Y i=12η2 i+1 2, (95) the value of the purity is the same if computed with any of these equations. For more details see appendix A.1.2. F_utilities 3.12: Purity(Γ)→p This function returns pthe purity of the fermionic Gaussian state with Dirac correlation matrix Γ. Entanglement Contour In 2014 Chen and Vidal [39]introduced the entanglement contour "a tool for identifyng which real-space degrees of freedom contribute, and how much, to the entanglement of a region A with the rest of the system B". We consider the state of a system on a chain of Nsites, we divide the chain into two complementary partitions, partition Aand partition B. Now suppose partitions Aand Bare entangled and that there exists a measure E(A,B)that quantifies the amount of entanglement between Aand B. The entanglement contour cA(i)of partition Atells us how much each site iof partition Acontributes to the total amount of entanglement betwen Aand B. Furthermore summing cA(i)over all the sites of A one should obtain exactly E(A,B). Chen and Vidal state five reasonable properties that define when a function is a contour function. In the same paper they show that these five properties do not identify a unique contour function, but instead a class of functions. Here we are going to focus on a specific entanglement contour defined for fermionic Gaussian states. First of all we restrict to pure states. For a pure state, it is known that a good measure of entanglement between two complementary partition Aand Bis the entanglement entropy, that is the von Neumann entropy E(A,B) = S(A) of the reduced state on A. We consider an Hilbert space Hdivided in the two complementary partitions H=HA⊗HB, each partition with NAand NBsites respectively. The Schmidt decomposition (see section of a pure state |ψA,B〉in His |ψA,B〉=X ippi|ψA i〉⊗|ψB i〉, (96) with pi≥0, Pipi=1 and ρA≡TrB|ψA,B〉〈ψA,B|=X i pi|ψA i〉〈ψA i|. (97) The entanglement entropy for this choice of partition is thus S(A) = −Pipiln(pi). Factorising the Hilbert space HAin its tensor product structure HA=Nj∈AHj, we individuate in each local Hilbert space Hja site of the partition A. We remind that ρAcannot be expressed as a product state over this factorisation of HAand that the von Neumann entropy is not additive. Thus the von Neumann entropy computed on each site is not a good entanglement contour function. 23 SciPost Phys. Lect. Notes 54 (2022) We know from 3.7 that ρAis a f.g.s., thus we can express the entanglement entropy S(A)as the sum of the von Neumman entropy of each mode in A, S(A) = NA X k=1 Sk=− NA X k=1 [νkln(νk) + (1−νk)ln(1−νk)] . (98) Each mode k, associated to the Dirac operators βk=b† k,βk+NA=bk, is connected to the real space modes associated the Dirac operators αi=a† i,αi+NA=aiby the fermionic transformation Usuch that βk= NA X i=1 Uk,iαi. (99) We want to use this equation to find how much a fixed mode kcontributes to a fixed site i. We call this contribution pi(k)and we define it as pi(k):=1 2|Uk,i|2+|Uk+NA,i+NA|2+|Uk,i+NA|2+|Uk+NA,i|2. (100) The entanglement contour for partition Ais thus defined as cA(i):= NA X k=1 pi(k)Sk. (101) It is easy to see that each of the pi(k)is positive and that NA X k=1 pi(k) = 1, (102) as NA X k=1 pi(k) = 1 22NA X l=1 Ui,lU∗ l,i+Ui+NA,lU∗ l,i+NA=1 2(UU†)i,i+ (UU†)i+NA,i+NA=1, since Uis unitary. Thus one has the desired property NA X i=1 cA(i) = S(A). (103) F_utilities 3.13: Contour(ΓA)→~cA This function returns the vector ~cAi=cA(i)of the entanglement contour of the correlation matrix ΓA. 3.11 Examples We will use the function F_utilities 3.14: Random_NNHamiltonian(N)→H Generates a random f.q.h. Hamiltonian for a system of Nsites with just nearest neighbour interactions. 24 SciPost Phys. Lect. Notes 54 (2022) Figure 3: Output of examples 3.11. In the plot are represented the eigenvalues of a random nearest-neighbour Hamiltonian computed with the code Random_NNHamiltonian(N) for a system with N=64 sites. Computing the energies of H In this program we compute the energies εkof a random nearest neighbours Hamiltonian on a linear lattice of N=64 sites generated with the function Random_NNHamiltonian(64). The program generates the output figure 3. using F_utilities; using PyPlot; using LinearAlgebra; const Fu = F_utilities; N = 64; #Generate and diagonalise the hamiltonian H = Fu.Random_NNhamiltonian(N) H_D, U_D = Fu.Diag_h(H) #Print the energy modes epsilon_k figure("Energies") plot(1:N,diag(H_D)[1:N]) xlabel(L"$k$") ylabel(L"$-\epsilon_k$") Computing the entanglement contour of a partition of a ground state In this program we compute the entanglement contour and the entropy of a partition of NA=32 sites in the bulk of the ground state of a random nearest neighbours Hamiltonian on a linear lattice of N=64 sites. The program generates the output figure 4. using F_utilities; using PyPlot; using LinearAlgebra; 25 SciPost Phys. Lect. Notes 54 (2022) figure("Evolutions") plot(real.(adaa), color="black", label=L"$\mathfrak{R}(\langle a_1^{\ ,→dagger}a_2 \rangle)(t)$"); plot(imag.(adaa), color="black",linestyle="--", label=L"$\mathfrak{I}(\ ,→langle a_1^{\dagger} a_2 \rangle)(t)$"); plot(real.(aa), color="purple", label=L"$\mathfrak{R}(\langle a_1a_2 \ ,→rangle)(t)$"); plot(imag.(aa), color="purple", linestyle="--", label=L"$\mathfrak{I}(\ ,→langle a_1 a_2 \rangle)(t)$"); legend() xlabel("timestep") Output: 0 20 40 60 80 100 0 20 40 60 80 100 Real part 0.4 0.2 0.0 0.2 0.4 0.6 0 20 40 60 80 100 0 20 40 60 80 100 Imaginary part 0.2 0.1 0.0 0.1 0.2 Figure 6: This is a representation of the real and imaginary part (left and right plots) of the elements of the correlation matrix Γof a translational invariant state with exponentially decaying correlations. The element (i,j)corresponds to Γi,j. The exponential decay of the correlation is evident from the fading of the colours moving to matrix elements farther from the diagonal. 5 Transverse Field Ising Model The Hamiltonian of the Transverse Field Ising model (TFI) has the form ˆ H=− N−1 X n=1 σx nσx n+1−gIσx Nσx 1−cot(θ) N X n=1 σz n, (119) where Nis the number of sites, σα iwith α=x,y,zare the Pauli matrices at the i-th site and cot(θ)is the magnetic field, with 0 < θ < π 2. The parameter gIencodes the boundary conditions of the Ising model: here we consider gI=−1,0,+1, corresponding, respectively, to anti-periodic, open and periodic boundary conditions. The model is called transverse field Ising model because the field interacts with the spins with σz i, while the spins interact between each others with σx iσx i+1. 32 SciPost Phys. Lect. Notes 54 (2022) Figure 7: The time evolution induced by the Hopping Hamiltonian of the real and imaginary part of 〈a† 1a2〉and 〈a1a2〉of the translational invariant state specified in the code. The expectation values evolve as predicted by equations (118). The TFI Hamiltonian can be exactly diagonalised using a Jordan-Wigner transformation (see appendix A.1.8) mapping spin operators to spinless fermions [24,40–46]. in terms of fermions the Hamiltonian has the form ˆ H=− N−1 X n=1 (a† n−an)(an+1+a† n+1) + gIP(a† N−aN)(a1+a† 1)−cot(θ) N X n=1 (a† nan−ana† n), (120) where P=QN n=1(1−2a† nan)is the parity operator introduced in 2.2. We notice that because of the presence of the parity operator P, the TFI Hamiltonian cannot be directly mapped to a f.q.h.. Nonetheless, since the Hamiltonian ˆ Hcommutes with the parity operator Pwe can diagonalise ˆ Hand ˆ Psimultaneously. On the diagonal basis of Pwe have that ˆ Hhas the block diagonal form ˆ H=ˆ He⊕ˆ Ho, where ˆ He, called even sector Hamiltonian, corresponds to the eigenvalue +1 of Pand ˆ Ho, the odd sector Hamiltonian, corresponds to the eigenvalue −1 of P. We can then proceed to diagonalise the Hamiltonian on the two sectors independently. The Hamiltonians of the two sectors are: ˆ He o=− N−1 X n=1 (a† n−an)(an+1+a† n+1)±gI(a† N−aN)(a1+a† 1)−cot(θ) N X n=1 (a† nan−ana† n). (121) Finally, we see that on each parity sector the TFI Hamiltonian is mapped to a f.q.h.. A bit of confusion can raise from considering the boundary conditions. The boundary conditions of the TFI Hamiltonian do not correspond to the boundary conditions of the fermionic Hamiltonian. In fact, let us consider the three f.q.h. ˆ H(gF) = − N−1 X n=1 (a† n−an)(an+1+a† n+1)−gF(a† N−aN)(a1+a† 1)−cot(θ) N X n=1 (a† nan−ana† n), (122) where the boundary conditions are encoded by the parameter gF=−1,0.+1 and corresponds respectively to antiperiodic, open and periodic boundary conditions of the fermionic Hamiltonian. The correspondences between spin model and fermionic model are collected in table 1. 33 SciPost Phys. Lect. Notes 54 (2022) Table 1: Corrspondences between spin models and fermionic models. In the case of periodic and antiperiodic boundary conditions of the TFI, the boundary conditions of the fermionic model depend both on the boundary condition of the spin model and on the parity of the number of particles in the chain. In the case of open boundary conditions of the TFI, the boundary condition of the associated fermionic model are independent from the the number of particles in the chain. gI=1 (TFI periodic) Even sector gF=−1, (f.q.h. antiperiodic) Odd Sector gF= +1, (f.q.h periodic) gI=0 (TFI open) Even/Odd sector gF=0, (f.q.h. open) gI=−1 (TFI antiperiodic) Even sector gF= +1, (f.q.h. periodic) Odd Sector gF=−1, (f.q.h antiperiodic) Written in compact form (17), Hamiltonian (122), is specified by the matrices A=−1 2      2cot(θ)1 0 ... 0 gF 1 2cot(θ)1 0 ... 0 0 1 2cot(θ)1 0 ... . . .. . ........... . . gF0 0 ... 1 2cot(θ)       (123) and B=−1 2      0−1 0 ... 0 gF 1 0 −1 0 ... 0 0 1 0 −1 0 ... . . .. . ........... . . −gF0 0 ... 1 0       . (124) We already know how to numerically diagonalise this Hamiltonian. We will present here the standard method for analytical diagonalisation, introducing the Bogoliubov transformations, and we will compare the results with the numerical diagonalisation. 5.1 Analytical diagonalisation of the TFI Hamiltonian In this subsection we will see how to diagonalise the three Hamiltonians (122) analytically. For a complete and detailed treatment we refer to [24,43]or the more recent review [46]. Antiperiodic and periodic boundary condition fermionic Hamiltonian Let us first consider the case of antiperiodic and periodic boundary conditions, gF=−1,+1 (APBC and PBC respectively). Both cases can be brought to the form: ˆ H=−2X k>0(cot(θ) + cos(2π Nk))(f† kfk−fkf† k) + isin(2π Nk)(f† kf† −k−f−kfk)+ −(1+cot(θ))(f† 0f0−f0f† 0)−(cot(θ)−1)(f† −N 2 f−N 2−f−N 2 f† −N 2 ), (125) where fk=1 pN N X j=1 ei2π Nkjaj,f† k=1 pN N X j=1 e−i2π Nkja† j, (126) 34 SciPost Phys. Lect. Notes 54 (2022) with inverse transformations aj=1 pNX k e−i2π Nkj fk,a† j=1 pNX k ei2π Nkj f† k, (127) and k=−N+1 2,−N+1 2+1,..., N−1 2, for gF=−1 and Neven or gF=1 and Nodd, k=−N 2,−N 2+1,..., N 2−1 , for gF= +1 and Neven or gF=−1 and Nodd. (128) Terms with f† 0,f0and f−N 2 ,f† −N 2 in (125) are present just when k=0 and k=−N 2are allowed. The different quantisations of the kin the two cases are justified in [24]and can be understood by intuition noting that with the first quantisation one would have aN+1=−a1, while with the second aN+1=a1. We can write the Hamiltonian in the compact form ˆ H=X k>0f† kf−khkfk f† −k−(1+cot(θ)(f† 0f0−f0f† 0), (129) with hk=−2(cot(θ) + cos(2π Nk)) 2isin(2π Nk) −2isin(2π Nk)2(cot(θ) + cos(2π Nk)). (130) This divides the modes space in sectors that couple each kwith −k. For each of these sectors we have the unitary transformation Uk=sk−itk −itksk, (131) such that it diagonalises hkas U† khkUk=εk0 0−εk, (132) with eigenvalues εk=2v t1+cot(θ)2+2cot(θ)cos(2π Nk). (133) The elements of Ukare defined as sk=sin(2π Nk) qεk(εk/2+cot(θ) + cos(2π Nk)) , (134) tk=εk/2+cot(θ) + cos(2π Nk) qεk(εk/2+cot(θ) + cos(2π Nk)) . (135) This defines the fermionic transformation of all the Fourier modes that read as fk=skbk−itkb† −k, (136) f† −k=skb† −k−itkbk. (137) This transformation is called Bogoliubov-Valatin transformation [47,48], and sometimes sk and tkare expressed respectively as cos(φk)and sin(φk), with φkcalled Bogoliubov angle. One has that for PBC and APBC each f.q.h. of the form (125) is characterised by the choice of the quantisation of kand a particular Bogoliubov angle. We finally obtain the diagonal form of the Hamiltonian ˆ H=X k6=−N 2,0 εk 2(b† kbk−bkb† k)−(1−cot(θ))(f† 0f0−f0f† 0)−(cot(θ)−1)(f† −N 2 f−N 2−f−N 2 f† −N 2 ). (138) 35 SciPost Phys. Lect. Notes 54 (2022) Open boundary condition fermionic Hamiltonian For the open boundary conditions (OBC) form of Hamiltonian (122) there is not a clear meaning for the term aN+1, thus we will not apply any Fourier transform. We will not show here the procedure for the diagonalisation, we refer to [24,43]or the more recent [49]for it. We have that the energies εkof the Hamiltonian in diagonal form will be εk=Æ1+cot(θ)2+2cot(θ)cos(φk), (139) with {φk}N k=1the roots of equation sin((N+1)φ) sin(Nφ)=−1 cot(θ), (140) in the interval 0 ≤φk≤π. 5.2 Ground state In the case of OBC the ground state is easily found using the function GS_gamma() with the Hamiltonian (122) imposing gF=0. For computing the ground state in the case of APBC or PBC we need to know if the ground state is even or odd or if it is a superposition of states with different parities. It is known that, at finite dimension, with Neven, for the antiperiodic Ising model the ground state is in the odd sector, while for the periodic Ising model the ground state is in the even sector. When Nis odd, for the antiperiodic Ising model the ground state is in the even sector and for the periodic Ising model the ground state is in the odd sector [45]. In the thermodynamic limit, the energy difference between the two sectors goes to zero, the ground state becomes degenerate. Here we present a program for finding the correct sector of the ground state and for verifying that as Ngrows the energy difference between the ground state of the two sectors goes to zero. The program generates the output figure 8. using F_utilities; using PyPlot; using LinearAlgebra; const Fu = F_utilities; N = 10; theta = pi/8; #Initialise the TFI with antiperiodic boundary conditions H_APBC = Fu.TFI_Hamiltonian(N, theta; PBC=-1); HD_APBC, U_APBC = Fu.Diag_h(H_APBC); #Numerical energies for the TFI with antiperiodic boundary conditions NE_APBC = diag(HD_APBC); #Initialise the TFI with periodic boundary conditions H_PBC = Fu.TFI_Hamiltonian(N, theta; PBC=+1); HD_PBC, U_PBC = Fu.Diag_h(H_PBC); #Numerical energies for the TFI with periodic boundary conditions NE_PBC = diag(HD_PBC); 36 SciPost Phys. Lect. Notes 54 (2022) #Initialise the TFI with open boundary conditions H_OBC = Fu.TFI_Hamiltonian(N, theta; PBC=0); HD_OBC, U_OBC = Fu.Diag_h(H_OBC,2); #Numerical energies for the TFI with open boundary conditions NE_OBC = diag(HD_OBC); AE_APBC = zeros(Float64, 2*N); AE_PBC = similar(AE_APBC); AE_OBC = similar(AE_APBC); #Analitical energies for the TFI with antiperiodic, periodic and open ,→boundary conditins #The solutions of equation sin((N+1)*phi)/sin(N*phi)=-1/cot(theta) phi = [0.293377974249272,0.586547314382234, 0.879273168816649,1.17126278605144, 1.46212217642804,1.75129510871389, 2.03798675412035,2.32111594487769, 2.59947341172037,2.87247738375037] for n=1:N AE_APBC[n] = sqrt(1+cot(theta)^2+2*cot(theta)*cos(2*pi*((1-N)/2+n-1)/ ,→N)); AE_PBC[n] = sqrt(1+cot(theta)^2+2*cot(theta)*cos(2*pi*((-N)/2+n-1)/N ,→)); AE_OBC[n] = sqrt(1+cot(theta)^2+2*cot(theta)*cos(phi[n])); end AE_APBC[(N+1):(2*N)] = -AE_APBC[1:N]; AE_PBC[(N+1):(2*N)] = -AE_PBC[1:N]; AE_OBC[(N+1):(2*N)] = -AE_OBC[1:N]; #Begin plot instruction fig = plt.figure("Comparison Analitical and Numerical Results",figsize ,→=(10, 6), dpi=80) plt.subplots_adjust(wspace=0, hspace=0) ax1 = plt.subplot2grid((21,10), (0,0), colspan=10, rowspan=7); ax1.set_title("Comparison Analitical and Numerical") ax1.plot(sort(AE_APBC)[11:20], color="black", marker="o", markersize=10, mfc="none" , label="Analytical APBC"); ax1.plot(sort(NE_APBC)[11:20], color="red", marker="+", markersize=10, linestyle="None", label="Numerical APBC"); ax1.xaxis.set_ticklabels([]) yticks([1.5,2,2.5,3],[L"$1.5$",L"$2$",L"$2.5$",L"$3$"],fontsize=15) ax1.set_ylabel(L"$\epsilon_k$",fontsize=18) legend(); ax2 = plt.subplot2grid((21,10), (7,0), colspan=10, rowspan=7); ax2.plot(sort(NE_PBC)[11:20], color="purple", marker="o", markersize=10, mfc="none" , label="Analytical PBC" ); 37 SciPost Phys. Lect. Notes 54 (2022) ax2.plot(sort(AE_PBC)[11:20], color="green", marker="+", markersize=10, linestyle="None", label="Numerical PBC"); ax2.xaxis.set_ticklabels([]) yticks([1.5,2,2.5,3],[L"$1.5$",L"$2$",L"$2.5$",L"$3$"],fontsize=15) ax2.set_ylabel(L"$\epsilon_k$",fontsize=18) legend(); ax3 = plt.subplot2grid((21,10), (14,0), colspan=10, rowspan=7); ax3.plot(sort(NE_OBC)[11:20], color="blue", marker="o", markersize=10, mfc="none" , label="Analytical OBC" ); ax3.plot(sort(AE_OBC)[11:20], color="orange", marker="+", markersize=10, linestyle="None", label="Numerical OBC"); ax3.set_ylabel(L"$\epsilon_k$",fontsize=18) ax3.set_xlabel(L"$k$",fontsize=18) xticks([0,1,2,3,4,5,6,7,8,9],[L"$1$",L"$2$",L"$3$",L"$4$",L"$5$",L"$6$",L" ,→$7$",L"$8$",L"$9$",L"$10$"],fontsize=15) yticks([1.5,2,2.5,3],[L"$1.5$",L"$2$",L"$2.5$",L"$3$"],fontsize=15) legend(); tight_layout(); #End plot instruction #Numerical energies for the ground states GS_APBC = Fu.GS_gamma(HD_APBC,U_APBC); GS_PBC = Fu.GS_gamma(HD_PBC,U_PBC); E_GS_APBC = Fu.Energy(GS_APBC,(HD_APBC,U_APBC)); E_GS_PBC = Fu.Energy(GS_PBC,(HD_PBC,U_PBC)); println("Ground State Energies"); println("G_F=-1 : ", E_GS_APBC); println("G_F=+1 : ", E_GS_PBC); Output: Ground State Energies G_F=-1 : -25.18934650837823 G_F=+1 : -25.189223629491178 We have N=10 so the ground state is expected to be in the gF=-1 sector. The computed energies confirm this. Degenerancy of the ground state In the following program we check that the ground state energies of the TFI hamiltonians (122) with gF=±1 converge to the same value as the dimension of the system grows. The program generates the output figure 9. using F_utilities; using PyPlot; const Fu = F_utilities; theta = pi/8; Delta_E = zeros(Float64, 47) for N=4:50 38 SciPost Phys. Lect. Notes 54 (2022) 2 0 2 Comparison Analitical and Numerical _p/2 Analytical APBC Numerical APBC 2 0 2 Analytical PBC Numerical PBC 0.0 2.5 5.0 7.5 10.0 12.5 15.0 17.5 p 2 0 2 Analytical OBC Numerical OBC Figure 8: Output of the code 5.2. The three plots represent the analytical and numerical values of the free mode energies εkof the Hamiltonian (122) computed with antiperiodic, periodic, and free boundary conditions. We see that the energies computed with F_utilities correspond to the one computed analytically. H_APBC = Fu.TFI_Hamiltonian(N, theta; PBC=-1); HD_APBC, U_APBC = Fu.Diag_h(H_APBC); H_PBC = Fu.TFI_Hamiltonian(N, theta; PBC=+1); HD_PBC, U_PBC = Fu.Diag_h(H_PBC); E_GS_APBC = Fu.Energy(Fu.GS_gamma(HD_APBC,U_APBC),(HD_APBC, ,→U_APBC)); E_GS_PBC = Fu.Energy(Fu.GS_gamma(HD_PBC,U_PBC),(HD_PBC,U_PBC)); global Delta_E[N-3]= abs(E_GS_APBC-E_GS_PBC); end figure("|E_GS(GF=+1)-E_GS(GF=-1)|") plot(4:50, log10.(abs.(Delta_E))); xlabel(L"$N$"); ylabel(L"$\log_{10}|E_{GS}(g_F=+1,N)-E_{GS}(g_F=-1,N)|$"); tight_layout(); 5.3 Time Evolution As in the case of the Hopping model, even for the Hamiltonian (122) it is possible to explicitly compute the time evolution of the correlation matrix elements. We focus here on the case of gF=−1 and Neven in order to simplify the analitical form. The principal difference with the Hopping model is that, in the case of the fermionic TFI, the transformation that diagonalises the Hamiltonian is not a simple Fourier transform, but it is a composition of a Fourier transform and a Bogoliubov transformation. We exemplify how to obtain an analitical form for the time evolution of the term 〈a† 1a1〉of a translational invariant correlation matrix. As a first step, 39 SciPost Phys. Lect. Notes 54 (2022) log10 Figure 9: The ground states of Hamiltonians (122) for gF=±1 converge exponentially to the same value. The ground state of the antiperiodic and of the periodic transverse field Ising model is degenerate in the thermodynamic limit. exploiting the translational invariance of the state and moving to the Fourier modes, we write 〈a† 1a1〉=1 N N X n=1〈a† nan〉=1 N2 N X n=1 N+1 2 X k=−N+1 2 N+1 2 X k0=−N+1 2 e−i2π Nn(k−k0)〈f† kfk0〉= =1 N N+1 2 X k=−N+1 2 〈f† kfk〉. (141) We then move to the Bogoliubov modes with the transformation (136) obtaining 〈a† 1a1〉=1 N N+1 2 X k=−N+1 2s2 k〈b† kbk〉+t2 k〈b−kb† −k〉+isktk(〈b−kbk〉−〈b† kb† −k〉). (142) In this basis the Hamiltonian is diagonal, thus the time evolution easily computed as 〈a† 1a1〉(t) = 1 N N+1 2 X k=−N+1 2s2 k〈b† kbk〉+t2 k〈b−kb† −k〉+isktk(ei2εkt〈b−kbk〉−e−i2εkt〈b† kb† −k〉).(143) To obtain the expression of 〈a† 1a1〉(t)in terms of correlators of the operators a†,awe just have to map the b†,bto a†,a. 6 Benchmarking with fermionic Gaussian states Fermionic Gaussian states can be used as a tool for benchmarking algorithms. We will see how tools developed for general quantum states can be translated to the language of correlation matrices. To understand the idea behind the benchmarking, let us take an explicit example. In the next subsection we are going to see the imaginary time evolution of fermionic Gaussian states. One usually uses the imaginary time evolution of a state for computing the ground state of an Hamiltonian. Of course, in the case of f.g.s., computing the ground state is not the main purpose, as we know already how to compute it for any f.q.h.. Knowing already the exact results allows us to compare the algorithm for the imaginary time evolution with the exact results and get good insight in what we should expect in a context where the exact result is 40 SciPost Phys. Lect. Notes 54 (2022) not known. If we have an algorithm acting on some generic quantum state, we can try to translate it in the formalism of f.g.s. and benchmark it to the exact results. In this subsection we present the translation of some well known algorithm in the language of correlation matrices. The purpose of this subsection is not to benchmark these algorithm, but instead, to translate some important existing algorithms. This will provide us the translations of the possible building blocks of any novel and more complex algorithm. 6.1 Imaginary-time evolution In order to find the ground state of a non-degenerate Hamiltonian Hone can use the following equality |GS〉=lim τ→∞ e−Hτ|ψ〉 ||e−Hτ|ψ〉|| , (144) starting from a generic state |ψ〉with 〈GS|ψ〉6=0. To see this, let us consider the orthononormal basis {|Ei〉}igenerated by the collection of the eigenvectors of H, with eigenvalues {Ei}isuch that 0 ≤E0E1≤E2≤, where His the Hilbert space on which Hact. Expanding |ψ〉on this basis one obtains |ψ〉=Pici|Ei〉, with c06=0 from the fact that 〈GS|ψ〉6=0. One can thus see that eq (144) is just a projection to the ground state: lim τ→∞ e−Hτ|ψ〉 ||e−Hτ|ψ〉|| =lim τ→∞X i e−Eiτci ÆPie−2Eiτ|ci|2|Ei〉(145) =lim τ→∞X i e−Ei E0τci rPie−2Ei E0τ|ci|2|Ei〉=|E0〉, (146) and thus that limτ→∞ e−Hτ ||e−Hτ|| is the projector on the ground state: lim τ→∞ e−Hτ ||e−Hτ|| =lim t→∞ Pie−Eiτ|Ei〉〈Ei| ÆPie−2Eiτ(147) =lim τ→∞ Pie−Ei E0τ|Ei〉〈Ei| rPie−2Ei E0τ =|E0〉〈E0|. (148) The imaginary-time evolution is directly related to the power method presented in section A.1.6. The eigenvenvector associated to the smallest eigenvalue E0of His the eigenvector associated to the biggest eigenvalue of e−Hand this can be approximately obtained using the power method by computing (e−H)N|ψ〉, a procedure that in the limit of N→∞ is analogous to equation (144). Applying the same method to the density matrix one can obtain the ground state ρGS of a non degenerate Hamiltonian Hfrom a general density matrix ρsuch that Tr[ρρGS]6=0 as ρGS =lim τ→∞ e−Hτρe−Hτ Tr [ρe−2Hτ]. (149) We refer to the method for obtaining the ground state using (144) as performing an imaginary time evolution. This is the case because, if for the time evolution operator U(t) = e−iHt for the Hamiltonian H, we select t=−iτwe obtain the operator e−Hτthat is the one of eq (144). One can thus 41 SciPost Phys. Lect. Notes 54 (2022) Figure 13: Eigenvalues different from 0 and 1 for different partitions of the system for the ground state Γof a hopping Hamiltonian of a system of N=400 sites, and for Γwith bond dimension reduced to m. The blue dots correspond to partitions of Γ with first site at the boundary of the system and with dimension `. The orange dots correspond to partitions of Γwith first site at the boundary of the system and with dimension `. The green dots are anologous to the blue dots, but computed for the state Γ(m=5)obtained reducing the bond dimension of Γto m=5. Red dots are analogous to the orange dots, but computed for Γ(m=5). As expected the number of eigenvalues different from 0 and 1 are bounded as #eigenval(6=0,1)≤2m. using F_utilities; using PyPlot; using LinearAlgebra; const Fu = F_utilities; const LinA = LinearAlgebra; function Random_hamiltonian(N) A = rand(N,N)+im*rand(N,N); A = (A+A’)/2.; bd = rand(N-1).+im*rand(N-1); B = Tridiagonal(bd, zeros(Complex{Float64}, N), -bd); H = zeros(Complex{Float64}, 2*N, 2*N); H[(1:N),(1:N)] = -conj(A); H[(1:N).+N,(1:N)] = -conj(B); H[(1:N),(1:N).+N] = B; H[(1:N).+N,(1:N).+N] = A; return H; end N = 400; H = Random_hamiltonian(N); HD, U = Fu.Diag_h(H); Gamma = Fu.GS_gamma(HD,U); Gamma_RBD = Fu.RBD(Gamma,10) S_modes_border = zeros(Float64, N); S_modes_RBD_border = zeros(Float64, N); S_modes_bulk = zeros(Float64, div(N,2)); S_modes_RBD_bulk = zeros(Float64, div(N,2)); for l=1:N S_modes_border[l] = Fu.VN_entropy(Fu.Reduce_gamma(Gamma,l,1)); S_modes_RBD_border[l] = Fu.VN_entropy(Fu.Reduce_gamma(Gamma_RBD,l,1) ,→); end for l=1:div(N,2) S_modes_bulk[l] = Fu.VN_entropy(Fu.Reduce_gamma(Gamma,l, div ,→(N,2))); S_modes_RBD_bulk[l] = Fu.VN_entropy(Fu.Reduce_gamma(Gamma_RBD,l, ,→div(N,2))); end 48 SciPost Phys. Lect. Notes 54 (2022) figure("Entropies"); plot(1:N,log.(abs.(S_modes_border)), marker="s", linewidth=0.5, markersize ,→=0.7, label=L"$F=S(\Lambda_{1,\dots,\ell}\neq 0,1)$"); plot(1:div(N,2),log.(abs.(S_modes_bulk)), marker="s", linewidth=0.5, ,→markersize=0.7, label=L"$F=S(\Lambda_{\frac{N}{2},\dots,\ell+\frac{ ,→N}{2}})\neq 0,1)$"); plot(1:N,log.(abs.(S_modes_RBD_border)), marker="s", linewidth=0.5, ,→markersize=0.7, label=L"$F=S(\Lambda(m=10)_{1,\dots,\ell}\neq 0,1)$ ,→"); plot(1:div(N,2),log.(abs.(S_modes_RBD_bulk)), marker="s", linewidth=0.5, ,→markersize=0.7, label=L"$F=S(\Lambda(m=10)_{\frac{N}{2},\dots,\ell ,→+\frac{N}{2}}\neq 0,1)$"); axvline(div(N,2), linestyle="--", linewidth=0.5, color="gray") axhline(log(log(2^9)), linestyle="-.", color="red", label="F=log(D)") axhline(log(2*log(2^9)), linestyle="-.", color="red", label="F=2*log(D)") xlabel(L"$\ell$") ylabel(L"$\log(F)$") # grid(axis="y", linestyle="--") legend(); Output: 0 50 100 150 200 250 300 350 400 1.0 1.5 2.0 2.5 3.0 3.5 4.0 log( F ) F = S (1, , 0, 1) F = S ( N 2, , + N 2) 0, 1) F = S ( ( m = 10)1, , 0, 1) F = S ( ( m = 10) N 2, , + N 20, 1) F=log(D) F=2*log(D) Figure 14: The entropy of different regions of the ground state of a random Hamiltonian. The blue dots correspond to partitions of dimension `with first site at the boundary of the chain. The orange dots correspond to partitions of dimension `with first site in the middle of the chain. The green dots are analogous to the blue dots but computed for the state Γ(m=1)obtained reducing the bond dimension of Γto m=1. Red dots are anologous to the orange dots, but computed for Γ(m=1). As expected since the Hamiltonian is random and long range the entropy has an extensive scaling with the subsystem size. The red dash-dotted horizontal lines represent the upper bound for the entropy of a partition (starting at the border or not respectively for log(D)and 2log(D)). As we can see the entropy is always bounded by S≤log(D) with D=2mas expected. 49 SciPost Phys. Lect. Notes 54 (2022) AB x y y x y Figure 15: Lattice with periodic boundary conditions along the xdirection. Red lines correspond to negative couplings, blue lines correspond to positive couplings. Two possible partitions Aand Bare higlighted in red and green respectively. 6.4 Reduction of the bond dimension of a two dimensional system divided in sectors We consider the fermionic quadratic Hamiltonian ˆ H=X xX ya† x,yax+1,y+a† x+1,yax,y+ (−1)xa† x,yax,y+1+a† x,y+1ax,y, (154) defined on the on an L×Llattice on a cylinder with periodic boundary conditions along the x direction and open boundary conditions along the ydirection as in figure 15. Because of the boundary conditions we have that Lmust be even. Substituting the Fourier operators a† x,y=1 pLX k e−i2π Lkx c† k,y, (155) where, because of the boundary conditions, we choose kas k=−L 2,−L 2+1,..., L 2−1, (156) the Hamiltonian becomes as ˆ H=X k<0X y 2cos(2π Lk)c† k,yck,y−c† k+L 2,yck+L 2,y(157) +c† k,yck+L 2,y+1+c† k+L 2,ycx,y+1+c† k+L 2,y+1ck,y+c† k,y+1ck+L 2,y. In this form the Hamiltonian is divided in L 2sectors, each one corresponding to the couples of values of {k,k+L 2}. This means that the eigenstates of this Hamiltonain are product states of states defined on each {k,k+L 2}sector. Thus, these eigenstates, instead of being described by a 2L2×2L2correlation matrix, are instead described by just a collection of L 2correlation matrices of dimension 2L×2L, where each of these correlation matrices corresponds to a stripe of the cylinder in the (k,y)space. We call states of this kind, sectorised states. Performing the reduction of the bond dimension of a sectorised state, one can expolit the sectorisation property in order to reduce the computational cost of the operation. Consider for example the ground state of Hamiltonian (154). Once we move to the Fourier basis along the xdirection this becomes a sectorised state. Mimicking the encoding of this 50 SciPost Phys. Lect. Notes 54 (2022) quantum state with a tensor network corresponds to fixing its Schmidt rank relatively to some iterative partition scheme. We choose a partition scheme that increasingly cuts the cylinder perpendicularly to y. Since the Fourier transformation we applied mixes only Dirac operator corresponding to the same value of y, this partition scheme is a geometric partition scheme (it is equivalent on the (x,y)space and the (k,y)space). Step lof the partition scheme divides the system in a partition Aconsisting of all the elements corresponding to y={1,...,l}and a partition Bcorresponding to all the elements corresponding to y∈ {l+1,..., L}analogously of the iterative partition scheme used for the one dimensional system of the last section. Choosing this partition scheme allows us to exploit a parallel implementation of the algorithm for the reduction of the bond dimension of the state. In fact, instead of considering the full 2L2×2L2correlation matrix describing the state we consider the L 2correlation matrices of dimension 2L×2L. The first step of the algorithm consists in partitioning the system at step m+1 of the partition scheme. These corresponds to taking the first 2(m+1)elements of each correlation matrix. One then proceed diagonalising these subsystem. This step is analogous to step 1 of the one dimensional system presented in the last section, with the difference that now we are acting on L 2correlation matrices simultaneously. This returns L(m+1)eigenvalues from the L 2sectors. Step 2 consists in considering all these L(m+1)eingenvalues together, selecting the 2 L 2closest to 0 or 1 and then approximating them with 0 or 1 respectively in the respective correlation matrix and setting them to product state with the rest of the system analogously to what was done in step 2 of the one dimensional case. Here the difference with the one dimensional case of the last section consists in the fact that we are setting to product state Lmodes, not just one, and that we are choosing them from all the correlation matrices. Step 3 consists in moving to the partition scheme m+2, enlarging the first partitions. Differently from the one dimensional case, here one has to keep track of the number of approximations performed in each sectors before diagonalising. As in the one dimensional case, the algorithm then proceed iteratively returning after at most Lsteps, the correlation matrix Γ(m)of a state with reduced bond dimension with the respect to the partitions along the chosen spatial direction. Considering larger values of m, the correlation matrix Γ(m)converges towards Γ, the exact correlation matrix. F_utilities 6.3: RBD_csectors(~ Γ,Lx,Ly,m)→~ Γ(m) This function returns the correlation matrices ~ Γ(m)obtained reducing the bond dimension to mL of the system on the Lx×Lycylinder described by the correlation matrices ~ Γ. Each correlation matrix must contains information of two values of kand must be organised following the order ~α = (ak,1,ak+L 2,1,ak,2,ak+L 2,2,...) 7 Conclusions These notes are meant for the reader interested in implementing simulations and benchmarks involving the manipulations of fermionic Gaussian states. Starting from the basic definitions we introduced a set of essential and advanced concepts and techniques together with numerical examples using the library F_utilities. The shared code is intended both as a tool for the reader to quickly implement simple algorithms and as a technical guideline for the writing of new code that can be tailored on particular necessities and on specific languages. In the first section after the introduction we define the basic properties of fermionic Quadratic Hamiltonians. We present the Dirac and Majorana representations and we show how fermionic Quadratic Hamiltonians can be efficiently diagonalised. In the second section after the introduction we present how fermionic Gaussian states are efficiently represented and manipu- 51 SciPost Phys. Lect. Notes 54 (2022) lated. This section includes many technical details as, for example, the relation between the eigenvalues of correlation matrix in Majorana and Dirac representation and the eigenvalues in the respective density matrix representation of the state, and the expression of different information measures directly on the correlation matrices. In the third and fourth sections after the introduction we study two specific Hamiltonian, the hopping Hamiltonian and the Transverse Field Ising (TFI) Hamiltonian. The TFI Hamiltonian, being a spin Hamiltonian, is a paradigmatic example of how fermionic Gaussian states can be exploited in the study complex quantum systems not originally expressed in terms of Fermions. In the last section before the conclusion we present some advanced algorithms and ideas, connecting Femionic Guassian states with matrix product states. Acknowledgements Funding information The authors acknowledges support from the Ramón y Cajal program RYC-2016-20594, the “Plan Nacional Generación de Conocimiento” PGC2018-095862- B-C22 and and Grant CEX2019-000918-M funded by MCIN/AEI/10.13039/501100011033. This project was supported by the European Union Regional Development Fund within the ERDF Operational Program of Catalunya, Spain (project QUASICAT/QuantumCat, ref. 001- P-001644). A Appendix A.1 Extended calculations A.1.1 Eigenvalues of Γand Hα We consider the state ρ=e−~α†H~α Z, we diagonalise Hchanging the basis to ~ β=U†~α. Thus we have ρ=e−~ β†HD~ β Z=e−PN k=1εkb† kbk−bkb† k Z. (158) We change the basis of the correlation matrix too Γb i,j=U†ΓUi,j=Tr ρ~ βi~ βj †. (159) Now we want to explicitly compute the elements of Γb. First of all we compute the normalisation constant Z=Tr e−PN k=1εkb† kbk−bkb† k=2N N Y k=1 (cosh(εk)) . (160) To compute the numerator part this equalities will result useful 52 SciPost Phys. Lect. Notes 54 (2022) • For x6=y Tr e−PN k=1εkb† kbk−bkb† kb† xby=X v∈{0,1}N〈v|e−PN k=1εkb† kbk−bkb† kb† xby|v〉 =X v∈{0,1}N〈v|e−PN k=1εkb† kbk−bkb† k|˜ v〉 =X v∈{0,1}N e−PN k=1(−1)vk+1εk〈v|˜ v〉=0. (161) Tr e−PN k=1εkb† kbk−bkb† kbxb† y=0. (162) •∀x,y Tr e−PN k=1εkb† kbk−bkb† kbxby=0, (163) Tr e−PN k=1εkb† kbk−bkb† kb† xb† y=0. (164) Thus the numerator can be explicitly written as Tr e−PN k=1εkb† kbk−bkb† k~αi~αj†= = 2N X l=1 2N X m=1 Ui,lU† m,jTr e−PN k=1εkb† kbk−bkb† k~ βl~ βm † = N X l=1 Ui,lU† l,jTr e−PN k=1εkb† kbk−bkb† kb† lbl+ N X l=1 Ui,l+NU† l+N,jTr e−PN k=1εkb† kbk−bkb† kblb† l = N X l=1 Ui,lU† l,je−εlY k6=l 2cosh(εk)) + N X l=1 Ui,l+NU† l+N,jeεlY k6=l 2cosh(εk)). (165) I can divide by Z and obtain Γi,j= N X l=1 Ui,lU† l,j e−εl eεl+e−εl+ N X l=1 Ui,l+NU† l+N,j eεl eεl+e−εl = N X l=1 Ui,lU† l,j 1 1+e2εl+ N X l=1 Ui,l+NU† l+N,j 1 1+e−2εl = (UΓDU†)i,j. (166) So the same transformation U that moves to the free Hamiltonian HDis also the transformation that diagonalise the correlation matrix. The eigenvalues νiof the correlation matrix Γare related to the eigenvalues of the parent Hamiltonian Hby νi=1 1+e2εi, (167) εi=1 2ln1−νi νi, (168) since νi∈[0,1]the eigenvalues εi∈[-∞,+∞]. 53 SciPost Phys. Lect. Notes 54 (2022) A.1.2 Purity From the previous paragraph we have: Z2= N Y k=1 (2cosh(εk))2(169) and Tr e−PN k=1εkb† kbk−bkb† k= N Y k=1 (2cosh(2εk)) . (170) Thus the purity is: Purity = N Y k=1 1 sech(εk) + 1. (171) A.1.3 Real Time Evolution We want to compute the time evolution in the Heisenberg picture of the annihilation operator bkinduced by the Hamiltonian ˆ H=PN l=1εl(b† lbl−blb† l). First we simplify the expression exploiting the commuting terms bk(t) = eiˆ Ht bke−iˆ Ht =eit PN l=1εl(b† lbl−blb† l)bkeit PN l=1εl(b† kbl−blb† l)(172) =eitεk(b† kbk−bkb† k)bkeitεk(b† kbk−bkb† k). (173) Secondly applying B.C.H.1 (see B.C.H.1 in A.3.4) we obtain that bk(t) = ∞ X n=0 (iekt)n n![b† kbk−bkb† k,...[v† kbk−bkb† k, | {z } n bk]...] |{z} n, (174) and using the fact that [b† kbk−bkb† k,bk] = −2bk, (175) we obtain bk(t) = ∞ X n=0 (2iekt)n n!bk=e−i2ektbk. (176) A.1.4 Circulant Matrices An N×Ncirculant matrix Cis a matrix of the form C=      c0c1c2... cN−1 cN−1c0c1... cN−2 cN−2cN−1c0... cN−3 . . .. . .. . ..... . . c1c2c3... c0       . (177) A circulant matrix is completely specified by the circulant vector ~c, that is its first row. ~c= (c0,c1,c2,..., cN−1). (178) All the other rows of the matrix are cyclic permutations of ~cwith offset increasing by one going down with the rows. 54 SciPost Phys. Lect. Notes 54 (2022) Since each descending diagonal from left to right is constant, circulant matrices are a special case of Toeplitz matrices. Because of their special structure, circulant matrices are diagonalised by taking their Fourier transform. Given a vector ~vof length Nits Fourier transform is expressed as ~w=W~v, with Wdefined as W=1 pN         ω ω2ω3··· ωN−11 ω2ω4ω6··· ω2(N−1)1 ω3ω6ω9··· ω3(N−1)1 . . .. . .. . ..... . . 1 ωN−1ω2(N−1)ω3(N−1)··· ω(N−1)(N−1)1 1 1 1 1 ··· 1         , (179) with ω=e−i2π N. The columns of Ware the normalised eigenvectors |λi〉of every circulant matrix of dimension N×N. The corresponding eigenvalues depend on the specific circulant vector ~cspecifying the circulant matrix and are given by λj=c0ωj+c1ωj+c2ωj2+···+cN−2ωj(N−2)+cN−1ωj(N−1). (180) A.1.5 Block diagonal form of skew-symmetric matrices Let hbe a N×Nskew-symmetric matrix of rank 2m, where N≥2m. Then there exist a N×Nunitary matrix Usuch that [26] UThU =0λ1 −λ10⊕0λ2 −λ20⊕···⊕0λm −λm0⊕ˆ 0N−2m, (181) where ˆ 0N−2mis a (N−2m)×(N−2m)matrix with all elements equal to zero and where the real and positive-definite {λi}i=1,mare the singular values of h. Since a skew-symmetric matrix his similar to its own transpose hT, then hand hTmust have the same eigenvalues. Thus, the eigenvalues of a skew-symmetric matrix of even dimension will always come in pairs ±˜ λ(for the case of odd dimension there will be an unpaired eigenvalue equal to 0). A.1.6 Power method algorithm The power method algorithm is based on the following idea. Suppose we want to find the biggest eigenvalue λ1and its associated eigenvector |λ1〉of a diagonalisable matrix H. We will consider the eigenvalues of Hto be ordered as λ1> λ2≥λ3≥.... We start by choosing a random vector |v[0]〉. We define the iterative algorithm |v[n+1]〉=H|v[n]〉  H|v[n]〉 , (182) where k|v〉k is the norm of |v〉. Starting with |v[0]〉, we expect that, if 〈λ1|v[0]〉 6=0 and λ1 is not degenerate, for nsufficiently big, |v[n]〉∼|λ1〉. The fact that this algorithm converges towards |λ1〉can be easily proved by expanding |v[0]〉on the eigenbasis {|λi〉}iof H |v[0]〉=c1|λ1〉+c2|λ2〉+... , (183) 55 SciPost Phys. Lect. Notes 54 (2022) with ci=〈λi|v[0]〉and thus c16=0 because of the assumption 〈λ1|v[0]〉 6=0. Now applying H to |v[0]〉for ntimes returns Hn|v[0]〉=c1λn 1|λ1〉+c2 c1 (λ2 λ1 )2|λ2〉+.... (184) Since λ1is the biggest eigenvalue we have that (λi λ1)n→0 with n→ ∞ for all i6=1. Because of this, we obtain that in the limit for n→ ∞, taking care of the normalisation, Hn|v[0]〉→|λ1〉. The convergence of this method is slow (it is geometric with ratio  λ2 λ1) and it becomes slower as λ2→λ1. We note here the importance of the value of the difference |λ1−λ2|. In the field of condensed matter, one is often interested in computing the ground state energy E0of a Hamiltonian H, that is the smallest eigenvalue of H. By adding a sufficiently big number to the Hamiltonian, one obtains that the smallest eigenvalue of Hcorresponds to the eigenvalue with the smallest magnitude. In order to compute the smallest eigenvalue in magnitude of Hone can use the inverse power method [51]that fundamentally is the power method applied to H−1. In this case the algorithm will converge geometrically with ratio E0 E1, where E1is the second smallest eigenvalue of the Hamiltonian H. If E1−E0=0 then the algorithm will not converge. Because of its importance, the difference between the two lowest eigenvalues of an Hamiltonian (that is the difference between the ground state energy and the first excited state energy) has a specific name and it is called Hamiltonian Gap or spectral gap often denoted by ∆E. In particular, definining a family of Hamiltonians dependendent on the parameter N(the dimension of the system), we call gapless Hamiltonians those Hamiltonians for wich the Hamiltonian Gap →0 in the thermodynamics limit N→∞, and we call gapped Hamiltonians those Hamiltonians for which the spectral gap remains positive in the thermodynamic limit. A.1.7 Equilibration of fermionic Gaussian systems Equilibration times and Gaussification For systems evolving with a quadratic fermionic Hamiltonian there exists general, and mathematically rigorous statements about the equilibration of the systems towards the GGE [52,53]. The framework in which these theorems hold is that of a generic 1Dfermionic system of Nsites with translational invariant local Hamiltonian Hwith periodic boundary conditions, with the additional assumption that the derivative of the dispersion relation ε(k)have not coinciding roots (there is not a ksuch that d2 dk2ε(k) = d3 dk3ε(k) = 0). In this context, for every initial state ρof the system with finite correlation lenght and no long-wavelength dislocations in the two points correlators of Dirac operators , there exists a constant relaxation time t0and a time of recurrence tRproportional to the system size Nsuch that, for all t∈[t0,tR], the state locally equilibrate to a GGE with |〈O〉ρ(t)−〈O〉GGE| ≤ Ct−γ, (185) with Oa local observable and C,γ > 0 independent from N. It is important to notice that no assumptions on the Gaussianity of the initial state have been made. It is indeed possible to choose as initial state a state that is not Gaussian, it is the quadratic form of the Hamiltonian Hthat, through a process called gaussification [52], transforms the state to a state locally indistinguishable from a fermionic Gaussian state. Gaussification is a general result conferring even more relevance to fermionic Gaussian states. Following again [53]we have that for an initial fermionic state ρwith exponential decay of correlations and a non-interacting translational invariant Hamiltonian Hwith the derivative of the 56 SciPost Phys. Lect. Notes 54 (2022) dispersion relation with not coinciding roots (there is not a ksuch that d2 dk2ε(k) = d3 dk3ε(k) = 0), there exists a constant relaxation time t0and and a recurrence time tRproportional to Nsuch that, for all t∈[t0,tR], |〈O〉ρ(t)−〈O〉ρ(Γ(ρ(t)))|≤ C t−1/6, (186) where C>0. This shows that, under these conditions, the expectation value of the local observable Oconverges with a power law in time towards the same value computed with the Gaussian projection of the state. Equilibration of occupations in the fermionic transverve Field Ising model In some cases it is possible to explicitly compute the equilibration value of some local observables. In chapter 5.3 we compute the time evolution of the single site occupation 〈a† 1a1〉during the out-of-equilibrium dynamics of a translational invariant state with Hamiltonian (122) where gF=−1 and Nis even. We are now interested to verify if this observable equilibrates. In order to avoid recurrence effects we compute the limit of expression (143) in the case of the number of sites going to infinity N→∞. Defining the quantity p=−2π Nwe can write 〈a† 1a1〉(t) = =lim N→∞ 1 N N+1 2 X k=−N+1 2s2 k〈b† kbk〉+t2 k〈b−kb† −k〉+isktk(eiεkt〈b−kbk〉−e−iεkt〈b† kb† −k〉) =−Zπ −π dp s2 −p〈b† −pb−p〉+t2 −p〈bpb† p〉+is−pt−p(eiε(p)t〈bpb−p〉−e−iε(p)t〈b† −pb† p〉), (187) with sp=sin(p) Æεk(εp/2+cot(θ) + cos(p)) , tp=εp/2+cot(θ) + cos(p) Æεp(εp/2+cot(θ) + cos(p), ε(p) = 2Æ1+cot(θ)2−2cot(θ)cos(p). (188) The two time-dependent terms of the integral (187) have the same form, thus it suffices to study the long-time behaviour of the integral I(t) = Zπ −π dpeiε(p)ts−pt−p〈bpb−p〉. (189) In order to study the long-time beaviour of I(t)we use the result about oscillatory integral in [54]chapter VII proposition 3. Having that d dp ε(p)p=0=0 and d2 dp2ε(p)p=06=0, for large values of t, the integral can be approximated as I(t)∼t−1/2∞ X j=0 a2jt−j, (190) where each ajdepends only on finitely many derivatives of both ε(p)and s−pt−p〈bpb−p〉at p=0. Computing ajexplicitly we find that a0=0, thus we have that at large t I(t)∼t−3/2. (191) 57 SciPost Phys. Lect. Notes 54 (2022) [35]S.-A. Cheong and C. L. Henley, Many-body density matrices for free fermions, Phys. Rev. B 69, 075111 (2004), doi:10.1103/PhysRevB.69.075111. [36]J. Zhang, P. Calabrese, M. Dalmonte and M. A. Rajabpour, Lattice Bisognano-Wichmann modular Hamiltonian in critical quantum spin chains, SciPost Phys. Core 2, 007 (2020), doi:10.21468/SciPostPhysCore.2.2.007. [37]M. Fagotti and P. Calabrese, Entanglement entropy of two disjoint blocks in XY chains, J. Stat. Mech. P04016 (2010), doi:10.1088/1742-5468/2010/04/P04016. [38]V. Bach, E. H. Lieb and J. Philip Solovej, Generalized Hartree-Fock theory and the Hubbard model, J. Stat. Phys. 76, 3 (1994), doi:10.1007/BF02188656. [39]Y. Chen and G. Vidal, Entanglement contour, J. Stat. Mech. P10011 (2014), doi:10.1088/1742-5468/2014/10/P10011. [40]T. D. Schultz, D. C. Mattis and E. H. Lieb, Two-dimensional Ising model as a soluble problem of many fermions, Rev. Mod. Phys. 36, 856 (1964), doi:10.1103/RevModPhys.36.856. [41]P. Pfeuty, The one-dimensional Ising model with a transverse field, Ann. Phys. 57, 79 (1970), doi:10.1016/0003-4916(70)90270-8. [42]D. C. Mattis, Solvable spin systems with random interactions, Phys. Lett. A 56, 421 (1976), doi:10.1016/0375-9601(76)90396-0. [43]G. G. Cabrera and R. Jullien, Role of boundary conditions in the finite-size Ising model, Phys. Rev. B 35, 7062 (1987), doi:10.1103/PhysRevB.35.7062. [44]M. Henkel, Conformal invariance and critical phenomena, in Theoretical and mathematical physics, Springer-Verlag, Berlin Heidelberg, ISBN 9783540653219 (1999). [45]P. Calabrese, F. H. L. Essler and M. Fagotti, Quantum quench in the transverse field Ising chain: I. Time evolution of order parameter correlators, J. Stat. Mech. P07016 (2012), doi:10.1088/1742-5468/2012/07/P07016. [46]S. Suzuki, J.-i. Inoue and B. K. Chakrabarti, Transverse Ising chain (pure system), in Quantum Ising phases and transitions in transverse Ising models, Springer Berlin Heidelberg, ISBN 9783642330384 (2013), doi:10.1007/978-3-642-33039-1_2. [47]N. N. Bogoljubov, On a new method in the theory of superconductivity, Nuovo Cim. 7, 794 (1958), doi:10.1007/BF02745585. [48]J. G. Valatin, Comments on the theory of superconductivity, Nuovo Cim. 7, 843 (1958), doi:10.1007/BF02745589. [49]Y. He and H. Guo, The boundary effects of transverse field Ising model, J. Stat. Mech. 093101 (2017), doi:10.1088/1742-5468/aa85b0. [50]M. T. Fishman and S. R. White, Compression of correlation matrices and an efficient method for forming matrix product states of fermionic Gaussian states, Phys. Rev. B 92, 075132 (2015), doi:10.1103/PhysRevB.92.075132. [51]M. Grinfeld, Mathematical tools for physicists, John Wiley & Sons, Hoboken, New Jersey, US, ISBN 9783527411887 (2015). 64 SciPost Phys. Lect. Notes 54 (2022) [52]M. Gluza, C. Krumnow, M. Friesdorf, C. Gogolin and J. Eisert, Equilibration via Gaussification in fermionic lattice systems, Phys. Rev. Lett. 117, 190602 (2016), doi:10.1103/PhysRevLett.117.190602. [53]M. Gluza, J. Eisert and T. Farrelly, Equilibration towards generalized Gibbs ensembles in non-interacting theories, SciPost Phys. 7, 038 (2019), doi:10.21468/SciPostPhys.7.3.038. [54]E. M. Stein and T. S. Murphy, Harmonic analysis: Real-variable methods, orthogonality, and oscillatory integrals. (PMS-43), Princeton University Press, Princeton, New Jersey, US, ISBN 9780691032160 (1993), doi:10.2307/j.ctt1bpmb3s. [55]P. Jordan and E. Wigner, Über das Paulische Äquivalenzverbot, Z. Physik 47, 631 (1928), doi:10.1007/BF01331938. [56]Y. S. Li, B. Zeng, X. S. Liu and G. L. Long, Entanglement in a two-identical-particle system, Phys. Rev. A 64, 054302 (2001), doi:10.1103/PhysRevA.64.054302. [57]J. Schliemann, J. I. Cirac, M. Ku´ s, M. Lewenstein and D. Loss, Quantum correlations in two-fermion systems, Phys. Rev. A 64, 022303 (2001), doi:10.1103/PhysRevA.64.022303. [58]M. M. Wolf, Violation of the entropic area law for fermions, Phys. Rev. Lett. 96, 010404 (2006), doi:10.1103/PhysRevLett.96.010404. [59]M.-C. Bañuls, J. I. Cirac and M. M. Wolf, Entanglement in fermionic systems, Phys. Rev. A 76, 022311 (2007), doi:10.1103/PhysRevA.76.022311. [60]E. Sindici and M. Piani, Simple class of bound entangled states based on the properties of the antisymmetric subspace, Phys. Rev. A 97, 032319 (2018), doi:10.1103/PhysRevA.97.032319. [61]J. H. Becher, E. Sindici, R. Klemt, S. Jochim, A. J. Daley and P. M. Preiss, Measurement of identical particle entanglement and the influence of antisymmetrization, Phys. Rev. Lett. 125, 180402 (2020), doi:10.1103/PhysRevLett.125.180402. [62]G. Vidal, Efficient classical simulation of slightly entangled quantum computations, Phys. Rev. Lett. 91, 147902 (2003), doi:10.1103/PhysRevLett.91.147902. [63]G. Vidal, Efficient simulation of one-dimensional quantum many-body systems, Phys. Rev. Lett. 93, 040502 (2004), doi:10.1103/PhysRevLett.93.040502. [64]U. Schollwöck, The density-matrix renormalization group in the age of matrix product states, Ann. Phys. 326, 96 (2011), doi:10.1016/j.aop.2010.09.012. [65]R. Orús, A practical introduction to tensor networks: Matrix product states and projected entangled pair states, Ann. Phys. 349, 117 (2014), doi:10.1016/j.aop.2014.06.013. [66]J. I. Cirac, D. Pérez-García, N. Schuch and F. Verstraete, Matrix product states and projected entangled pair states: Concepts, symmetries, theorems, Rev. Mod. Phys. 93, 045003 (2021), doi:10.1103/RevModPhys.93.045003. 65