|
| 1 | +# [Bloch-Redfield master equation](@id doc-TE:Bloch-Redfield-master-equation) |
| 2 | + |
| 3 | +The [Lindblad master equation](@ref doc-TE:Lindblad-Master-Equation-Solver) introduced earlier is constructed so that it describes a physical evolution of the density matrix (i.e., trace and positivity preserving), but it does not provide a connection to any underlying microscopic physical model. The Lindblad operators (collapse operators) describe phenomenological processes, such as for example dephasing and spin flips, and the rates of these processes are arbitrary parameters in the model. In many situations the collapse operators and their corresponding rates have clear physical interpretation, such as dephasing and relaxation rates, and in those cases the Lindblad master equation is usually the method of choice. |
| 4 | + |
| 5 | +However, in some cases, for example systems with varying energy biases and eigenstates and that couple to an environment in some well-defined manner (through a physically motivated system-environment interaction operator), it is often desirable to derive the master equation from more fundamental physical principles, and relate it to for example the noise-power spectrum of the environment. |
| 6 | + |
| 7 | +The Bloch-Redfield formalism is one such approach to derive a master equation from a microscopic system. It starts from a combined system-environment perspective, and derives a perturbative master equation for the system alone, under the assumption of weak system-environment coupling. One advantage of this approach is that the dissipation processes and rates are obtained directly from the properties of the environment. On the downside, it does not intrinsically guarantee that the resulting master equation unconditionally preserves the physical properties of the density matrix (because it is a perturbative method). The Bloch-Redfield master equation must therefore be used with care, and the assumptions made in the derivation must be honored. (The Lindblad master equation is in a sense more robust -- it always results in a physical density matrix -- although some collapse operators might not be physically justified). For a full derivation of the Bloch Redfield master equation, see e.g. [Cohen_Tannoudji_atomphoton](@citet) or [breuer2002](@citet). Here we present only a brief version of the derivation, with the intention of introducing the notation and how it relates to the implementation in `QuantumToolbox.jl`. |
| 8 | + |
| 9 | + |
| 10 | +## [Brief Derivation and Definitions](@id doc-TE:Brief-Derivation-and-Definitions) |
| 11 | + |
| 12 | +The starting point of the Bloch-Redfield formalism is the total Hamiltonian for the system and the environment (bath): ``\hat{H} = \hat{H}_{\rm S} + \hat{H}_{\rm B} + \hat{H}_{\rm I}``, where ``\hat{H}`` is the total system+bath Hamiltonian, ``\hat{H}_{\rm S}`` and ``\hat{H}_{\rm B}`` are the system and bath Hamiltonians, respectively, and ``\hat{H}_{\rm I}`` is the interaction Hamiltonian. |
| 13 | + |
| 14 | +The most general form of a master equation for the system dynamics is obtained by tracing out the bath from the von-Neumann equation of motion for the combined system (``\frac{d}{dt}\hat{\rho} = -i\hbar^{-1}[\hat{H}, \hat{\rho}]``). In the interaction picture the result is |
| 15 | + |
| 16 | +```math |
| 17 | + \frac{d}{dt}\hat{\rho}_{\textrm{S}}(t) = - \hbar^{-2}\int_0^t d\tau\; \textrm{Tr}_{\textrm{B}} [\hat{H}_{\textrm{I}}(t), [\hat{H}_{\textrm{I}}(\tau), \hat{\rho}_{\textrm{S}}(\tau)\otimes\hat{\rho}_{\textrm{B}}]], |
| 18 | +``` |
| 19 | + |
| 20 | +where the additional assumption that the total system-bath density matrix can be factorized as ``\hat{\rho}(t) \approx \hat{\rho}_{\textrm{S}}(t) \otimes \hat{\rho}_{\textrm{B}}``. This assumption is known as the Born approximation, and it implies that there never is any entanglement between the system and the bath, neither in the initial state nor at any time during the evolution. *It is justified for weak system-bath interaction.* |
| 21 | + |
| 22 | +The master equation above is non-Markovian, i.e., the change in the density matrix at a time ``t`` depends on states at all times ``\tau < t``, making it intractable to solve both theoretically and numerically. To make progress towards a manageable master equation, we now introduce the Markovian approximation, in which ``\hat{\rho}_{\textrm{S}}(\tau)`` is replaced by ``\hat{\rho}_{\textrm{S}}(t)``. The result is the Redfield equation |
| 23 | + |
| 24 | +```math |
| 25 | + \frac{d}{dt}\hat{\rho}_{\textrm{S}}(t) = - \hbar^{-2}\int_0^t d\tau\; \textrm{Tr}_{\textrm{B}} [\hat{H}_{\textrm{I}}(t), [\hat{H}_{\textrm{I}}(\tau), \hat{\rho}_{\textrm{S}}(t)\otimes\hat{\rho}_{\textrm{B}}]], |
| 26 | +``` |
| 27 | + |
| 28 | +which is local in time with respect the density matrix, but still not Markovian since it contains an implicit dependence on the initial state. By extending the integration to infinity and substituting ``\tau \rightarrow t-\tau``, a fully Markovian master equation is obtained: |
| 29 | + |
| 30 | +```math |
| 31 | + \frac{d}{dt}\hat{\rho}_{\textrm{S}}(t) = - \hbar^{-2}\int_0^\infty d\tau\; \textrm{Tr}_{\textrm{B}} [\hat{H}_{\textrm{I}}(t), [\hat{H}_{\textrm{I}}(t-\tau), \hat{\rho}_{\textrm{S}}(t)\otimes\hat{\rho}_{\textrm{B}}]]. |
| 32 | +``` |
| 33 | + |
| 34 | +The two Markovian approximations introduced above are valid if the time-scale with which the system dynamics changes is large compared to the time-scale with which correlations in the bath decays (corresponding to a "short-memory" bath, which results in Markovian system dynamics). |
| 35 | + |
| 36 | +The Markovian master equation above is still on a too general form to be suitable for numerical implementation. We therefore assume that the system-bath interaction takes the form ``\hat{H}_{\textrm{I}} = \sum_\alpha \hat{A}_\alpha \otimes \hat{B}_\alpha`` and where ``\hat{A}_\alpha`` are system operators and ``\hat{B}_\alpha`` are bath operators. This allows us to write master equation in terms of system operators and bath correlation functions: |
| 37 | + |
| 38 | +```math |
| 39 | +\begin{split}\frac{d}{dt}\hat{\rho}_{\textrm{S}}(t) = |
| 40 | +-\hbar^{-2} |
| 41 | +\sum_{\alpha\beta} |
| 42 | +\int_0^\infty d\tau\; |
| 43 | +\left\{ |
| 44 | +g_{\alpha\beta}(\tau) \left[\hat{A}_\alpha(t)\hat{A}_\beta(t-\tau)\hat{\rho}_{\textrm{S}}(t) - \hat{A}_\beta(t-\tau)\hat{\rho}_{\textrm{S}}(t)\hat{A}_\alpha(t)\right] |
| 45 | +\right. \nonumber\\ |
| 46 | +\left. |
| 47 | ++ g_{\alpha\beta}(-\tau) \left[\hat{\rho}_{\textrm{S}}(t)\hat{A}_\alpha(t-\tau)\hat{A}_\beta(t) - \hat{A}_\beta(t)\hat{\rho}_{\textrm{S}}(t)\hat{A}_\beta(t-\alpha)\right] |
| 48 | +\right\},\end{split} |
| 49 | +``` |
| 50 | + |
| 51 | +where ``g_{\alpha\beta}(\tau) = \textrm{Tr}_{\textrm{B}}\left[\hat{B}_\alpha(t)\hat{B}_\beta(t-\tau)\hat{\rho}_{\textrm{B}}\right] = \langle\hat{B}_\alpha(\tau)\hat{B}_\beta(0)\rangle``, since the bath state ``\hat{\rho}_{\textrm{B}}`` is a steady state. |
| 52 | + |
| 53 | +In the eigenbasis of the system Hamiltonian, where ``A_{mn}(t) = A_{mn} e^{i\omega_{mn}t}``, ``\omega_{mn} = \omega_m - \omega_n`` and ``\omega_m`` are the eigenfrequencies corresponding to the eigenstate ``|m\rangle``, we obtain in matrix form in the Schrödinger picture |
| 54 | + |
| 55 | +```math |
| 56 | +\begin{aligned} |
| 57 | + \frac{d}{dt} \rho_{ab}(t) = & -i\omega_{ab}\rho_{ab}(t)\\ |
| 58 | + &-\hbar^{-2} \sum_{\alpha,\beta} \sum_{c,d}^{\textrm{sec}} \int_0^\infty d\tau\; |
| 59 | + \left\{ |
| 60 | + g_{\alpha\beta}(\tau) |
| 61 | + \left[\delta_{bd}\sum_nA^\alpha_{an}A^\beta_{nc}e^{i\omega_{cn}\tau} |
| 62 | + - |
| 63 | + A^\beta_{ac} A^\alpha_{db} e^{i\omega_{ca}\tau} |
| 64 | + \right] |
| 65 | + \right. \\ |
| 66 | + &+ |
| 67 | + \left. |
| 68 | + g_{\alpha\beta}(-\tau) |
| 69 | + \left[\delta_{ac}\sum_n A^\alpha_{dn}A^\beta_{nb} e^{i\omega_{nd}\tau} |
| 70 | + - |
| 71 | + A^\beta_{ac}A^\alpha_{db}e^{i\omega_{bd}\tau} |
| 72 | + \right] |
| 73 | + \right\} \rho_{cd}(t), |
| 74 | +\end{aligned} |
| 75 | +``` |
| 76 | + |
| 77 | +where the "sec" above the summation symbol indicate summation of the secular terms which satisfy ``|\omega_{ab}-\omega_{cd}| \ll \tau_ {\rm decay}``. This is an almost-useful form of the master equation. The final step before arriving at the form of the Bloch-Redfield master equation that is implemented in `QuantumToolbox.jl`, involves rewriting the bath correlation function ``g(\tau)`` in terms of the noise-power spectrum of the environment ``S(\omega) = \int_{-\infty}^\infty d\tau e^{i\omega\tau} g(\tau)``: |
| 78 | + |
| 79 | +```math |
| 80 | + \int_0^\infty d\tau\; g_{\alpha\beta}(\tau) e^{i\omega\tau} = \frac{1}{2}S_{\alpha\beta}(\omega) + i\lambda_{\alpha\beta}(\omega), |
| 81 | +``` |
| 82 | + |
| 83 | +where ``\lambda_{ab}(\omega)`` is an energy shift that is neglected here. The final form of the Bloch-Redfield master equation is |
| 84 | + |
| 85 | +```math |
| 86 | + \frac{d}{dt}\rho_{ab}(t) |
| 87 | + = |
| 88 | + -i\omega_{ab}\rho_{ab}(t) |
| 89 | + + |
| 90 | + \sum_{c,d}^{\textrm{sec}}R_{abcd}\rho_{cd}(t), |
| 91 | +``` |
| 92 | + |
| 93 | +where |
| 94 | + |
| 95 | +```math |
| 96 | +\begin{aligned} |
| 97 | + R_{abcd} = -\frac{\hbar^{-2}}{2} \sum_{\alpha,\beta} |
| 98 | + \left\{ |
| 99 | + \delta_{bd}\sum_nA^\alpha_{an}A^\beta_{nc}S_{\alpha\beta}(\omega_{cn}) |
| 100 | + - |
| 101 | + A^\beta_{ac} A^\alpha_{db} S_{\alpha\beta}(\omega_{ca}) |
| 102 | + \right. \nonumber\\ |
| 103 | + + |
| 104 | + \left. |
| 105 | + \delta_{ac}\sum_n A^\alpha_{dn}A^\beta_{nb} S_{\alpha\beta}(\omega_{dn}) |
| 106 | + - |
| 107 | + A^\beta_{ac}A^\alpha_{db} S_{\alpha\beta}(\omega_{db}) |
| 108 | + \right\}, |
| 109 | +\end{aligned} |
| 110 | +``` |
| 111 | + |
| 112 | +is the Bloch-Redfield tensor. |
| 113 | + |
| 114 | +The Bloch-Redfield master equation in this form is suitable for numerical implementation. The input parameters are the system Hamiltonian ``\hat{H}_{\textrm{S}}``, the system operators through which the environment couples to the system ``\hat{A}_\alpha``, and the noise-power spectrum ``S_{\alpha\beta}(\omega)`` associated with each system-environment interaction term. |
| 115 | + |
| 116 | +To simplify the numerical implementation we often assume that ``\hat{A}_\alpha`` are Hermitian and that cross-correlations between different environment operators vanish, resulting in |
| 117 | + |
| 118 | +```math |
| 119 | +\begin{aligned} |
| 120 | + R_{abcd} = -\frac{\hbar^{-2}}{2} \sum_{\alpha} |
| 121 | + \left\{ |
| 122 | + \delta_{bd}\sum_nA^\alpha_{an}A^\alpha_{nc}S_{\alpha}(\omega_{cn}) |
| 123 | + - |
| 124 | + A^\alpha_{ac} A^\alpha_{db} S_{\alpha}(\omega_{ca}) |
| 125 | + \right. \nonumber\\ |
| 126 | + + |
| 127 | + \left. |
| 128 | + \delta_{ac}\sum_n A^\alpha_{dn}A^\alpha_{nb} S_{\alpha}(\omega_{dn}) |
| 129 | + - |
| 130 | + A^\alpha_{ac}A^\alpha_{db} S_{\alpha}(\omega_{db}) |
| 131 | + \right\}. |
| 132 | +\end{aligned} |
| 133 | +``` |
| 134 | + |
| 135 | +## [Bloch-Redfield master equation in `QuantumToolbox.jl`](@id Bloch-Redfield-master-equation-in-QuantumToolbox-jl) |
| 136 | + |
| 137 | +### Preparing the Bloch-Redfield tensor |
| 138 | + |
| 139 | +In `QuantumToolbox.jl`, the Bloch-redfield master equation can be calculated using the function [`bloch_redfield_tensor`](@ref). It takes two mandatory arguments: The system Hamiltonian ``\hat{H}`` and a nested list `a_ops` consist of tuples as `(A, spec)` with `A::QuantumObject` being the [`Operator`](@ref) ``\hat{A}_\alpha`` and `spec::Function` being the spectral density function ``S_\alpha(\omega)``. |
| 140 | + |
| 141 | +It is possible to also get the ``\alpha``-th term for the bath directly using [`brterm`](@ref). This function takes only one Hermitian coupling operator ``\hat{A}_\alpha`` and spectral response function ``S_\alpha(\omega)``. |
| 142 | + |
| 143 | +To illustrate how to calculate the Bloch-Redfield tensor, let's consider a two-level atom |
| 144 | + |
| 145 | +```math |
| 146 | + \hat{H}_{\textrm{S}} = -\frac{1}{2}\Delta\hat{\sigma}_x - \frac{1}{2}\varepsilon_0\hat{\sigma}_z |
| 147 | +``` |
| 148 | + |
| 149 | +```@setup brmesolve |
| 150 | +using QuantumToolbox |
| 151 | +
|
| 152 | +using CairoMakie |
| 153 | +CairoMakie.enable_only_mime!(MIME"image/svg+xml"()) |
| 154 | +``` |
| 155 | + |
| 156 | +```@example brmesolve |
| 157 | +Δ = 0.2 * 2π |
| 158 | +ε0 = 1.0 * 2π |
| 159 | +γ1 = 0.5 |
| 160 | +
|
| 161 | +H = -Δ/2.0 * sigmax() - ε0/2 * sigmaz() |
| 162 | +
|
| 163 | +ohmic_spectrum(ω) = (ω == 0.0) ? γ1 : γ1 / 2 * (ω / (2 * π)) * (ω > 0.0) |
| 164 | +
|
| 165 | +R, U = bloch_redfield_tensor(H, [(sigmax(), ohmic_spectrum)]) |
| 166 | +
|
| 167 | +R |
| 168 | +``` |
| 169 | + |
| 170 | +Note that it is also possible to add Lindblad dissipation superoperators in the Bloch-Refield tensor by passing the operators via the third argument `c_ops` like you would in the [`mesolve`](@ref) or [`mcsolve`](@ref) functions. For convenience, when the keyword argument `fock_basis = false`, the function [`bloch_redfield_tensor`](@ref) also returns the basis transformation operator `U`, the eigen vector matrix, since they are calculated in the process of generating the Bloch-Redfield tensor `R`, and the `U` are usually needed again later when transforming operators between the laboratory basis and the eigen basis. The tensor can be obtained in the laboratory basis by setting `fock_basis = true`, in that case, the transformation operator `U` is not returned. |
| 171 | + |
| 172 | +### Time evolution |
| 173 | + |
| 174 | +The evolution of a wave function or density matrix, according to the Bloch-Redfield master equation, can be calculated using the function [`mesolve`](@ref) with Bloch-Refield tensor `R` in the laboratory basis instead of a [`liouvillian`](@ref). For example, to evaluate the expectation values of the ``\hat{\sigma}_x``, ``\hat{\sigma}_y``, and ``\hat{\sigma}_z`` operators for the example above, we can use the following code: |
| 175 | + |
| 176 | +```@example brmesolve |
| 177 | +Δ = 0.2 * 2 * π |
| 178 | +ϵ0 = 1.0 * 2 * π |
| 179 | +γ1 = 0.5 |
| 180 | +
|
| 181 | +H = - Δ/2.0 * sigmax() - ϵ0/2.0 * sigmaz() |
| 182 | +
|
| 183 | +ohmic_spectrum(ω) = (ω == 0.0) ? γ1 : γ1 / 2 * (ω / (2 * π)) * (ω > 0.0) |
| 184 | +
|
| 185 | +a_ops = ((sigmax(), ohmic_spectrum),) |
| 186 | +e_ops = [sigmax(), sigmay(), sigmaz()] |
| 187 | +
|
| 188 | +# same initial random ket state in QuTiP doc |
| 189 | +ψ0 = Qobj([ |
| 190 | + 0.05014193+0.66000276im, |
| 191 | + 0.67231376+0.33147603im |
| 192 | +]) |
| 193 | +
|
| 194 | +tlist = LinRange(0, 15.0, 1000) |
| 195 | +sol = brmesolve(H, ψ0, tlist, a_ops, e_ops=e_ops) |
| 196 | +expt_list = real(sol.expect) |
| 197 | +
|
| 198 | +# plot the evolution of state on Bloch sphere |
| 199 | +sphere = Bloch() |
| 200 | +add_points!(sphere, [expt_list[1,:], expt_list[2,:], expt_list[3,:]]) |
| 201 | +sphere.vector_color = ["red"] |
| 202 | +
|
| 203 | +add_vectors!(sphere, [Δ, 0, ϵ0] / √(Δ^2 + ϵ0^2)) |
| 204 | +
|
| 205 | +fig, _ = render(sphere) |
| 206 | +fig |
| 207 | +``` |
| 208 | + |
| 209 | +The two steps of calculating the Bloch-Redfield tensor `R` and evolving according to the corresponding master equation can be combined into one by using the function [`brmesolve`](@ref), in addition to the same arguments as [`mesolve`](@ref) and [`mcsolve`](@ref), the nested list of operator-spectrum tuple should be given under `a_ops`. |
| 210 | + |
| 211 | +```@example brmesolve |
| 212 | +sol = brmesolve(H, ψ0, tlist, ((sigmax(),ohmic_spectrum),); e_ops=e_ops) |
| 213 | +``` |
| 214 | + |
| 215 | +The resulting `sol` is of the `struct` [`TimeEvolutionSol`](@ref) as [`mesolve`](@ref). |
| 216 | + |
| 217 | +!!! note "Secular cutoff" |
| 218 | + While the code example simulates the Bloch-Redfield equation in the secular approximation, `QuantumToolbox`'s implementation allows the user to simulate the non-secular version of the Bloch-Redfield equation by setting `sec_cutoff=-1`, as well as do a partial secular approximation by setting it to a `Float64` , this float number will become the cutoff for the summation (``\sum_{c,d}^{\textrm{sec}}``) in the previous equations, meaning that terms with ``\omega_{ab} - \omega_{cd}`` greater than the `sec_cutoff` will be neglected. Its default value is `0.1` which corresponds to the secular approximation. |
| 219 | + |
| 220 | +For example, the command |
| 221 | + |
| 222 | +```julia |
| 223 | +sol = brmesolve(H, ψ0, tlist, ((sigmax(),ohmic_spectrum),); e_ops=e_ops, sec_cutoff=-1) |
| 224 | +``` |
| 225 | + |
| 226 | +will simulate the same example as above without the secular approximation. |
| 227 | + |
| 228 | +!!! warning "Secular cutoff" |
| 229 | + Using the non-secular version may lead to negativity issues. |
0 commit comments