Introduction

Quantum entanglement or as Einstein called it, “spooky action at a distance”, is a fundamental quantum mechanical phenomenon that occurs when two or more individual particles enter into a temporary (in)direct interaction. As a consequence of entanglement, two entangled particles effectively abandon their individuality and behave as a single entity, even when spatially separated1. The emerging quantum technologies, such as quantum teleportation2, quantum telecloning3, quantum dense coding4, quantum cryptography5 and quantum computing6 benefit significantly from the manipulation and control of entanglement. In practice, however, quantum systems are open to the surrounding environment, and decoherence caused by the system-environment interaction generally destroys entanglement in times much shorter than those required for implementing quantum information processes7,8,9. Nevertheless, decoherence can also be useful, and may indeed be utilized to generate quantum entanglement under suitable conditions10. Consequently, understanding the dynamical behavior of entanglement in the presence of decoherence is crucial for generating and harnessing quantum features against the environmental noises (see11 and references therein). For this end, several studies have been carried out to investigate the dynamical behaviors of the entanglement among the quantum systems subjected to various environmental decoherence effect, and building on these studies several methods have been proposed in recent years to avoid decoherence12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37.

On the other hand, over the last few decades, entanglement dynamics of the Heisenberg spin chains have garnered significant interest. This is because the Heisenberg spin systems describe the novel physics of localized spins in the magnetic systems. Additionally, they play a crucial role in modeling many of new miniaturized systems such as quantum heat engines38, quantum batteries40,41,42, quantum gates43 and quantum transistors39, and are also current-front runners in the practical realization of solid-state quantum computation schemes. For example, the Heisenberg chains have been used to construct quantum computers based on, quantum nuclear spins44,45, quantum dots46,47, and quantum optical lattices48.

During the last decade, there has been a growing interest in the study of the generation and protection of entanglement induced by thermal interactions between the quantum systems and their environments. Thermally induced entanglement is important in many situations, especially in the solid-state systems. Therefore, the relationship between quantum entanglement and thermal observables needs to be elucidated. The notion of thermal entanglement was proposed by Nielsen in a spin chain system at thermal equilibrium49, since then, thermal entanglement has been studied extensively in a variety of physical systems50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65 over the past two decades. However, the assumption that real systems are in equilibrium has been questioned, bringing quantum correlations under non-equilibrium conditions to the center of the debate. The simplest configuration that allows for the investigation of quantum correlations under non-equilibrium conditions is likely a two-spin Heisenberg system, where each spin is coupled to a separate reservoir66. Due to the temperature difference of the thermal reservoirs, a typical characteristic of non-equilibrium open quantum systems is the quantum heat current that flows from the hot reservoir to the cold one through the open system67,68. This important characteristic has been widely used to design a series of thermal devices such as thermal diodes28,69, quantum thermal batteries70, thermal transistors71, thermal memory72. In one of the early studies on the non-equilibrium thermal entanglement, Quiroga and et al.73 evaluated the concurrence of a two-qubit Heisenberg XXX spin model and showed that the enhancement of the concurrence due to the temperature gradient is possible. Sinaysky et al.74 studied analytical solution and non-equilibrium dynamics of a two-qubit Heisenberg XX model, by analyzing the effect of system parameters on the thermal entanglement between the qubits in the steady state to which the system relaxes over long times. The authors of75 extended the study of non-equilibrium steady-state entanglement to a three-qubit XX model with the help of effective Hamiltonian approach. Ref.76 explored non-equilibrium entanglement dynamics of a two-qubit Heisenberg XY system in the presence of an inhomogeneous magnetic field and spin-orbit interaction. Subsequently, Ref.77, discussed non-equilibrium steady-state entanglement and coherence of two coupled qubits in the general non-equilibrium setting for both boson and fermion reservoirs. Moreover, dynamical behaviors of entanglement and quantum discord in a two-qubit Heisenberg XYZ model interacting with two independent thermal reservoir has been investigated in78.

All of the previous studies on the non-equilibrium thermal entanglement between two couples qubits have been limited to simplified cases, and some of the possible couplings between the qubits and baths have been neglected. An interesting scenario arises when one considers a two-qubit Heisenberg XXZ model in an external magnetic field asymmetrically coupled to two independent thermal baths in which one qubit coupled to both cold and hot reservoirs, while the other qubit is just connected to the cold reservoir (see Fig. 1). The configuration asymmetry induced by the asymmetric couplings of a Heisenberg XXZ spin-chain quantum battery to two thermal baths has been shown to enhances energy stored in the non-equilibrium steady state of that battery42. This asymmetry also brings the passive steady state of a non-equilibrium Heisenberg XXZ spin chain to an active state from which a positive work can be extracted through unitary cyclic processes. In this work, we aim to exploit the additional connection of the hot bath to one of the qubits and harness dynamical behavior of non-equilibrium entanglement as well as heat current among the qubits of same model. We also investigate in detail the non-equilibrium effects especially the influence of temperature gradient on the dynamics of entanglement, and carefully analyse the possibility of generation and preservation of maximal entanglement during the dynamical evolution through the non-equilibrium condition.

The paper is organized as follows. In “The model and its analytical solutions”, we introduce the two-qubit Heisenberg XXZ model in an external magnetic field and drive its Markovian dynamics in both the symmetric and asymmetric coupling configurations. In “Results and discussion”, by choosing different initial two-qubit states, we examine the influence of the chain anisotropy, external magnetic field and temperature gradient of reservoirs on the non-equilibrium entanglement and heat current between the qubits, and lay out the different results in generating and harnessing the non-equilibrium entanglement and heat current in the symmetric and asymmetric coupling configurations. Finally, in “Outlook and summary” we draw some conclusions from the present study and give concluding remarks on possible physical realizations of our non-equilibrium model.

The model and its analytical solutions

The model under consideration consists of a two-qubit antiferromagnetic XXZ Heisenberg spin system subjected to a static uniform magnetic field and interacting with two independent thermal baths. Figure 1 illustrates a schematic diagram of the interaction between the spin chain system and thermal reservoirs. As can be seen, a coupling switch is used to provide the interaction of qubis and baths in two symmetrical or asymmetrical configurations. In the symmetrical coupling configuration where the switch is off, the qubit 1 is coupled to the left bath and the qubit 2 to the right bath. In the asymmetrical coupling configuration, the switch is flipped on, and an extra connection between the qubit 2 and left bath will be established. At this time, qubit 2 interacts with both baths, whereas the qubit 1 is coupled just to the left bath.

Figure 1
figure 1

The schematic diagram of the two-qubit Heisenberg XXZ model with two coupled qubits 1 and 2 interacting with a non-equilibrium environment consisting of left and right reservoirs. The key \(\varepsilon\) is used to switch on/off the coupling between the qubit 2 and left reservoir, allowing us to control chain-reservoir coupling asymmetry.

The Hamiltonian describing the above model reads

$$\begin{aligned} & H=H_S+H_{B_L}+H_{B_R}+H_{S-B_L}+H_{S-B_R}, \end{aligned}$$
(1)

where \(H_S\) is the free Hamiltonian of the two-qubit spin chain described by a two-qubit Heisenberg XXZ system in the presence of an uniform external field \(B_0\)79,80

$$\begin{aligned} & H_S=\frac{1}{2}\left[ B_0\sigma _z^{(1)}+B_0\sigma _z^{(2)}+J\sigma _x^{(1)}\sigma _x^{(2)}+J\sigma _y^{(1)}\sigma _y^{(2)} +\Delta \sigma _z^{(1)}\sigma _z^{(2)}\right] . \end{aligned}$$
(2)

\(\sigma _x^{(i)}\), \(\sigma _{y}^{(i)}\) and \(\sigma _{z}^{(i)}\) (\(i=1,2\)) are spin 1/2 operators for the ith spin and B is a magnetic field in the z direction. \(J>0\) indicates interqubit coupling and \((0\le \Delta \le J)\) denotes the chain anisotropy in the z direction. Remarkably, for the particular values \(\Delta =0\) and \(\Delta =J\), the Hamiltonian (2) corresponds to the XX81 and XXX82 spin chains, respectively. In the two-qubit bare basis \(\{|1,1\rangle ,|1,0\rangle ,|0,1\rangle ,|0,0\rangle \}\), the eigenenergies and corresponding eigenbasis of \(H_S\) are

$$\begin{aligned} & |\Phi _1\rangle =|0,0\rangle ,\quad \quad \quad \quad \,\,\,\,\,\,\quad \quad \quad E_1=\frac{\Delta }{2}-B_0, \end{aligned}$$
(3a)
$$\begin{aligned} & |\Phi _2\rangle =|1,1\rangle ,\quad \quad \quad \quad \,\, \,\,\,\,\quad \quad \quad E_2=\frac{\Delta }{2}+B_0, \end{aligned}$$
(3b)
$$\begin{aligned} & |\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right] ,\quad \quad E_3=-\frac{\Delta }{2}-J, \end{aligned}$$
(3c)
$$\begin{aligned} & |\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |1,0\rangle +|0,1\rangle \right] ,\quad \quad E_4=-\frac{\Delta }{2}+J. \end{aligned}$$
(3d)

The Hamiltonians for the left and right baths are given by (\(\hbar =1\) and \(k_B=1\) in the following)

