You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials-v5/quantum-system/JCM_Tutorial.md
+26-12Lines changed: 26 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,13 +75,16 @@ In realistic systems, both the cavity and atom experience losses:
75
75
76
76
These effects are modeled using Lindblad collapse operators in the master equation formalism.
77
77
78
+
**Note:** The use of local Lindblad collapse operators is usually valid only in the weak and strong coupling regime (when the interaction strength is similar to or large than the dissipation rates). However, in the ultra-strong coupling regimes, when the interaction approaches the (bare) cavity and/or atomic frequencies, unphysical effects like loss of energy conservation can occur, it is more appropriate to consider using the Bloch-Redfield solver. This will not be described here, however.
79
+
78
80
### Package Imports
79
81
80
82
Let's start by importing the necessary libraries:
81
83
82
84
```python
83
85
import matplotlib.pyplot as plt
84
86
import numpy as np
87
+
from qutip.visualization import plot_energy_levels
85
88
from qutip import (
86
89
about,
87
90
basis,
@@ -100,8 +103,11 @@ from qutip import (
100
103
101
104
### Why Build a Quantum System Library?
102
105
103
-
When working with quantum systems in QuTiP, researchers often find themselves writing repetitive code to construct Hamiltonians and operators. Consider the conventional approach to building a Jaynes-Cummings model,
104
-
refer to the conventional construction [here](https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v5/lectures/Lecture-1-Jaynes-Cumming-model.ipynb).
106
+
When working with quantum systems in QuTiP, researchers frequently encounter the same challenge: writing repetitive boilerplate code to construct Hamiltonians and operators for well-known models. The conventional approach to building a Jaynes-Cummings system involves manually creating tensor products, carefully ordering operators, and handling dissipation - a process that's both time-consuming and error-prone.
107
+
108
+
To illustrate this complexity, you can examine the traditional QuTiP construction approach in this [detailed tutorial](https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v5/lectures/Lecture-1-Jaynes-Cumming-model.ipynb), which demonstrates the many steps required for a complete implementation.
109
+
110
+
This repetitive workflow motivated us to develop a more efficient solution through standardized factory functions.
105
111
106
112
107
113
### Solution: Factory Functions
@@ -122,7 +128,7 @@ Let's explore how quantum system library simplifies working with the Jaynes-Cumm
122
128
### Example 1: Basic Resonant System
123
129
124
130
125
-
The first example demonstrates the simplest case of the Jaynes-Cummings model: a resonant system where the cavity frequency and atomic transition frequency are identical ($\omega_c = \omega_a = 1.0$). This resonance condition maximizes the coupling efficiency between the atom and cavity field. We choose a moderate coupling strength ($g = 0.1$) relative to the frequencies, placing us in the weak-to-intermediate coupling regime. The cavity Fock space is truncated at 5 photon states, which is sufficient for most dynamics when starting from low-energy initial states. Notice how the `jaynes_cummings` function creates the entire system with a single line, no need to manually construct tensor products or worry about operator ordering.
131
+
The first example demonstrates the simplest case of the Jaynes-Cummings model: a resonant system where the cavity frequency and atomic transition frequency are identical ($\omega_c = \omega_a = 1.0$). This resonance condition maximizes the coupling efficiency between the atom and cavity field. We choose a moderate coupling strength ($g = 0.1$) relative to the frequencies, placing us in the intermediate coupling regime. The cavity Fock space is truncated at 5 photon states, which is sufficient for most dynamics when starting from low-energy initial states. Notice how the `jaynes_cummings` function creates the entire system with a single line, no need to manually construct tensor products or worry about operator ordering.
126
132
127
133
```python
128
134
# Example 1: Basic resonant system
@@ -201,6 +207,14 @@ print(f"First few eigenvalues: {eigenvals[:5]}")
@@ -214,7 +228,7 @@ The Rabi frequency depends on:
214
228
- The number of photons in the cavity
215
229
- The detuning between atom and cavity
216
230
217
-
For an initially excited atom and empty cavity, the Rabi frequency is simply $g$.
231
+
For an initially excited atom and empty cavity on resonance, the Rabi frequency is simply $g$.
218
232
219
233
### Integration with QuTiP Solvers
220
234
@@ -477,7 +491,7 @@ plt.show()
477
491
The thermal analysis demonstrates that increasing temperature leads to higher steady-state cavity occupation, with the system reaching thermal equilibrium with its environment. At high thermal photon numbers ($n_{th} = 1.0$), the steady-state cavity population approaches the thermal value, while atomic excitation remains finite due to thermal activation.
478
492
479
493
480
-
## Vacuum Rabi Splitting
494
+
## Rabi Splitting
481
495
482
496
One of the most important phenomena in cavity QED is vacuum Rabi splitting, the splitting of energy levels due to strong coupling between atom and cavity, even when no photons are present. To observe this phenomenon clearly, we use spectroscopic techniques to examine the power spectrum of cavity emission. We set the system parameters in appropriate units with $\omega_c = \omega_a = 2\pi$ (natural frequency units), moderate coupling $g = 0.05 \times 2\pi$, and include realistic dissipation rates to model experimental conditions. We also add thermal photons ($n_{th} = 0.25$) to simulate finite temperature effects that are always present in real experiments.
The power spectrum clearly reveals the characteristic double-peak structure of vacuum Rabi splitting, with the two peaks separated by approximately $2g = 0.1 \times 2\pi \approx 0.628$ frequency units. This splitting occurs even at the quantum vacuum level, demonstrating the fundamental quantum nature of light-matter interactions in cavity QED systems.
537
+
The power spectrum clearly reveals the characteristic double-peak structure of Rabi splitting, with the two peaks separated by approximately $2g = 0.1 \times 2\pi \approx 0.628$ frequency units. This splitting occurs even at the quantum vacuum level, demonstrating the fundamental quantum nature of light-matter interactions in cavity QED systems.
524
538
525
539
526
540
## Conclusion
527
541
528
-
This tutorial has demonstrated the power and versatility of the Jaynes-Cummings model as a foundation for understanding cavity quantum electrodynamics. The quantum system library provides a streamlined approach to exploring this rich physics, from basic Rabi oscillations to advanced phenomena like vacuum Rabi splitting. We've seen how detuning modifies energy exchange efficiency, how dissipation fundamentally alters system dynamics, and how thermal effects establish realistic steady states. The library's integration with QuTiP solvers enables rapid exploration of parameter spaces while maintaining theoretical rigor. These tools and insights form the basis for understanding more complex quantum optical systems and advancing quantum technologies in areas ranging from quantum computing to precision sensing.
542
+
This tutorial has demonstrated the power and versatility of the Jaynes-Cummings model as a foundation for understanding cavity quantum electrodynamics. The quantum system library provides a streamlined approach to exploring this rich physics, from basic Rabi oscillations to advanced phenomena like Rabi splitting. We've seen how detuning modifies energy exchange efficiency, how dissipation fundamentally alters system dynamics, and how thermal effects establish realistic steady states. The library's integration with QuTiP solvers enables rapid exploration of parameter spaces while maintaining theoretical rigor. These tools and insights form the basis for understanding more complex quantum optical systems and advancing quantum technologies in areas ranging from quantum computing to precision sensing.
0 commit comments