Entanglement entropy after selective measurements in quantum chains

We study bipartite post measurement entanglement entropy after selective measurements in quantum chains. We first study the quantity for the critical systems that can be described by conformal field theories. We find a connection between post measurement entanglement entropy and the Casimir energy of floating objects. Then we provide formulas for the post measurement entanglement entropy for open and finite temperature systems. We also comment on the Affleck-Ludwig boundary entropy in the context of the post measurement entanglement entropy. Finally, we also provide some formulas regarding modular hamiltonians and entanglement spectrum in the after measurement systems. After through discussion regarding CFT systems we also provide some predictions regarding massive field theories. We then discuss a generic method to calculate the post measurement entanglement entropy in the free fermion systems. Using the method we study the post measurement entanglement entropy in the XY spin chain. We check numerically the CFT and the massive field theory results in the transverse field Ising chain and the XX model. In particular, we study the post meaurement entanglement entropy in the infinite, periodic and open critical transverse field Ising chain and the critical XX model. The effect of the temperature and the gap is also discussed in these models.


Abstract.
We study bipartite post measurement entanglement entropy after selective measurements in quantum chains. We first study the quantity for the critical systems that can be described by conformal field theories. We find a connection between post measurement entanglement entropy and the Casimir energy of floating objects. Then we provide formulas for the post measurement entanglement entropy for open and finite temperature systems. We also comment on the Affleck-Ludwig boundary entropy in the context of the post measurement entanglement entropy. Finally, we also provide some formulas regarding modular hamiltonians and entanglement spectrum in the after measurement systems. After through discussion regarding CFT systems we also provide some predictions regarding massive field theories. We then discuss a generic method to calculate the post measurement entanglement entropy in the free fermion systems. Using the method we study the post measurement entanglement entropy in the XY spin chain. We check numerically the CFT and the massive field theory results in the transverse field Ising chain and the XX model. In particular, we study the post meaurement entanglement entropy in the infinite, periodic and open critical transverse field Ising chain and the critical XX model. The effect of the temperature and the gap is also discussed in these models.

Introduction
Entanglement entropy of many body systems has been a very useful tool and a fundamental concept in the last three decades in the vast majority of areas of research in physics. It has been studied in the context of free field theories [1,2,3], conformal field theories [4,5,6], holographic theories [7,8], integrable models [9,10] and many other branches of the condensed matter physics [11].
It is a useful concept to classify field theories, especially the massless conformal field theories and ultimately it can be used to extract a lot of information regarding the universality class of the critical systems. It is now well-known that the bipartite entanglement entropy of the ground states of the quantum systems follow the arealaw [1,2], for review see [12]. The most famous exception to this law appears in the critical 1 + 1 dimensional systems. The bipartite entanglement entropy of the ground state of an infinite critical chain has a logarithmic behaviour with respect to the size of the subsystem with a coefficient which is dependent on the central charge of the underlying conformal field theory [4]. This behavior opened a new way to classify the universality classes of systems at and near quantum critical points using entanglement entropy [6]. Since the bipartite entanglement entropy of the ground state of the system does not determine the universality class uniquely, there has been an intense research to calculate quantities like the entanglement entropy of two disjoint intervals [13,14] and the entanglement entropy of excited states [15]. Although the bipartite entanglement entropy of the ground state of the quantum chains has been studied thoroughly there are not many studies regarding tripartite systems. There are few entanglement measures for tripartite systems, such as negativity [16] and localizable entanglement [17,18,19]. Negativity has recently been the subject of intense studies in the context of many body systems [20] and references therein. However, as we will comment in the next section, because of the nature of the definition of the localizable entanglement it has been very difficult to make progress in that direction. Recently, we introduced a new setup for tripartite systems which is although intimately related to the localizable entanglement it has the advantage of being calculable [21]. The setup which will be further elaborated in the next section is as follows: take a many body entangled state and make a partial projective measurement of an observable in part of the system. After the measurement that part of the system is decoupled from the rest of the system, however, the remaining part still has an entangled state. When the result of the measurement is known the final state is a pure state and we call the measurement "selective measurement". When the result of the measurement is not known the final state is a mixed state and we call the process "non-selective measurement". The goal is the investigation of the bipartite entanglement entropy in the remaining state.
In [21], we studied the post measurement entanglement entropy after selective measurement in the 1 + 1 dimensional conformal field theories. It was argued that one can use the conformal field theory techniques as far as one does the measurement in particular bases, so-called "conformal bases". The conformal bases have been studied intensely in recent years in the context of Shannon information [22,23,24,25,26] and formation probabilities [27,28,29]. The important result of these studies is that there are some bases that if one makes the measurement in those bases the final system has a boundary which is conformally invariant and so one can use the techniques of boundary conformal field theory (BCFT) to calculate the entanglement entropy. The technique used in [21] was based on the well-known method of twist operators introduced in [5]. However, this technique is not much useful in those cases that after the projective measurement the two parts of the remaining region are completely decoupled. In [30] we introduced a new method of calculation of the entanglement entropy which has a close connection to the Casimir energy of floating objects. The idea was inspired by the earlier works on the entanglement entropy [4,31] and the Casimir energy of floating objects [32,33]. The method suggests that the Rényi entropy can be considered as the ratio of the Casimir energy of two floating objects on the Reimann surfaces. Although this connection might have some deep consequences in the study of the entanglement entropy of field theories in this paper we focus on its practical use in calculating the post measurement entanglement entropy in conformal and massive quantum field theories. The effect of the measurement on the area-law in higher dimensions has been also studied numerically in [34]. It is worth mentioning that the post measurement entanglement entropy setup has found recently many interesting applications in the study of quantum teleportation in holography [35]. In the same work the authors also study the evolution of the entanglement entropy after the projective measurement.
In this paper we extend the results of [21,30] and [34] in few more directions. In the next section, we first define the setup and fix some notations. In section 3, we first review the method introduced in [30]. Using this method we find the post measurement entanglement entropy in different situations such as, semi-infinite system and finite temperature. We also study the Affleck-Ludwig boundary entropy. We then provide the entanglement Hamiltonian of the post measurement systems in different cases and finally, we discuss post measurement entanglement spectrum and entanglement gaps. In section 4, we make some predictions regarding post measurement entanglement entropy in massive systems. Most of the results in this section are based on physical arguments and not some concrete mathematical calculations. In section 5, we provide an efficient method to calculate the post measurement entanglement entropy in free fermions. Although the method can be used in any dimension in this paper we focus on just 1 + 1 dimension. The rest of the article is almost exclusively dedicated to the numerical study of the post measurement entanglement entropy in the well-known XY chain. The XY-chain provides a perfect laboratory to check numerically the CFT formulas derived in the earlier sections. In section 6, we provide all the necessary ingredients regarding XY chain including the partition functions on the annulus and the conformal bases and the conformal configurations. In section 7, we study throughly the post measurement entanglement entropy in the critical transverse field Ising chain as an especial limit of the XY-chain. Then in section 8, we focus on the critical XXchain. The reason that we dedicate two separate sections for these two models will be clear throughout the paper. In section 9, we numerically study the gapped Ising chain. In section 10, we will study numerically the effect of the finite temperature on the post measurement entanglement entropy. In the section 11 we will briefly comment on the possible experimental setup to study the post measurement entanglement entropy. Finally, in the last section, we will conclude the paper with some general remarks about the results and future directions.