$$\begin{aligned} & H_{B_L}=\sum _{j}\omega _{j_L}a^{\dagger }_{j_L}a_{j_L},\quad \quad H_{B_R}=\sum _{j}\omega _{j_R}a^{\dagger }_{j_R}a_{j_R}, \end{aligned}$$
(4)

where \(a_{j_L}\) \((a^{\dagger }_{j_L})\) and \(a_{j_R}\) \((a^{\dagger }_{j_R})\) are the annihilation (creation) operators associated with the \(j-\)th bosonic mode of the left and right bath, respectively. For simplicity, we only consider the dissipative interaction between the system and the environment, excluding pure dephasing type environmental noise. Therefore, the interaction between the qubits and the thermal baths can be written as

$$\begin{aligned} & H_{S-B_L}=\left( \sigma _{x}^{(1)}+\varepsilon \,\sigma _{x}^{(2)}\right) \sum _{j}\lambda _{j_L} \left( a^{\dagger }_{j_L}+a_{j_L}\right) \equiv \mathcal {A}_L\otimes \mathcal {B}_L \end{aligned}$$
(5a)
$$\begin{aligned} & \quad H_{S-B_R}=\sigma _{x}^{(2)}\sum _{j}\lambda _{j_R}\left( a^{\dagger }_{j_R}+a_{j_R}\right) \equiv \mathcal {A}_R\otimes \mathcal {B}_R \end{aligned}$$
(5b)

where \(\lambda _{j_L}\) (\(\lambda _{j_R}\)) is the dissipative interaction strength between the qubit and the left (right) bath. In addition, \(\varepsilon\) is a switching parameter which gets 0 or 1. Precisely, \(\varepsilon =0\) switches off the connection between qubit 2 and left bath. In this situation we have a symmetric coupling configuration. Conversely, \(\varepsilon =1\) switches on the connection between qubit 2 and the left bath, inducing an asymmetry in the qubit-bath coupling.

We assume that the qubit-bath interaction strength is in the weak coupling regime. Therefore, using the theory of the open quantum systems with the Born-Markov and rotating wave approximations, dynamics of the reduced density matrix of two-qubit Heisenberg XXZ system can be described by the following Lindblad form master equation83

$$\begin{aligned} {\dot{\rho }(t)=-i[H_S+H_{Ls},\rho (t)]+\mathfrak {D}_{L}(\rho )+\mathfrak {D}_{R}(\rho ),} \end{aligned}$$
(6)

where \(H_{Ls}\) and \(\mathfrak {D}_{L(R)}(\rho )\) are the Lamb-shift correction to the system Hamiltonian and dissipator associated with the left (right) bath, respectively. The dissipator takes the form as

$$\begin{aligned} & \mathfrak {D}_{\nu }(\rho )=\sum _{\omega>0}\mathcal {J}_{\nu }(\omega ) (1+n_{\nu }(\omega ))\left[ A_{\nu }(\omega )\,\rho (t)A_{\nu }^{\dag }(\omega ) -\frac{1}{2}\{A_{\nu }^{\dag }(\omega )A_{\nu }(\omega ),\rho (t)\}\right] \nonumber \\ & +\sum _{\omega >0}\mathcal {J}_{\nu }(\omega )n_{\nu }(\omega )\left[ A_{\nu }^{\dag }(\omega )\,\rho (t)A_{\nu }(\omega ) -\frac{1}{2}\{A_{\nu }(\omega )A_{\nu }^{\dag }(\omega ),\rho (t)\}\right] , \end{aligned}$$
(7)

where, \(\mathcal {J}_{\nu }(\omega )=\pi \sum _{j}|\lambda _j^{\nu }|^2\delta (\omega -\omega ^{(\nu )}_j)\) is the spectral density of the bath \(\mathcal {R}_{\nu }\), \(n_{\nu }(\omega )=\left[ e^{\frac{\omega }{T_{\nu }}}-1\right] ^{-1}\) denotes the average particle number on frequency \(\omega\) in that bath, and \(A_{\nu }(\omega )\) and \(A_{\nu }^{\dag }(\omega )\) are the transition operators satisfying \(A_{\nu }(\omega )=A_{\nu }^{\dagger }(-\omega )\) and the commutation relation \([H_B,A_{\nu }(\omega )]=-\omega A_{\nu }(\omega )\). The transition operators are constructed as follows

$$\begin{aligned} & A_{L}(\omega )=\sum _{\omega _{ij}=\omega >0}|\Phi _j\rangle \langle \Phi _j|(\sigma _x^{(1)}+\varepsilon \sigma _x^{(2)})|\Phi _i\rangle \langle \Phi _i|, \end{aligned}$$
(8a)
$$\begin{aligned} & A_{R}(\omega )=\sum _{\omega _{ij}=\omega >0}|\Phi _j\rangle \langle \Phi _j|\sigma _x^{(2)}|\Phi _i\rangle \langle \Phi _i|, \end{aligned}$$
(8b)

for all positive eigenfrequencies \(\omega =\omega _{ij}=E_i- E_j>0\), corresponding to the transitions \(|\Phi _i\rangle \rightarrow |\Phi _j\rangle\).

In addition, the Lamb-shift Hamiltonian in Eq. (6) reads

$$\begin{aligned} & {H_{Ls}=\sum _{\nu =L,R}\sum _{\omega >0}\left[ S_{\nu }(\omega )A_{\nu }^{\dag }(\omega )A_{\nu }(\omega )+ S_{\nu }(-\omega )A_{\nu }(\omega )A_{\nu }^{\dag }(\omega )\right] } \end{aligned}$$
(9)

where \(S_{\nu }(\omega )\) is imaginary parts of the Fourier transform of the reservoir correlation function \(\langle \mathcal {B}_{\nu }(t) \mathcal {B}_{\nu }(0) \rangle\), takes the following form

$$\begin{aligned} & {S_{\nu }(\omega )=\frac{1}{\pi }\mathbb {P}\int _0^{\infty }\mathcal {J}_{\nu }(x) \bigg (\frac{1+n_{\nu }(x)}{\omega -x}+\frac{n_{\nu }(x)}{\omega +x}\bigg )dx,} \end{aligned}$$
(10a)
$$\begin{aligned} & \quad {S_{\nu }(-\omega )=-\frac{1}{\pi }\mathbb {P}\int _0^{\infty }\mathcal {J}_{\nu }(x) \bigg (\frac{n_{\nu }(x)}{\omega -x}+\frac{1+n_{\nu }(x)}{\omega +x}\bigg )dx,} \end{aligned}$$
(10b)

with \(\mathbb {P}\) denoting the Cauchy principal value. In the following, we are interested in the Ohmic dissipation, \(\mathcal {J}_{\nu }(\omega )=\kappa \omega\), where \(\kappa\) is a dimensionless constant that quantifies dissipation strength. It should be noted that, in order to guarantee the validity of the Markovian approximation, \(\kappa\) needs to satisfy the condition \(\kappa \ll \{B_0, J, \Delta \}\). Using the Eqs. (8a) and (8b), we can derive an explicit expression for the dissipator \(\mathfrak {D}_{\nu }(\rho )\),

Figure 2
figure 2

The Level structure of the two-qubit Heisenberg XXZ spin chain asymmetrically coupled to the left and right reservoirs (the case \(\varepsilon =1\)). Red (blue) arrows indicate the allowed transitions in the interaction with the hot (cold) reservoir.

$$\begin{aligned} & \mathfrak {D}_{\nu }(\rho )=\gamma _{31}^{(\nu ,e)} L_{\tau _{13}}+\gamma _{31}^{(\nu ,a)}L_{\tau _{31}}+\gamma _{14}^{(\nu ,e)} L_{\tau _{41}}+\gamma _{14}^{(\nu ,a)}L_{\tau _{14}} +\gamma _{23}^{(\nu ,e)} L_{\tau _{32}}+\gamma _{23}^{(\nu ,a)}L_{\tau _{23}}+\gamma _{24}^{(\nu ,e)} L_{\tau _{42}}+\gamma _{24}^{(\nu ,a)}L_{\tau _{24}}, \end{aligned}$$
(11)

where \(\tau _{ij}=|\Phi _i\rangle \langle \Phi _j|\), \(L_{X}=X\rho X^{\dagger }-\frac{1}{2}\{\rho ,X^{\dagger }X\}\) and

$$\begin{aligned} & \gamma _{ij}^{(L,e)}= \frac{\kappa \omega _{ij}\left( \varepsilon +(-1)^{j}\right) ^2}{2}\left[ 1+n_{L}\left( \omega _{ij}\right) \right] ,\quad \quad \gamma _{ij}^{(R,e)}= \frac{\kappa \omega _{ij}}{2}\left[ 1+n_{R}\left( \omega _{ij}\right) \right] , \end{aligned}$$
(12a)
$$\begin{aligned} & \gamma _{ij}^{(L,a)}= \frac{\kappa \omega _{ij}\left( \varepsilon +(-1)^j\right) ^2}{2}\,n_{L}\left( \omega _{ij}\right) ,\quad \quad \quad \quad \,\, \gamma _{ij}^{(R,a)}= \frac{\kappa \omega _{ij}}{2}\,n_{R}\left( \omega _{ij}\right) , \end{aligned}$$
(12b)

