Skip to content

Commit 58d788b

Browse files
committed
follow seggestion from #14
1 parent 498ab63 commit 58d788b

File tree

1 file changed

+14
-14
lines changed
  • QuantumToolbox.jl/time_evolution

1 file changed

+14
-14
lines changed

QuantumToolbox.jl/time_evolution/rabi.qmd

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Vacuum Rabi oscillation"
33
author: Li-Xun Cai
4-
date: 2025-01-14 # last update (keep this comment as a reminder)
4+
date: 2025-01-17 # last update (keep this comment as a reminder)
55

66
engine: julia
77
---
@@ -28,13 +28,13 @@ where
2828
with
2929

3030
- $\omega_\text{a}$: Frequency of the two-level atom
31-
- $\omega_\text{c}$: Frequency of the cavity's EM mode (This is not specified whether to be in resonance with the atom or not.)
31+
- $\omega_\text{c}$: Frequency of the cavity's electromagnetic mode
3232
- $\Omega$ : Coupling strength between the atom and the cavity
3333
- $\hat{\sigma}_z$ : Pauli-$Z$ matrix. Equivalent to $|e\rangle\langle e| - |g\rangle\langle g|$
3434
- $\hat{a}$ : Annihilation operator of single-mode cavity <!-- $N$-truncated -->
3535
- $\hat{\sigma}$ : Lowering operator of atom. Equivalent to $|g\rangle\langle e|$
3636