Setup and definitions
Consider a quantum system in a generic dimension and divide the system into two subsystems D andD. The von Neumann entanglement entropy of D with respect toD is defined as follows: where ρ D is the reduced density matrix of the subsystem D. There is a generalization of the von Neumann entanglement entropy called Rényi entropy and is defined as (2. 2) The limit α → 1 gives back the von Neumann entropy. Note that when there is no danger of confusion, we replace S α [D,D] with S α . The setup of our problem is as follows: consider a quantum system in its ground state and then choose an observable. Finally, make local projective measurements of the chosen observable in a subsystem A of the total system. Note that A does not need to be a simply connected domain. After partial projective measurement, the subsystem A gets disentangled from its complement A. However, the subsystemĀ has a state which is in principle entangled. If after the projective measurement we know the outcome then the post measurement state will be a pure state which can have a definite wave function. In this case, we call the procedure "selective measurement". However, it is quite possible that after partial projective measurement we do not know exactly the outcome of the measurement. In this case, the system can have different wave functions with different probabilities. In other words where p i is the probability of collapsing to the wave function |ψ i . The system is in a mixed state and we call the procedure "non-selective measurement". Now divide the subsystemĀ to two new subsystems B andB. Note that B andB do not need to be connected to each other. We are interested in the entanglement entropy between B andB. When the measurement is selective one is left with a pure state and so one can use von Neumann entanglement entropy as the entanglement measure as before. However, in the case of non-selective measurement, the situation is more complicated. Although still, the von Neumann entropy is an interesting quantity to calculate it is not a measure of entanglement. There are a few entanglement measures for mixed states, such as entanglement witnesses, partial transposition and negativity [19], however, they are all difficult quantities to calculate. For the non-selective measurement it is possible to show thatρ where ρ is the initial density matrix of the total system. Note thatρ[Ā] is a mixed state and for the CFTs its entanglement content is already studied in the context of the entanglement negatvity in [20]. The setup defined above is reminiscent of a concept called localizable entanglement, see [11,18,19]. It is a useful quantity when one is interested in a tripartite system as our setup. The localizable entanglement between the two parts B andB after doing local projective measurement in the rest of the system A is defined as (2.5) where E is the set of all possible outcomes (p i , E(|ψ i BB ) of the measurements and E is the chosen entanglement measure. The maximization is done with respect to all the possible observables to make the quantity independent of the observable. Because of the maximization over all the possible measurements, the localizable entanglement is a very difficult quantity to calculate [36]. Note that in our setup we take E() to be the von Neumann or the Rényi entropy and in principle, we calculate just E(|ψ i BB ) for just one observable. Consequently knowing p i in our setup can in principle provide a lower-bound for the localizable entanglement. A complete discussion about this point will appear in a future work [37]. Finally note that, as we will discuss in more detail in section 11, in our setup we do not consider the evolution of the entanglement entropy after selective measurement as it is discussed in [35]. Apart from the discussion in section 11 there is also another reason behind this: as we discussed in this section one of the motivation of this study is the definition of a tripartite setup for the entanglement entropy. From this perspective one can actually forget about projective measurement and talks about conditional entanglement entropy. From this perspective one does not need to worry about the evolution of the system after projective measurement.

Conformal field theory results: 1+1 dimensions
The Rényi entropy in the Euclidean languge can be derived as [4,6]: where Z α is the partition function of the system on α-sheeted surfaces. If the short-range interacting system is at the critical point, then it is expected that one can replace Z α of the discrete critical system with the partition function of the CFT on the α-sheeted Riemann surfaces. Then using the CFT techniques one can calculate the entanglement entropy exactly [4,6]. As we already stated before, the bipartite Von Neumann and Rényi entropies after partial projective measurements are dependent on both the basis (observable) that one chooses to perform the measurement and also to the outcome of the measurement. After partial measurement, the A part of the system decouples and one is left with theĀ part. In the Euclidean language, one can still use the equation (3.1) but with a slit on the A part. Depending on the chosen basis for the measurement and the outcome of the measurement the boundary condition on the slit can be different. Consider that the chosen basis and the outcome of the measurement are in a way that the induced boundary condition on the slit is conformally invariant. In this particular case, which as we will comment with more detail later is a very frequent scenario for quantum critical chains [22,25,21,30], one can use CFT techniques to calculate the equation (3.1). Since these particular bases do not destroy the conformal structure of the system we will call them conformal bases. In these particular circumstances interestingly one can even go further and calculate the probability of occurrence of particular configuration as the result of the projective measurement [27,28,29]. We will come back to this point when we discuss localizable entanglement [37]. In the following sections we will first summarize the results of [21] and [30] for the infinite and the periodic systems. Then using the same method as [30] we will derive the formula for the post measurement entanglement entropy for the open systems. After presenting the formulas for the post measurement entanglement entropy in different conditions we will comment on the entanglement gaps and entanglement Hamiltonians. Figure 1: (Color online) Mapping between different regions. The whole plane with two slits A and a branch cut (dashed line) on B can be mapped to an annulus by the conformal map w α (z).

Entanglement entropy after selective measurements and the Casimir effect
In this subsection we summarize the results of [21,30] regarding the post measurement entanglement entropy in the 1 + 1-dimensional CFT's. The results concerning the open boundary conditions and finite temperature are new. For later convenience, consider that the measurement region A is made of two disconnected sections with the lengths s 1 and s 2 and the distance l as it is shown in the figure 1. The branch cut on B part is needed to produce Riemann surfaces. It is quite obvious that this setup is related to the Casimir energy of two slits on the Riemann surfaces. In other words based on (3.1) to calculate the entanglement entropy one just needs to calculate the Casimir free energy of two slits on the Riemann surfaces. This simple connection helps us to hire the techniques used in the study of the Casimir energy to calculate the entanglement entropy. Using the techniques of [4,31] and [32,33] it was shown in [30] that one can calculate the partition function on the Riemann surfaces by mapping the system to the annulus. On the annulus, the partition function of the CFT is known so one just needs to consider an extra term which comes from the conformal mapping. The final result is as following [30]: where Z annu α is the partition function on the annulus and Z geom α is the geometric term coming from the conformal mapping. The annulus part of the partition function which is dependent on the full operator content of the CFT can be written in two equivalent forms as follows [38]: where n j and b j are numbers and ∆ j in the first formula is the boundary scaling dimension and in the second formula is the bulk scaling dimension. Here r = e − h α is the inner radius of the annulus. Finally q α andq α are defined as The geometric part of the partition function which is only dependent on the central charge can be written as δ ln Z geom where w α is the conformal map from the original α-sheeted Riemann surface with slits to the annulus and {f, z} is the Schwartzian derivative and the integral is around one of the slits (here the second one). Later, for notational convenience, we will also use S(f ) = {f, z} for the Schwartzian derivative. Note that the above formulas are correct even for finite size systems as far as the Riemann surface is topologically equivalent to an annulus.
3.1.1. Infinite systems: This case is already discussed in full detail in the [30] ‡. When s 1 and s 2 are much smaller than l and is in the order of the lattice spacing one is left with the bipartite entanglement entropy without any measurement. This is the well-known case and it is fully studied in the last two decades, see for example [4,6]. When s 2 is in ‡ The corresponding conformal map is written explicitly in the Appendix. the order of lattice spacing but s 1 and l are macroscopically big the setup corresponds to the post measurement entanglement entropy of the connected regions B andB. The formula, in this case, is [21,30]: where ∆ 1 is the smallest scaling dimension present in the spectrum of the system and the second term is the Affleck-Ludwig boundary term [39] studied already in the context of the entanglement entropy in the [6]. When we have just one simply connected measurement domain, we should substitute 2 ln b 0 with ln b 0 . We will discuss this issue in more detail in the later sections. Note that when s 1 goes to infinity the above result goes to the entanglement entropy of a domain at the beginning of a semi-infinite chain.
For later use, we also report here the approximate value for h when s 2 is in the order of lattice spacing but s 1 and l are macroscopically big as follows [30]: Finally, when s 1 , s 2 and l are all much bigger than the lattice spacing one is left with the two regions B andB that are effectively disconnected. For l ≪ s 1 = s 2 = s one can find [30]: where ∆ 1 is the smallest boundary scaling dimension in the spectrum of the system. The above formula is an example of entanglement entropy of two disconnected regions. For later use we also report the approximate value of h in the above limit as follows [30]: (3.10) 3.1.2. Finite periodic systems: One can follow the above procedure also for a system with the periodic boundary conditions with the total size L. The corresponding conformal map which is already discussed in [30] can be found in the Appendix A.
As before when s 1 , s 2 ≪ l we have just the bipartite entanglement entropy without the projective measurement, see [4,6]. The case s 2 ≪ l, s 1 is the post measurement entanglement entropy of two connected regions B andB. The first leading term, in this case, has the following form [21,30] §: sin π L (l + s 1 ) sin π L l s 2 sin π L s 1 + ..., (3.11) § The corresponding conformal map is written explicitly in the Appendix A.
where the first important term in the dots is the Affleck-Ludwig term that we will discuss with more details later. The h in this limit is Finally when l ≪ s 1 = s 2 = s (in a way that we have s = L−2l 2 ) one can derive the following formula [30]: The above formula is the second example of the post measurement entanglement entropy of two disconnected regions. The value of h in this limit is [30] h = −π 2 2 ln πl 4L + .... (3.14)

Semi-infinite open systems:
This case has not been addressed in the previous works. The setup that we would like to study is shown in the Figure 2. As before the projective measurement is done on the A part, and we would like to calculate the entanglement entropy of B with respect toB. To derive the Rényi entropy one needs to calculate the partition function of the Riemann surfaces shown in the Figure 2.
The corresponding conformal map from the upper half plane with one slit and a branch cut on B to an annulus can be derived as follows: Step I: we first map the upper half plane to a unit disc by the conformal map The coordinates of P 1 and P 2 are now (b, 0) and (a, 0) respectively with Step III: The unit disc with unsymmetric slit can be mapped to a unit disc with symmetric slit by the conformal map The length of the slit is now 2d with Step III and IV: The remaing disc with slit can now be mapped to the annulus by using the conformal map w 1 (z 2 ) provided in [41]. Finally, one needs to uniformize the surface by the map (w 1 (z)) 1 α . The final result is Note that the equation (3.21) is valid just for Imz > 0 and in principle for Imz < 0 one needs to use This subtility does not affect the upcoming calculations.
To calculate the Schwartzian derivative we need the following chain rule The first two steps do not contribute to the Schwartzian derivative because they are both Mobius transformations. The Schwartzian derivative has two poles at z = il and z = i(l + s). After calculating the integral in (3.6) we have We are interested to study two limits: the first interesting limit s ≪ l is the problem of the entanglement entropy of a subsystem without any projective measurement. In this limit we have Since in this limitq is the small parameter as far as α is not too big we use the equation (3.4). We have where ∆ 1 is the smallest dimension in the conformal tower. In addition after expanding (3.26) and integrating with respect to l we have where the dots are the subleading terms. Putting all the terms together we have The above result is the standard result of the entanglement entropy of a subsystem [6]. The second term is the Affleck-Ludwig boundary term and the third term is the unusual correction to the entanglement entropy discussed in [40]. Note that in the limit of no measurement region one needs to replace 2 ln b 0 with ln b 0 . The next interesting limit is l ≪ s which is the third example of the post measurement entanglement entropy of disconnected regions. In this case, q is the small parameter and we have h = π 2 2 ln 4s l + ..., Then after a bit of algebra we have Summing over all the terms gives where ∆ 1 is the smallest boundary scaling dimension in the spectrum of the system.

Finite open systems:
In this case, we consider a finite total system with length L and make a projective measurement in the part A which is a connected subsystem with length s starting from one side of the system, see Figure (3). Then we calculate the entanglement entropy of the simply connected subsystems B andB with lengths l and L − l − s respectively. In this setup B andB are connected and the formula of the post measurement entanglement entropy is already calculated in [21] by using the twist operator technique. Although in principle the formula can be re-derived with the method of the beginning of this section, we will just report the final result [21]: where the dots are the subleading terms. In the limit L → ∞ we have the following simple formula  3.1.5. Finite temperature: It is quite straightforward to extend the above results to a system with the finite temperature. In principle, with a finite temperature, we mean that one first starts with a Gibbs state for the entire system e − H T and then by tracing out one part of the system derives the reduced density matrix. Then the Rényi entropy can be derived as before. Technically one just needs to study the two-dimensional cylinder with a base circumferences β with two slits and a branch cut in the direction of the axes of the cylinder. In principle, one can use the results of the finite periodic system to extract the results for the finite temperature. This can be done by just replacing L with iβ. For example, when the system is infinite and s 2 is small we will have sinh π β (l + s 1 ) sinh π β l s 2 sinh π β s 1 + ..., (3.39) In the limit of small s 1 , we recover the result of the finite temperature Rényi entropy for a system without projective measurement [6], i.e.
It is easy to see that for a large temperature one can simply derive In this limit, the entropy is extensive as it is expected. When s 1 = s 2 = s is much bigger than l one can use the formulas of the appendix and find In the limit of small l when πl 8β coth πs β ≪ 1 we have h → 0 which means that the q is the small parameter and we have Then after a bit of algebra we have In the limit of the zero temperature, we are back again to the formula (3.9). However, when πs β ≫ 1 ≫ πl 8β one can write and consequently we have The above result interestingly shows that as far as the measurement region is big and the size of the isolated subsystem small the entropy increases like a power-law with respect to the temperature with a power which is dependent on the smallest scaling dimension in the spectrum of the system. When β is small we need to use the expansion with respect toq and we are back again to the formula (3.41).
The result for the connected regions can be also extended to the semi-infinite system at finite temperature. In this case one just needs to replace L with β 2 in the equation (3.37). The final result is In the limit of β → ∞, we redrive the formula (3.38) and when β → 0 we are back again to the formula (3.41). When we do not have any measurement region we are back to the well-known result of [6], i.e.
The above results can not be extended easily to the finite periodic systems. We leave the proper treatment of this case to a future work.
3.1.6. Affleck-Ludwig boundary entropy: In this subsection, we make some further comments regarding the Affleck-Ludwig boundary entropy term. So far we have been concentrating on the projective measurements in a way that the measurement on the two slits are done on the same observables and the results are also the same. However, the more general case is when the measurements are done on different observables or they are done on the same observables but with different outcomes. Depending on the observables and the outcomes the boundary conditions on the two slits might be different. Note that even choosing the same observable on both slits does not mean that the corresponding boundary conditions on the two slits are the same. When there are two different conditions on the boundaries of the annulus, i.e. A and B, the equations (3.3) and (3.4) have the following more general forms [38]: where n AB j are the non-negative integers and b A j = A|j and b B j = j|B . |A(B) and |j are Cardy and Ishibashi states respectively. Different coefficients are related to each other with the formula n AB j is the element of the modular matrix S, see [38]. Using (3.50) one can now write the Affleck-Ludwig boundary entropy as [30]: In the presence of one boundary, we need to consider just one of the above terms. The above result is correct also in the presence of the boundary, for example in the case of the semi-infinite system. Note that since all of the derived formulas have also an extra non-universal constant contributions all the comments regarding The Affleck-Ludwig term is meaningless if we do not factor out the unwanted non-universal terms. This can be done following [6,10,42,43,44] as follows: we first write the entanglement entropy of a region without any measurement domain for a periodic system as follows: Then for the case with the measurement we have With the above procedure, the definition of the S AL has no ambiguity. Note that in both equations the a α is the same non-universal constant and we also introduced a factor of 4 inside the logarithm in the second equation. At the moment we have no concrete argument why that factor should be 4 but as we will see in the upcoming sections its presence is dictated by the numerical calculations. One way to see that a non-trivial factor should be there is just by realizing that the ultra-violet cut-off is different in the two cases. However to fix the number exactly one possibly needs to start from the massive case and go to the massless regime as it was argued in [10,42]. The result for the infinite chain can be derived by just sending L to infinity. A similar result is also valid in the presence of the natural boundary of the system. For example for the finite open system with one measurement domain we have The results can be extended also to non-critical systems. When we have a finite temperature infinite size critical system the corresponding formula for the post measurement Rényi entropy is Finally, for semi-infinite system at finite temperature we have Since the Affleck-Ludwig term is dependent on the corresponding boundary conditions one can use it to identify the nature of the conformal boundary condition. We will use extensively this fact to identify the boundary conditions induced by the configurations in the later sections. It is worth mentioning that all of the above equations will change if the boundary condition changing operators are present in the system. In all of the above equations, we assumed that one of the measurement regions is big and the other one is very small (or effectively does not exist) in a way thatq α is small. However, it is obvious that the situation would change if both of the measurement regions are big enough. In this case, one needs to consider the most general formulas of Z annu and Z geom and try to extract the universal b 0 terms. In this case, one might be even able to go further and detect all of the b j with j > 0. However, sinceq ∆ j α in the partition function expansion is accompanied with non-universal constants it might be really hard to detect them numerically.
Finally, we close this subsection with some remarks regarding the g-theorem which states that for a fixed bulk conformal theory, boundary conditions introduce the ln b 0 in a way that b 0 decreases to the infrared under the renormalization group [45]. This theorem is proved in a field theory context but there is no proof of it in the context of the entanglement entropy, see [46]. In the context of the post measurement entanglement entropy, there might be two ways to look at this theorem. The important point about g-theorem is that the bulk theory is conformal but the boundary is flowing. This means that whatever measurement which induces non-conformal boundary condition can lead to different value for the b 0 . Basically, a measurement of different outcomes might lead to the same or different conformal (non-conformal) boundary conditions. This means that one might derive different values for b 0 depending on the outcome of the measurement. Of course, the same argument goes for also the post measurement entanglement entropy done in the other basis. The bottom line is that one might interpret different results for the measurement or doing the measurement in different basis as some sort of boundary renormalization group flow. We leave a more elaborate analysis of this point for a future work.
3.1.7. Lattice effects : In this section we briefly address the effect of the lattice on the CFT results. The effect in the presence of one slit is already studied in [47] and here we apply the results to the post measurement entanglement entropy. As it is argued in [47] the effect of the lattice can be simulated by perturbing the CFT action by the energy momentum tensor as follows: where T xx is the element of the energy-momentum tensor in the x direction and ξ is called extrapolation length and it usually plays the role of the UV cutoff in the presence of the boundary. To study the effect of the above perturbation on the post measurement entanglement entropy it is much easier to work with the twist operator technique. Here we discuss the simplest setup of an infinite chain with one slit, in other words in the Figure 1 we take s 2 = 0. Based on the Calabrese-Cardy technique [5] the entanglement entropy of the region B is given by where T α is the twist operator with the conformal weight δ α = cα 24 (1 − 1 α 2 ) sitting at the bundary between B andB. Finally T α slit is the expectation value of the twist operator in the geometry of infinite plane minus a slit which can be calculated by mapping the whole space minus a slit to the upper half plane by the conformal map z(w) = s+2w s−2w , see [21]. In [47] the effect of the perturbation (3.57) on the one point function of an arbitrary primary operator is studied. Applying the result to the twist operators for fixed l s we have The entanglement entropy can now be calculated by pluging (3.59) into (3.58). For example, for the von Neumann entanglement entropy we find where the first term is the usual term appeared already in the section (3.1.1) and the second term is the log s s correction coming from the lattice effects. Although in many numerical calculations these kinds of lattice corrections to the CFT results are the leading corrections, since in our numerical calculations we are going to investigate just the leading term we will not explore further this interesting effect.

Entanglement hamiltonians
The entanglement hamiltonian which is also called modular hamiltonian K B is defined as follows: where ρ B is as before the reduced density matrix of the subsystem. To calculate K B we recall the partition function of CFT on the cylinder Z cyl which has the following form: Using the definition of q and the relation between L 0 and the energy-momentum tensor T (z) one can simply write [31], see also [48]: where h is the length of the cylinder with the base-circumference 2π. Having the above result on the cylinder one just needs to come back to the original geometry that has two slits on it. This can be done simply by first mapping the cylinder to the annulus by the map w = ew wherew and w represent the cylinder and the annulus respectively. After moving to the annulus we can now use just the inverse of the conformal maps that we introduced before to map the annulus to the geometry with the two slits stretched on the intervals (0, s 1 ) and (s 1 + l, s 1 + l + s 2 ). Since after the conformal map f the energy-momentum tensor changes as Having the above formula one can simply identify the modular hamiltonian as It is common to call the space dependent coefficient of the energy-momentum tensor the inverse of the temperature β(x). In other words we have: The formula (3.65) is valid for all the cases that we studied so far. One just needs to calculate the derivative ofw(z) = ln w(z) with respect to z and plug it into the above formula. In the next subsections, we will list the entanglement hamiltonian of few interesting cases such as the infinite system, finite periodic system and finite temperature.
3.2.1. Infinite systems: Consider the infinite system with two measurement regions as the figure 1. Using the conformal map provided in the appendix we can simply write where cd and sn −1 are the Jacobi and inverse Jacobi functions. a, b and k are defined in the appendix. One can study the above formula in many different interesting limits. When s 1 = s 2 = s ≪ l we can simply find: If we symmetrize the above formula by putting l = 2R and x → x + R we reach to the well-known result of [49], see also [50,51] and references therein. When s 1 = s ≪ s 2 , l we can again expand the formula (3.67) and find: which is a generalized form of the equation (3.68). It is very interesting to note that one can now derive the entanglement entropy by integrating the equilibrium thermal entropy per unite length as follows [4,51]: Putting (3.69) in the above formula and expanding it with respect to s 1 one can derive the leading term of the equation (3.7). Note that the subleading terms that are unusual corrections coming from the relevant operators sitting on the conical singularities [40] can not be derived by using (3.70). This is simply because this equation does not take into account the contributions coming from the two very ends of the subsystem. Finally, when l ≪ s 1 = s 2 = s we first make a change of coordinates z → z + s + l 2 and put also l = 2R then we expand the equation (3.67) for large s. Finally, we have As it is expected one can not derive the equation (3.9) using the equations (3.70) and (3.71). However, the above equation has some of the expected properties such as: it is zero at the two ends of the subsection and it grows with increasing s. It is important to mention that in the above limit although strictly speaking the q is not the small parameter we used the expansion of the partition function with respect to q to derive the above formula. This means that the validity of the above equation might break down for very large s. The right way to study the entanglement Hamiltonian in this limit might be working with the expansion with respect toq. In all of the upcoming calculations, we will just use the expansion of the cylinder partition function with respect to the q.

Finite periodic systems:
The entanglement hamiltonian for a finite system can also be derived following the same method. one just needs to use the conformal map introduced in the appendix in the equation (3.65). Using Mathematica one can derive: where a 0 , b 0 , b 1 and k are all defined in the appendix and cd and dn are the Jacobi functions and sn −1 is the inverse Jacobi function. One can study the above equation in different limits. For example, when s 1 = s 2 = s ≪ l one can derive . (3.73) If we symmetrize the above formula by putting l = 2R and x → x + R we reach to the known result of [51]. The other interesting case is when s 1 = s ≪ s 2 , l. In this limit we have . (3.74) The above formula is the generalization of the formula (3.73) for the post measurement systems. Finally, one can also study the limit l ≪ s 1 = s 2 = s = L−2l 2 . In this case, we first symmetrize the system by change of variables z → z + s + l 2 and l = 2R. Then we expand the formula (3.72) with respect to R and find 3.2.3. Finite temperature: Entanglement hamiltonian for an infinite system with the finite temperature can be derived simply by replacing L with iβ in the formulas of the finite periodic system. For example for the case s 1 = s ≪ s 2 , l we have . (3.76) When s 2 ≪ l one can rederive the formula of [51] concerning the entanglement hamiltonian of a system without any projective measurement. i.e. . (3.77) It is worth mentioning that the formula (3.76) in the limit of large temperatures goes to β(x) = 2β which is a constant. This is expected from physical arguments because in the large temperature limit we expect to have just a Gibbs ensemble.

Entanglement spectrum and entanglement gaps
In this section, we study the entanglement spectrum of the system after partial projective measurement. To calculate this quantity we follow the method of [52]. First of all, we note that in the most general case one can write where λ i is the eigenvalue of the reduced density matrix. We first note that when the two regions B andB are connected the leading term of the above formula comes from the geometric part of the partition function. However, the subleading terms come from the annulus part and one needs to use the expansion with respect to q. Another crucial point is that for the connected cases s 1 or s 2 is always in the order of lattice spacing which means that for sufficiently small or big α's one can use the extracted formulas. Having all the S α 's one can hope to find the distribution of the eigenvalues of the reduced density matrix. This is the method which has been used in [52] to derive the distribution of the eigenvalues in the case of the no projective measurement and we will also use the same method, for other related study see [53]. The situation is different when the two regions B andB are disconnected in a way that s 1 , s 2 and l are all bigger than the lattice spacing. In this case, the leading term comes from the annulus part of the partition function and one needs to use the expansion with respect to q. However, one should be careful that the expansion can break down for very small α. For further details see [30]. This in principle means that one can not rely on the equations (3.9) , (3.13) and (3.36) to get the distribution of eigenvalues. We leave the calculation of the distribution of the eigenvalues of the non-connected cases as an open problem. We now consider the case of connected regions and write where here we adopted the notation of [52] and defined L ef f which have the following form in the case of the periodic boundary condition, see equation (3.11): Similar L ef f can be also defined for the semi-infinite case. In addition, we also defined b = c 6 ln L ef f . Having the above formulas the rest of the calculation is identical to [52]. We are interested to calculate P Finally, after some calculations one has where b = − ln λ max and I 1 is the modified Bessel function. The above formula is identical to the result of [52] one just needs to consider that we have a new L ef f . The asymptotic behavior of the above formula can be derived for the large values of the argument of the modified Bessel function as (3.82) It is worth mentioning that the above results are valid as far as a α = a c 6 (α−1/α) f , where f is a constant. However, we know that the Affleck-Ludwig term does not have such kind of form. Considering the Affleck-Ludwig term we have (3.83) The above formula shows the interesting physical meaning of b as the degeneracy in the distribution of the eigenvalues of the reduced density matrix. Now we will derive the entanglement gap of the system after partial projective measurement. The entanglement gaps are defined as the difference between the logarithms of the eigenvalues of the reduced density matrices. We first define Z cyl α = e −c h 12α Z ann α . Then we note that one can write Note that for all the limiting cases that we studied so far the Z geom is approximately one, see [30]. Then it is easy to see that one can identify the following quantities as the eigenvalues of the reduced density matrix: where the integer N appears because the sum in (3.84) contains also the descendants of the operator with the conformal weight ∆ j . Finally we can write The above formula is valid for all the cases that we studied in the previous sections. One just needs to use an appropriate h to derive the entanglement gap in the particular situation. When s 1 = s 2 ≪ l the above formula gives back the result of [52,54,31]. Note that the smaller the h the bigger the gap gets, consequently one expects huge entanglement gap when the two parts are disconnected and far from each other.

Massive field theories
In this section, we make a list of predictions regarding post measurement entanglement entropy in massive systems. Most of the upcoming statements are already appeared in [30] and they were based on numerical calculations on the massive Klein-Gordon field theory. It is quite well-known, see [6,9,10,3], that in the 1 + 1 dimensional massive field theories the entanglement entropy of a subsystem saturates with the size of the subsystem and is given by where κ is the number of contact points between the subsystem and the rest of the system and l is the size of the subsystem. Finally β(κ) is a model-dependent universal constant [10]. For results regarding the non-critical spin chains see [55]. Note that one can interpret ξ = m −1 as the correlation length of the system. The above equation is an example of the area-law in the 1 + 1 dimension. It has been argued that one way to understand the area-law is based on the short-range correlations present in the system which has significant contributions just around the contact points of the two regions. Note that the above formula is independent of the boundary conditions, in other words, it is valid for also periodic and open systems as far as ξ is much smaller than the length of the system. Based on the above line of thinking it was argued in [30] that the above equation should be valid also in the presence of the measurement region as far as a ≪ m −1 ≪ l, s, where s is the length of the measurement region. This was simply because since projective measurement in part of the system in the massive field theories does not change the value of the correlations in the other parts of the system one naturally expects that the only effect of the measurement region be producing a boundary condition in that part of the system which can just affect the value of κ and nothing more. Of course, a priory it is not guaranteed that the coefficient of the logarithm should be the central charge and indeed we think that this might be the case just when we perform our measurement in the conformal basis. An exact derivation of the above formula should be in principle possible by following the arguments based on the form factors of twist operators as it is done for the non-measurement case in [9,10]. It is worth mentioning that if the measurement region is not much bigger than the correlation length ξ we expect In the limit of ξ ≪ s we are back again to the equation (4.1). Note that when s ≪ ξ we have just the case without any projective measurement. The equation (4.1) make sense just when κ is not zero. If the two regions after the projective measurement are completely decoupled one naturally expect an exponential decay of the entanglement entropy with respect to the distance of the two regions [30]. In other words, where γ(α) is a number and s min is the minimum distance between the two regions. In other words, with the notation of the previous section s min = min(s 1 , s 2 ). The massive theories are also studied in the presence of the temperature. In the presence of a weak temperature the Rényi entropy follows the following formula [56]: where S(0) is the Rényi entropy of the bipartite system in the zero temperature limit. Because of the short-range nature of the correlations in the massive systems, it is expected that the above result is true also in the presence of the measurement region. We will support the above guess later with some numerical calculations performed on the non-critical Ising model. We summarize this section as follows: because of the short-range nature of the correlations in the massive systems as far as one does the measurements in the conformal basis we expect that all the results regarding the nonmeasurement case be valid also for the post measurement entanglement entropy. We conjecture that the conclusion is valid independent of the dimensionality of the system.

Post-measurement entanglement entropy in the free fermions
In this section, we present an efficient numerical method to calculate the entanglement entropy after partial measurement on the number of fermions on some of the sites. A similar method was already used in [21] to calculate the same quantity for the XXmodel. The method was inspired by the papers [57]. To extend the work of [21] we use the results of [58] as the starting point. The most general free fermion Hamiltonian is We first write the reduced density matrix of a block of fermions D by using block Green matrices. Following [58] we first define the operators Then the block Green matrix is defined as To calculate the reduced density matrix after partial measurement we need to first define fermionic coherent states. They can be defined as follows: where ξ i 's are the Grassmann numbers following the properties: ξ n ξ m + ξ m ξ n = 0 and ξ 2 n = ξ 2 m = 0. Then it is easy to show that With the same method one can also define another kind of fermionic coherent state as where η i 's are the Grassmann numbers. Then it is easy to show that Using the coherent states (5.4) the reduced density matrix has the following form [58] < ξ|ρ D |ξ ′ >= det where F = (G + 1)(G − 1) −1 . If we use (5.6) the same reduced density matrix can be written as where F −1 is the inverse of the matrix F . After diagonalization of the reduced density matrix the Rényi entanglement entropy has the following form [57,58,3]: where G = (F − 1) −1 (F + 1). The reason that we prefer to have the form of the entanglement entropy with respect to the F matrix will be clear soon. Consider now the reduced density matrix of the subsystem B after partial measurement of the occupation number of the region A. This can be calculated in few different but equivalent ways as follows [21]: for simplicity consider 1 + 1 dimensional system with the measurement performed on a string of sites (region A) with the outcome |n 1 , n 2 , ..., n s with n j = 0, 1 and we are interested in the entanglement entropy of the region B with respect to the rest. To calculate S B we first calculate ρ A∪B for the pre-measurement state. To calculate S B we need ρ B =< n 1 , n 2 , ..., n s |ρ A∪B |n 1 , n 2 , ..., n s . The right-hand side can be calculated using the two equations (5.8) and (5.9). For example, consider that the outcome of the measurement on site j is |0 j ; then ρ B can be calculated by using the equation (5.8) and putting ξ j equal to zero. This means that now one can think about a new reduced density matrix being a subblock of the matrix (F ) −1 . Finally, we put F f in the equation (5.10) to calculate the entanglement entropy. Note that the order of using the two equations does not change the final outcome as it is expected. In principle, the above procedure works in any dimension with an arbitrary outcome for the occupation number measurement. It is worth mentioning that one can totally avoid using (5.9) by just starting with (5.8) and putting ξ j = 0 for the j's that correspond to zero fermions. Then for those sites that we have a fermion we just need to Grassmann integrate over the corresponding sites. Note that the Grassmann integration over particular ξ k is like putting a fermion in that site. This is simply because we have We can now summarize the algorithm for the latter method as follows: we first calculate ρ A∪B with the corresponding F = F 0 , then we put ξ j = 0 whenever the corresponding sites are empty. Now we have a new Gaussian reduced density matrix with F = F 1 . Finally, we perform Grassmann integral of the last reduced density matrix over all the ξ k 's with the occupied k's. The final reduced density matrix is still Gaussian but with F = F 2 . Putting this matrix in (5.10) one can easily calculate the entanglement entropy.
In the next sections, we will use the above procedure to calculate the post measurement entanglement entropy in the quantum XY chain in the σ z basis.

XY spin chain
In this section we summarize all the necessary formulas and facts regarding the XYchain. The necessary ingredients for our numerical calculations are the G matrices and the configurations that lead to the conformal boundary conditions. The Hamiltonian of the XY-chain is as follows: Note that since [H, N ] = 0 one needs to consider the two sectors independently and find the ground state of the spin chain as the ground state of the sector N = 1 or the first excited state of the sector N = 1. Here we always concentrate on the cases that the ground state of the spin chain is in the sector N = 1. The above Hamiltonian has a very rich phase diagram with different critical regions [59]. In figure (4) we show different critical regions of the system.  Because of the Jordan-Wigner transformation if the σ z is up(down) at site j one can interpret it as having (lacking) a fermion at the same site. Because of the Jordan-Wigner transformation if the σ z is up(down) at site j one can interpret it as having (lacking) a fermion at the same site. This correspondence helps us to calculate the entanglement entropy in the XY chain after projective measurement in the σ z basis by using the results of the previous section. In the next subsections, we will summarize the formulas regarding the G matrix for the XY chain, see for example [60]. We also comment on the configurations that lead to conformal boundary conditions [28].

Critical transverse field Ising chain
In this section, we list some of the known facts about Ising model. Here, we first list the correlation matrices necessary to calculate the post measurement entanglement entropy and then we present the results known about the conformal configurations and the conformal field theory of the Ising model. .
(1 − cos φ) 2 + a 2 sin 2 φ . (6.5) The above Green matrix is useful to check the universality of the results.
6.1.2. Boundary conformal field theory of the Ising model: There are two different conformal boundary conditions compatible with the CFT of the Ising model, free and fixed boundary conditions [61]. Here, free and fixed refers to the state of the spin in the σ x direction. These two boundary conditions can produce four different partition functions: 1) fixed with spins in the same direction on both boundaries "Fi1-Fi1" 2) fixed with spins in the opposite direction "Fi1-Fi2" 3) free on one boundary and fixed on the other one "Fr-Fi" and 4) free on both boundaries "Fr-Fr". The corresponding partition functions on the cylinder with the length h α and the circumference 2π can be written with respect to characters as follows Z F i1−F i1 = χ 0 (τ ) + χ 1/2 (τ ) + √ 2χ 1/16 (τ ), (6.6) where the characters are defined as follows: (1 +q 2 α +q 3 α + ...),(6.10) (1 +q α +q 2 α + 2q 3 α + ...), (6.11) where Θ i 's are the Jacobi theta functions andq α = e πiτ with τ = i h πα is as before. Finally η is the Dedekind function with the following definition There are some comments in order: first of all, for the first two partition functions, the smallest non-trivial scaling dimension is ∆ 1 = 1 16 which is the scaling dimension of the spin operator. However, for the last two ∆ 1 = 1 2 which is the scaling dimension of the energy operator. Another interesting fact is that (6.14) Which means that the partition function of the Ising model with the fixed boundaries, as far as we do not know the nature of the fixed boundary conditions, is proportional to the partition function of the Ising model with the free boundaries. In the next subsection, we will comment on the configurations that lead to the above boundary conditions. Finally, it is important to also comment on the parameter b 0 that appears in the study of Affleck-Ludwig term for different boundaries. Based on the above formulas it is easy to identify for the free and fixed boundary conditions respectively. Definition of more complicated crystal configurations is quite straightforward. We can define some of them by labeling the configuration by a number x which is the ratio of the number of down spins to the total number of spins in a base of a crystal configuration. For example, we have x a = 0, x b = 1 and x c = 1 2 . Note that there are infinite different crystal configurations with the same x. For example, the configuration (| ↓, ↓, ↑, ↑, ↓, ↓, ... >) is also x = 1 2 . We call this configuration, which can be derived from the configuration c by doubling every spin, the configuration ( 1 2 , 2). We can now define a class of crystal configurations (x, k), where x is defined as before and k is the number of neighboring down spins in a base of the crystal configuration with this condition that in the base of the crystal all the up (down) spins are neighbors. With the above definition (1, 1), ( 1 2 , 1) are the configurations b and c respectively. Exceptionally, for later convinience, we take the configuration (1, 0) as the configuration a. Note that although the above configurations do not exhaust all the possible crystal configurations they are quite enough for our purpose. It is expected that all of the above crystal configurations flow to conformal boundary conditions [28]. It is worth mentioning that although all of these configurations flow to conformal boundary conditions it is not a priory clear that they flow to what kind of conformal boundary conditions. For example, in the case of the Ising model we have two possible different conformal boundary conditions, free and fixed [38,61]. It was argued in [27] that all the spins up configuration should flow to free boundary condition. In the case of the free-free boundary conditions on the two slits the smallest scaling dimension present in the partition function of the annulus is ∆ = 1 2 which is the scaling dimension of the energy operator [61]. Of course, this fact is important when we discuss disconnected cases. Numerical calculations of the formation probabilities performed in the presence of a boundary show that all the configurations (x, 2k) also flow to free boundary conditions [28]. However, the configurations (x, 2k + 1), including the configurations b and c, flow to fixed boundary conditions. The above considerations suggest that all of our CFT results should be valid for all the crystal configurations as far as the system is infinite or we have periodic boundary condition. We do not expect the validity of our results for the configurations (x, 2k + 1) when the system has an open boundary condition. This is simply because since the natural boundary of the Ising chain that we are considering has a free boundary condition if the configuration induces a fixed boundary condition on the slit one needs to consider also the effect of the boundary changing operator. For the configurations (x, 2k) the presented CFT results should be valid also in the presence of the open boundary condition. We will numerically show that the above conclusions are indeed the case when we study the critical transverse field Ising chain.
Using the numerical calculations in [28] it was argued that not only the crystal configurations but also some configurations that although not perfectly crystal but very close to that can also flow to a boundary conformal field theory. This fact will be important in our later discussion regarding the localizble entanglement [37]. Finally, it is worth mentioning that all of the above results are valid when we are making the measurement in the σ z basis. The situation changes completely if one makes a measurement in the σ x basis.