where \(\gamma _{ij}^{(\nu ,e)}\) (\(\gamma _{ij}^{(\nu ,a)}\)) is emission (absorption) rate from \(|\Phi _i\rangle\) to \(|\Phi _j\rangle\) (\(|\Phi _j\rangle\) to \(|\Phi _i\rangle\)), thanks to the interaction of the spin chain with the bath \(\nu\). From the above set of equations, the emission and absorption rates \(\gamma _{31}^{(L,e)}\), \(\gamma _{31}^{(L,a)}\), \(\gamma _{23}^{(L,e)}\) and \(\gamma _{23}^{(L,a)}\) will be zero when the coupling switch is flipped on (\(\varepsilon =1\)). This means that the energy transitions \(|\Phi _1\rangle \leftrightarrow |\Phi _3\rangle\) and \(|\Phi _2\rangle \leftrightarrow |\Phi _3\rangle\) induced by the hot (left) bath are impossible. All allowed energy transitions induced by the chain-bath interaction are depicted in Fig. 2, at which a four-level qudit will be populated due to the interaction with both the left and right baths. Meanwhile, to get the effect of the Lamb shift, we define

$$\begin{aligned} & {\Delta _{\nu }(\omega )=\frac{2\omega }{\pi }\,\mathbb {P}\int _0^{\infty }\frac{\mathcal {J}_{\nu }(x)n_{\nu }(x)}{\omega ^2-x^2}dx,}\end{aligned}$$
(13a)
$$\begin{aligned} & {\Delta ^{+}_{\nu }(\omega )=\frac{1}{\pi }\int _0^{\infty }\frac{\mathcal {J}_{\nu }(x)}{\omega +x}dx,}\end{aligned}$$
(13b)
$$\begin{aligned} & {\Delta ^{-}_{\nu }(\omega )=\frac{1}{\pi }\,\mathbb {P}\int _0^{\infty }\frac{\mathcal {J}_{\nu }(x)}{\omega -x}dx,} \end{aligned}$$
(13c)

then the Lamb-shift Hamiltonian can be rewritten as

$$\begin{aligned} & {H_{Ls}=\sum _{k}^4\Delta _k|\Phi _k\rangle \langle \Phi _k|,} \end{aligned}$$
(14)

where \(\Delta _k\) in the symmetric and asymmetric coupling configurations are given respectively as

$$\begin{aligned} & {\Delta _{1}=\frac{1}{2}\bigg (\Delta _{R}(\omega _{13})-\Delta _{R}(\omega _{41})+\Delta ^{-}_{R}(\omega _{13})-\Delta ^{+}_{R}(\omega _{41})\bigg ) -\frac{3\varepsilon +1}{2}\bigg (\Delta _{L}(\omega _{41})+\Delta ^{+}_{L}(\omega _{41})\bigg )+\frac{1-\varepsilon }{2}\bigg (\Delta _{L}(\omega _{13})+\Delta ^{-}_{L}(\omega _{13})\bigg ),}\nonumber \\ & {\Delta _{2}=\frac{1}{2}\bigg (\Delta _{R}(\omega _{23})+\Delta _{R}(\omega _{24})+\Delta ^{-}_{R}(\omega _{23})+\Delta ^{-}_{R}(\omega _{24})\bigg ) +\frac{3\varepsilon +1}{2}\bigg (\Delta _{L}(\omega _{24})+\Delta ^{-}_{L}(\omega _{24})\bigg )+\frac{1-\varepsilon }{2}\bigg (\Delta _{L}(\omega _{23})+\Delta ^{-}_{L}(\omega _{23})\bigg ),}\nonumber \\ & {\Delta _{3}=-\frac{1}{2}\bigg (\Delta _{R}(\omega _{13})+\Delta _{R}(\omega _{23})+\Delta ^{+}_{R}(\omega _{13})+\Delta ^{+}_{R}(\omega _{23})\bigg ) -\frac{1-\varepsilon }{2}\bigg (\Delta _{L}(\omega _{13})+\Delta ^{+}_{L}(\omega _{13})+\Delta _{L}(\omega _{23})+\Delta ^{+}_{L}(\omega _{23})\bigg ),}\nonumber \\ & {\Delta _{4}=\frac{1}{2}\bigg (\Delta _{R}(\omega _{41})-\Delta _{R}(\omega _{24})+\Delta ^{-}_{R}(\omega _{41})-\Delta ^{+}_{R}(\omega _{24})\bigg ) +\frac{3\varepsilon +1}{2}\bigg (\Delta _{L}(\omega _{41})+\Delta ^{-}_{L}(\omega _{41})-\Delta _{L}(\omega _{24})-\Delta ^{+}_{L}(\omega _{24})\bigg ).} \end{aligned}$$
(15)

According to Eq. (14), the Lamb-shift Hamiltonian \(H_{Ls}\) commutes with \(H_S\), indicating that it represents an effective shift in the eigenenergies of the system. Due to the fact that \(H_{Ls}\) is of the second order in terms of the interaction Hamiltonian \(H_{S-B_{L(R)}}\), Lamb shift appears here as a second-order correction to the dynamics. Although in some studies the Lamb-shift corrections to the eigenenergies are ignored due to their smallness, a careful analysis of the Lamb-shift corrections are still in order.

To solve the master equation (6), it is often useful to represent it in the energy basis \(|\Phi _i\rangle |_{i=1}^4\). In the energy basis the master equation is reduced to two sets of differential equations: one set is differential equations for the population (diagonal) elements and the other is for the coherence (non-diagonal) elements. The differential equations for the coherence elements are not coupled and have the simple form \(\dot{\rho }_{ij}(t)= -M_{ij}\rho _{ij}(t)\). The time dependence of these elements can be obtained easily as \(\rho _{ij}(t)=\rho _{ij}(0)e^{-M_{ij}t}\), where \(M_{ij}\) are given by

$$\begin{aligned} & {M_{12}=i(E_1+\Delta _1-E_2-\Delta _2)+\frac{1}{2}\sum _{\nu =L,R}\left( \gamma _{31}^{(\nu ,a)}+\gamma _{23}^{(\nu ,e)}+ \gamma _{41}^{(\nu ,a)}+\gamma _{24}^{(\nu ,e)}\right) ,}\nonumber \\ & \quad {M_{13}=i(E_1+\Delta _1-E_3-\Delta _3)+\frac{1}{2}\sum _{\nu =L,R}\left( \gamma _{31}^{(\nu ,a)}+\gamma _{31}^{(\nu ,e)}+ \gamma _{41}^{(\nu ,a)}+\gamma _{23}^{(\nu ,a)}\right) ,}\nonumber \\ & \quad {M_{14}=i(E_1+\Delta _1-E_4-\Delta _4)+\frac{1}{2}\sum _{\nu =L,R}\left( \gamma _{31}^{(\nu ,a)}+\gamma _{41}^{(\nu ,e)}+ 2\gamma _{41}^{(\nu ,a)}+\gamma _{24}^{(\nu ,a)}\right) ,}\nonumber \\ & \quad {M_{23}=i(E_2+\Delta _2-E_3-\Delta _3)+\frac{1}{2}\sum _{\nu =L,R}\left( \gamma _{31}^{(\nu ,e)}+\gamma _{23}^{(\nu ,e)}+ \gamma _{23}^{(\nu ,a)}+\gamma _{24}^{(\nu ,e)}\right) ,}\nonumber \\ & \quad {M_{24}=i(E_2+\Delta _2-E_4-\Delta _4)+\frac{1}{2}\sum _{\nu =L,R}\left( \gamma _{41}^{(\nu ,a)}+\gamma _{41}^{(\nu ,e)}+ \gamma _{23}^{(\nu ,e)}+\gamma _{24}^{(\nu ,a)}+\gamma _{24}^{(\nu ,e)}\right) ,}\nonumber \\ & \quad {M_{34}=i(E_3+\Delta _3-E_4-\Delta _4)+\frac{1}{2}\sum _{\nu =L,R}\left( \gamma _{31}^{(\nu ,e)}+\gamma _{41}^{(\nu ,a)}+ \gamma _{41}^{(\nu ,e)}+\gamma _{23}^{(\nu ,a)}+\gamma _{24}^{(\nu ,a)}\right) ,} \end{aligned}$$
(16)

and \(M_{21}=M^{*}_{12}\), \(M_{31}=M^{*}_{13}\), \(M_{32}=M^{*}_{23}\), \(M_{41}=M^{*}_{14}\), \(M_{42}=M^{*}_{24}\) and \(M_{43}=M^{*}_{34}\). In the above equations \(*\) denotes complex conjugation. However differential equations for the populations can be rewritten with the form

$$\begin{aligned} & \vec {\dot{\rho }}(t)=N\vec {\rho }(t), \end{aligned}$$
(17)

where \(\vec {\rho }(t)\) is a single vector given by \(\vec {\rho }(t)=(\rho _{11},\rho _{22},\rho _{33},1-\rho _{11}-\rho _{22}-\rho _{33})^T\), and N is a \(4\times 4\) coefficient matrix with the following nonzero components