37-
By applying [rotating wave approximation (RWA)](https://en.wikipedia.org/wiki/Rotating-wave_approximation), the counter rotating terms ($\hat{\sigma} \cdot \hat{a}$ and its Hermitian conjugate), which rotate considerably faster than the others in the interaction picture, are ignored, yielding
37+
By applying [rotating wave approximation (RWA)](https://en.wikipedia.org/wiki/Rotating-wave_approximation), the counter rotating terms ($\hat{\sigma} \cdot \hat{a}$ and its Hermitian conjugate) are ignored, yielding
3838

3939
$$
4040
\hat{H}_\text{tot} \approx \hat{H}_{\text{a}} + \hat{H}_{\text{c}} + \Omega \left( \hat{\sigma} \cdot \hat{a}^\dagger + \hat{\sigma}^\dagger \cdot \hat{a} \right)
@@ -44,9 +44,8 @@ $$
4444

4545
##### import:
4646
```{julia}
47-
using QuantumToolbox
48-
import QuantumToolbox: ⊗, sigmaz, sigmam, destroy, qeye, basis, fock, n_thermal, mesolve, sesolve, versioninfo
49-
using CairoMakie
47+
import QuantumToolbox: sigmaz, sigmam, destroy, qeye, basis, fock,
48+
⊗, n_thermal, sesolve, mesolve
5049
import CairoMakie: Figure, Axis, lines!, axislegend, xlims!, display
5150
```
5251

@@ -72,7 +71,7 @@ print(Htot)
7271
## Isolated case
7372
For the case of JC model being isolated, i.e., no interaction with the surrounding environment, the time-evolution is governed solely by Schrödinger equation $\hat{H}|\psi(t)\rangle = \partial_t|\psi(t)\rangle$. Using `QuantumToolbox.sesolve` is ideal for pure state evolution.
7473

75-
For the context of [Rabi problem](https://en.wikipedia.org/wiki/Rabi_problem), we set the initial state $\psi_0 = |e\rangle \otimes |0\rangle$ where $|e\rangle$ is the excited state of atom and $|0\rangle$ is the vacuum state of cavity.
74+
For the context of [Rabi problem](https://en.wikipedia.org/wiki/Rabi_problem), we set the initial state $\psi_0 = |e\rangle \otimes |0\rangle$, where $|e\rangle$ is the excited state of atom and $|0\rangle$ is the vacuum state of cavity.
7675

7776
```{julia}
7877
e_ket = basis(2,0)
@@ -115,9 +114,9 @@ In the above plot, the behaviour of the energy exchange between the atom and the
115114

116115
## Dissipative case
117116

118-
In contrast to isolated evolution, a factual system interacts with its surrounding environments, resulting in energy/particle exchange. We are currently interested in observing JC model's Rabi oscillation with the addition of interaction with the external EM field.
117+
In contrast to isolated evolution, a factual system interacts with its surrounding environments, resulting in energy/particle exchange. We are currently interested in observing JC model's Rabi oscillation with the addition of interaction with the external thermal field.
119118

120-
We start by reviewing the interaction Hamiltonians between the EM environment and atom/cavity
119+
We start by reviewing the interaction Hamiltonians between the thermal field and atom/cavity
121120

122121
- Atom: $$
123122
\hat{H}_{\text{a}}^\text{int} = \sum_l \alpha_l \left( \hat{b}_l + \hat{b}_l^\dagger \right) \left( \hat{\sigma} + \hat{\sigma}^\dagger \right)
@@ -132,7 +131,7 @@ where for the $l$-th mode
132131
- $\beta_l$ is the coupling strength with the cavity
133132
- $\hat{b}_l$ is the annihilation operator
134133

135-
Following the RWA approach previously mentioned and the standard procedure of [Born-Markovian approximation](https://en.wikiversity.org/wiki/Open_Quantum_Systems/The_Quantum_Optical_Master_Equation), we obtain $\kappa$, the cavity dissipation rate, and $\gamma$, the atom dissipation rate. Therefore, the time evolution of the dissipative JC model can be described by the [Lindblad master equation](https://en.wikipedia.org/wiki/Lindbladian)
134+
Follow the aforementioned RWA and the standard procedure of [Born-Markovian approximation](https://en.wikiversity.org/wiki/Open_Quantum_Systems/The_Quantum_Optical_Master_Equation), we obtain $\kappa$, the cavity dissipation rate, and $\gamma$, the atom dissipation rate. Therefore, the time evolution of the dissipative JC model can be described by the [Lindblad master equation](https://en.wikipedia.org/wiki/Lindbladian)
136135

137136
$$
138137
\dot{\hat{\rho}} = -\frac{i}{\hbar} [\hat{H}, \hat{\rho}] + \sum_{i = 1}^4 \mathcal{D}[\sqrt{\Gamma_i} \hat{S}_i]\left(\hat{\rho}\right)
@@ -147,7 +146,7 @@ where $\sqrt{\Gamma_i} \hat{S}_i$ are the collapse operators, given by
147146
|3|$\gamma \cdot n(\omega_a, T)$|$\hat{\sigma}^\dagger$|
148147
|4|$\gamma \cdot [1 + n(\omega_a, T)]$|$\hat{\sigma}$|
149148

150-
with $n(\omega, T)$ being the Bose-Einstein distribution for the EM environment and
149+
with $n(\omega, T)$ being the Bose-Einstein distribution of the thermal field and
151150
$$
152151
\mathcal{D}[\hat{\mathcal{O}}]\left(\cdot\right) = \hat{\mathcal{O}} \left(\cdot\right) \hat{\mathcal{O}}^\dagger - \frac{1}{2} \{ \hat{\mathcal{O}}^\dagger \hat{\mathcal{O}}, \cdot \}
153152
$$
@@ -171,7 +170,7 @@ cop_ls(_γ, _κ, _KT) = (
171170
# use the same ψ0, tlist, and eop_ls from isolated case
172171
γ = 4e-3
173172
κ = 7e-3
174-
KT = 0 # for theoretical vacuum EM field
173+
KT = 0 # thermal field at zero temperature
175174
176175
# `mesolve()` only has one additional keyword argument `c_ops` from `sesolve()`
177176
sol_me = mesolve(Htot, ψ0, tlist, cop_ls(γ, κ, KT), e_ops = eop_ls)
@@ -199,7 +198,7 @@ axislegend(ax_me; position = :rt, labelsize = 15)
199198
display(fig_me);
200199
```
201200

202-
From the above example, one can see that the dissipative system is losing energy over time and asymptoting to zero. We can further consider the near-vacuum environment with finite temperature.
201+
From the above example, one can see that the dissipative system is losing energy over time and asymptoting to zero. We can further consider the thermal field with finite temperature.
203202

204203
```{julia}
205204
sol_me_ = mesolve(Htot, ψ0, tlist, cop_ls(γ, κ, 0.3 * ωa), e_ops = eop_ls) # replace KT with finite temperature
@@ -221,10 +220,11 @@ lines!(ax_me_, tlist, e_me_, label = L"$P_e$")
221220
axislegend(ax_me_; position = :rt, labelsize = 15)
222221
display(fig_me_);
223222
```
224-
Despite the asymptotic behaviour persisting, one can see that they no longer approach zero and instead find a steady condition above zero. That is, the system eventually becomes thermalized by the environment.
223+
Despite the asymptotic behaviour persisting, one can see that they no longer approach zero and instead find a steady condition above zero. That is, the system is thermalized by the environment.
225224

226225
## Version Information
227226
```{julia}
227+
import QuantumToolbox
228228
QuantumToolbox.versioninfo()
229229
```
230230

0 commit comments

Comments
 (0)