XX critical line
In this subsection, we list all the relevant results regarding the correlation matrices and the conformal configurations of the XX model. We will also list the formulas regarding the CFT of the XX chain.

Correlation matrices:
The critical XX chain a = 0 has a very different structure than the critical Ising chain. It has U(1) symmetry which guaranties the conservation of the total number of up spins, in other words, the number of fermions. Since in this For the periodic boundary condition provided L 2π arccos(−h) / ∈ N the form of the C matrix is [60] . When the ground state is non-degenerate and the magnetic field is non-zero we have where n f = π L 2⌈ L 2π arccos(−h)⌉ − 1 is the Fermi momentum and ⌈x⌉ is the closest integer larger than x.
For the open boundary condition provided h+cos πk L+1 = 0 the form of the C matrix is: where θ(x) is defined as above. For a non-zero magnetic field when the ground state is non-degenerate, i.e. h + cos πk L+1 = 0 we have
where n ′ f = π 2(L+1) 1 + 2⌊ (L+1) π arccos(−h))⌋ and ⌊x⌋ is the closest integer smaller than x. The form of the above correlation matrix is consistent with the Dirichlet boundary condition. Note that one can get the results for the infinite and the semi-infinite cases by just sending L to infinity.
6.2.2. Boundary conformal field theory of the XX chain: It is quite well-known that the continuum limit of the XX chain can be described by a compactified free bosonic theory, where φ ≡ φ+2πr with r = 1 2 √ π . There are two possible conformal boundary conditions, Dirichlet and Neumann. Since in this work we do not face Neumann boundary condition we will just focus on the Dirichlet boundary condition. The partition function of the free compactified bosonic theory on the finite cylinder has the following form with φ 1 and φ 2 being the value of the field φ on the two boundaries. The above equation means that for positive δ the smallest scaling dimension is The above scaling dimensions will frequently appear in our later numerical calculations.