$$\begin{aligned} & N_{11}=-\gamma _{31}^{(L,a)}-\gamma _{31}^{(R,a)}-\gamma _{41}^{(L,a)}-\gamma _{41}^{(R,a)},\quad N_{13}=\gamma _{31}^{(L,e)}+\gamma _{31}^{(R,e)},\quad N_{14}=\gamma _{41}^{(L,e)}+\gamma _{41}^{(R,e)}\nonumber \\ & N_{22}=-\gamma _{23}^{(L,e)}-\gamma _{23}^{(R,e)}-\gamma _{24}^{(L,e)}-\gamma _{24}^{(R,e)},\quad N_{23}=\gamma _{23}^{(L,a)}+\gamma _{23}^{(R,a)},\quad N_{24}=\gamma _{24}^{(L,a)}+\gamma _{24}^{(R,a)},\nonumber \\ & N_{31}=\gamma _{31}^{(L,a)}+\gamma _{31}^{(R,a)},\quad N_{32}=\gamma _{23}^{(L,e)}+\gamma _{23}^{(R,e)},\quad N_{33}=-\gamma _{23}^{(L,a)}-\gamma _{23}^{(R,a)}-\gamma _{31}^{(L,e)}-\gamma _{31}^{(R,e)},\nonumber \\ & N_{41}=\gamma _{41}^{(L,a)}+\gamma _{41}^{(R,a)},\quad N_{42}=\gamma _{24}^{(L,e)}\gamma _{24}^{(R,e)},\quad N_{44}=-\gamma _{41}^{(L,e)}-\gamma _{41}^{(R,e)}-\gamma _{24}^{(L,a)}-\gamma _{24}^{(R,a)}. \end{aligned}$$
(18)

The formal solution of Eq. (17) is given by

$$\begin{aligned} & \vec {\rho (t)}=\exp [\xi t]\vec {\rho (0)}, \end{aligned}$$
(19)

where the matrix exponentials \(\exp [\xi t]\) can be computed readily using the diagonal representation of the coefficient matrix N, as follows

$$\begin{aligned} & \exp [\xi t]=S\,\,\textrm{diag} \left( e^{\lambda _1t},e^{\lambda _2t},e^{\lambda _{3}t},e^{\lambda _{4}t}\right) S^{-1}, \end{aligned}$$
(20)

where, \(\lambda _i\) are eigenvalues of the coefficient matrix N, and S is the unitary matrix which diagonalizes N, satisfying \(S^{-1}\,N\,S=\textrm{diag} (\lambda _1,...,\lambda _{4})\). After straightforward but tedious algebras, we find the dynamical solution for the population components \(\rho _{ii}(t)\). However, the resulting solutions are quite lengthy, so we omit them here. From Eqs. (16)–(20), it is evident that the Lamb-shift term does not influence the evolution of the population terms. However, the evolution of the coherence terms depends on the Lamb-shift Hamiltonian.

Now we have all the expressions in hand required to analyze the dynamics of quantum features of the chain. In the next section, we will explore the non-equilibrium effects on the dynamical behavior of entanglement and heat current between the qubits by considering various initial two-qubit states in both the symmetric \((\varepsilon =0)\) and asymmetric \((\varepsilon =1)\) qubit-bath coupling configurations. More importantly, we will investigate the possibility of protecting initial entanglement as well as dynamically generating maximal qubit-qubit entanglement in the asymmetric coupling configuration and find the proper conditions that make the chain a thermal diode. To quantify qubit-qubit entanglement, we use the Wootters concurrence measure84 defined as follows:

$$\begin{aligned} & C=\max \{0,\sqrt{\mu _1}-\sqrt{\mu _2}-\sqrt{\mu _3}-\sqrt{\mu _4}\}, \end{aligned}$$
(21)

with \(\mu _i\)’s are the eigenvalues in decreasing order of \(\tilde{\rho }(t)\) where \(\tilde{\rho }(t)=\rho (t)\left( \sigma _y^1\otimes \sigma _y^2\right) \rho ^{*}(t)\left( \sigma _y^1\otimes \sigma _y^2\right)\) denotes the spin flip density matrix with \(\rho ^{*}(t)\) and \(\sigma _y^i\) being the complex conjugate of \(\rho (t)\) and the y-component of Pauli operator for the i-th qubit, respectively. The concurrence C ranges from 0 for a separable (unentangled state) to 1 for a maximally entangled state.

Furthermore, the heat current from the baths into the system can be unambiguously defined as the time variation of the internal energy of the baths being of the form85,86

$$\begin{aligned} & {\frac{d\langle H_S\rangle }{dt}=\textrm{Tr}\big \{\mathfrak {D}_{L}[\rho (t)]\left( H_S+H_{Ls}\right) \big \}+ \textrm{Tr}\big \{\mathfrak {D}_{R}[\rho (t)]\left( H_S+H_{Ls}\right) \big \}=Q_{L}(t)+Q_{R}(t),} \end{aligned}$$
(22)

where \(Q_{\nu }(t)=\textrm{Tr}\big \{\mathfrak {D}_{\nu }[\rho (t)]H_S\big \}\), (\(\nu =L,R\)) represents the heat current from the reservoir \(\mathcal {R}_{\nu }\) into the system. A positive heat current means that heat flows from the reservoir to the system, while a negative value indicates heat absorption by the reservoir from the system. Therefore, a change of sign of the heat current can be used as a witness for a crossover between heat absorption and heat release or vice versa. By substitution Eq. (11) to (22), the heat current from the bath \(\mathcal {R}_{\nu }\) reads

$$\begin{aligned} & {Q_{\nu }(t)=\left( E_3+\Delta _3-E_1-\Delta _1\right) \Gamma _{13}^{\nu }(t)+ \left( E_4+\Delta _4-E_1-\Delta _1\right) \Gamma _{14}^{\nu }(t)}\nonumber \\ & {+\left( E_3+\Delta _3-E_2-\Delta _2\right) \Gamma _{23}^{\nu }(t) +\left( E_4+\Delta _4-E_2-\Delta _2\right) \Gamma _{24}^{\nu }(t),} \end{aligned}$$
(23)

where \(\Gamma _{ij}^{\nu }(t)=\gamma _{ij}^{(\nu ,e)}\rho _{ii}(t)-\gamma _{ij}^{(\nu ,a)}\rho _{jj}(t)\) is net decay rate from the state \(|\Phi _i \rangle\) to \(|\Phi _j \rangle\). Notice that in general \(Q_{L}(t)\ne -Q_{R}(t)\), but once the steady state is reached, the total heat current flowing through the qubits must be zero, i.e., \(Q_{L}(t=\infty )+Q_{R}(t=\infty )=0\).

The heat may flow asymmetrically if the bath temperature is interchanged. In this situation, the two-qubit chain works as a heat rectifier87. Such asymmetric heat current is conventionally quantified by the rectification coefficient88,89

$$\begin{aligned} & \Re (t)=\frac{\big |Q_L(t)+Q_L^{r}(t)\big |}{\textrm{Max}\big (|Q_L(t)|, |Q_L^{r}(t)|\big )}. \end{aligned}$$
(24)

where \(Q_L^{r}\) is the heat current when the temperatures of the baths are interchanged. Note that \(0\le \Re \le 2\). Evidently, \(\Re\) is zero for the case where heat flows symmetrically through the qubits: \(Q_L^{r}=-Q_L\) and gets extreme 2 when the heat flows through the qubits independent of the sign of the temperature gradient: \(Q_L^{r}=Q_L\). Also, \(\Re =1\) is achieved when the qubits completely block the heat flow in one direction and thus the chain behaves as a perfect thermal diode.

Results and discussion

We now present numerical results for the dynamics of entanglement and heat current between the qubits for various initial two-qubit states in both the symmetric qubit-bath \((\varepsilon =0)\) and asymmetric qubit-bath \((\varepsilon =1)\) configurations. More importantly, we reveal the role of non-equilibrium effects on generation and protection of entanglement, in both the \(\varepsilon =0\) and \(\varepsilon =1\) cases, by investigating the effect of the temperature gradient of baths \(\Delta T=T_L-T_R\) on the dynamics of entanglement. Furthermore, we investigate heat current and the intriguing phenomenon of thermal rectification with emphasis on the role of asymmetry in the system-bath couplings.

Entanglement generation

In Fig. 3, we display dynamically generation of entanglement for the separable two-qubit initial state \(|\Phi _1\rangle =|00\rangle\), considering various values of the

Figure 3
figure 3

Dynamics of concurrence as a function of the dimensionless quantity Jt for different values of \(T_M\) by setting \(\kappa =0.05J\), \(B_0=0.6 J\) and \(\Delta =0.5 J\). The initial state is \(|\Phi _1\rangle =|00\rangle\). The plots correspond to the symmetric coupling configuration, i.e., \(\varepsilon =0\) (panels (a) and (b)) and asymmetric coupling configuration, i.e., \(\varepsilon =1\) (panels (c) and (d)). Panels (a) and (c), refer to \(T_M=0.5J\), while panels (b) and (d) refer to \(T_M=2J\).

