## Entanglement at the boundary of spin chains near a quantum critical point and in systems with boundary critical points

We analyze the entanglement properties of spins (qubits) attached to the boundary of spin chains near quantum critical points, or to dissipative environments, near a boundary critical point, such as Kondo-like systems or the dissipative two level system. In the first case, we show that the properties of the entanglement are significantly different from those for bulk spins. The influence of the proximity to a transition is less marked at the boundary. In the second case, our results indicate that the entanglement changes abruptly at the point where coherent quantum oscillations cease to exist. The phase transition modifies the entanglementmore »