Conformal configurations:
It has been already shown that the all spins up and all spins down configurations, i.e. a and b, do not lead to conformal boundary conditions, see for example [27,28]. This is possible because the XX chain has a U(1) symmetry which keeps the number of fermions fixed. To have all the spins up one needs to inject fermions which are in contrast with the U(1) symmetry. However, the antiferromagnetic configuration, i.e. c, leads to a conformal boundary condition if one works with the half-filling case, see [28]. It was shown in [28] that for an infinite system with the Fermi momentum n f just the configurations with x = n f π flow to conformal boundary conditions. In addition based on the numerical results of [29] one can conjecture that the corresponding boundary conditions are all Dirichlet boundary conditions.
We argued in the above that all the configurations ( n f π , k) flow to Dirichlet boundary conditions but a priory it is not clear what is the value of φ on the boundary for different configurations. If one takes similar configurations on the two slits one is left with δ = 0 and consequently the smallest scaling dimension in the spectrum is ∆ = 1 2 . However, if the configurations on the two slits are different one expect to find non-zero δ which means a different spectrum for the system. Our CFT results suggest that the post measurement entanglement entropy changes like a power-law with an exponent which depends on the smallest scaling dimension present in the system. This means that one can find δ corresponding to Dirichlet boundary conditions by studying the post measurement entanglement entropy. Note that since different values of δ can lead to the same ∆ 1 the value of δ can not be fixed uniquely. In principle, we have δ = √ 2∆ 1 or δ = 1− √ 2∆ 1 . The two different δ's although lead to the same smallest scaling dimension they have different partition functions. To fix the total spectrum of the system with a Dirichlet boundary condition one needs to also extract the second smallest scaling dimension. In this work, we will concentrate on the smallest scaling dimension and leave the corrections to future studies. The conclusion of the above argument is that the post measurement entanglement entropy provides a method to characterize the conformal boundary conditions. We will study in the next sections many different configurations based on the above idea. It is worth mentioning that one can also extract similar results using the formation probabilities, see [28].
The Dirichlet-Dirichlet partition function that we wrote in the above can be also expressed in theq representation as follows where η(q) = π h η(q) and b DD 0 = 1. The above results indicate that in this case the boundary entropy S AL independent of the configuration is zero.
Finally, it is worth mentioning that all of the above results are valid if we make the projective measurement in the σ z basis. When the measurement is done in the σ x -basis it is expected that the boundary flows to a conformal Neumann boundary condition. Consequently, one needs to work with either Z N N or Z DN , where N and D stands for the Neumann and the Dirichlet. In these cases, first of all, the spectrum of the system is different and in addition the Affleck-Ludwig term is not zero anymore. We leave more through analysis of the σ x basis for a future work.