temperature gradient \(\Delta T=T_L-T_R\). Here, we plot the concurrence as a function of Jt with the system parameters \(\kappa =0.05J\), \(\Delta =0.5J\) and \(B_0=0.6J\). In panels (a) and (b), the coupling switch is off \((\varepsilon =0)\) and thus the qubits interact with baths in the symmetrical coupling configuration, while in panels (c) and (d) the coupling switch is on \((\varepsilon =1)\) and thus the qubits interact with baths in the asymmetrical coupling configuration. Additionally, in panels (a) and (c) the mean temperature of the baths \(T_M=\frac{T_L+T_R}{2}\) is assumed to be low (e.g., \(T_M=0.5J\)), while in panels (b) and (d) \(T_M\) it is assumed to be sufficiently high (e.g., \(T_M=2J\)). We note that for initial state \(|\Phi _1\rangle =|00\rangle\), the coherence elements of matrix density \(\rho _{ij}(t)\) are zero, and therefore the Lamb shift does not affect the dynamical generation of entanglement between the qubits. Figure 3 shows that, at the low mean temperatures, the qubits become dynamically entangled in both the symmetric and asymmetric coupling configurations. Nevertheless, dynamically generation of qubit-qubit entanglement is possible only in the asymmetric coupling scenario when the mean temperature of baths is high enough (e.g., \(T_M=2J\) in the figures). Interestingly, in the asymmetric scenario, if entanglement is generated between the qubits, this occurs after a finite time has elapsed, whereas in the asymmetric scenario the qubits may become entangled at low mean temperature as soon as the dynamics begins.

To understand why the dynamical generation of qubit-qubit entanglement is possible in the asymmetric coupling configuration even when the mean temperature of baths is high enough, we look at the dynamics of the eigenstates populations \(\rho _{ii}=\langle \Phi _i|\rho |\Phi _i\rangle\) at high mean temperatures of the reservoirs. In Fig. 4 we plot \(\rho _{ii}\) as a function of the dimensionless quantity Jt for the initial state \(|\Phi _1\rangle\) corresponding to the panel (d) of Fig. 3.

Figure 4
figure 4

Dynamics of the eigenstates populations as a functions of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B_0=0.6 J\), \(\Delta =0.5 J\) and \(T_M=2J\). The plots correspond to the asymmetric coupling configuration (\(\varepsilon =1\)), and the initial state is \(|\Phi _1\rangle =|00\rangle\).

As one can see, due to the direct and indirect transitions from \(|\Phi _1\rangle\) to \(|\Phi _2\rangle\), \(|\Phi _3\rangle\) and \(|\Phi _4\rangle\), the eigenstate populations \(\rho _{11}\) (\(\rho _{jj}\), \((j=2,3,4)\)) decreases (increase) with time and then approaches some steady-state values depending on the value of \(\Delta T\). Also, at equilibrium condition at which the steady state of the system obeys the Gibbs distribution, the steady-state populations satisfy the ordering \(\rho _{22}<\rho _{44}<\rho _{11}<\rho _{33}\) as expected because the eigenstates satisfy the ordering \(E_3<E_1<E_4<E_2\) for \(B_0\le |J+\Delta |\). When the positive temperature gradient increases, the steady-state populations of \(|\Phi _1\rangle\), \(|\Phi _2\rangle\) and \(|\Phi _4\rangle\) decreases, leading to an increase in the steady-state population of the ground state \(|\Phi _3\rangle\). Specially, at the higher temperature gradient \(\Delta T=2T_M\), once the system reaches the steady state, it populates exactly at the Bell state \(\Phi _3\) which is sufficient for the two-qubit steady-state concurrence to reach its maximum value. The physical reason behind the dynamical behavior of the populations at higher temperature gradient \(\Delta T=2T_M\) is quite clear: As we saw in the previous section, the transitions \(|\Phi _3\rangle \leftrightarrow |\Phi _1\rangle\) and \(|\Phi _3\rangle \leftrightarrow |\Phi _2\rangle\), induced by the interaction of the system with the left bath are never allowed in the asymmetric coupling configuration. On the other hand, from Eq. (12a), fixing \(T_L\) and

Figure 5
figure 5

Dynamics of concurrence as a function of the dimensionless quantity Jt and magnetic field \(B_0/J\) for the initial state \(|\Phi _1\rangle =|00\rangle\) by setting \(\kappa =0.05J\), \(T_M=2J\), \(\Delta T=2T_M\) and \(\Delta =0.5 J\). The panels (a) and (b) correspond to the symmetric coupling setting, i.e., \(\varepsilon =0\) and asymmetric coupling setting, i.e., \(\varepsilon =1\), respectively.

taking the limit \(T_R\simeq 0\) (the high temperature gradient limit), we have \(\gamma _{13}^{(R,a)}=\gamma _{23}^{(R,a)}=0\), \(\gamma _{13}^{(R,e)}=\frac{\kappa (J+\Delta -B_0)}{2}\) and \(\gamma _{23}^{(R,e)}=\frac{\kappa (J+\Delta +B_0)}{2}\) for \(B_0\le |J+\Delta |\). This means that at high temperature gradients and for \(B_0\le |J+\Delta |\), the transitions from the entangled two-qubit Bell state \(|\Phi _3\rangle\) into the separable basis \(|\Phi _1\rangle\) and \(|\Phi _2\rangle\) induced by the interaction of qubits with the right bath are forbidden, but the reverse transitions occur. Therefore, in the asymmetric coupling configuration, the population of the Bell state \(|\Phi _3\rangle\) always increases at \(\Delta T=2T_M\) and for \(B_0\le J+\Delta\), leading to a population trapping phenomenon90 in this temperature gradient limi.

In Fig. 5 we investigate the effect of magnetic field \(B_0\) on the dynamically generation of entanglement between the qubits \(|\Phi _1\rangle =|0,0\rangle\). We here plot the concurrence as a function of \(\tau =J t\) and \(B_0/J\) for the mean temperature \(T_M=2J\) by adjusting the system parameters as \(\kappa =0.05J\), \(\Delta =0.5J\), and \(\Delta T=2T_M\). Panel (a) depicts the dynamics of concurrence in the symmetric configuration, while panel (b) corresponds to the asymmetric coupling configuration. It is evident that the generation of entanglement is not affected by the magnetic field when the coupling switch is flipped off (\(\varepsilon =0\)). However, when the coupling switch is on (\(\varepsilon =1\)), the generated entanglement at the long times decreases with the magnetic field, as shown in panel (b).

Entanglement protection

In Fig. 6, we display the dynamics of entanglement for the initial maximally entangled state \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\), corresponding to the panels of Fig. 3. We note that for the chosen initial state, the coherence elements of matrix density \(\rho _{ij}(t)\) become zero, and therefore the Lamb shift does not affect the dynamics of entanglement.

Figure 6
figure 6

Dynamics of concurrence as a function of the dimensionless quantity Jt for different values of \(T_M\) by setting \(\kappa =0.05J\), \(B_0=0.6J\) and \(\Delta =0.5 J\). The initial state is \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\). The plots correspond to the symmetric coupling setting \((\varepsilon =0)\) (panels (a) and (b)) and asymmetric coupling setting \((\varepsilon =1)\) (panels (c) and (d)). Panels (a) and (c), refer to \(T_M=0.5J\), while panels (b) and (d) refer to \(T_M=2J\).

In the symmetric scenario, as shown in Fig. 6a,b, concurrence starts from its maximum value, decays over time and finally reaches a nonzero steady-state value for the chosen temperature gradient \(\Delta T\). We find that increasing the temperature gradient speeds up the decay rate of concurrence in both the low and high temperature regimes. This implies that the non-equilibrium feature of the environments plays a destructive role in protecting the initial entanglement of qubits in the symmetric coupling configuration. In the asymmetric coupling, however, increasing the temperature gradient, albeit at the positive bias, markedly slows down the decay rates of concurrence as illustrated in Fig. 6c,d. In particular, one could stop entanglement decay even at a high base temperature of the baths, provided the temperature gradient is increased to \(\Delta T=2T_M\). These results indicate that the temperature gradient between the reservoirs plays a constructive role in protecting the initial entanglement of qubits in the asymmetric coupling configuration.

To understand why in panels (c) and (d) the concurrence does not decay below one under the extreme condition (i.e., in the higher positive temperature gradient limit), we turn to previous subsection, where we proved that the transitions from the entangled two-qubit Bell state \(|\Phi _3\rangle\) into other eigenstates are forbidden in the higher positive temperature gradient limit \(\Delta T=2T_M\) for \(B_0\le J+\Delta\). Therefore, in Fig. 6 entanglement preservation can be the result of confining the dynamics to the decoherence-free subspace \(|\Phi _3\rangle\) of the system’s Hilbert space. Note that a decoherence-free subspace is a subspace of a quantum system’s Hilbert space that is invariant to non-unitary dynamics. The states belonging to this subspace are called sub-radiant states.

Figure 7
figure 7

Dynamics of concurrence as a functions of the dimensionless quantity Jt and magnetic field \(B_0/J\) for the initial state \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\) by setting \(\kappa =0.05J\), \(T_M=2J\) and \(\Delta =0.5 J\). The panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and asymmetric coupling setting \((\varepsilon =1)\), respectively.

Furthermore, in Fig. 7 we have explored the effect of the magnetic field on the preservation of the initial entanglement contained in \(|\Phi _3\rangle\) when the base temperature of reservoirs is relatively high (e.g., for \(T_M=2J\)). The panels (a) and (b) display concurrence as a function of Jt and \(B_0/J\) in the symmetric and asymmetric coupling configurations, respectively. Here the system parameters are chosen as \(\kappa =0.05J\), \(\Delta =0.5J\), and \(\Delta T=2T_M\). According to panel (a), when the coupling switch is flipped off (\(\varepsilon =0\)), the dynamics of concurrence is almost insensitive to changes in the magnetic field strength. However, when the switch is flipped on (\(\varepsilon =1\)), the dynamics of concurrence can be controlled by the magnetic field, as shown in panels (b). We observe that the decay of concurrence is slowed down by decreasing the strength of the magnetic field, thereby completely protecting the initial maximal entanglement of the qubits by adjusting the strength of the magnetic field within interval [0, 1.5J].

