We study a set of localized spins coupled through exchange interaction and subject to an external magnetic field. We demonstrate, for such a class of one-dimensional magnetic systems, that entanglement can be controlled and tuned by varying the anisotropy parameter in the Hamiltonian and by introducing impurities into the systems. In particular, for certain parameters, the entanglement is zero up to a critical point ${\ensuremath{\lambda}}_{c},$ where a quantum phase transition occurs, and is different from zero above ${\ensuremath{\lambda}}_{c}.$
We consider the entanglement in a two-dimensional
XY model in an external magnetic field
h. The model consists of a set of seven localized spin-
21 particles in a two-dimensional triangular lattice coupled through nearest-neighbor exchange interaction
J. We examine the effect of single and double impurities in the system as well as the degree of anisotropy on the nearest-neighbor entanglement and ergodicity of the system. We have found that the entanglement of the system at the different degrees of anisotropy mimics that of the one-dimensional spin systems at the extremely small and large values of the parameter $\ensuremath{\lambda}=h/J$. The entanglement of the Ising and partially anisotropic systems shows phase transition in the vicinity of $\ensuremath{\lambda}=2$, whereas, the entanglement of the isotropic system suddenly vanishes there. Also, we investigate the dynamic response of the system containing single and double impurities to an external exponential magnetic field at different degrees of anisotropy. We have demonstrated that the ergodicity of the system can be controlled by varying the strength and location of the impurities as well as the degree of anisotropy of the coupling.
We consider a finite two-dimensional Heisenberg triangular spin lattice coupled to a dissipative Markovian environment at finite temperature in the presence of an external uniform magnetic field. We show how inserting a magnetic impurity in the spin system can be used to effectively control the dynamics and asymptotic state of the system. A strong impurity, at a border or central site, was found to enhance its entanglement with the other spins and their thermal robustness to the dissipative environment reaching an asymptotic state that is independent of the system initial state. However, it reduces the entanglement among the other spins in the lattice and their thermal robustness and may diminish them depending on its strength and the environment temperature. Moreover, the effect of the impurity increases significantly as the degree of anisotropy of the spin system increases. Therefore, the entanglement distribution over the different sites of the lattice can be modulated by tuning the impurity strength, system anisotropy and environment temperature. The impurity can be used as a switch that turns the entanglement on among specific spins and off among others simultaneously.