Entanglement entropy after selective measurements in the critical Ising chain
In this section, we will check the validity of the post measurement entanglement entropy formulas derived in the section 3 for the Ising chain. In other words we will check the validity of the formulas: (3.7) , (3.9), (3.11), (3.13), (3.36) and (3.37). The formulas (3.7), (3.11) and (3.37) are the post measurement entanglement entropy of two connected regions and the other three are the ones related to the disconnected regions, see Figures (5) and (6). We perform the measurement in the σ z basis so that we can use the results of the section 5. From now on it is useful to fix some notations regarding the exponents appearing in the disconnected cases. First of all we define the setups leading to the equations (3.9), (3.13), (3.36) as follows: Setup I: The total system is infinite and the measurement region A is made of two large disconnected regions with each of them with the length s around the domain B with length l: The post measurement entanglement entropy, with this condition that the result of the measurement on the two regions are C 1 and C 2 , (up to a logarithm for α = 1) decays as is the smallest scaling dimension present in the spectrum of the system. Note that this exponent can be dependent on the configuration.
Setup II: The system is periodic with the finite size L. The measurement region A is made of two equal large disconnected regions in a way that the regions B and B have the same size l. The post measurement entanglement entropy (up to a logarithm for α = 1) changes as where as before ∆ is the smallest scaling dimension present in the spectrum of the system.