Entanglement death and rebirth

Finally, we explore the dynamics of entanglement for the initial maximally entangled state \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\). Here the Lamb shift does not affect the dynamics of entanglement because of the chosen initial state.

Figure 8
figure 8

Dynamics of concurrence as a function of the dimensionless quantity Jt for different values of \(T_M\) by setting \(\kappa =0.05J\), \(B_0=0.6J\) and \(\Delta =0.5 J\). The initial state is \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\). The plots are related to the symmetric coupling setting \((\varepsilon =0)\) (panels (a) and (b)) and asymmetric coupling setting \((\varepsilon =1)\) (panels (c) and (d)). Panels (a), (c), refer to \(T_M=0.5J\), while panels (b), (d), refer to \(T_M=2J\).

In Fig. 8, we depict concurrence as a function of Jt for different values of \(\Delta T\), corresponding to the panels of Fig. 3. The results indicates that concurrence starts from its maximum value, dissipates to zero over the time (entanglement death), but rebirth after a period of time and finally reaches a steady-state value (entanglement rebirth). Comparing panels (a) with (b) and also (c) with (d) reveals that increasing the mean temperature \(T_M\) speeds up the death rate of entanglement in both symmetric and asymmetric coupling configurations. Notably, in the symmetric coupling configuration, high mean bath temperatures prevent the revival of dead entanglement. While, when entanglement death is followed by revival in the symmetric coupling configuration at low mean temperature, it occurs relatively quickly compared to the asymmetric coupling configuration.

Furthermore, similar to the dynamics of concurrence for the initial states \(|\Phi _1\rangle\) and \(|\Phi _3\rangle\), the non-equilibrium effect exhibits contrasting roles in the symmetric and asymmetric coupling configurations. In the symmetric coupling configuration, increasing temperature gradient suppresses the entanglement rebirth, as illustrated in panels (a) and (b), while in the asymmetric coupling configuration, the amount of revived entanglement enhances with the temperature gradient and becomes comparable to its initial maximum (see panels (c) and (d)). In the asymmetric configuration, a complete revival is achieved by adjusting the temperature gradient to \(\Delta T= 2T_M\). These findings imply that the non-equilibrium feature of the environments plays a destructive (constructive) role in reviving the initial entanglement of qubits in the symmetric (asymmetric) coupling configuration.

Figure 9
figure 9

Dynamics of the eigenstates populations as a functions of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B_0=0.6 J\), \(\Delta =0.5 J\) and \(T_M=2J\). The plots correspond to the asymmetric coupling configuration (\(\varepsilon =1\)), and the initial state is \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\).

In order to gain a physical understanding of the behavior of concurrence in the asymmetric configuration, it is useful to explore dynamical behavior of the eigenstate populations for the initial state \(|\Phi _4\rangle\). In Fig. 9 we plot the eigenstate populations \(\rho _{ii}\) as a function of the dimensionless quantity Jt for the initial state \(|\Phi _4\rangle\) corresponding to panel (d) of Fig. 8. This figure shows that, as soon as the evolution starts, the direct transitions from \(|\Phi _4\rangle\) to \(|\Phi _1\rangle\) and \(|\Phi _2\rangle\) (please see Fig. 2) lead to a rapid increase in the population of the eigenstates \(|\Phi _1\rangle\) and \(|\Phi _2\rangle\), while the indirect transition between \(|\Phi _4\rangle\) and \(|\Phi _3\rangle\) leads to a slow increase in the population of \(|\Phi _3\rangle\). In turn, this suggests sudden death of entanglement at the beginning of the evolution. As can be seen, the population of \(|\Phi _3\rangle\) increases monotonously with time to reach its steady-state value. For \(\Delta T\le 0\), this increase is too small for the combined weight of the populations on the eigenstates to be able revive the dead entanglement. However, as illustrated in panels (c) and (d), for \(\Delta T>0\), the population of \(|\Phi _3\rangle\) increases over time and exceeds 0.5 which is sufficient to revive the dead qubit-qubit entanglement after a period of time. At higher temperature gradient \(\Delta T=2T_M\), the steady-state population of \(|\Phi _1\rangle\), \(|\Phi _2\rangle\) and \(|\Phi _4\rangle\) becomes zero and thus the system populates exactly at the Bell state \(|\Phi _3\rangle\). This explains why in Fig. 8 the lines for \(\Delta T=2T_M\) reach one at steady state, while those for other values of \(\Delta T\) do not.

In Fig. 10, we examine the effect of magnetic field on the entanglement dynamics of the initial state \(|\Phi _4\rangle\) when the base temperature of baths is relatively high. In this figure, the panels (a) ((b)) corresponds to dynamics of concurrence in the symmetric (asymmetric) configuration. From panel (a), it is evident that, similar to the entanglement dynamics of the initial states \(|\Phi _1\rangle\) and \(|\Phi _3\rangle\), the entanglement of the initial state \(|\Phi _4\rangle\) is not affected by the magnetic field when the coupling switch is off.

Figure 10
figure 10

Dynamics of concurrence as a functions of the dimensionless quantity Jt and magnetic field \(B_0/J\) for the initial state \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\) by setting \(\kappa =0.05J\), \(T_M=2J\) and \(\Delta =0.5 J\). Panel (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and asymmetric coupling setting \((\varepsilon =1)\), respectively.

However, our results in panel (b) show that when the coupling switch is on, magnetic field affects the entanglement dynamics of \(|\Phi _4\rangle\). As shown in this panel, with the increase of \(B_0/J\) the revival time is shifted to longer times.

Heat current and thermal rectification: without the Lamb shift contribution

In this section we investigate the transient energy (heat) exchange between the qubits and reservoirs as well as thermal rectification, for the separable two-qubit initial states \(|\Phi _1\rangle =|00\rangle\) as well as the entangled two-qubit \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\) and \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\). Here, for simplicity, but without loss of generality, we ignore the Lamb shift contribution to the Lindblad equation (6).

In Fig. 11, we plot \(Q_L\) and \(Q_R\) as a function of Jt for different values of \(\Delta T\) in both symmetric and asymmetric coupling configurations. The system parameters are the same as in Fig. 3.

Figure 11
figure 11

Dynamics of heat current \(Q_L\) and \(Q_R\) as a function of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B_0=0.6J\), \(\Delta =0.5 J\) and \(T_M=2J\). Here, the initial state of qubits is \(|\Phi _1\rangle =|00\rangle\) and the Lamb-shift term is not included. Panels (a) and (c) correspond to the symmetric coupling setting \((\varepsilon =0)\), while (b) and (d) correspond to asymmetric coupling setting \((\varepsilon =1)\) setting.

Panels (a) and (c) represent dynamics of quantum heat current in the symmetric coupling configuration, while (b) and (d) display dynamics of quantum heat current in the asymmetric coupling configuration. As expected, in both the symmetric and asymmetric coupling settings, the absolute value of the heat current increases with the temperature gradient. In the symmetric coupling scenario, as shown in the panels (a) and (c), heat initially flows from the qubits into the hot and cold bath. However, after some time, the direction of heat transfer from the qubits to the hot bath is reversed and the qubits start to absorb heat from the hot bath and reject it to the cold one. At this stage, the heat current absorbed (released) from (to) the hot (cold) bath increases with time to saturate at the steady-state values. In the symmetric coupling setting, the quantum heat currents \(Q_L\) and \(Q_R\) are equal regardless of the temperature gradient’s sign, as expected. However, the heat current seems to saturate faster (slower) by increasing \(\Delta T\) for the positive (negative) temperature gradient. In contrast, the dynamics of \(Q_L\) and \(Q_R\) undergo significant changes when coupling asymmetry is turned on, as depicted in panels (b) and (d).

Figure 12
figure 12

Dynamics of the thermal rectification factor \(\Re\) as a function of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B_0=0.6J\), \(\Delta =0.5 J\) and \(T_M=2J\). Here, the initial state of qubits is \(|\Phi _1\rangle =|00\rangle\) and the Lamb-shift term is not included. Panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and asymmetric coupling setting \((\varepsilon =1)\), respectively.

Here, \(Q_L\) consistently decreases over time, while \(Q_R\) initially increases to a maximum value before decaying to its steady-state value. Obviously, the saturation of heat currents occurs more slowly in the asymmetric coupling setting compared to the symmetric one. We find that, due to the additional connection between the qubit 2 and the hot bath, the transient heat current absorbed from the hot bath by the qubits is greater than the heat released to the cold bath. However, this situation alters in the steady-state limit, where the heat exchange with the hot source vanishes and the qubits release heat only to the cold bath.