Setup III:
The system is semi-infinite and the measurement region A is made of one connected large domain with the size s and the configuration C. The simply connected domain B with the size l starts from the origin. The post measurement entanglement entropy (up to a logarithm for α = 1) changes as is again the smallest scaling dimension present in the spectrum of the system. Note that we will follow the same notation also for the XX model.

Connected regions
In this subsection, we check the validity of the formulas (3.7), (3.11) and (3.37) for the critical transverse field Ising chain. We will just focus on the leading term in the corresponding formulas.
We first check the formula (3.7) valid for the infinite system by fixing the spins in the subsystem A in the up direction. The results for α = 1 and α = 2 shown in the Figure 7 are in good agreement with the formula (3.7). We repeated the same calculation for the case when all the spins are down, see Figure 7. Here we realized that for small subsystem sizes we have two branches for the two possible parities of the number of fermions in the subsystem. However, the two branches start to get closer to each other by taking larger and larger subsystem sizes. There is fairly a big deviation from the CFT result when l is very small or when s is very small. We do not know the exact reason for this effect. One possibility is the presence of the boundary changing operators or it might be the lattice effect coming from the extrapolation length. We observed similar effect also for the case when the result of the projective measurement is the antiferromagnetic configuration, see Figure 7. However, the effect disappears when we consider the configuration ( 1 2 , 2). We checked the universality of our results by calculating the post measurement entanglement entropy on the infinite critical XY line for the configuration a. The result is shown in the Figure 8 is consistent with the formula (3.7) which confirms the universality of our results. Note that we observed the above behavior for also other crystal configurations mentioned in the previous section. We expect that the CFT results are valid for all the crystal configurations.
We then checked the formula (3.11), valid for the periodic systems, for the case when the result of the measurement is the configuration a. The numerical results are shown in the Figure 9 are consistent with the CFT formulas. Similar results are also valid for the configurations b and c. The conclusion is that the formula (3.11) is valid for all the crystal configurations. Finally, we studied the open boundary condition in the presence of different configurations. Our numerical results for the configurations (x, 2k) are consistent with the formula (3.37). In the Figure 10, we depicted the result for the configuration a. We obtained similar result also for the configuration ( 1 2 , 2). However, the results for the configurations (x, 2k + 1) do not follow the formula (3.37). This might be, as we discussed before, because of the presence of the boundary changing operators. It will be interesting to study the effect of boundary changing operators on our CFT calculations. We leave more through analyses of the configurations (x, 2k + 1) for a future work.

Affleck-Ludwig boundary entropy
To study the Affleck-Ludwig boundary entropy we first calculated the entanglement entropy of a sub-region without projective measurement and fit the data to and determined a α . Then we did the same calculation in the presence of the measurement region and fit the data to and determined b α . Finally the Affleck-Ludwig boundary entropy is given by We did this calculation for the configurations (x, 2k) and for b 0 found a value incredibly close to one, for example, we derived b a 0 = 0.996 b ( 1 2 ,2) 0 = 1.009. (7.10) The above results are consistent with the free nature of the configurations (x, 2k). Then we repeated the same calculations for the configurations (x, 2k + 1). Here for S AL we found a value very close to ln 2 2 . This is not exactly compatible with what we expect for the fixed boundary condition which we have S AL = − ln 2 2 . The extra ln 2 factor can be understood as follows: Although all the configurations (x, 2k + 1) flow to fixed boundary conditions a priory it is not known that they are flowing to the up (down) fixed boundary conditions (here with up (down) we mean in the euclidean version when we consider the σ x basis). This ambiguity contributes a factor of two to the partition function and a factor of ln 2 to the entanglement entropy. Taking to the account this factor we find the desired boundary entropy. For example, our numerical calculations show The above reasoning will appear again in the next subsection when we discuss the disconnected cases.

Disconnected regions
In this sub-section, we calculate the entanglement entropy of two regions that are disconnected after projective measurement. In other words, we verify the validity of the equations (3.9), (3.13) and (3.36) for the critical Ising chain. As we discussed before it is expected that most of the crystal configurations flow to free or fixed boundary conditions. For the Ising model with the free-free boundary conditions the operator with the smallest scaling dimension is the energy operator with ∆ 1 = 1 2 . However, for the fixed-fixed boundary condition, it is the spin operator with ∆ 1 = 1 16 . We will show in the next subsections that working in the σ z basis we can just detect the first scaling dimension, ∆ 1 = 1 2 .