In Fig. 12, we present the computed dynamical behavior of the thermal rectification factor for the initial state \(|\Phi _1\rangle\) in both the symmetric coupling (Fig. 12a) and asymmetric coupling (Fig. 12b) settings. The Lamb-shift corrections is not included here. Both Fig. 12a,b confirm that, at the equilibrium condition (\(\Delta T=0\)), heat flows through the qubits independent of the temperature gradient’s sign, resulting in \(\Re =2\). The thermal rectification factor \(\Re\) exhibits nonlinear characteristics under non-equilibrium conditions, which are consequences of the behavior of the heat current at each positive and negative temperature bias. In the symmetric coupling setting, \(\Re\) decays oscillatory to zero and a perfect rectification (\(\Re =1\)) is achieved at early times, as shown in Fig. 12a. In the asymmetric coupling setting, however, \(\Re\) experience different dynamics: it initially reaches a maximum, then decreases to near zero, before increasing again to attain a nonzero steady-state value. Therefore, the dynamics of the thermal rectification lasts longer in the asymmetric coupling setting in comparison to the symmetric coupling setting. Another positive aspect of the asymmetry in system-bath couplings is that both the steady-state rectification and the time required to reach the steady state increase with the magnitude of \(\Delta T\), enabling perfect rectification

Figure 13
figure 13

Dynamics of heat current \(Q_L\) and \(Q_R\) as a function of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B_0=0.6J\), \(\Delta =0.5 J\) and \(T_M=2J\). Here, the initial state of qubits is \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\) and the Lamb-shift term is not included. The panels (a) and (c) correspond to the symmetric coupling setting \((\varepsilon =0)\), while (b) and (d) correspond to asymmetric coupling setting \((\varepsilon =1)\) setting.

when \(\Delta T\) reaches its maximum value.

In Fig. 13, we plot dynamics of \(Q_L\) and \(Q_R\) as a function of Jt for the initial state \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\), corresponding to the panels of Fig. 11. Based on this figure, the initial state \(|\Phi _3\rangle\) results in totally different heat current dynamics. In the symmetric coupling setting, both heat currents \(Q_L\) and \(Q_R\) experience a decaying dynamics to saturate at the steady-state values at each positive and negative temperature bias. In this setting, the heat current received from the hot bath saturates slower (faster) by increasing \(\Delta T\) at the positive (negative) bias. As shown in the panels (a) and (c), the heat flows from the reservoirs to the qubits in the beginning of the evolution, but after a time, the direction of heat transfer from the cold bath to the qubits is reversed and the qubits start to transfer the heat from the hot bath to the cold one. Then, the heat current absorbed (released) from (to) the hot (cold) reservoir increases with time to saturate at the steady-state values. This phenomena is also observed in the asymmetric coupling setting but only for the left bath (see Fig. 13b,d): for \(\Delta T=-T_M\), \(Q_L\) increases with time and reaches a positive maximum value, then decays to saturate at a negative steady-state value. The drawn curves in panels (b) and (d) also show that in the asymmetric coupling setting qubits always absorb heat from the right reservoir for both the positive and negative temperature biases. For temperature gradients \(\Delta T\le 0\), \(Q_L\) increases with time and reaches a maximum value, then decays to saturate at the steady-state values. Obviously, the saturation of heat currents occurs more slowly than in the symmetric coupling setting. As we can see, for the case \(\Delta T= 2T_M\), the qubits never exchange heat with the reservoirs. The physical reason behind this effect is the following: In “Entanglement protection” we proved that in the limit \(T_R\simeq 0\) (\(\Delta T\rightarrow 2T_M\)) and in the regime in which we work (\(B_0\le J+\Delta\)), when the coupling switch is turned on (\(\varepsilon =1\)), the initial state \(|\Phi _3\rangle\) remains immune to dissipation, causing the population components \(\rho _{11}\), \(\rho _{22}\) and \(\rho _{44}\) remain zero at all times.

Figure 14
figure 14

Dynamics of the thermal rectification factor \(\Re\) as a function of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B_0=0.6J\), \(\Delta =0.5 J\) and \(T_M=2J\). Here, the initial state of qubits is \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\) and the Lamb-shift term is included. The panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and asymmetric coupling setting \((\varepsilon =1)\), respectively.

On the other hand, adjusting \(\varepsilon =1\), and taking the limit as \(T_R\simeq 0\) (\(\Delta T\rightarrow 2T_M\)) in Eq. (12a), results in \(\gamma _{13}^{(R,a)}=\gamma _{13}^{(L,a)}=\gamma _{23}^{(R,a)}=\gamma _{23}^{(L,a)}=0\). By taking into account these considerations, it is straightforward from Eq. (23) that in the asymmetric coupling configuration, for \(\Delta T= 2T_M\), the heat current of the initial state \(|\Phi _3\rangle\) remains zero at all times.

In Fig. 14, we display the dynamics of the thermal rectification factor for the initial state \(|\Phi _3\rangle\) in both the symmetric coupling (Fig. 14a) and asymmetric coupling (Fig. 14b) settings. Both Fig. 14a,b reaffirm that, at equilibrium condition (\(\Delta T=0\)), heat flows through the qubits, independent of the sign of the temperature gradient, resulting in \(\Re =2\). In the symmetric coupling setting, as shown in Fig. 14a, \(\Re\) shows a monotonic decaying trend: for a given \(\Delta T\), the qubits acts as a thermal rectifier in the beginning of the evolution. After a time, when \(\Re\) decays monotonically to one, the qubits completely block the heat flow in one direction and thus behave as a perfect insulator. Then, as time goes on, the thermal rectification property of qubits gradually weakens again and finally disappears. As can be seen, when the temperature gradient increases to its maximum value, i.e. \(\Delta T=\pm 2T_M\), the qubits completely block the heat flow in one direction at the beginning of the evolution. However, they gradually lose their thermal rectification property over time until the heat flows symmetrically through the qubits.

In the asymmetric coupling setting, however, \(\Re\) follows a different dynamical pattern. In this setting, as illustrated in Fig. 14b,

Figure 15
figure 15

Dynamics of heat current \(Q_L\) and \(Q_R\) as a function of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B=0.6J\), \(\Delta =0.5 J\) and \(T_M=2J\). Here, the initial state of qubits is \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\) and the Lamb-shift term is included. The panels (a) and (c) correspond to the symmetric coupling setting \((\varepsilon =0)\), while (b) and (d) correspond to the asymmetric coupling setting \((\varepsilon =1)\) setting.

the qubits completely lose their rectification property over time, but immediately regain it until the steady-state is reached. An interesting effect of this asymmetric coupling setting is observed at \(\Delta T=\pm 2T_M\), where the the heat flow is always completely blocked in one direction by the qubits, thus enabling the implementation of a stable thermal diode. In Fig. 15, we plot the dynamics of \(Q_L\) and \(Q_R\) as a function of Jt for the initial state \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\) in both the symmetric coupling [panels (a) and (c)] and asymmetric coupling [panel (b) and (d)] settings. According to the drawn curves, dynamics of the heat current in the symmetric coupling setting is almost the same as the dynamics in the asymmetric coupling setting. In both symmetric and asymmetric coupling settings, in general, the heat flows from the qubits to the reservoirs in the beginning of the evolution. However, after a certain time, the direction of heat transfer from the qubits to the hot bath is reversed and the qubits start to transfer the heat from the hot bath to the cold one. At this time, the heat current absorbed (released) from (to) the hot (cold) bath increases with time to saturate at the steady-state values. According to the drawn curves, the heat current received from the hot bath saturates slower by increasing \(\Delta T\). Similar to what can be seen for the initial states \(|\Phi _1\rangle\) and \(|\Phi _3\rangle\), the heat current received from the hot bath saturates more slowly (more quickly) as \(\Delta T\) increases at the positive (negative) bias.

Finally, in Fig. 16 we display the dynamics of the thermal rectification factor for the initial state \(|\Phi _4\rangle\) in both the symmetric coupling (Fig. 16a) and asymmetric coupling (Fig. 16b) settings. This figure again confirms that at the equilibrium condition (\(\Delta T=0\)),

Figure 16
figure 16

Dynamics of the thermal rectification factor \(\Re\) as a function of the dimensionless quantity Jt for different values of \(\Delta T\) by setting \(\kappa =0.05J\), \(B=0.6J\), \(\Delta =0.5 J\) and \(T_M=2J\). Here, the initial state of qubits is \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\) and the Lamb-shift term is included. The panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and the asymmetric coupling setting \((\varepsilon =1)\), respectively.

the thermal rectification factor gets \(\Re =2\), indicating that, irrespective of the initial state of qubits, the heat flows through the qubits independent of the sign of the temperature gradient. In the symmetric coupling setting, for a given \(\Delta T\), the qubits rectify the heat in the beginning of the evolution. Then, when \(\Re\) suddenly increases to 2, the qubits transfer the received heat to the cold bath independent of the sign of the temperature gradient. After this time, the qubits start to rectify the heat again, completely blocking the heat flow in one direction once \(\Re\) decays to 1. Our results in Fig. 16a show that \(\Re\) eventually decays to zero at the steady state, indicating that qubits lose their rectification property upon reaching that state.

Furthermore, comparing Fig. 16a and b, it may be observed that dynamics of \(\Re\) in the asymmetric coupling setting is similar to the dynamics in the symmetric coupling setting, except in the steady-state limit where \(\Re\) has a nonzero value, indicating that the qubits exhibit thermal rectification. As can be seen, when the absolute temperature gradient increases to \(2T_M\), the steady-state rectification coefficient gets \(\Re =1\), where the qubits completely block the heat flow in one direction, thus realizing a thermal diode.