Infinite chain:
Putting all the pieces of the above argument together for the setup I we expect In the Figure 11, we first showed that the power-law behavior is valid for the Ising model when we consider the configuration a on both regions. Then we showed the validity of the equation (7.12) for ∆ {a,a} I (α). To check that our results are configuration independent or not we also calculated the post measurement entanglement entropy for the set-up I when the outcome of the measurement is the configurations (x, 2k). We found that the power-law behavior with the exponent (7.12) is valid also in these cases. However, for all the configurations (x, 2k + 1) surprisingly we found a very different behavior. The Rényi entanglement entropy ¶ decreases with respect to s and then saturates for a value which is very close to ln 2, see Figure 12. This behavior is totally counterintuitive because we expect that the Rényi entanglement entropy always decreases to zero by increasing the size of the measurement region. The above strange behavior can possibly be understood as ¶ Note that depending on the l for some values of α the Rényi entanglement entropy increases with s and then saturates to log 2 follows: as we discussed in the previous section although these configurations flow to fixed boundary conditions a priory we do not know that they flow to Z F i1−F i1 or Z F i1−F i2 . This means that the total partition function for these configurations on the cylinder is The factor 2 in the above formula is independent of s and produces a ln 2 in the calculations of the S α which survives even when s goes to infinity. Another interesting feature of the above formula is that now instead of the partition function of fixed-fixed on the cylinder we have the partition function of free-free. If the above argument is correct we expect that the Rényi entropy approaches to the ln 2 like a power-law with an exponent which is the same as (7.12). In other words where C 1 , C 2 ∈ (x, 2k+1). Our numerical results depicted in the Figure 12 are consistent with the above picture. The conclusion is that although the configurations (x, 2k + 1) flow to fixed boundary conditions all of the exponents are the ones that come from the free boundary conditions. In the discrete level we realized that for the large s the post measurement G is in a way that the eigenvalues of the matrixG T .G are all close to one except one eigenvalue which is approximately zero. Then having the equation (5.10) it is obvious that one expects S α = ln 2 for the large s. It will be interesting to prove this fact by exact calculations starting with the configurations (x, 2k + 1). Finally, we also studied the case with C 1 ∈ (x, 2k) and C 2 ∈ (x, 2k+1). Based on the previous arguments this example should be related to the free-fixed partition function. We expect that the entanglement entropy follows the equation (7.14). Although not shown here our numerical calculations confirmed our expectations. The conclusion is that as far as one of the configurations is from the set (x, 2k + 1) the entanglement entropy follows the equation (7.14).

Periodic chain:
Following similar argument as above one can write for the setup II In the Figure 13, we checked the validity of the equation (7.15) for the ∆ {a,a} P (α) in the finite periodic system. The results are consistent with the CFT predictions. Note that the above result should be correct for all the crystal configurations discussed in this paper. However, one needs to be careful that for C 1 = C 2 = (x, 2k + 1) we expect a factor of two in the partition functions which leads us to have . (7.16)

Semi-infinite chain:
In the setup III for the configuration (x, 2k) we expect In the Figure 14, we checked the validity of (7.17) with ∆ {a} O (α). The results are consistent with our CFT calculations. Note that again we expect that the von Neumann entropy saturates to ln 2 for the configurations (x, 2k + 1).    ∈ (1, 100). The dashed line is the formula (7.17).
In this section, we will check the validity of the post measurement entanglement entropy formulas derived in the section 3 for the critical XX chain. In other words we will check the validity of the formulas: (3.7) , (3.9), (3.11), (3.13), (3.36) and (3.37). The formulas (3.7), (3.11) and (3.37) are the post measurement entanglement entropy of two connected regions and the other three are the ones related to the disconnected regions. We perform the measurement in the σ z basis so that we can use the results of the section 5. For the critical XX chain as we mentioned in the previous section the configurations a and b are not conformal configurations, however, the configurations ( n f π , k) lead to conformal boundaries. We mostly focus here on these configurations and check the CFT results. It is worth mentioning that although it is expected that the configurations (x, k) with x = n f π are not conformal it was shown numerically [21] that if l is sufficiently large with respect to s the CFT results still can be used. For example, for the configuration a the CFT results are valid for l > π n f s. Of course, the range of the validity of the CFT results is bigger for those cases that x is closer to n f π . We will comment more about this fact in the upcoming subsections.

Connected regions
In this subsection, we first study the entanglement entropy in the presence of the configurations (x, k) with x = 8.1.1. conformal configurations The formula (3.7) has been already checked for the XX chain when the outcome of the measurement is an antiferromagnetic configuration [21]. We calculated numerically the post measurement entanglement entropy of two connected regions when the corresponding configuration is c, for the finite periodic and open chains. The numerical results depicted in the Figures 15 and 16 show a reasonable compatibility with the CFT formulas (3.11) and (3.37). We have obtained similar results for also the configurations ( n f π , k) in the case of infinite and periodic boundary conditions. For the open chain when k > 1 one needs to take into account also boundary changing operators. We leave more through analysis of this point to a future work. Final conclusion is that the CFT results are valid for all the conformal configurations ( n f π , k).

non-conformal configurations:
As we mentioned before all the configurations (x, k) with x = n f π are not conformal configurations, however, it is expected that for large l s , in other words small measurement region, the CFT results be valid. This has been already shown in ( [21]) for the configuration a with different n f 's. Here we examined similar phenomena for the configuration c. This configuration is conformal  just for n f = π 2 and not for other fillings. In the Figure (17), we change the filling but with fixed configuration calculated the post measurement entanglement entropy. Numerical result show that for this configuration as far as l s > 1 − 2 n f π the CFT results are valid. We expect similar behavior also for the other configurations. At the moment it is not clear how one can predict the regime of the validity of the CFT results. However, it is not difficult to see that whenever we need to inject fermions to the subsystem in contrast to the filling factor of the system one leads to the non-conformal configurations. The more fermions we inject the bigger l we need to have results consistent with the CFT. In the regime that the CFT results are not valid, we see an exponential decay of the entanglement entropy.