Before ending this section, we would like to comment on the relationship between the dynamical behavior of thermal entanglement and the phenomenon of heat rectification. By comparing Fig. 3 with 12, Fig. 6 with 14, and Fig. 8 with 16, one can clearly see that there is no a considerable relation between the dynamics of concurrence C and the dynamics of rectification coefficient \(\Re\). However, a close connection between rectification property and entanglement of qubits is observed in the asymmetric coupling setting when the system reaches the steady state. More precisely, for \(\varepsilon =1\), regardless of the initial state of qubits, both C and \(\Re\) reach one in the steady state when the gradient temperature of baths is \(\Delta T=2T_M\). This means that at the higher temperature gradient, qubits leverage the steady-state entanglement between themselves to completely block the heat released from the hot reservoir. This connection between thw steady-state rectification and steady-state entanglement can be explained as follows. As shown in Figs. 4d and 9d, at higher temperature gradient \(\Delta T=2T_M\) once the system reaches the steady-state, population of \(|\Phi _1\rangle\), \(|\Phi _2\rangle\) and \(|\Phi _4\rangle\) becomes zero and the system populates exactly at the maximally entangled state \(|\Phi _3\rangle\). This is while, if the temperatures of the left and right reservoirs are interchanged in the reverse direction, the populations \(|\Phi _1\rangle\), \(|\Phi _2\rangle\) and \(|\Phi _4\rangle\) will no longer be zero in the steady-state limit. On the other hand, in the asymmetric setting, we have \(\gamma _{13}^{(L,a)}=0\), \(\gamma _{13}^{(L,e)}=0\), \(\gamma _{23}^{(L,a)}=0\) and \(\gamma _{23}^{(L,e)}=0\), while \(\gamma _{ij}^{(\nu ,a)}\), \(\gamma _{ij}^{(\nu ,e)}\) \((i=1,2;j=3,4)\) are nonzero at \(\Delta T=-2T_M\). Therefore, according to Eq. (23), in the forward direction the heat current \(Q_L(\infty )\) becomes zero. However, in the reverse direction, while the mentioned absorption and emission rates remain zero, the populations of \(|\Phi _1\rangle\), \(|\Phi _2\rangle\), and \(|\Phi _4\rangle\) are no longer zero, resulting in \(Q_L^{r}(t)\ne 0\). This leads to the phenomenon of perfect rectification.

Lamb-shift contribution to the thermal rectification property of qubits

In the previous subsection, we have ignored the Lamb shift correction, i.e. the effective shift of the eigenenergies of the qubits induced by the presence of the baths. The effective shift of the eigenenergies depends on both mean temperature \(T_M\) and gradient temperature \(\Delta T\), thus it may influence the rectification properties of the qubits.

Figure 17
figure 17

Dynamics of the thermal rectification factor \(\Re\) for different values of \(\Delta T\) with and without the Lamb shift. The initial state of the qubits is \(|\Phi _1\rangle =|0,0\rangle\) and other parameters are set as same as Fig. 12. In the presence of the Lamb shift, the cutoff frequency of the Ohmic spectral density is \(\omega _D=1000 J\). The panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and the asymmetric coupling setting \((\varepsilon =1)\), respectively.

As we now demonstrate, considering this correction allows us to achieve rectification dynamics different from that derived in the previous subsection. It is worth noting that for an Ohmic spectral density, the integrals that appear in Eq. (15) diverge. However, introducing a suitable cutoff frequency \(\omega _D\), resolves this divergence, yielding finite values for the integrals.

In Fig. 17, we illustrate the Lamb-shift contribution to the thermal rectification of the qubit for the initial state \(|\Phi _1\rangle\) in both the symmetric coupling (Fig. 17a) and asymmetric coupling (Fig. 17b) settings. Here, we plot the rectification factor \(\Re\) as a function of Jt for different values of \(\Delta T\) with and without the Lamb-shift in both symmetric and asymmetric coupling configurations. The system parameters are the same as in Fig. 3. Both Fig. 17a and b reveal that, at equilibrium condition (\(\Delta T=0\)), heat current among the qubits remains unaffected by the presence of the Lamb modification. We find that by taking into account the Lamb shift corrections, we attain rectification beyond the bounds derived in the previous sections. As shown in Fig. 17a, Lamb shift prevents qubits from achieving perfect rectification (\(\Re =1\)) in the symmetric setting. This implies that the bath-induced Lamb-shift correction plays a destructive role in the rectification performance of qubits in the symmetric coupling configuration. Conversely, Fig. 17b demonstrates that the Lamb-shift correction has a constructive effect in the asymmetric coupling configuration: for \(\Delta T=\pm T_M\), it increases the number of perfect rectification times and for \(\Delta T=2T_M\), it prolongs the perfect rectification time.

Figure 18
figure 18

Dynamics of the thermal rectification factor \(\Re\) for different values of \(\Delta T\) with and without the Lamb shift. The initial state of qubits is \(|\Phi _3\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle -|1,0\rangle \right]\) and all other parameters are set as in Fig. 14. In the presence of the Lamb shift, the cutoff frequency of the Ohmic spectral density is \(\omega _D=1000 J\). The panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and the asymmetric coupling setting \((\varepsilon =1)\), respectively.

Figure 19
figure 19

Dynamics of the thermal rectification factor \(\Re\) for different values of \(\Delta T\) with and without the Lamb shift. The initial state of qubits is \(|\Phi _4\rangle =\frac{1}{\sqrt{2}}\left[ |0,1\rangle +|1,0\rangle \right]\) and other parameters are set as same as Fig. 16. In the presence of the Lamb shift, the cutoff frequency of the Ohmic spectral density is \(\omega _D=1000 J\). The panels (a) and (b) correspond to the symmetric coupling setting \((\varepsilon =0)\) and the asymmetric coupling setting \((\varepsilon =1)\), respectively.

In Fig. 18, we illustrate Lamb-shift contribution to the thermal rectification of the qubits prepared in the initial state \(|\Phi _3\rangle\) in both the symmetric coupling (Fig. 18a) and asymmetric coupling (Fig. 18b) settings. Here, the system parameters are the same as in Fig. 14. We find that, unlike the symmetric coupling setting, the Lamb-shift correction can change dynamical behavior of rectification in the asymmetric coupling setting. For \(\Delta T=\pm T_M\), as can be seen in Fig. 18b, the Lamb-shift correction although decreases rectification effect of the qubits in the beginning of the evolution, but increases it after a long time. The drawn curves in Fig. 18b also indicate that the Lamb-shift correction does not affect rectification dynamics of the qubits when the gradient temperature is \(\Delta T=0\) and \(\Delta T=2T_M\).

Finally, in Fig. 19, we illustrate Lamb-shift contribution to the thermal rectification of qubit prepared in the initial state \(|\Phi _4\rangle\) in both the symmetric coupling (Fig. 19a) and asymmetric coupling (Fig. 19b) settings. Here, the system parameters are the same as in Fig. 16. According to Fig. 19, the dynamics of rectification is affected by the presence of the Lamb modification only in the asymmetric coupling setting. For \(\Delta T=2T_M\) the Lamb-shift correction prolongs the perfect rectification time, while for \(\Delta T=\pm T_M\) this correction enhances the steady-state rectification performance of the qubits.

Outlook and summary

To summarize, we analyzed the dynamical behavior of quantum features including thermal entanglement, heat current and thermal rectification in a two-qubit XXZ spin chain coupled weakly to two independent Ohmic thermal baths. We considered two different qubit-bath coupling configurations, a symmetric configuration wherein each qubit is coupled to an individual reservoir, and an asymmetric configuration wherein one qubit is coupled to both baths, whereas the another qubit is coupled to just one of them. We showed that, depending on the initial two-qubit state, the asymmetry configuration induced by an extra connection of the hot (cold) bath to one of the qubits, significantly influences the generation, preservation and reviving of these quantum features in high temperature regime, where the system’s coherence dissipates drastically during the evolution. We also explored the stabilizing role of the asymmetry in the system-bath couplings on the thermal rectification properties of various two-qubit initial states and found that, if the qubits start the evolution with each of these initial states, the asymmetry in the system-bath couplings allows the qubits to dynamically recover their lost initial rectification property, and maintain it until the non-equilibrium steady state is reached. Accordingly, a two-qubit thermal diode is realized when the system is relaxed to the non-equilibrium steady state, under the temperature gradient condition \(\Delta T=2T_M\). Additionally, we investigated the Lamb-shift contribution to the thermal rectification property of qubits and found that the rectification performance of qubits can be changed significantly if taking the Lamb shift into account.

Our results represent a novel strategy to control the generation and protection of non-equilibrium thermal entanglement, as well as the quantum heat transport of two-qubit spin chain systems. It goes without saying that this strategy can be generalized to control the entanglement and rectification property of a spin-chain system with more spins and can be easily implemented in the circuit-QED setups, where the two-qubit spin system and thermal baths are implemented by a transmon qudit and two thermal circuits, respectively. In addition, the asymmetry in the qudit-bath coupling can be established by placing some LC circuit band-pass filters between the transmon qudit and one of the thermal circuits.