Affleck-Ludwig boundary entropy and the g-theorm
In this subsection, we make some comments regarding the Affleck-Ludwig boundary entropy and the g-theorem. We calculated the Affleck-Ludwig term for the conformal configurations as we did for the transverse field Ising model. We followed the same procedure and basically used the equation (7.9). Our numerical results performed for ( 1 2 ,2) 0 = 1.00. (8.1) The above results are perfectly consistent with what we expect for the Dirichlet boundary conditions which we have b 0 = 1. After finding the b 0 for the conformal configurations we calculated the same quantity for the non-conformal configurations. As we mentioned before all the configurations (x, k) with x = n f π are not conformal so in principle, they are a good laboratory to verify the entropic version of the g-theorem. For this reason, we followed the same procedure as above but this time, we just used the regime that the CFT results are valid. The results shown in the figure (18) show that for n f = π 2 the b 0 for the configurations (x, k) start to decrease by decreasing x from 1 2 which is the conformal Dirichlet point to the non-conformal point at x = 0. This is compatible with the g-theorem which states that the b 0 decreases to the infrared. It is worth mentioning that in principle for the XX chain we have two boundary fixed points, Dirichlet with b 0 = 1 and Neumann with b 0 = 1 2 . Every other boundary conditions should be between these two values. As it is clear from the Figure (

Disconnected regions
In this subsection, we study the post measurement entanglement entropy in the XX chain by using the configurations ( n f π , k). We will show that based on the chosen configuration and the boundary condition the smallest scaling dimension in the spectrum of the system changes. Because of this subtlety we study the infinite (setup I), the periodic (setup II) and the open (setup III) chains separately.
8.3.1. Infinite chain As we mentioned in the section 6 if we take equal configurations on the two slits the operator with the smallest scaling dimension has ∆ 1 = 1 2 [63,64]. Consequently for the setup I if the result of the projective measurement is a conformal configuration, for example, the configuration c for n f = π 2 , we have where C stands here for ( n f π , k). In the Figure 19, we checked the validity of the equation (8.2) for the configuration c. Our numerical results are consistent with the CFT predictions. To check that the above result for n f = π 2 is independent of the conformal  To study the effect of the Fermi momentum n f we also studied the entanglement entropy in the presence of the configurations ( n f π , k). The results shown in the Figure  21 demonstrate that the smallest scaling dimension present in the spectrum is the same as before. In other words as far as we take similar configurations on the two slits the smallest scaling dimension is ∆ 1 = 1 2 . As we mentioned before although all of the above configurations flow to Dirichlet boundary condition it is yet unclear what is the value of φ on the boundary for the different configurations. To have an idea about this quantity one can simply study the post measurement entanglement entropy when there are different configurations on the two slits. For example, one can put the configuration ( 1 2 , 1) on the slit one and the configuration ( 1 2 , 2) on the slit two and then calculate the exponent of the power-law decay ∆(α) of the entanglement. If the exponent is the same as before one can conclude that most probably both of the configurations flow to the same Dirichlet boundary condition but if the exponent is different one can simply write is the same as (6.22). This can give an idea about the nature of the corresponding Dirichlet boundary condition. Having the above ideas in mind one can calculate the ∆

Periodic chain
We also studied the post measurement entanglement entropy for the periodic boundary condition. In the XX model as we discussed before if we take the same conformal configurations on both lines the operator with the smallest scaling dimension has ∆ 1 = 1 2 . Consequently for the setup II we have The numerical calculations are similar to the one done for the Ising model, however, one should be careful that because of the presence of the zero mode the det(1 + G) or the det(1 − G) or both of them are zero. To overcome this issue first of all we take h and L in a way that n f = π 2 . Then we change G ii with a small amount ǫ and then do the calculations. To find the most efficient ǫ we took smaller and smaller values up to time that the results were reasonably stable. In our calculations, we took effectively ǫ = 10 −6 . The results shown in the Figure 23 are consistent with the CFT prediction (8.4). In the more general case of different configurations on the two slits we have where the ∆ 's are the same as the last subsection. The numerical results presented in the Figure 22 are consistent with CFT computations.

Semi-infinite chain
Finally, we repeated the calculations for the semi-infinite system. Note that we assumed Dirichlet boundary condition for the actual boundary of the system. However this Dirichlet boundary condition can be different from the one induced by the projective measurement. Based on the CFT calculations the entanglement entropy of the two disconnected systems, i. e. setup III, should decay like a power-law with an exponent coming from the formula where the ∆ is dependent on the configuration but after fixing its value the other exponents can be derived using our CFT results. Based on the numerical results for the configuration ( 1 2 , 2) the ∆ 2 which in principle means that δ 2 = 0. In other words this configuration flows to a Dirichlet boundary condition which is exactly the same as the natural Dirichlet boundary condition of the semi-infinite system at the origin. However, for the configuration ( 1 2 , 1) the ∆ {( 1 2 ,1)} 1 = 1 4 . This value was expected from our earlier calculations based on the infinite system with two slits, one slit with the configuration ( 1 2 , 1) and the other one with ( 1 2 , 2). Since the configuration ( 1 2 , 2) is exactly the same as the natural boundary we can simply find that ∆ 4 . This result shows the consistency of our computation in a most revealing way.

8.3.4.
non-conformal configurations: We also calculated the post measurement entanglement entropy when the result of the measurement is not a conformal configuration, for example, a and b. The numerical results performed in different conditions suggest that the entanglement entropy of the disconnected regions decays exponentially for the large measurement regions, see Figure 25. This result which can have important consequences when we discuss localizable entanglement could be expected from our discussion regarding the post measurement entanglement entropy in the connected cases. Since here we are working in the large s regime it is not expected that the CFT results be valid. However, for small s one might hope to see some agreement with the CFT formulas. Indeed as it is clear in the Figure 25 the entanglement entropy does not decay immediately after introducing the s. It just starts to decay exponentially when s is large enough with respect to the l. Note that the exponential decay of the post measurement entanglement entropy in this case is reminiscent of the the same quantity for the non-critical systems. This means that for the large values of s non-critical boundary conditions suppress the correlation functions between the subsystem and the rest of the system strongly which effectively mimic the behaviour of a massive system. This interpretation is consistent with what we argued during the discussion regarding Affleck-Ludwig boundary entropy. The non-critical chains will be discussed in the upcoming section.

Entanglement entropy after selective measurements in the non-critical Ising chain
In this section, we study numerically the non-critical transverse field Ising chain. In particular, we study the formulas (4.1), (4.2) and (4.3). The elements of the Green matrix can be calculated using the following integral [62] G ts = 1 2π .
The above formula is valid for an infinite chain but we believe that all of our upcoming conclusions are equally valid for also finite systems. For the gapped Ising model we have m = |h − 1| = ξ −1 . We first study the post measurement entanglement entropy in the non-critical Ising chain for the connected cases, in other words, we are interested to check the validity of the equations (4.1) and (4.2). The results of the numerical calculations are shown in the Figures (26) and (27). The numerical calculations are in a reasonable agreement with the general predictions. Note that here we discussed just the post measurement entanglement entropy in the σ z basis. As we discussed before we do not expect the equations (4.1) and (4.2) be valid in generic bases. However, it is quite possible that if one stick to a domain which is far from the measurement region then again the equation (4.1) be valid with κ = 2. This is simply because any local measurement in part of a massive system affects very little the correlation functions far from the measurement region. Finally, we also studied the post measurement entanglement entropy of two  . We also studied γ(α) with respect to α and surprisingly found that it closely follows (see Figure 29): Although we do not expect the above formula be universal the general behaviour, linear increase and then saturation, might be a universal pattern for the massive systems.

Entanglement entropy after selective measurements in the finite temperature XY chain
In this section, we study numerically the effect of the temperature on the post measurement Rényi entropy of the critical XY chain. In other words we would like to verify the equations (3.39) and (3.46) for the critical XY chain. The method of the calculation is exactly the same as before, one just needs to use the finite temperature Green matrix in the formulas of the section 5. The Green matrix of the finite temperature XY chain is given by  where In the next two subsections we will use the above Green matrix for the critical transverse field Ising model and the critical XX chain and calculate the Rényi entropies.

Transverse field Ising chain:
In this subsection, we first study the post measurement Rényi entropy in the critical transverse field Ising chain and later we focus on the non-critical case. We then extended our calculations to the non-connected cases especially we studied the regime πs β ≫ 1 ≫ πl 8β where the entropy increases like a power-law with respect to the measurement region. The numerical results shown in the Figure (31) indeed confirm the power-law behaviour and the power of the exponent is in a reasonable compatibility with the CFT formula (3.46). After confirming the CFT results for the small temperature regime we studied the large temperature regime. In this case, we expect a linear increase of the post measurement Rényi entropy with respect to the temperature and the size of the region. The interesting setup to study in this regime is the setup I which we have two decoupled regions. Here we expect to have the equation The numerical results shown in the Figure (32) show clearly the linear increase with respect to the temperature and also the volume law. Note that the coefficient of the linear term is not a universal quantity but one expect Ising chain for α = 1 and 2. In the above f (l, s, β) = c 12 (1 + 1 α ) ln β π sinh π β (l+s 1 ) sinh π β l s 2 sinh π β s 1 and the dashed lines are the CFT results. to be a universal quantity. Our numerical results are consistent with the above ratio.  10.1.2. Non-critical transverse field Ising chain: In this subsection, we study the von Neumann entropy in the finite temperature gapped transverse field Ising chain. Following the ideas of section 4 we expect the entropy of a subsystem after projective measurement decays exponentially with respect to the gap in the system. In other words, because of the Gibbs nature of the reduced density matrix one expect that the leading term of the entropy changes as [56] S(T ) − S(0) ∼ e − |h−1| T , (10.6) In the Figure (33) we verified the above equation for a connected case. We expect similar results for also non-connected cases.

Critical XX chain:
In this section, we calculated the Rényi entropy of the finite temperature XX chain by first putting a = h = 0 in the equation (10.1). Then we fixed the configuration to c. The results for the infinite connected case is demonstrated in the Figure (34) which have a reasonable compatibility with our analytic result (3.39).
We then calculated the Rényi entropy for the non-connected case in the setup I. We first considered the regime of the small temperature with the constraint πs β ≫ 1 ≫ πl 8β , where the entropy increases like a power-law with respect to the measurement region, see equation (3.46). The numerical results demonstrated in the Figure (

Remarks on the possible experimental setup
In this section we will briefly make some remarks on the possible method to produce the desired post measurement wave functions. The setup studied in this paper was the following: take a wave function of the ground sate of a quantum chain and then choose an observable (basis). Then make a partial projective measurement of that observable in a subsystem A. The rest of the system collapses to a new wave function. The bipartite entanglement entropy of the remaining subsystem is the desired quantity. However, to use the powerful techniques of the CFT the observable and the result of the measurement should be chosen appropriately. In the experiment one can choose the observable as she wishes but the result of the measurement is something one can not control. On top of that after the measurement the system will evolve by time and again all the three parts of the system will get entangled one more time. To have the exact desired post measurement wave function one can do as follows: prepare a system with the desired hamiltonian and let the system relax to the ground state. Then turn-off the interactions between the particles (for example spins). Choose a conformal observable (basis) and with an external field force the desired conformal configuration in the subsystem A. For example, in the spin chains this can be done by a magnetic field acting on the spins in the particular directions. The final wave function ofĀ is the desired post measurement wave function. Then one can try to study the bipartite entanglement entropy of this wave function by one of many different methods that have been introduced recently, see [65,66] . Notice that in the above procedure it is important to turn-off the interactions after preparing the system in the ground state. This method can be obviously used to prepare many body entangled states that are spatially disconnected.

Conclusions
In this paper we studied different aspects of the post measurement entanglement entropy in the critical and the non-critical quantum chains. We first derived different formulas for the post measurement entanglement entropy in the conformal field theories. We studied systems with boundaries and also conformal field theories at the finite temperature. In addition, we studied the role of the boundary entropy in the post measurement entanglement entropy. Some exact results were also presented for the entanglement Hamiltonian and the distribution of the eigenvalues of the reduced density matrices. Based on some physical arguments we also presented some predictions regarding the post measurement entanglement entropy in the massive systems. The above analytical results are in principle valid for all the projective measurements that respect the conformal symmetry of the bulk. However, in reality one needs to check what bases and configurations respect this symmetry in actual discrete models. To check the validity of our results we first provided a method to study the post measurement entanglement entropy in the generic free fermion models. The method is based on Grassmann variables and can be used in any dimension. We then used the technique to study the post measurement entanglement entropy in the XY-chain. In particular, we studied the transvese field Ising chain and the XX-chain. Because of the presence of the U(1) symmetry in the XX-chain the model is strikingly different from the Ising chain. Many subtilities appear during the study of the discrete models which makes the applications of the CFT formulas to the discrete models very tricky. These subtilities encourage further analytical and numerical calculations on the discrete models. In particular, it is very imporatnt to study the effect of the basis of the measurement on the post measurement entanglement entropy in different discrete models. Concerning the massive systems all of our results were based on huristic arguments some analytical results and further numerical calculations are surely necessary to put the results on the firm ground. In particular, calculations based on boundary integrable models can in principle shed light in this direction. Most of the results presented in this paper can be more or less strightforwardly generalized to higher dimensions [34] we leave more throuh analysis to a future work.
Finally, it is worth mentioning that the method used in this paper to calculate the post measurement entanglment entropy has a very intimte connection to the Casimir energy of floating objects on the Reimann surfaces. In other words one can calculate the entanglement entropy by knowing the Casimir energy. Since the reverse is not true it is quite encouraging to think more seriously about the many implications that this approach might have in the fundamental level. ).
Different limit of the above formula has been discussed in [30].
A.3. Infinite system in the finite temperature When the system is infinite but at finite temperature the slits are in the direction of the axes of the cylinder. This means that one can derive the formulas in this case by just substituting L with iβ in the formulas of the previous section.