QO-01 — Classical & Quantized Light — Modes, Fock & Coherent States

Quantum Optics trunk · QO/QO-01_classical_quantized_light · open in the Teaching Network

A beam of light is a set of field modes; classically each is an oscillation with a complex amplitude $\alpha$ (~EM-15). Quantum optics promotes that amplitude to ladder operators, so one mode is a quantum harmonic oscillator (~QM-09, bridge B6): $H=\hbar\omega(a^\dagger a+\tfrac12)$, $[a,a^\dagger]=1$, number operator $n=a^\dagger a$, energies $(n+\tfrac12)\hbar\omega$ with a vacuum zero-point $\tfrac12\hbar\omega$. Its eigenstates are the Fock (number) states $|n\rangle$ ($n$ photons): orthonormal, $a|n\rangle=\sqrt n\, |n-1\rangle$, $a^\dagger|n\rangle=\sqrt{n+1}\,|n+1\rangle$, with a sharp photon number but undefined phase. The quadratures $X=(a+a^\dagger)/2$, $P=(a-a^\dagger)/2i$ obey $[X,P]=i/2$, so the field has irreducible vacuum fluctuations $\Delta X\,\Delta P=\tfrac14$. The coherent states $|\alpha\rangle=e^{-|\alpha|^2/2}\sum_n \alpha^n/\sqrt{n!}\,|n\rangle$ are the eigenstates of $a$ ($a|\alpha\rangle=\alpha|\alpha\rangle$); they have Poissonian photon statistics ($\langle n\rangle=|\alpha|^2$, $\Delta n=\sqrt{\langle n\rangle} =|\alpha|$, Mandel $Q=0$) and the same minimum-uncertainty, vacuum-level noise as $|0\rangle$ — the "most classical" states, and the model for an ideal laser field and for the pump/Stokes fields of the SBS work this trunk feeds. The code builds $a,a^\dagger,n$ as matrices in a truncated Fock basis and verifies every one of these claims numerically.

Key equations

\[\mathbf E(\mathbf r,t)=\mathcal E_0\big(\alpha\,e^{-i\omega t}+\alpha^*e^{+i\omega t}\big)\,\mathbf u(\mathbf r),\qquad \alpha\;\longrightarrow\;\hat a,\quad \alpha^*\;\longrightarrow\;\hat a^\dagger .\]
\[\hat H=\hbar\omega\Big(\hat a^\dagger\hat a+\tfrac12\Big)=\hbar\omega\Big(\hat n+\tfrac12\Big),\qquad [\hat a,\hat a^\dagger]=1 .\]
\[\hat a\,|n\rangle=\sqrt{n}\,|n-1\rangle,\qquad \hat a^\dagger|n\rangle=\sqrt{n+1}\,|n+1\rangle,\qquad \hat a|0\rangle=0 .\]
\[|n\rangle=\frac{(\hat a^\dagger)^n}{\sqrt{n!}}\,|0\rangle,\qquad \langle m|n\rangle=\delta_{mn},\qquad E_n=\hbar\omega\Big(n+\tfrac12\Big).\]
\[\hat X=\frac{\hat a+\hat a^\dagger}{2},\qquad \hat P=\frac{\hat a-\hat a^\dagger}{2i},\qquad [\hat X,\hat P]=\frac{i}{2}\ \Rightarrow\ \Delta X\,\Delta P\ge\frac14 .\]
\[\langle0|(\Delta\hat X)^2|0\rangle=\langle0|(\Delta\hat P)^2|0\rangle=\frac14,\qquad \Delta X\,\Delta P=\frac14 .\]
\[|\alpha\rangle=e^{-|\alpha|^2/2}\sum_{n=0}^{\infty}\frac{\alpha^n}{\sqrt{n!}}\,|n\rangle,\qquad \hat a\,|\alpha\rangle=\alpha\,|\alpha\rangle .\]
\[P(n)=\big|\langle n|\alpha\rangle\big|^2=e^{-|\alpha|^2}\frac{|\alpha|^{2n}}{n!},\qquad \langle\hat n\rangle=|\alpha|^2 .\]
\[(\Delta n)^2=\langle\hat n\rangle=|\alpha|^2,\quad \Delta n=\sqrt{\langle\hat n\rangle}=|\alpha|,\qquad Q\equiv\frac{(\Delta n)^2-\langle\hat n\rangle}{\langle\hat n\rangle}=0 .\]

Figures

Photon-number distribution $P(n)$ from photon_distribution() for a coherent state $|\alpha\rangle$ ($\alpha=2$, blue) and a Fock state $|4\rangle$ (orange) of the SAME mean $\langle n\rangle=4$. The coherent bars match the closed-form Poisson $e^{-\langle n\rangle}\langle n\rangle^n/n!$ (circles) with $\Delta n=\sqrt{\langle n\rangle}$ and Mandel $Q=0$ — the 'most classical' light — while the Fock state is a single sharp spike, $\Delta n=0$, $Q=-1$ (sub-Poissonian, nonclassical).
Photon-number distribution $P(n)$ from photon_distribution() for a coherent state $|\alpha\rangle$ ($\alpha=2$, blue) and a Fock state $|4\rangle$ (orange) of the SAME mean $\langle n\rangle=4$. The coherent bars match the closed-form Poisson $e^{-\langle n\rangle}\langle n\rangle^n/n!$ (circles) with $\Delta n=\sqrt{\langle n\rangle}$ and Mandel $Q=0$ — the 'most classical' light — while the Fock state is a single sharp spike, $\Delta n=0$, $Q=-1$ (sub-Poissonian, nonclassical).
Quadrature variance $\mathrm{Var}\,X=\mathrm{Var}\,P$ from quadrature_variance() vs mean photon number. Coherent states (orange squares) and the vacuum all sit on the minimum-uncertainty floor $\tfrac14$, while Fock states $|n\rangle$ (blue) climb as $\frac{2n+1}{4}$: a perfectly sharp photon number ($\Delta n=0$) is paid for with large, isotropic quadrature (phase) noise — number-phase complementarity. The irreducible $\tfrac14$ is the field's zero-point fluctuation.
Quadrature variance $\mathrm{Var}\,X=\mathrm{Var}\,P$ from quadrature_variance() vs mean photon number. Coherent states (orange squares) and the vacuum all sit on the minimum-uncertainty floor $\tfrac14$, while Fock states $|n\rangle$ (blue) climb as $\frac{2n+1}{4}$: a perfectly sharp photon number ($\Delta n=0$) is paid for with large, isotropic quadrature (phase) noise — number-phase complementarity. The irreducible $\tfrac14$ is the field's zero-point fluctuation.

Example problems

P1. The mode is an oscillator: spectrum & zero-pointSZ §1.1

Starting from $H=\hbar\omega(a^\dagger a+\tfrac12)$, $[a,a^\dagger]=1$, and the existence of a lowest rung $a|0\rangle=0$, deduce the allowed energies and the ground-state (vacuum) energy — without solving any differential equation, exactly as in ~QM-09. Why is $E_0\neq0$, and what does $\tfrac12\hbar\omega$ mean for a mode containing no photons? Answer: $E_n=\hbar\omega(n+\tfrac12)$; $E_0=\tfrac12\hbar\omega$ is the zero-point energy — the field still fluctuates in vacuum (forced by $[a,a^\dagger]=1$). Check: number(8) is $\mathrm{diag}(0,\dots,7)$; energy(n) $=n+0.5$; zero_point_energy() $=0.5$.

Solution

Let $\hat n|n\rangle=n|n\rangle$. From $[\hat n,\hat a^\dagger]=\hat a^\dagger$ and $[\hat n,\hat a]=-\hat a$, the kets $\hat a^\dagger|n\rangle$ and $\hat a|n\rangle$ are again $\hat n$-eigenstates with eigenvalues $n\pm1$ — the photon ladder. Eigenvalues cannot go negative, since

\[\langle n|\hat n|n\rangle=\langle n|\hat a^\dagger\hat a|n\rangle=\lVert \hat a|n\rangle\rVert^2\ge0\ \Rightarrow\ n\ge0.\]

So lowering must terminate at a floor with $\hat a|0\rangle=0$, giving $\hat n|0\rangle=0$ and $E_0=\hbar\omega(0+\tfrac12)=\tfrac12\hbar\omega$. Raising with $\hat a^\dagger$ adds one photon at a time, so $n=0,1,2,\dots$ and $E_n=\hbar\omega(n+\tfrac12)$. The floor is nonzero because $[\hat a,\hat a^\dagger]=1$ forbids $\hat a|0\rangle$ and the energy from vanishing together: even with no photons the mode carries the vacuum energy $\tfrac12\hbar\omega$, the measurable zero-point fluctuation of the field. Matches number(8)$=\mathrm{diag}(0,\dots,7)$, energy(n)$=n+0.5$, and zero_point_energy()$=0.5$.

P2. Ladder relations and the vacuumSZ §1.2

Show $a|n\rangle=\sqrt n\,|n-1\rangle$, $a^\dagger|n\rangle=\sqrt{n+1}\,|n+1\rangle$, and that lowering terminates at $a|0\rangle=0$. Hence build $|n\rangle= (a^\dagger)^n/\sqrt{n!}\,|0\rangle$ and confirm orthonormality $\langle m|n\rangle =\delta_{mn}$. Answer: the $\sqrt n,\sqrt{n+1}$ factors come from normalising $a|n\rangle$, $a^\dagger|n\rangle$ (use $aa^\dagger=N+1$). Check: creation(12) @ fock_state(2,12) $=\sqrt3\,|3\rangle$ (entry $1.7321$ in slot 3); annihilation(12) @ fock_state(0,12) $=0$; and $\langle m|n\rangle=\delta_{mn}$ via fock_state dot products.

Solution

Since $\hat a^\dagger|n\rangle$ has number eigenvalue $n+1$, write $\hat a^\dagger|n\rangle=c_n|n+1\rangle$ and fix $|c_n|$ from the norm, using $\hat a\hat a^\dagger=\hat a^\dagger\hat a+[\hat a,\hat a^\dagger]=\hat n+1$:

\[\lVert \hat a^\dagger|n\rangle\rVert^2=\langle n|\hat a\hat a^\dagger|n\rangle=\langle n|(\hat n+1)|n\rangle=n+1,\]

so with the standard real-positive phase $\hat a^\dagger|n\rangle=\sqrt{n+1}\,|n+1\rangle$. Likewise $\lVert \hat a|n\rangle\rVert^2=\langle n|\hat a^\dagger\hat a|n\rangle=n$ gives $\hat a|n\rangle=\sqrt n\,|n-1\rangle$, and at $n=0$ the factor $\sqrt0$ kills the state: $\hat a|0\rangle=0$. Iterating the raising relation builds $|n\rangle=(\hat a^\dagger)^n/\sqrt{n!}\,|0\rangle$, and because the $|n\rangle$ are eigenstates of the Hermitian $\hat n$ with distinct eigenvalues they are orthogonal, $\langle m|n\rangle=\delta_{mn}$. Hence creation(12) @ fock_state(2,12)$=\sqrt3\,|3\rangle$ (the entry $\sqrt3=1.7321$ in slot $3$) and annihilation(12) @ fock_state(0,12)$=0$.

P3. The coherent state is an eigenstate of $a$SZ §2.2

For $|\alpha\rangle=e^{-|\alpha|^2/2}\sum_n \alpha^n/\sqrt{n!}\,|n\rangle$, apply $a$ term by term (using $a|n\rangle=\sqrt n|n-1\rangle$) and show $a|\alpha\rangle=\alpha|\alpha\rangle$. Where does the $e^{-|\alpha|^2/2}$ prefactor come from? Answer: it normalises the state, $\langle\alpha|\alpha\rangle=1$; shifting the summation index reproduces the same series times $\alpha$. Check: annihilation(60) @ coherent_state(2.0,60) equals 2.0 * coherent_state(2.0,60) to $\sim10^{-16}$ (the residual norm test_coherent_is_eigenstate_of_annihilation checks is $<10^{-9}$).

Solution

Apply $\hat a$ term by term with $\hat a|n\rangle=\sqrt n\,|n-1\rangle$; the $n=0$ term drops out:

\[\hat a|\alpha\rangle=e^{-|\alpha|^2/2}\sum_{n=1}^{\infty}\frac{\alpha^n}{\sqrt{n!}}\sqrt n\,|n-1\rangle=e^{-|\alpha|^2/2}\sum_{n=1}^{\infty}\frac{\alpha^n}{\sqrt{(n-1)!}}\,|n-1\rangle,\]

using $\sqrt n/\sqrt{n!}=1/\sqrt{(n-1)!}$. Relabel $m=n-1$ and pull out one factor of $\alpha$:

\[\hat a|\alpha\rangle=\alpha\,e^{-|\alpha|^2/2}\sum_{m=0}^{\infty}\frac{\alpha^m}{\sqrt{m!}}\,|m\rangle=\alpha\,|\alpha\rangle.\]

The prefactor is exactly the normalization, $\langle\alpha|\alpha\rangle=e^{-|\alpha|^2}\sum_n|\alpha|^{2n}/n!=e^{-|\alpha|^2}e^{|\alpha|^2}=1$. So $|\alpha\rangle$ is the eigenstate of $\hat a$ with eigenvalue $\alpha$, confirmed by annihilation(60) @ coherent_state(2.0,60)$=2.0\times$coherent_state(2.0,60) to a residual $\sim10^{-16}$ — well under the $10^{-9}$ the test allows.

P4. Poisson statistics and the Mandel $Q$SZ §2.3–2.4

From $P(n)=|\langle n|\alpha\rangle|^2$, derive the Poisson distribution $P(n)=e^{-|\alpha|^2}|\alpha|^{2n}/n!$ and show $\langle n\rangle=|\alpha|^2$, $(\Delta n)^2=|\alpha|^2$, hence $\Delta n=\sqrt{\langle n\rangle}$ and the Mandel parameter $Q=((\Delta n)^2-\langle n\rangle)/\langle n\rangle=0$. Answer: the variance equals the mean — the defining property of Poisson and of "classical-like" light. Check: for $\alpha=2$, mean_n $\approx4$, var_n $\approx4$, mandel_q $\approx0$; photon_distribution(coherent_state(2,60))[:7] matches $e^{-4}4^n/n!$.

Solution

From the coherent expansion $\langle n|\alpha\rangle=e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}$,

\[P(n)=|\langle n|\alpha\rangle|^2=e^{-|\alpha|^2}\frac{|\alpha|^{2n}}{n!},\]

the Poisson distribution with parameter $\lambda=|\alpha|^2$. Its mean and variance are both $\lambda$:

\[\langle n\rangle=\sum_n nP(n)=|\alpha|^2,\qquad (\Delta n)^2=\langle n^2\rangle-\langle n\rangle^2=|\alpha|^2,\]

the Poisson identity $\text{variance}=\text{mean}$. Hence $\Delta n=\sqrt{\langle n\rangle}=|\alpha|$ and the Mandel parameter $Q=((\Delta n)^2-\langle n\rangle)/\langle n\rangle=0$ — the boundary between classical-like and nonclassical light. For $\alpha=2$ ($\lambda=4$): mean_n$\approx4$, var_n$\approx4$, mandel_q$\approx0$, and photon_distribution(coherent_state(2,60))[:7]$=[0.0183,0.0733,0.1465,0.1954,0.1954,0.1563,0.1042]$ matches $e^{-4}4^n/n!$ term by term.

P5. Vacuum fluctuations and the uncertainty floorSZ §2.3

With $X=(a+a^\dagger)/2$ and $P=(a-a^\dagger)/2i$, compute $[X,P]$ and hence the bound $\Delta X\,\Delta P\ge\tfrac14$. Evaluate $\langle X^2\rangle,\langle P^2\rangle$ in the vacuum $|0\rangle$ (use $a|0\rangle=0$) and show the bound is saturated with equal noise. Answer: $[X,P]=i/2$; $\langle0|X^2|0\rangle= \langle0|P^2|0\rangle=\tfrac14$, so $\Delta X\,\Delta P=\tfrac14$. Check: quadrature_variance(fock_state(0,40)) $=(0.25,0.25)$; the commutator commutator(quadrature_x(N),quadrature_p(N)) is $\tfrac{i}{2}\mathbb 1$ on the interior.

Solution

With $\hat X=(\hat a+\hat a^\dagger)/2$ and $\hat P=(\hat a-\hat a^\dagger)/2i$, expand the commutator using $[\hat a,\hat a^\dagger]=1$:

\[[\hat X,\hat P]=\frac{1}{4i}\big[\hat a+\hat a^\dagger,\ \hat a-\hat a^\dagger\big]=\frac{1}{4i}\big(-[\hat a,\hat a^\dagger]+[\hat a^\dagger,\hat a]\big)=\frac{-2}{4i}=\frac{i}{2},\]

so the Heisenberg bound is $\Delta X\,\Delta P\ge\tfrac12|\langle[\hat X,\hat P]\rangle|=\tfrac14$. In the vacuum $\hat a|0\rangle=0$, so $\langle X\rangle=\langle P\rangle=0$ and only the $\hat a\hat a^\dagger$ term survives the squares:

\[\langle0|\hat X^2|0\rangle=\tfrac14\langle0|\hat a\hat a^\dagger|0\rangle=\tfrac14\langle0|(\hat a^\dagger\hat a+1)|0\rangle=\tfrac14,\]

and identically $\langle0|\hat P^2|0\rangle=\tfrac14$. Thus $\Delta X\,\Delta P=\tfrac14$ — the bound is saturated with equal noise. This matches quadrature_variance(fock_state(0,40))$=(0.25,0.25)$, with commutator(quadrature_x(N),quadrature_p(N))$=\tfrac{i}{2}\mathbb 1$ on the interior.

P6. What makes coherent light "the most classical"SZ §2.3–2.4

Show that a coherent state $|\alpha\rangle$ has the same quadrature noise as the vacuum, $\Delta X=\Delta P=\tfrac12$ (it is a displaced vacuum), whereas a Fock state $|n\rangle$ has the larger isotropic noise $(2n+1)/4$ and is sub-Poissonian ($Q=-1$). Argue why $|\alpha\rangle$ — minimum-uncertainty and Poissonian — is the closest quantum state to a classical wave. Answer: $|\alpha\rangle$ saturates $\Delta X\Delta P=\tfrac14$ with equal, intensity-independent noise; $|n\rangle$ does not. Check: quadrature_variance(coherent_state(2,60)) $\approx(0.25,0.25)$; quadrature_variance(fock_state(3,60)) $=(1.75,1.75)$; mandel_q(fock_state(4,60)) $=-1$.

Solution

A coherent state has $\langle\hat a\rangle=\alpha$, $\langle\hat a^2\rangle=\alpha^2$, $\langle\hat a^\dagger\hat a\rangle=|\alpha|^2$, $\langle\hat a\hat a^\dagger\rangle=|\alpha|^2+1$. The displacement-dependent pieces cancel between $\langle\hat X^2\rangle$ and $\langle\hat X\rangle^2$:

\[\text{Var}\,\hat X=\tfrac14\langle(\hat a+\hat a^\dagger)^2\rangle-\langle\hat X\rangle^2=\tfrac14\big(\alpha^2+\alpha^{*2}+2|\alpha|^2+1\big)-\tfrac14\big(\alpha+\alpha^*\big)^2=\tfrac14,\]

and identically $\text{Var}\,\hat P=\tfrac14$, so $\Delta X=\Delta P=\tfrac12$ at the vacuum floor for any $\alpha$ — a displaced vacuum. A Fock state instead has $\langle n|\hat X^2|n\rangle=\tfrac14\langle n|(\hat a\hat a^\dagger+\hat a^\dagger\hat a)|n\rangle=\tfrac14(2n+1)$ with $\langle\hat X\rangle=0$, i.e. the larger isotropic noise $(2n+1)/4$, and being number-sharp it is sub-Poissonian with $Q=-1$. So $|\alpha\rangle$ is uniquely minimum-uncertainty and Poissonian — definite amplitude and phase at the lowest allowed noise — which is what "most classical" means. Confirmed by quadrature_variance(coherent_state(2,60))$\approx(0.25,0.25)$, quadrature_variance(fock_state(3,60))$=(1.75,1.75)$ (that is $(2\cdot3+1)/4$), and mandel_q(fock_state(4,60))$=-1$.

Run the worked code: cd QO/QO-01_classical_quantized_light/code && python3 quantized_light.py

QO-02 — Atom–Field Interaction — Rabi Oscillations & Jaynes–Cummings

Quantum Optics trunk · QO/QO-02_atom_field_interaction · open in the Teaching Network

One atom, one mode. A two-level atom ($\sigma_z=|e\rangle\langle e|-|g\rangle\langle g|$, $\sigma^\pm$) driven by a classical field undergoes Rabi oscillations: in the rotating-wave approximation the excited population is $P_e(t)=(\Omega^2/\Omega_R^2)\sin^2(\Omega_R t/2)$ with generalized Rabi frequency $\Omega_R=\sqrt{\Omega^2+\delta^2}$ — a complete inversion on resonance every $\Omega t=\pi$, returning at $\Omega t=2\pi$, but only a partial flop $\Omega^2/(\Omega^2+\delta^2)$ off resonance. Quantizing the field promotes this to the Jaynes–Cummings model $H=\hbar\omega_c a^\dagger a+\tfrac12\hbar\omega_a\sigma_z +\hbar g(a\sigma^++a^\dagger\sigma^-)$, whose conserved excitation number splits it into $2\times2$ blocks $\{|e,n\rangle,|g,n+1\rangle\}$. Their dressed states have energies $E_{n,\pm}=\hbar\omega_c(n+\tfrac12)\pm\tfrac12\hbar\sqrt{\delta^2+4g^2(n+1)}$, split by $2g\sqrt{n+1}$ — for $n=0$ the vacuum Rabi splitting $2g$, the cavity-QED hallmark in which even the vacuum lifts a degeneracy. Over a coherent field the atomic inversion $\langle\sigma_z\rangle(t)=\sum_n P_n\cos(2g\sqrt{n+1}\,t)$ collapses ($t_c\sim\sqrt2/g$) and then revives ($t_r\sim2\pi\sqrt{\bar n}/g$) — a purely quantum signature, absent for any classical field. Everything is built from $2\times2$ atom $\otimes$ $N$-level field matrices and checked: the closed-form Rabi formula against direct evolution, the dressed energies against eigh, and the collapse/revival against the Poisson sum.

Key equations

\[\sigma_z=|e\rangle\langle e|-|g\rangle\langle g|,\qquad \sigma^+=|e\rangle\langle g|,\qquad \sigma^-=|g\rangle\langle e|,\qquad H_A=\tfrac12\hbar\omega_a\,\sigma_z.\]
\[H_\text{int}=\hbar\,\Omega\cos(\omega_L t)\,(\sigma^++\sigma^-).\]
\[H_\text{RWA}=\tfrac12\hbar\big(\delta\,\sigma_z+\Omega\,\sigma_x\big),\qquad \delta=\omega_a-\omega_L,\quad \sigma_x=\sigma^++\sigma^-,\]
\[\boxed{\;P_e(t)=\frac{\Omega^2}{\Omega_R^2}\,\sin^2\!\Big(\frac{\Omega_R t}{2}\Big), \qquad \Omega_R=\sqrt{\Omega^2+\delta^2}\;}\]
\[\boxed{\;H=\hbar\omega_c\,a^\dagger a+\tfrac12\hbar\omega_a\,\sigma_z +\hbar g\big(a\,\sigma^++a^\dagger\sigma^-\big)\;}\]
\[H_n=\hbar\begin{pmatrix}\omega_c n+\tfrac12\omega_a & g\sqrt{n+1}\\ g\sqrt{n+1} & \omega_c(n+1)-\tfrac12\omega_a\end{pmatrix},\]
\[\boxed{\;E_{n,\pm}=\hbar\omega_c\!\Big(n+\tfrac12\Big) \pm\tfrac12\hbar\sqrt{\delta^2+4g^2(n+1)}\;},\qquad \delta=\omega_a-\omega_c,\]
\[E_{n,\pm}=\hbar\omega_c(n+1)-\tfrac12\hbar\delta'\pm \tfrac12\hbar\sqrt{\delta'^2+4g^2(n+1)} ,\]
\[\boxed{\;\langle\sigma_z\rangle(t)=\sum_{n=0}^{\infty}P_n\cos\!\big(2g\sqrt{n+1}\,t\big)\;}\]
\[t_\text{collapse}\sim\frac{\sqrt2}{g}\ \ (\text{independent of }\bar n),\qquad t_\text{revival}\sim\frac{2\pi\sqrt{\bar n}}{g}\ \ (\text{recurring at }k\,t_\text{revival}).\]

Figures

Semiclassical Rabi flopping $P_e(t)=(\Omega^2/\Omega_R^2)\sin^2(\Omega_R t/2)$ from rabi_excited_population for detunings $\delta=0,\Omega,2\Omega$. On resonance the atom fully inverts every $\Omega t=\pi$ ($\pi$-pulse) and returns at $2\pi$; off resonance the flop is faster ($\Omega_R=\sqrt{\Omega^2+\delta^2}$) but saturates at $\Omega^2/(\Omega^2+\delta^2)<1$ (dotted lines). Open circles are a genuine $e^{-iHt}|g\rangle$ evolution under two_level_hamiltonian, matching the closed form.
Semiclassical Rabi flopping $P_e(t)=(\Omega^2/\Omega_R^2)\sin^2(\Omega_R t/2)$ from rabi_excited_population for detunings $\delta=0,\Omega,2\Omega$. On resonance the atom fully inverts every $\Omega t=\pi$ ($\pi$-pulse) and returns at $2\pi$; off resonance the flop is faster ($\Omega_R=\sqrt{\Omega^2+\delta^2}$) but saturates at $\Omega^2/(\Omega^2+\delta^2)<1$ (dotted lines). Open circles are a genuine $e^{-iHt}|g\rangle$ evolution under two_level_hamiltonian, matching the closed form.
Atomic inversion $\langle\sigma_z\rangle(t)$ for an excited atom over a coherent field ($\bar n=|\alpha|^2=16$, resonant) from jcm_inversion (solid). Field quantization replaces the single Rabi tone by a Poisson sum of tones $2g\sqrt{n+1}$: they dephase, so the inversion COLLAPSES to zero on $t_c\sim\sqrt{2}/g$, then rephase into a partial REVIVAL near $t_r\sim2\pi\sqrt{\bar n}/g$ -- with no classical-field counterpart. Open circles are the independent closed-form Poisson sum (resonant_inversion_series).
Atomic inversion $\langle\sigma_z\rangle(t)$ for an excited atom over a coherent field ($\bar n=|\alpha|^2=16$, resonant) from jcm_inversion (solid). Field quantization replaces the single Rabi tone by a Poisson sum of tones $2g\sqrt{n+1}$: they dephase, so the inversion COLLAPSES to zero on $t_c\sim\sqrt{2}/g$, then rephase into a partial REVIVAL near $t_r\sim2\pi\sqrt{\bar n}/g$ -- with no classical-field counterpart. Open circles are the independent closed-form Poisson sum (resonant_inversion_series).

Example problems

P1. The two-level operatorsSZ §5.1; ~QM-11

With $|e\rangle=(1,0)^T$, $|g\rangle=(0,1)^T$, write $\sigma_z,\sigma^+,\sigma^-$ as $2\times2$ matrices and show $\sigma^+\sigma^-=|e\rangle\langle e|$, $\sigma^-\sigma^+=|g\rangle\langle g|$, $[\sigma^+,\sigma^-]=\sigma_z$, and $\{\sigma^+,\sigma^-\}=\mathbb 1$ — the qubit algebra of ~QM-11 with $\sigma^\pm=\tfrac12(\sigma_x\pm i\sigma_y)$. Check: sigma_plus @ sigma_minus $=\mathrm{diag}(1,0)$ and sigma_plus @ sigma_minus - sigma_minus @ sigma_plus $=$ sigma_z (test_atom_pauli_algebra).

Solution

With $|e\rangle=(1,0)^T,\ |g\rangle=(0,1)^T$ the outer products are read straight off:

\[\sigma^+=|e\rangle\langle g|=\begin{pmatrix}0&1\\0&0\end{pmatrix},\qquad \sigma^-=|g\rangle\langle e|=\begin{pmatrix}0&0\\1&0\end{pmatrix},\qquad \sigma_z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}.\]

Multiplying, $\sigma^+\sigma^-=\begin{pmatrix}1&0\\0&0\end{pmatrix}=|e\rangle\langle e|$ and $\sigma^-\sigma^+=\begin{pmatrix}0&0\\0&1\end{pmatrix}=|g\rangle\langle g|$ — the two level projectors. Subtracting gives $[\sigma^+,\sigma^-]=|e\rangle\langle e|-|g\rangle\langle g|=\sigma_z$; adding gives $\{\sigma^+,\sigma^-\}=|e\rangle\langle e|+|g\rangle\langle g|=\mathbb 1$. With $\sigma^\pm=\tfrac12(\sigma_x\pm i\sigma_y)$ these are exactly the spin-$\tfrac12$ ladder relations of ~QM-11. Hence sigma_plus @ sigma_minus$=\mathrm{diag}(1,0)$ and sigma_plus @ sigma_minus - sigma_minus @ sigma_plus$=$sigma_z.

P2. The resonant Rabi flopSZ §5.2

An atom starts in $|g\rangle$ and is driven on resonance ($\delta=0$). From $H_\text{RWA}=\tfrac12\Omega\,\sigma_x$ show the excited population is $P_e(t)=\sin^2(\Omega t/2)$: a complete inversion at $\Omega t=\pi$ (a "$\pi$-pulse") and a return to the ground state at $\Omega t=2\pi$. Check: rabi_excited_population(np.pi, 1.0, 0.0) $=1.0$ and rabi_excited_population(2*np.pi, 1.0, 0.0) $\approx 0$ (test_rabi_resonant_inversion_and_return).

Solution

On resonance $H_\text{RWA}=\tfrac12\Omega\sigma_x$, and since $\sigma_x^2=\mathbb 1$ the propagator is a rotation:

\[e^{-iHt}=e^{-i(\Omega t/2)\sigma_x}=\cos\tfrac{\Omega t}{2}\,\mathbb 1 -i\sin\tfrac{\Omega t}{2}\,\sigma_x.\]

Acting on $|g\rangle$ with $\sigma_x|g\rangle=|e\rangle$,

\[|\psi(t)\rangle=\cos\tfrac{\Omega t}{2}\,|g\rangle-i\sin\tfrac{\Omega t}{2}\,|e\rangle,\]

so $P_e=|\langle e|\psi\rangle|^2=\sin^2(\Omega t/2)$. At $\Omega t=\pi$ this is $\sin^2(\pi/2)=1$ (complete inversion — the $\pi$-pulse) and at $\Omega t=2\pi$ it is $\sin^2\pi=0$ (the return). Matching rabi_excited_population(np.pi, 1.0, 0.0)$=1.0$ and rabi_excited_population(2*np.pi, 1.0, 0.0)$\approx0$.

P3. Detuning: generalized Rabi frequency & saturationSZ §5.2

Repeat P2 with detuning $\delta\neq0$. Show the flop runs at $\Omega_R=\sqrt{\Omega^2+\delta^2}$ and the largest transfer is the saturated amplitude $\Omega^2/(\Omega^2+\delta^2)<1$ — the off-resonant atom never fully inverts. Check: generalized_rabi(1.0, 1.5) $=1.803$; the peak rabi_excited_population(np.pi/1.803, 1.0, 1.5) $=\Omega^2/\Omega_R^2=1/3.25=0.3077$ (test_rabi_detuned_saturation).

Solution

With detuning $H_\text{RWA}=\tfrac12(\delta\sigma_z+\Omega\sigma_x) =\tfrac12\Omega_R\,\hat n\!\cdot\!\vec\sigma$ is a spin in the tilted field $\hat n=(\Omega,0,\delta)/\Omega_R$, $\Omega_R=\sqrt{\Omega^2+\delta^2}$. The propagator $e^{-i(\Omega_R t/2)\hat n\cdot\vec\sigma}=\cos\tfrac{\Omega_R t}{2}\mathbb 1 -i\sin\tfrac{\Omega_R t}{2}\,\hat n\!\cdot\!\vec\sigma$ flips $|g\rangle\to|e\rangle$ with amplitude $\langle e|\hat n\!\cdot\!\vec\sigma|g\rangle=\Omega/\Omega_R$, so

\[P_e(t)=\frac{\Omega^2}{\Omega_R^2}\sin^2\!\frac{\Omega_R t}{2}.\]

The flop now runs at $\Omega_R>\Omega$ but its amplitude is capped at $\Omega^2/\Omega_R^2=\Omega^2/(\Omega^2+\delta^2)<1$, reached when $\Omega_R t=\pi$ — the off-resonant atom never fully inverts. For $\Omega=1,\delta=1.5$: $\Omega_R=\sqrt{3.25}=1.803$ and the peak is $1/3.25=0.3077$, i.e. generalized_rabi(1.0, 1.5)$=1.803$ and rabi_excited_population(np.pi/1.803, 1.0, 1.5)$=0.3077$.

P4. The rotating-wave approximationSZ §5.2.2–5.2.3

Expand $H_\text{int}=\hbar\Omega\cos(\omega_L t)(\sigma^++\sigma^-)$ in the interaction picture and identify the co-rotating ($e^{\pm i(\omega_a-\omega_L)t}$) and counter-rotating ($e^{\pm i(\omega_a+\omega_L)t}$) terms. Which does the RWA drop, and why is it valid for $\Omega,|\delta|\ll\omega_a$? Check: evolving $|g\rangle$ under two_level_hamiltonian(Omega, detuning) and projecting on $|e\rangle$ reproduces the closed-form rabi_excited_population to $10^{-9}$ across several $(\Omega,\delta)$ (test_rabi_matches_two_level_evolution).

Solution

In the interaction picture w.r.t. $H_A=\tfrac12\hbar\omega_a\sigma_z$ the ladder operators rotate, $\sigma^\pm(t)=e^{\pm i\omega_a t}\sigma^\pm$, and $\cos\omega_L t=\tfrac12(e^{i\omega_L t}+e^{-i\omega_L t})$, so

\[H_I(t)=\tfrac12\hbar\Omega\Big[\underbrace{\sigma^+e^{i\delta t}+\sigma^-e^{-i\delta t}}_{\text{co-rotating},\ \delta=\omega_a-\omega_L}+\underbrace{\sigma^+e^{i(\omega_a+\omega_L)t}+\sigma^-e^{-i(\omega_a+\omega_L)t}}_{\text{counter-rotating}}\Big].\]

The RWA drops the counter-rotating pair, which oscillate at $\omega_a+\omega_L\approx 2\omega_a$: over a Rabi period $\sim1/\Omega$ they average to nearly zero when $\Omega,|\delta|\ll\omega_a$ (the residue is the small Bloch–Siegert shift). What remains, in the frame rotating at $\omega_L$, is the static $H_\text{RWA}=\tfrac12(\delta\sigma_z+\Omega\sigma_x)$. Because nothing else is discarded, evolving $|g\rangle$ under two_level_hamiltonian and projecting on $|e\rangle$ reproduces the closed-form rabi_excited_population to $10^{-9}$.

P5. Jaynes–Cummings blocks & the conserved excitation numberSZ §6.1–6.2

For $H=\omega_c a^\dagger a+\tfrac12\omega_a\sigma_z+g(a\sigma^++a^\dagger\sigma^-)$, show $\hat N=a^\dagger a+|e\rangle\langle e|$ commutes with $H$, so the dynamics stay inside each doublet $\{|e,n\rangle,|g,n+1\rangle\}$, and compute the coupling $\langle e,n|H|g,n+1\rangle=g\sqrt{n+1}$. Check: jcm_hamiltonian(5,5.3,0.9,10) is Hermitian and commutes with $\hat N$ to $10^{-10}$ (test_jcm_hamiltonian_hermitian_and_excitation_conserved).

Solution

The free terms commute with $\hat N=a^\dagger a+\sigma^+\sigma^-$ trivially. For the interaction use $[a^\dagger a,a]=-a$ and $[\sigma^+\sigma^-,\sigma^+]=\sigma^+$ (since $|e\rangle\langle e|\,\sigma^+=\sigma^+$ but $\sigma^+|e\rangle\langle e|=0$):

\[[\hat N,a\sigma^+]=[a^\dagger a,a]\,\sigma^++a\,[\sigma^+\sigma^-,\sigma^+] =-a\sigma^++a\sigma^+=0,\]

and likewise $[\hat N,a^\dagger\sigma^-]=0$, so $[\hat N,H]=0$. The conserved $\hat N$ cannot mix different excitation numbers, and $a\sigma^+,\,a^\dagger\sigma^-$ connect only $|e,n\rangle\leftrightarrow|g,n+1\rangle$ (both with $\hat N=n+1$), so $H$ is block diagonal in those doublets. The off-diagonal element is

\[\langle e,n|H|g,n+1\rangle=g\,\langle n|a|n+1\rangle\,\langle e|\sigma^+|g\rangle =g\sqrt{n+1}.\]

This is why jcm_hamiltonian(5,5.3,0.9,10) comes out Hermitian and commutes with $\hat N$ to $10^{-10}$.

P6. Dressed states and the vacuum Rabi splittingSZ §6.2

Diagonalize the $2\times2$ block to get $E_{n,\pm}=\omega_c(n+\tfrac12)\pm\tfrac12\sqrt{\delta^2+4g^2(n+1)}$ and show the gap is $2g\sqrt{n+1}$ on resonance — for $n=0$ the vacuum Rabi splitting $2g$. Check: dressed_energies(n, ω_a−ω_c, g, ω_c) matches the eigenvalues of the block of jcm_hamiltonian; vacuum_rabi_splitting(1.0) $=2.0$ and the $n=1$ resonant gap is $2\sqrt2=2.828$ (test_dressed_energies_match_block_and_vacuum_rabi).

Solution

In the doublet $(|e,n\rangle,|g,n+1\rangle)$ the diagonal energies are $\omega_c n+\tfrac12\omega_a$ and $\omega_c(n+1)-\tfrac12\omega_a$, with off-diagonal $g\sqrt{n+1}$ from P5. Their half-sum is $\omega_c(n+\tfrac12)$ and their difference is $\delta=\omega_a-\omega_c$, so the block is

\[H_n=\omega_c\big(n+\tfrac12\big)\,\mathbb 1 +\tfrac12\begin{pmatrix}\delta & 2g\sqrt{n+1}\\ 2g\sqrt{n+1} & -\delta\end{pmatrix}.\]

The traceless part $\tfrac12(\delta\sigma_z+2g\sqrt{n+1}\,\sigma_x)$ has eigenvalues $\pm\tfrac12\sqrt{\delta^2+4g^2(n+1)}$, so

\[E_{n,\pm}=\omega_c\big(n+\tfrac12\big)\pm\tfrac12\sqrt{\delta^2+4g^2(n+1)}.\]

The gap $E_{n,+}-E_{n,-}=\sqrt{\delta^2+4g^2(n+1)}$ becomes $2g\sqrt{n+1}$ on resonance; at $n=0$ that is the vacuum Rabi splitting $2g$. For $g=1$ this gives vacuum_rabi_splitting(1.0)$=2.0$ and the $n=1$ gap $2\sqrt2=2.828$, matching the eigenvalues of jcm_hamiltonian's block.

P7. Collapse and revival over a coherent fieldSZ §6.2

Prepare $|e\rangle\otimes|\alpha\rangle$ on resonance. Show $\langle\sigma_z\rangle(t)=\sum_n P_n\cos(2g\sqrt{n+1}\,t)$ with Poissonian $P_n$, and estimate the collapse ($t_c\sim\sqrt2/g$) and revival ($t_r\sim2\pi\sqrt{\bar n}/g$) times. Why is a revival impossible for a classical field? Check: for $\alpha=4$ ($\bar n=16$), revival_time(1.0, 16.0) $=8\pi=25.13$; jcm_inversion is $\approx0$ at $t_r/2$ and revives to $\approx+0.44$ near $t_r$, matching resonant_inversion_series to $10^{-9}$ (test_collapse_and_revival).

Solution

On resonance the $|e,n\rangle$ component sits in the doublet with gap $2g\sqrt{n+1}$, so the atom started excited has each Fock weight oscillate as $\cos(2g\sqrt{n+1}\,t)$; weighting by the Poissonian $P_n=e^{-\bar n}\bar n^{\,n}/n!$,

\[\langle\sigma_z\rangle(t)=\sum_n P_n\cos\!\big(2g\sqrt{n+1}\,t\big).\]

Expanding $\sqrt{n+1}\approx\sqrt{\bar n}+(n-\bar n)/2\sqrt{\bar n}$ across the Poisson width $\sigma_n=\sqrt{\bar n}$, the tones dephase and the envelope collapses as $e^{-g^2t^2/2}$, i.e. $t_c\sim\sqrt2/g$ — independent of $\bar n$. They rephase when neighbouring frequencies, spaced $\Delta\omega\approx g/\sqrt{\bar n}$, slip by $2\pi$:

\[t_r\sim\frac{2\pi}{\Delta\omega}=\frac{2\pi\sqrt{\bar n}}{g}.\]

A classical field carries a single Rabi frequency and would flop forever; the discrete spread of $\sqrt{n+1}$ tones — hence the revival — is a fingerprint of field quantization. For $\alpha=4$ ($\bar n=16$), $t_r=8\pi=25.13$ (revival_time(1.0, 16.0)); the inversion is $\approx0$ at $t_r/2$ and revives to $\approx+0.44$ at $t_r$, matching resonant_inversion_series to $10^{-9}$.

Run the worked code: cd QO/QO-02_atom_field_interaction/code && python3 atom_field.py

QO-03 — Emission & Coherence: Spontaneous/Stimulated Emission & Laser Physics

Quantum Optics trunk · QO/QO-03_emission_coherence · open in the Teaching Network

Einstein's 1917 argument (predating quantum mechanics) demands that a gas of atoms in a radiation bath relax to the Planck spectrum, and from that single requirement extracts the rates of spontaneous emission ($A_{21}$), stimulated emission ($B_{21}\rho$) and absorption ($B_{12}\rho$). Detailed balance against the Boltzmann populations fixes the Einstein relations $A_{21}/B_{21}=8\pi h\nu^3/c^3$ and $g_1B_{12}=g_2B_{21}$, and the ratio of stimulated to spontaneous emission in equilibrium is $1/(e^{h\nu/k_BT}-1)$ — tiny ($\sim10^{-84}$) at the 248 nm KrF wavelength and room temperature, which is exactly why a laser needs a population inversion and a cavity rather than heat. Feeding the inversion into single-mode rate equations $\dot N=R-\gamma N-GNn$, $\dot n=GNn-\kappa n$ gives a sharp threshold $R_{\text{th}}=\gamma\kappa/G$: the photon number is zero below it and rises linearly above, while the gain clamps the inversion at $\kappa/G$ — the order-parameter turn-on of a second-order phase transition. The complementary question — how coherent the light is — is answered by the correlation functions: $g^{(1)}$ (fringe visibility) and the intensity-fluctuation $g^{(2)}(0)$, which equals 2 for thermal/chaotic light (bunching), 1 for coherent/laser light (Poissonian), and 0 for a single-photon Fock state (antibunching, $1-1/n$), the latter a witness of nonclassical light with no classical analogue.

Key equations

\[W_{\text{spont}}=A_{21},\qquad W_{\text{stim}}=B_{21}\,\rho(\nu),\qquad W_{\text{abs}}=B_{12}\,\rho(\nu).\]
\[\frac{N_2}{N_1}=\frac{g_2}{g_1}\,e^{-h\nu/k_BT}\ (<1),\]
\[\rho(\nu)=\frac{A_{21}}{B_{12}\,(N_1/N_2)-B_{21}} =\frac{A_{21}/B_{21}}{\dfrac{g_1B_{12}}{g_2B_{21}}\,e^{h\nu/k_BT}-1}.\]
\[\boxed{\ \frac{A_{21}}{B_{21}}=\frac{8\pi h\nu^3}{c^3},\qquad g_1B_{12}=g_2B_{21}\ } \;\Longrightarrow\; \rho_{\text{Planck}}(\nu,T)=\frac{8\pi h\nu^3}{c^3}\,\frac{1}{e^{h\nu/k_BT}-1}.\]
\[\boxed{\ \frac{W_{\text{stim}}}{W_{\text{spont}}} =\frac{B_{21}\rho}{A_{21}}=\frac{1}{e^{h\nu/k_BT}-1}\ }\]
\[\frac{dN}{dt}=R-\gamma N-G\,N n,\qquad \frac{dn}{dt}=G\,N n-\kappa\,n,\]
\[\boxed{\ n=\begin{cases}0, & R\le R_{\text{th}}\\[4pt] \dfrac{R-R_{\text{th}}}{\kappa}, & R> R_{\text{th}}\end{cases}\qquad N=\begin{cases}R/\gamma, & R\le R_{\text{th}}\\[4pt] \kappa/G\ (\text{clamped}), & R> R_{\text{th}}\end{cases}}\]
\[g^{(1)}(\tau)=\frac{\langle E^{*}(t)E(t+\tau)\rangle}{\langle|E(t)|^2\rangle}, \qquad \mathcal{V}=\frac{I_{\max}-I_{\min}}{I_{\max}+I_{\min}}=\bigl|g^{(1)}(\tau)\bigr|.\]
\[\boxed{\ g^{(2)}(0)=\frac{\langle :\!\hat I^2\!:\rangle}{\langle\hat I\rangle^2} =\frac{\langle\hat a^\dagger\hat a^\dagger\hat a\hat a\rangle}{\langle\hat a^\dagger\hat a\rangle^2} =\frac{\langle n(n-1)\rangle}{\langle n\rangle^2}\ }\]
\[\begin{array}{lcl} \text{thermal / chaotic (Bose–Einstein)} & g^{(2)}(0)=2 & \text{(bunching)}\\ \text{coherent / laser (Poisson)} & g^{(2)}(0)=1 & \text{(random)}\\ \text{Fock }|n\rangle & g^{(2)}(0)=1-\tfrac1n & \text{(}=0\text{ for }n{=}1\text{, antibunching)} \end{array}\]

Figures

Single-mode laser steady state vs pump rate R from laser_steady_state (G=kappa=gamma=1, so R_th=1). Below threshold (shaded) the photon number n=0 and the pump only builds inversion N=R/gamma; above it the gain clamps the inversion at N_th=kappa/G=1 and n rises linearly, (R-R_th)/kappa — the order-parameter turn-on of a second-order phase transition.
Single-mode laser steady state vs pump rate R from laser_steady_state (G=kappa=gamma=1, so R_th=1). Below threshold (shaded) the photon number n=0 and the pump only builds inversion N=R/gamma; above it the gain clamps the inversion at N_th=kappa/G=1 and n rises linearly, (R-R_th)/kappa — the order-parameter turn-on of a second-order phase transition.
The g^(2)(0) landscape that classifies light. Blue curve: g2_fock(n)=1-1/n; open circles: the same values recomputed by g2_from_distribution as <n(n-1)>/<n>^2 on Fock |n> distributions (they agree). Dashed lines mark g2_thermal()=2 (bunching) and g2_coherent()=1 (Poissonian), each reproduced by g2_from_distribution on Bose-Einstein and Poisson statistics. The shaded g^(2)(0)<1 band is impossible classically; the single photon |1> sits at 0 — perfect antibunching.
The g^(2)(0) landscape that classifies light. Blue curve: g2_fock(n)=1-1/n; open circles: the same values recomputed by g2_from_distribution as <n(n-1)>/<n>^2 on Fock |n> distributions (they agree). Dashed lines mark g2_thermal()=2 (bunching) and g2_coherent()=1 (Poissonian), each reproduced by g2_from_distribution on Bose-Einstein and Poisson statistics. The shaded g^(2)(0)<1 band is impossible classically; the single photon |1> sits at 0 — perfect antibunching.

Example problems

P1. Einstein's relations from detailed balanceS&Z Ch. 1

Write the up-rate $N_1B_{12}\rho$ and down-rate $N_2(A_{21}+B_{21}\rho)$, set them equal, and solve for $\rho(\nu)$. Insert the Boltzmann ratio $N_2/N_1=(g_2/g_1)e^{-h\nu/k_BT}$ and demand the answer be Planck's law for all $T$; deduce $A_{21}/B_{21}=8\pi h\nu^3/c^3$ and $g_1B_{12}=g_2B_{21}$. Check: detailed_balance_energy_density(nu, T, g1, g2, A21) $/$ planck_spectral_energy_density(nu, T) $= 1.000000$ for any $g_1,g_2,A_{21}$; and einstein_A_over_B(c/248e-9) $\approx 1.09\times10^{-12}$ J·s/m³.

Answer: $A_{21}/B_{21}=8\pi h\nu^3/c^3$ and $g_1B_{12}=g_2B_{21}$.

Solution

Detailed balance $N_1B_{12}\rho=N_2(A_{21}+B_{21}\rho)$, solved for the field, gives

\[\rho=\frac{N_2A_{21}}{N_1B_{12}-N_2B_{21}}=\frac{A_{21}/B_{21}}{\dfrac{B_{12}}{B_{21}}\dfrac{N_1}{N_2}-1}.\]

Insert the inverse Boltzmann ratio $N_1/N_2=(g_1/g_2)\,e^{h\nu/k_BT}$:

\[\rho=\frac{A_{21}/B_{21}}{\dfrac{g_1B_{12}}{g_2B_{21}}\,e^{h\nu/k_BT}-1}.\]

This can equal Planck's $\rho=\dfrac{8\pi h\nu^3/c^3}{e^{h\nu/k_BT}-1}$ for every $T$ only if the coefficient of $e^{h\nu/k_BT}$ is $1$, i.e. $g_1B_{12}=g_2B_{21}$, and the prefactor matches, $A_{21}/B_{21}=8\pi h\nu^3/c^3$. With those two relations the rate-balance density is Planck identically — independent of $A_{21},g_1,g_2$ — so detailed_balance_energy_density/planck_spectral_energy_density$=1.000000$, and the prefactor is einstein_A_over_B(c/248e-9)$\approx1.09\times10^{-12}$ J·s/m³.

P2. Why a hot lamp won't laseS&Z §5.6

Show the equilibrium ratio of stimulated to spontaneous emission is $B_{21}\rho/A_{21}=1/(e^{h\nu/k_BT}-1)$, and find the crossover frequency where the two are equal ($h\nu=k_BT\ln2$). Evaluate the ratio for the 248 nm KrF line at 300 K and argue why amplification requires a population inversion, not temperature. Check: stimulated_to_spontaneous(c/248e-9, 300.0) $\approx 1.0\times10^{-84}$; at $\nu=k_BT\ln2/h$ the ratio is exactly $1.0$.

Answer: $B_{21}\rho/A_{21}=1/(e^{h\nu/k_BT}-1)$; equal rates at $h\nu=k_BT\ln2$; $\sim10^{-84}$ for 248 nm at 300 K.

Solution

Divide the stimulated rate by the spontaneous rate and use the first Einstein relation $A_{21}/B_{21}=8\pi h\nu^3/c^3$ together with the Planck $\rho$:

\[\frac{B_{21}\rho}{A_{21}}=\frac{\rho}{A_{21}/B_{21}}=\frac{8\pi h\nu^3/c^3}{(8\pi h\nu^3/c^3)\,(e^{h\nu/k_BT}-1)}=\frac{1}{e^{h\nu/k_BT}-1}.\]

The two are equal when $e^{h\nu/k_BT}-1=1$, i.e. $e^{h\nu/k_BT}=2$, giving the crossover $h\nu=k_BT\ln2$. For the 248 nm KrF line at 300 K, $h\nu/k_BT\approx193\gg1$, so

\[\frac{B_{21}\rho}{A_{21}}\approx e^{-h\nu/k_BT}\approx e^{-193}\approx10^{-84}.\]

Spontaneous emission wins by $\sim10^{84}$: heat cannot build coherent gain, only a non-thermal population inversion can. This is stimulated_to_spontaneous(c/248e-9, 300.0)$\approx1.0\times10^{-84}$, while at $\nu=k_BT\ln2/h$ the ratio is exactly $1.0$.

P3. The two limits of PlanckS&Z Ch. 1

From $\rho=(8\pi h\nu^3/c^3)/(e^{h\nu/k_BT}-1)$ recover the Rayleigh–Jeans ($h\nu\ll k_BT$) law $\rho\to8\pi\nu^2k_BT/c^3$ and the Wien ($h\nu\gg k_BT$) exponential cutoff. Explain why the classical (Rayleigh–Jeans) result is the $h\to0$ limit and where it diverges. Check: planck_spectral_energy_density(1e9, 300.0) $\approx 3.86\times10^{-27}$ J·s/m³, matching $8\pi\nu^2k_BT/c^3$ to $<0.1\%$ (test_planck_closed_form_and_rayleigh_jeans_limit).

Answer: Rayleigh–Jeans $\rho\to8\pi\nu^2k_BT/c^3$ (the $h\to0$ limit, UV-divergent); Wien $\rho\to(8\pi h\nu^3/c^3)e^{-h\nu/k_BT}$.

Solution

Let $x=h\nu/k_BT$. For $x\ll1$ ($h\nu\ll k_BT$) expand $e^{x}-1=x+O(x^2)$:

\[\rho=\frac{8\pi h\nu^3/c^3}{e^{x}-1}\;\xrightarrow{\,x\to0\,}\;\frac{8\pi h\nu^3/c^3}{h\nu/k_BT}=\frac{8\pi\nu^2k_BT}{c^3}.\]

The $h$ cancels, so the Rayleigh–Jeans law is precisely the classical $h\to0$ limit; its $\nu^2$ growth makes $\int\rho\,d\nu$ diverge — the ultraviolet catastrophe. For $x\gg1$ ($h\nu\gg k_BT$), $e^{x}-1\to e^{x}$ and

\[\rho\to\frac{8\pi h\nu^3}{c^3}\,e^{-h\nu/k_BT},\]

the Wien exponential cutoff that quantization supplies to tame the divergence. At $\nu=10^9$ Hz, $T=300$ K we sit deep in Rayleigh–Jeans: planck_spectral_energy_density(1e9, 300.0)$\approx3.86\times10^{-27}$ J·s/m³, matching $8\pi\nu^2k_BT/c^3$ to $<0.1\%$.

P4. Laser threshold and gain clampingS&Z §5.5, §11.2

For $\dot N=R-\gamma N-GNn$, $\dot n=GNn-\kappa n$, set both to zero. Show the photon equation forces either $n=0$ or $N=\kappa/G$, giving threshold $R_{\text{th}}=\gamma\kappa/G$; then derive $n=(R-R_{\text{th}})/\kappa$ above threshold and explain why the inversion clamps (every extra pump quantum becomes a photon, not more inversion). Check: laser_threshold(1,1,1) $=1.0$; laser_steady_state(0.5) $=(0.5,\,0.0)$, laser_steady_state(2.0) $=(1.0,\,1.0)$, laser_steady_state(5.0) $=(1.0,\,4.0)$ — $N$ frozen at $1$, $n$ rising linearly.

Answer: $R_{\text{th}}=\gamma\kappa/G$; below it $n=0,\ N=R/\gamma$; above it $N=\kappa/G$ (clamped), $n=(R-R_{\text{th}})/\kappa$.

Solution

The photon equation factors,

\[\dot n=GNn-\kappa n=n\,(GN-\kappa)=0\quad\Rightarrow\quad n=0\ \text{ or }\ N=\frac{\kappa}{G}.\]

On the dark branch $n=0$, the inversion balance $\dot N=R-\gamma N=0$ gives $N=R/\gamma$, valid while $N\le\kappa/G$, i.e. up to $R_{\text{th}}=\gamma\kappa/G$. Past threshold the photon term pins $N=\kappa/G$; substituting into $\dot N=0$,

\[R-\gamma\frac{\kappa}{G}-G\frac{\kappa}{G}\,n=0\quad\Rightarrow\quad n=\frac{R-\gamma\kappa/G}{\kappa}=\frac{R-R_{\text{th}}}{\kappa}.\]

The inversion clamps at $\kappa/G$: every additional pump quantum is converted to a photon, never to more inversion. With $G=\kappa=\gamma=1$, laser_threshold(1,1,1)$=1.0$, and laser_steady_state returns $(0.5,0)$ at $R=0.5$, $(1,1)$ at $R=2$, $(1,4)$ at $R=5$ — $N$ frozen at $1$, $n$ rising linearly.

P5. Bunching, randomness, antibunchingS&Z §4.4–4.5

Compute $g^{(2)}(0)=\langle n(n-1)\rangle/\langle n\rangle^2$ for (i) a thermal (Bose–Einstein) distribution $p_n=\bar n^{\,n}/(1+\bar n)^{n+1}$, (ii) a Poisson (coherent) distribution, and (iii) a Fock state $|n_0\rangle$. Obtain $2$, $1$, and $1-1/n_0$; explain why $g^{(2)}(0)<1$ has no classical (positive-$P$) description. Check: g2_from_distribution gives $2$ (thermal), $1$ (Poisson), and g2_fock(5) $=0.8$; g2_fock(1) $=0.0$ (a single photon, perfect antibunching).

Answer: $g^{(2)}(0)=2$ (thermal), $1$ (Poisson), $1-1/n_0$ (Fock).

Solution

Use $g^{(2)}(0)=\langle n(n-1)\rangle/\langle n\rangle^2$ with $\langle n(n-1)\rangle=\langle n^2\rangle-\langle n\rangle$. (i) Bose–Einstein $p_n=\bar n^{\,n}/(1+\bar n)^{n+1}$ has $\langle n\rangle=\bar n$ and variance $\bar n+\bar n^2$, so $\langle n(n-1)\rangle=(\bar n+2\bar n^2)-\bar n=2\bar n^2$ and

\[g^{(2)}_{\text{th}}=\frac{2\bar n^2}{\bar n^2}=2.\]

(ii) Poisson has variance $=\bar n$, hence $\langle n(n-1)\rangle=\bar n^2$ and $g^{(2)}=\bar n^2/\bar n^2=1$. (iii) A Fock state $|n_0\rangle$ is sharp, $\langle n(n-1)\rangle=n_0(n_0-1)$, so $g^{(2)}=n_0(n_0-1)/n_0^2=1-1/n_0$. This falls below $1$, yet for any classical (positive-$P$) field $g^{(2)}(0)=1+\langle(\Delta I)^2\rangle/\langle I\rangle^2\ge1$, so $g^{(2)}<1$ has no positive-probability description. Confirmed by g2_from_distribution $=2$ (thermal) and $1$ (Poisson), with g2_fock(5)$=0.8$ and g2_fock(1)$=0.0$ (perfect antibunching).

P6. First- vs. second-order coherenceS&Z §4.2–4.4

A narrowband-filtered thermal source and an ideal laser can both show fringe visibility $|g^{(1)}(\tau)|\to1$. Explain why $g^{(1)}$ therefore cannot distinguish them, and how the Hanbury-Brown–Twiss measurement of $g^{(2)}(0)$ does: $2$ versus $1$. Sketch the physical ordering of $g^{(2)}(0)$ from most-bunched to most-antibunched. Check: g2_thermal() $>$ g2_coherent() $>$ g2_fock(1), i.e. $2 > 1 > 0$ (test_g2_ordering_antibunched_coherent_bunched).

Answer: both reach $|g^{(1)}|\to1$, so only $g^{(2)}(0)$ — thermal $2$ vs coherent $1$ — separates them.

Solution

$g^{(1)}(\tau)$ is the normalized field (amplitude) correlation, and the fringe visibility is $\mathcal V=|g^{(1)}(\tau)|$. A narrowband-filtered thermal source has a long coherence time $\tau_c\sim1/\Delta\nu$, so for $\tau\ll\tau_c$ it reaches $|g^{(1)}|\to1$ — the same value an ideal laser gives. Identical visibility means

\[|g^{(1)}|\to1\ \text{(both)}\quad\Longrightarrow\quad g^{(1)}\ \text{cannot tell thermal from coherent.}\]

Hanbury-Brown–Twiss instead correlates intensities, $g^{(2)}(0)=\langle n(n-1)\rangle/\langle n\rangle^2$: thermal photons arrive in bunches ($g^{(2)}=2$), coherent light is Poissonian ($g^{(2)}=1$). The ordering from most-bunched to most-antibunched is

\[\underbrace{2}_{\text{thermal}}\;>\;\underbrace{1}_{\text{coherent}}\;>\;\underbrace{1-\tfrac1n\ (\to0)}_{\text{Fock}}.\]

Hence g2_thermal() $>$ g2_coherent() $>$ g2_fock(1), i.e. $2 > 1 > 0$.

Run the worked code: cd QO/QO-03_emission_coherence/code && python3 emission_coherence.py

QO-04 — Open Quantum Systems: Master Equations & Decoherence

Quantum Optics trunk · QO/QO-04_open_systems · open in the Teaching Network

A real atom is coupled to the electromagnetic vacuum — a reservoir it cannot follow. Tracing the reservoir out turns the unitary von Neumann evolution of ~QM-20 into the Lindblad (GKSL) master equation $\dot\rho=-\tfrac{i}{\hbar}[H,\rho]+\sum_k(L_k\rho L_k^\dagger-\tfrac12\{L_k^\dagger L_k,\rho\})$, whose collapse operators $L_k$ inject irreversible relaxation while keeping $\rho$ a legitimate state — completely positive and trace-preserving (CPTP): $\mathrm{Tr}\,\rho=1$, $\rho=\rho^\dagger$, $\rho\succeq0$ for all time. Spontaneous emission is the single jump operator $L=\sqrt\gamma\,\sigma^-$: the excited population decays as $e^{-\gamma t}$ (the $T_1$ time $1/\gamma$) while the coherence decays at half that rate, $e^{-\gamma t/2}$ — coherences collapsing to zero is decoherence. Adding population-conserving pure dephasing $L_\phi=\sqrt{\gamma_\phi/2}\,\sigma_z$ gives the textbook transverse-relaxation relation $1/T_2=1/(2T_1)+1/T_\phi$. Driving the atom and letting it relax yields the optical Bloch equations, whose steady state saturates at $\rho_{ee}^{\,\mathrm{ss}}\to\tfrac12$ as $\Omega\to\infty$ — a classical field can equalize but never invert a two-level atom. Everything here is verified numerically: trace, Hermiticity, positivity, the two decay rates, the $T_2$ law, and both the undriven (ground) and driven (Bloch) steady states.

Key equations

\[\rho=\begin{pmatrix}\rho_{ee}&\rho_{eg}\\ \rho_{ge}&\rho_{gg}\end{pmatrix}, \qquad \rho=\rho^\dagger,\quad \mathrm{Tr}\,\rho=\rho_{ee}+\rho_{gg}=1,\quad \rho\succeq0 .\]
\[i\hbar\,\dot\rho=[H,\rho]\qquad\Longrightarrow\qquad \rho(t)=U\rho(0)U^\dagger, \quad U=e^{-iHt/\hbar},\]
\[\boxed{\ \dot\rho=-\frac{i}{\hbar}[H,\rho] +\sum_k\Big(L_k\,\rho\,L_k^\dagger-\tfrac12\{L_k^\dagger L_k,\rho\}\Big)\ }\]
\[\frac{d}{dt}\,\mathrm{Tr}\,\rho=\sum_k\Big(\mathrm{Tr}(L_k\rho L_k^\dagger) -\tfrac12\,\mathrm{Tr}\{L_k^\dagger L_k,\rho\}\Big) =\sum_k\big(\mathrm{Tr}(L_k^\dagger L_k\rho)-\mathrm{Tr}(L_k^\dagger L_k\rho)\big)=0,\]
\[\begin{aligned} \dot\rho_{ee}&=-\gamma\,\rho_{ee}, &\qquad \dot\rho_{gg}&=+\gamma\,\rho_{ee},\\ \dot\rho_{eg}&=-\tfrac{\gamma}{2}\,\rho_{eg}, &\qquad \dot\rho_{ge}&=-\tfrac{\gamma}{2}\,\rho_{ge}. \end{aligned}\]
\[\boxed{\ \rho_{ee}(t)=\rho_{ee}(0)\,e^{-\gamma t}\ },\qquad T_1\equiv\frac1\gamma,\]
\[L_\phi=\sqrt{\gamma_\phi/2}\;\sigma_z\quad\Longrightarrow\quad \dot\rho_{eg}\big|_\phi=-\gamma_\phi\,\rho_{eg},\]
\[\boxed{\ \frac{1}{T_2}=\frac{1}{2T_1}+\frac{1}{T_\phi}\ },\qquad \gamma_\phi=\frac{1}{T_\phi}.\]
\[H=\hbar\Delta\,|e\rangle\langle e|+\frac{\hbar\Omega}{2}\,\sigma_x ,\]
\[\boxed{\ \rho_{ee}^{\,\mathrm{ss}} =\frac{\Omega^2/4}{\Delta^2+\gamma^2/4+\Omega^2/2}\ },\qquad \lim_{\Omega\to\infty}\rho_{ee}^{\,\mathrm{ss}}=\tfrac12 .\]

Figures

Spontaneous-emission decoherence from evolve_lindblad on the $|+\rangle$ state ($\hbar=1$). The excited population $\rho_{ee}$ (blue) decays at $\gamma$ ($T_1$) while the coherence $|\rho_{eg}|$ (orange) decays at $\gamma/2$, so $T_2=2T_1$; adding pure dephasing $\gamma_\phi$ (purple) damps only the coherence, $1/T_2=\gamma/2+\gamma_\phi$. Dashed: the closed forms the simulation reproduces.
Spontaneous-emission decoherence from evolve_lindblad on the $|+\rangle$ state ($\hbar=1$). The excited population $\rho_{ee}$ (blue) decays at $\gamma$ ($T_1$) while the coherence $|\rho_{eg}|$ (orange) decays at $\gamma/2$, so $T_2=2T_1$; adding pure dephasing $\gamma_\phi$ (purple) damps only the coherence, $1/T_2=\gamma/2+\gamma_\phi$. Dashed: the closed forms the simulation reproduces.
Driven-damped steady state $\rho_{ee}^{ss}=(\Omega^2/4)/(\Delta^2+\gamma^2/4+\Omega^2/2)$ vs Rabi frequency for detunings $\Delta=0,1,2.5\,\gamma$. Curves are steady_state_excited_population; dots are $\rho_{ee}$ at long time from evolve_lindblad driven out of $|g\rangle$. The population rises toward $\frac{1}{2}$ but never crosses it — a classical field can equalize but cannot invert a two-level atom.
Driven-damped steady state $\rho_{ee}^{ss}=(\Omega^2/4)/(\Delta^2+\gamma^2/4+\Omega^2/2)$ vs Rabi frequency for detunings $\Delta=0,1,2.5\,\gamma$. Curves are steady_state_excited_population; dots are $\rho_{ee}$ at long time from evolve_lindblad driven out of $|g\rangle$. The population rises toward $\frac{1}{2}$ but never crosses it — a classical field can equalize but cannot invert a two-level atom.

Example problems

P1. The Lindblad form conserves probabilitySZ Ch. 8

Show that the Lindblad generator is trace-preserving: using the cyclic property of the trace, prove $\frac{d}{dt}\mathrm{Tr}\,\rho =\sum_k\big[\mathrm{Tr}(L_k\rho L_k^\dagger)-\mathrm{Tr}(L_k^\dagger L_k\rho)\big]=0$, so $\mathrm{Tr}\,\rho=1$ for all time. Why does this fail if you drop the $-\tfrac12\{L_k^\dagger L_k,\rho\}$ "no-jump" term? Check: lindblad_rhs(rho, H, [√γ σ⁻, L_φ]) has $|\mathrm{Tr}\,\dot\rho|<10^{-12}$ for any rho, H (test_lindblad_generator_is_trace_preserving).

Answer: yes — each dissipator is traceless, so $\frac{d}{dt}\mathrm{Tr}\,\rho=0$ and $\mathrm{Tr}\,\rho=1$ for all $t$.

Solution

Trace the generator. The commutator vanishes by cyclicity, $\mathrm{Tr}[H,\rho]=0$. For each dissipator, cyclicity gives $\mathrm{Tr}(L_k\rho L_k^\dagger)=\mathrm{Tr}(L_k^\dagger L_k\rho)$, and the anticommutator term yields $\mathrm{Tr}\{L_k^\dagger L_k,\rho\}=2\,\mathrm{Tr}(L_k^\dagger L_k\rho)$, so

\[\frac{d}{dt}\mathrm{Tr}\,\rho=\sum_k\Big[\mathrm{Tr}(L_k^\dagger L_k\rho)-\tfrac12\cdot2\,\mathrm{Tr}(L_k^\dagger L_k\rho)\Big]=0.\]

The $-\tfrac12\{L_k^\dagger L_k,\rho\}$ "no-jump" term is exactly what cancels the gain term $L_k\rho L_k^\dagger$ under the trace. Drop it and

\[\frac{d}{dt}\mathrm{Tr}\,\rho=\sum_k\mathrm{Tr}(L_k^\dagger L_k\rho)\ge0,\]

so probability would leak in and $\rho$ would stop being normalized. With the full generator lindblad_rhs gives $|\mathrm{Tr}\,\dot\rho|<10^{-12}$ for any rho, H.

P2. Spontaneous emission and the $T_1$ timeSZ §6.3

With the single collapse operator $L=\sqrt\gamma\,\sigma^-$ ($\sigma^-=|g\rangle\langle e|$) and $H=0$, read off $\dot\rho_{ee}=-\gamma\rho_{ee}$ and solve it. Show the lost population lands in the ground state ($\dot\rho_{gg}=+\gamma\rho_{ee}$), conserving the trace. Check: starting in $|e\rangle$, excited_population(evolve_lindblad(...)) equals $e^{-\gamma t}$ to $10^{-6}$, and _fit_rate returns $\gamma=1.0000$ (test_excited_population_decays_at_gamma).

Answer: $\rho_{ee}(t)=\rho_{ee}(0)\,e^{-\gamma t}$, with $T_1=1/\gamma$.

Solution

With $L=\sqrt\gamma\,\sigma^-$, $\sigma^-=|g\rangle\langle e|$, and $L^\dagger L=\gamma|e\rangle\langle e|$, take the $\langle e|\cdots|e\rangle$ element of the dissipator. The gain term vanishes ($\langle e|\sigma^-=0$) and the anticommutator gives $-\tfrac\gamma2\langle e|\{|e\rangle\langle e|,\rho\}|e\rangle=-\tfrac\gamma2(2\rho_{ee})$, so

\[\dot\rho_{ee}=-\gamma\,\rho_{ee}\quad\Longrightarrow\quad \rho_{ee}(t)=\rho_{ee}(0)\,e^{-\gamma t},\qquad T_1=\frac1\gamma.\]

For the ground state the gain term now survives, $\gamma\langle g|\sigma^-\rho\sigma^+|g\rangle=\gamma\rho_{ee}$, while its anticommutator vanishes, giving $\dot\rho_{gg}=+\gamma\rho_{ee}$. Thus $\dot\rho_{ee}+\dot\rho_{gg}=0$: the population leaving $|e\rangle$ lands in $|g\rangle$, conserving the trace. Starting in $|e\rangle$, excited_population follows $e^{-\gamma t}$ to $10^{-6}$ and _fit_rate returns $\gamma=1.0000$.

P3. Coherence decays at half the rate: $T_2=2T_1$SZ §5.3

From the same master equation derive $\dot\rho_{eg}=-\tfrac{\gamma}{2}\rho_{eg}$, hence $|\rho_{eg}(t)|=|\rho_{eg}(0)|e^{-\gamma t/2}$. Why is the coherence rate exactly half the population rate, and what does the off-diagonal going to zero mean physically (decoherence)? Check: starting in $|+\rangle$, abs(coherence(...)) decays at rate $\gamma/2=0.5000$, giving $T_2=2T_1$ (test_coherence_decays_at_half_gamma).

Answer: $\dot\rho_{eg}=-\tfrac{\gamma}{2}\rho_{eg}$, so $|\rho_{eg}(t)|=|\rho_{eg}(0)|e^{-\gamma t/2}$ and $T_2=2T_1$.

Solution

Take the $\langle e|\cdots|g\rangle$ element of the same dissipator. The gain term again vanishes ($\langle e|\sigma^-=0$), and of the two anticommutator pieces only the one acting on the left index survives:

\[\dot\rho_{eg}=-\tfrac\gamma2\langle e|\big(|e\rangle\langle e|\rho+\rho|e\rangle\langle e|\big)|g\rangle=-\tfrac\gamma2\big(\rho_{eg}+0\big)=-\frac\gamma2\,\rho_{eg}.\]

The population decay (P2) touched $|e\rangle$ on both sides — two factors, rate $\gamma$ — whereas the coherence touches it on only one side, hence exactly half: $|\rho_{eg}(t)|=|\rho_{eg}(0)|e^{-\gamma t/2}$, i.e. $T_2=2T_1$. The off-diagonal collapsing to zero is the loss of definite relative phase — decoherence, $\rho$ becoming diagonal (a classical mixture). Starting in $|+\rangle$, abs(coherence(...)) decays at rate $\gamma/2=0.5000$, giving $T_2=2T_1$.

P4. Pure dephasing and the $T_2$ relationSZ §5.3.3

Add the elastic-collision dephasing operator $L_\phi=\sqrt{\gamma_\phi/2}\,\sigma_z$. Show it leaves the populations untouched but adds $-\gamma_\phi\rho_{eg}$ to the coherence, so $1/T_2=1/(2T_1)+1/T_\phi$. Check: with $\gamma=1$, $\gamma_\phi=0.8$, the simulated coherence-decay rate from evolve_lindblad([spontaneous_emission_op, dephasing_op]) is $1.3000=0.5+0.8$, and the populations are unchanged (test_T2_dephasing_relation).

Answer: dephasing adds $-\gamma_\phi\rho_{eg}$ and nothing to the diagonal, giving $1/T_2=1/(2T_1)+1/T_\phi$.

Solution

For $L_\phi=\sqrt{\gamma_\phi/2}\,\sigma_z$ we have $L_\phi^\dagger L_\phi=\tfrac{\gamma_\phi}{2}\sigma_z^2=\tfrac{\gamma_\phi}{2}\mathbb 1$, so the no-jump term is $-\tfrac12\{\tfrac{\gamma_\phi}{2}\mathbb 1,\rho\}=-\tfrac{\gamma_\phi}{2}\rho$ and the dissipator collapses to

\[\mathcal D[L_\phi]\rho=\frac{\gamma_\phi}{2}\big(\sigma_z\,\rho\,\sigma_z-\rho\big).\]

Since $(\sigma_z\rho\,\sigma_z)_{ij}=(\sigma_z)_{ii}(\sigma_z)_{jj}\,\rho_{ij}$, the diagonal entries get $(\pm1)^2=1$ — populations untouched — while the off-diagonal gets $(+1)(-1)=-1$, so $\mathcal D[L_\phi]\rho|_{eg}=\tfrac{\gamma_\phi}{2}(-\rho_{eg}-\rho_{eg})=-\gamma_\phi\rho_{eg}$. Adding the emission part $-\tfrac\gamma2\rho_{eg}$ from P3,

\[\dot\rho_{eg}=-\Big(\frac{\gamma}{2}+\gamma_\phi\Big)\rho_{eg}\quad\Longrightarrow\quad \frac{1}{T_2}=\frac{1}{2T_1}+\frac{1}{T_\phi}.\]

With $\gamma=1$, $\gamma_\phi=0.8$ the simulated coherence-decay rate is $0.5+0.8=1.3000$ and the populations are unchanged.

P5. Optical Bloch steady stateSZ Ch. 10

For $H=\hbar\Delta|e\rangle\langle e|+\tfrac{\hbar\Omega}{2}\sigma_x$ and $L=\sqrt\gamma\,\sigma^-$, set $\dot\rho=0$ and solve the optical Bloch equations for the steady-state excited population $\rho_{ee}^{\,\mathrm{ss}}=\dfrac{\Omega^2/4}{\Delta^2+\gamma^2/4+\Omega^2/2}$. Evaluate it on resonance ($\Delta=0$). Check: for $\Omega=2,\gamma=1,\Delta=0$ both steady_state_excited_population(2,1,0) and the long-time excited_population(evolve_lindblad(...)) give $0.4444=\Omega^2/(\gamma^2+2\Omega^2)$ (test_driven_steady_state_matches_optical_bloch).

Answer: $\rho_{ee}^{\,\mathrm{ss}}=\dfrac{\Omega^2/4}{\Delta^2+\gamma^2/4+\Omega^2/2}$; on resonance $\Omega^2/(\gamma^2+2\Omega^2)$.

Solution

With $H=\hbar\Delta|e\rangle\langle e|+\tfrac{\hbar\Omega}{2}\sigma_x$ and $L=\sqrt\gamma\,\sigma^-$, the master equation gives the optical Bloch equations

\[\dot\rho_{eg}=-\Big(\tfrac\gamma2+i\Delta\Big)\rho_{eg}+i\tfrac\Omega2\big(\rho_{ee}-\rho_{gg}\big),\qquad \dot\rho_{ee}=-\gamma\,\rho_{ee}+i\tfrac\Omega2\big(\rho_{eg}-\rho_{ge}\big).\]

Set both to zero. The first gives $\rho_{eg}=\dfrac{i\Omega\,(\rho_{ee}-\rho_{gg})/2}{\gamma/2+i\Delta}$; feeding its imaginary part into $\gamma\rho_{ee}=-\Omega\,\mathrm{Im}\,\rho_{eg}$ and writing $w=\rho_{ee}-\rho_{gg}=2\rho_{ee}-1$,

\[\gamma\rho_{ee}=-\frac{(\Omega^2\gamma/4)\,w}{\Delta^2+\gamma^2/4}\quad\Longrightarrow\quad \rho_{ee}^{\,\mathrm{ss}}=\frac{\Omega^2/4}{\Delta^2+\gamma^2/4+\Omega^2/2}.\]

On resonance ($\Delta=0$) this is $\Omega^2/(\gamma^2+2\Omega^2)$; for $\Omega=2,\gamma=1$ it equals $4/9=0.4444$, matching both steady_state_excited_population(2,1,0) and the long-time evolve_lindblad value.

P6. Saturation — you cannot invert a two-level atomSZ Ch. 10

Show $\rho_{ee}^{\,\mathrm{ss}}$ increases monotonically with $\Omega$ but is bounded by $\tfrac12$, the saturation limit, so a classical drive can at best equalize the populations — never achieve inversion $\rho_{ee}>\rho_{gg}$ (the reason lasing needs $\ge3$ levels, ~QO-03). Check: steady_state_excited_population is increasing in $\Omega$ and tends to $0.4999\to\tfrac12$ as $\Omega\to\infty$ (test_steady_state_saturates_at_one_half).

Answer: $\rho_{ee}^{\,\mathrm{ss}}$ rises monotonically in $\Omega$ but stays $<\tfrac12$, approaching $\tfrac12$ as $\Omega\to\infty$ — never inverted.

Solution

On resonance $\rho_{ee}^{\,\mathrm{ss}}(\Omega)=\dfrac{\Omega^2}{\gamma^2+2\Omega^2}$. Differentiate:

\[\frac{d\rho_{ee}^{\,\mathrm{ss}}}{d\Omega}=\frac{2\Omega(\gamma^2+2\Omega^2)-\Omega^2(4\Omega)}{(\gamma^2+2\Omega^2)^2}=\frac{2\gamma^2\Omega}{(\gamma^2+2\Omega^2)^2}>0,\]

so it increases monotonically with the drive. But the denominator always exceeds $2\Omega^2$ (the $\gamma^2>0$ term), hence

\[\rho_{ee}^{\,\mathrm{ss}}=\frac{\Omega^2}{\gamma^2+2\Omega^2}<\frac{\Omega^2}{2\Omega^2}=\frac12\qquad\xrightarrow{\ \Omega\to\infty\ }\ \frac12.\]

Because $\rho_{ee}<\tfrac12$ means $\rho_{ee}<\rho_{gg}=1-\rho_{ee}$, a classical drive can at best equalize the populations, never invert them — which is why lasing needs a $\ge3$-level scheme (~QO-03). Numerically steady_state_excited_population is increasing in $\Omega$ and tends to $0.4999\to\tfrac12$.

P7. Decoherence is irreversible: CPTP vs. unitarySZ Ch. 8; bridge ~QM-20

Unitary evolution preserves the spectrum of $\rho$, so a pure state can never become mixed (~QM-20). Argue that the Lindblad flow instead drives the pure $|+\rangle$ into the mixed ground state, while remaining a valid state at every instant — Hermitian, unit-trace, positive semidefinite (CPTP). Check: along a driven, damped trajectory every evolve_lindblad snapshot satisfies is_positive_semidefinite(rho) and the undriven run relaxes to density_matrix(ket_g) ($\rho_{ee}<10^{-6}$) (test_state_stays_positive_semidefinite, test_undriven_steady_state_is_ground).

Answer: unitary flow preserves $\rho$'s spectrum (pure stays pure); Lindblad is CPTP but non-unitary, so it irreversibly mixes the state while keeping it valid, settling (undriven) into $|g\rangle\langle g|$.

Solution

Unitary evolution $\rho(t)=U\rho(0)U^\dagger$ is a similarity transform, so it leaves the eigenvalues — and the purity $\mathrm{Tr}\,\rho^2$ — invariant; a pure state ($\mathrm{Tr}\,\rho^2=1$) can never become mixed (~QM-20). The Lindblad generator is not a similarity transform. Starting from $|+\rangle$ with $H=0$, the coherence decays as $\rho_{eg}=\tfrac12e^{-\gamma t/2}$ while the populations redistribute, so

\[\mathrm{Tr}\,\rho^2=\rho_{ee}^2+\rho_{gg}^2+2|\rho_{eg}|^2<1\]

at intermediate times: the pure state has genuinely mixed, irreversibly (entropy produced, no unitary undoes it). Yet every snapshot stays Hermitian, unit-trace, and positive semidefinite — eigenvalues $\ge0$, a legitimate state at each instant, the meaning of CPTP. Along a driven, damped trajectory is_positive_semidefinite(rho) holds at every evolve_lindblad snapshot, and the undriven run relaxes to density_matrix(ket_g) with $\rho_{ee}<10^{-6}$.

Run the worked code: cd QO/QO-04_open_systems/code && python3 open_systems.py

QO-05 — Squeezing & Nonclassical Light — Squeezed & Entangled Photons

Quantum Optics trunk · QO/QO-05_squeezing_nonclassical · open in the Teaching Network

The vacuum of a single field mode (~QM-09) carries irreducible zero-point noise: each quadrature $X_1=(a+a^\dagger)/2$, $X_2=(a-a^\dagger)/2i$ fluctuates with variance $\tfrac14$, the standard quantum limit (SQL), and coherent states sit at the same bound. Squeezing redistributes that noise. The squeeze operator $S(\xi)=\exp[\tfrac12(\xi^{*}a^2-\xi a^{\dagger2})]$, $\xi=re^{i\phi}$, drives the squeezed vacuum $|\xi\rangle=S(\xi)|0\rangle$, whose quadrature variances are $\tfrac14 e^{-2r}$ and $\tfrac14 e^{+2r}$ — one pushed below the vacuum noise at the cost of the other, with product pinned at the minimum $\tfrac1{16}$. Built from $a^2,a^{\dagger2}$, $S$ makes photons in pairs, so the squeezed vacuum contains only even photon numbers with $\langle n\rangle=\sinh^2 r$. Such states are nonclassical — no classical stochastic field reproduces them — but nonclassicality has independent faces: quadrature squeezing (variance $<\tfrac14$), and sub-Poissonian / antibunched counting ($g^{(2)}(0)<1$, Mandel $Q<0$; a Fock state). Tellingly, the squeezed vacuum is quadrature-squeezed yet super-Poissonian. Promoting $a^2\to ab$ gives two-mode squeezing: the photon-number-correlated, EPR-entangled state $\propto\sum_n\tanh^n r\,|n,n\rangle$ with joint quadratures below the SQL (~QM-21), the resource produced by parametric down-conversion (~QO-06). The code builds all of this in a truncated Fock basis and checks every closed form.

Key equations

\[X_1=\frac{a+a^\dagger}{2},\qquad X_2=\frac{a-a^\dagger}{2i},\qquad [X_1,X_2]=\frac{i}{2}.\]
\[\operatorname{Var}X_1\,\operatorname{Var}X_2\ \ge\ \frac{1}{16},\qquad \langle 0|X_1^2|0\rangle=\langle 0|X_2^2|0\rangle=\frac14\ \ (\text{the SQL}).\]
\[\boxed{\ S(\xi)=\exp\!\Big[\tfrac12\big(\xi^{*}a^{2}-\xi\,a^{\dagger 2}\big)\Big]\ }.\]
\[S^{\dagger}(\xi)\,a\,S(\xi)=a\cosh r-a^{\dagger}e^{i\phi}\sinh r,\]
\[\boxed{\ \operatorname{Var}X_1=\tfrac14 e^{-2r},\qquad \operatorname{Var}X_2=\tfrac14 e^{+2r},\qquad \operatorname{Var}X_1\,\operatorname{Var}X_2=\tfrac{1}{16}\ }.\]
\[|\xi\rangle=\frac{1}{\sqrt{\cosh r}}\sum_{m=0}^{\infty} \frac{\sqrt{(2m)!}}{2^{m}\,m!}\big(-e^{i\phi}\tanh r\big)^{m}\,|2m\rangle, \qquad P(2m+1)=0.\]
\[P(2m)=\frac{1}{\cosh r}\,\frac{(2m)!}{\big(2^{m}m!\big)^{2}}\,(\tanh r)^{2m}, \qquad \boxed{\ \langle n\rangle=\langle\xi|a^\dagger a|\xi\rangle=\sinh^{2}r\ }.\]
\[g^{(2)}(0)=\frac{\langle a^\dagger a^\dagger a\,a\rangle}{\langle a^\dagger a\rangle^{2}} =\frac{\langle n(n-1)\rangle}{\langle n\rangle^{2}},\qquad Q=\frac{\operatorname{Var}n-\langle n\rangle}{\langle n\rangle}=\langle n\rangle\big(g^{(2)}(0)-1\big).\]
\[|\mathrm{TMSV}\rangle=\frac{1}{\cosh r}\sum_{n=0}^{\infty} \big(-e^{i\phi}\tanh r\big)^{n}\,|n,n\rangle,\qquad \langle n_a\rangle=\langle n_b\rangle=\sinh^{2}r .\]
\[\boxed{\ \operatorname{Var}(X_a+X_b)=\operatorname{Var}(Y_a-Y_b)=\tfrac12 e^{-2r}\ <\ \tfrac12\ },\qquad \tfrac12 e^{-2r}\to 0\ \text{ as }\ r\to\infty.\]

Figures

Quadrature variances of the squeezed vacuum vs squeeze $r$: dots are computed by quadrature_variances(squeezed_vacuum(r)), curves the closed forms $\mathrm{Var}\,X_1=\tfrac14 e^{-2r}$ (below the vacuum/SQL line $\tfrac14$) and $\mathrm{Var}\,X_2=\tfrac14 e^{+2r}$. Their product stays pinned at $\tfrac1{16}$ — a minimum-uncertainty state for every $r$.
Quadrature variances of the squeezed vacuum vs squeeze $r$: dots are computed by quadrature_variances(squeezed_vacuum(r)), curves the closed forms $\mathrm{Var}\,X_1=\tfrac14 e^{-2r}$ (below the vacuum/SQL line $\tfrac14$) and $\mathrm{Var}\,X_2=\tfrac14 e^{+2r}$. Their product stays pinned at $\tfrac1{16}$ — a minimum-uncertainty state for every $r$.
Photon-number distribution $P(n)$ of the squeezed vacuum from photon_distribution(squeezed_vacuum(r)) for $r=0.6,1.1$. Built from $a^2$, $S(\xi)$ makes photons in pairs, so only EVEN $n$ are populated (odd-$n$ vanish to machine precision); the mean rises as $\langle n\rangle=\sinh^2 r$.
Photon-number distribution $P(n)$ of the squeezed vacuum from photon_distribution(squeezed_vacuum(r)) for $r=0.6,1.1$. Built from $a^2$, $S(\xi)$ makes photons in pairs, so only EVEN $n$ are populated (odd-$n$ vanish to machine precision); the mean rises as $\langle n\rangle=\sinh^2 r$.

Example problems

P1. Quadratures and the standard quantum limitSZ §2.7.1

From $[a,a^\dagger]=1$, show the two quadratures obey $[X_1,X_2]=\tfrac{i}{2}$, so the Robertson uncertainty relation gives $\operatorname{Var}X_1\,\operatorname{Var}X_2\ge\tfrac1{16}$. Show the vacuum $|0\rangle$ saturates it with $\operatorname{Var}X_1=\operatorname{Var}X_2=\tfrac14$ (use $a|0\rangle=0$ and $\langle0|aa^\dagger|0\rangle=1$). Why does every coherent state have the same variances? Check: quadrature_variances(vacuum_state()) → (0.25, 0.25) and quadrature_variances(coherent_state(1.5)) → (0.25, 0.25), product $=\tfrac1{16}=0.0625$; the interior of $[X_1,X_2]$ is $\tfrac{i}{2}$ (test_quadrature_commutator_is_i_over_two).

Solution

With $X_1=\tfrac12(a+a^\dagger)$ and $X_2=\tfrac1{2i}(a-a^\dagger)$,

\[[X_1,X_2]=\tfrac1{4i}\,[\,a+a^\dagger,\ a-a^\dagger\,]=\tfrac1{4i}\big(-[a,a^\dagger]+[a^\dagger,a]\big)=\tfrac1{4i}(-2)=\tfrac{i}{2}.\]

Robertson then gives $\operatorname{Var}X_1\operatorname{Var}X_2\ge\tfrac14\big|\langle[X_1,X_2]\rangle\big|^2=\tfrac14\cdot\tfrac14=\tfrac1{16}$. On the vacuum $a|0\rangle=0$, so $\langle X_1\rangle=\langle X_2\rangle=0$ and only the $aa^\dagger$ term survives, $\langle0|X_1^2|0\rangle=\tfrac14\langle0|aa^\dagger|0\rangle=\tfrac14$, and likewise $\langle X_2^2\rangle=\tfrac14$ — the bound is saturated. A coherent state is $|\alpha\rangle=D(\alpha)|0\rangle$ with $D^\dagger aD=a+\alpha$, a c-number shift that leaves the fluctuation operator $a-\langle a\rangle$ untouched, so every coherent state inherits the vacuum's $\operatorname{Var}X_1=\operatorname{Var}X_2=\tfrac14$. Matches quadrature_variances(vacuum_state())→(0.25, 0.25) and coherent_state(1.5)→(0.25, 0.25), product $\tfrac1{16}=0.0625$, with the $[X_1,X_2]$ interior $\tfrac{i}{2}$.

P2. The squeeze operator and the Bogoliubov transformationSZ §2.7

For $S(\xi)=\exp[\tfrac12(\xi^{}a^2-\xi a^{\dagger2})]$, use the Hadamard lemma $S^\dagger a S=a+[a,M]+\tfrac1{2!}[[a,M],M]+\dots$ with $M=\tfrac12(\xi^{}a^2-\xi a^{\dagger2})$ to prove $$S^\dagger(\xi)\,a\,S(\xi)=a\cosh r-a^\dagger e^{i\phi}\sinh r .$$ (The series resums to $\cosh$/$\sinh$ because $[a,M]\propto a^\dagger$ and $[a^\dagger,M]\propto a$ close on each other.) Confirm $S$ is unitary because its generator $M$ is anti-Hermitian. Check: squeeze_operator(0.9, 40, phi=0.7) satisfies $S^\dagger S=\mathbb{1}$ to $10^{-9}$, and squeeze_operator(0.0, N) is the identity (test_squeeze_operator_zero_is_identity_and_unitary).

Solution

With $M=\tfrac12(\xi^{*}a^2-\xi a^{\dagger2})$ the first nested commutator is

\[[a,M]=-\tfrac{\xi}{2}\,[a,a^{\dagger2}]=-\tfrac{\xi}{2}\,(2a^\dagger)=-\xi\,a^\dagger,\]

and feeding it back, $[\,[a,M],M\,]=-\xi\,[a^\dagger,M]=-\xi\big(-\xi^{*}a\big)=|\xi|^2a=r^2a$. The two commutators map $a\!\to\!a^\dagger\!\to\!a$, so the Hadamard series closes: even orders rebuild $a$, odd orders $a^\dagger$,

\[S^\dagger aS=a\Big(1+\tfrac{r^2}{2!}+\cdots\Big)-\xi a^\dagger\Big(1+\tfrac{r^2}{3!}+\cdots\Big)=a\cosh r-a^\dagger\,\frac{\xi}{r}\sinh r,\]

and $\xi/r=e^{i\phi}$ gives $S^\dagger aS=a\cosh r-a^\dagger e^{i\phi}\sinh r$. Finally $M^\dagger=\tfrac12(\xi a^{\dagger2}-\xi^{*}a^2)=-M$, so $M$ is anti-Hermitian and $S=e^{M}$ is unitary. This is what squeeze_operator(0.9, 40, phi=0.7) confirms, $S^\dagger S=\mathbb1$ to $10^{-9}$, with squeeze_operator(0.0, N)$=\mathbb1$.

P3. Squeezed-vacuum variances, the minimum-uncertainty product, and dBSZ §2.7.1

Using P2 with $\phi=0$, show $S^\dagger X_1 S=X_1 e^{-r}$ and $S^\dagger X_2 S=X_2 e^{+r}$, hence for $|\xi\rangle=S|0\rangle$ $$\operatorname{Var}X_1=\tfrac14 e^{-2r},\quad \operatorname{Var}X_2=\tfrac14 e^{+2r},\quad \operatorname{Var}X_1\operatorname{Var}X_2=\tfrac1{16}.$$ Which quadrature is squeezed, and what does $\phi$ do? Express the squeezing of $X_1$ in decibels, $10\log_{10}(\operatorname{Var}X_1/\tfrac14)=-8.686\,r$ dB. Check: quadrature_variances(squeezed_vacuum(0.6)) ≈ (0.0753, 0.830), product 0.0625; at $r=0.6$ that is $-5.2$ dB. squeezed_vacuum(0.7, phi=pi) swaps the two (test_phi_rotates_the_squeezed_quadrature).

Solution

Take $\phi=0$, so P2 gives $S^\dagger aS=a\cosh r-a^\dagger\sinh r$ and (adjoint) $S^\dagger a^\dagger S=a^\dagger\cosh r-a\sinh r$. Adding and subtracting,

\[S^\dagger X_1S=\tfrac12\big(S^\dagger aS+S^\dagger a^\dagger S\big)=X_1(\cosh r-\sinh r)=X_1e^{-r},\qquad S^\dagger X_2S=X_2e^{+r}.\]

Since $|\xi\rangle=S|0\rangle$, $\operatorname{Var}_{|\xi\rangle}X_1=\langle0|(S^\dagger X_1S)^2|0\rangle-\langle0|S^\dagger X_1S|0\rangle^2=e^{-2r}\operatorname{Var}_0X_1=\tfrac14e^{-2r}$, and likewise $\operatorname{Var}X_2=\tfrac14e^{+2r}$, product $\tfrac1{16}$. So $X_1$ (for $\phi=0$) is the squeezed quadrature, dropping below $\tfrac14$; a general $\phi$ rotates the squeezed direction by $\phi/2$ in phase space, and $\phi=\pi$ swaps $X_1\leftrightarrow X_2$. In decibels $10\log_{10}(\operatorname{Var}X_1/\tfrac14)=10\log_{10}e^{-2r}=-8.686\,r$. At $r=0.6$ this is quadrature_variances(squeezed_vacuum(0.6))$\approx(0.0753,0.830)$, product $0.0625$, i.e. $-5.2$ dB; squeezed_vacuum(0.7, phi=pi) swaps the two.

P4. Photon pairs: even-only statistics and $\langle n\rangle=\sinh^2 r$SZ §2.7

Argue from the structure of $S$ (it only changes the photon number by $\pm2$) that $|\xi\rangle$ contains only even Fock states, and derive $$P(2m)=\frac{1}{\cosh r}\,\frac{(2m)!}{(2^{m}m!)^{2}}(\tanh r)^{2m},\qquad \langle n\rangle=\langle\xi|a^\dagger a|\xi\rangle=\sinh^2 r .$$ (Hint for $\langle n\rangle$: conjugate $a^\dagger a$ with $S$ using P2.) Check: photon_distribution(squeezed_vacuum(0.8)) has odd-$n$ sum $\sim10^{-17}$ and $P(0)=1/\cosh 0.8=0.748$; mean_photon_number(squeezed_vacuum(r)) $=$ mean_photon(r) $=\sinh^2 r$ for every $r$ (e.g. $0.789$ at $r=0.8$) (test_only_even_photon_numbers_populated, test_mean_photon_is_sinh_squared_r).

Solution

The generator $M=\tfrac12(\xi^{*}a^2-\xi a^{\dagger2})$ moves population only in steps of $\pm2$ (the $a^2$ and $a^{\dagger2}$ pieces), so acting on the even state $|0\rangle$ it never reaches an odd $|n\rangle$: $P(2m+1)=0$. The disentangled form $|\xi\rangle=\tfrac1{\sqrt{\cosh r}}\sum_m\tfrac{\sqrt{(2m)!}}{2^mm!}(-e^{i\phi}\tanh r)^m|2m\rangle$ squares to

\[P(2m)=\frac{1}{\cosh r}\,\frac{(2m)!}{(2^mm!)^2}(\tanh r)^{2m}.\]

For the mean, conjugate with $S$ ($\phi=0$): $\langle n\rangle=\langle0|(S^\dagger a^\dagger S)(S^\dagger aS)|0\rangle$, and with $S^\dagger aS=a\cosh r-a^\dagger\sinh r$ only the $\sinh^2 r$ term survives the vacuum sandwich,

\[\langle n\rangle=\sinh^2 r\,\langle0|aa^\dagger|0\rangle=\sinh^2 r.\]

Hence photon_distribution(squeezed_vacuum(0.8)) has odd-$n$ sum $\sim10^{-17}$ and $P(0)=1/\cosh0.8=0.748$, while mean_photon_number$=$mean_photon(r)$=\sinh^2 r$ (e.g. $0.789$ at $r=0.8$).

P5. Nonclassicality is not one thing: $g^{(2)}(0)$ vs. squeezingSZ §4.4.4

Compute $g^{(2)}(0)=\langle a^\dagger a^\dagger a a\rangle/\langle a^\dagger a\rangle^2$ for (a) a Fock state $|1\rangle$, (b) a coherent state, (c) the squeezed vacuum. Show $|1\rangle$ gives $g^{(2)}(0)=0$ (antibunched, $Q=-1$), coherent gives $1$ ($Q=0$), and squeezed vacuum gives $g^{(2)}(0)=3+1/\sinh^2 r>1$ (super-Poissonian, $Q>0$). Conclude that the squeezed vacuum is nonclassical (sub-SQL quadrature) yet not antibunched — squeezing and sub-Poissonian statistics are independent. Check: g2_zero(fock_state(1)) → 0.0, g2_zero(coherent_state(2.0)) → 1.0, g2_zero(squeezed_vacuum(0.8)) → 4.268 $=3+1/\sinh^2 0.8$; mandel_q returns $-1$, $0$, $+2.58$ respectively (test_g2_and_mandel_classify_states).

Solution

Use $g^{(2)}(0)=\langle a^\dagger a^\dagger aa\rangle/\langle a^\dagger a\rangle^2=\langle n(n-1)\rangle/\langle n\rangle^2$. For $|1\rangle$, $n=1$ so $n(n-1)=0$ and $g^{(2)}(0)=0$ (perfectly antibunched), with $Q=\langle n\rangle(g^{(2)}(0)-1)=-1$. For a coherent state $a|\alpha\rangle=\alpha|\alpha\rangle$ gives $\langle a^\dagger a^\dagger aa\rangle=|\alpha|^4=\langle n\rangle^2$, so $g^{(2)}(0)=1$ and $Q=0$. For the squeezed vacuum the even-pair statistics give $\operatorname{Var}n=2\sinh^2 r\cosh^2 r$ on top of $\langle n\rangle=\sinh^2 r$, so

\[g^{(2)}(0)=1+\frac{\operatorname{Var}n-\langle n\rangle}{\langle n\rangle^2}=1+\frac{2\cosh^2 r-1}{\sinh^2 r}=3+\frac{1}{\sinh^2 r}>1,\]

with $Q=2\cosh^2 r-1=\cosh 2r>0$ — super-Poissonian. So a state can be quadrature-squeezed (sub-SQL) yet bunched: the two nonclassicalities are independent. Matches g2_zero→0.0, 1.0, 4.268$=3+1/\sinh^2 0.8$ and mandel_q→$-1,\,0,\,+2.58$.

P6. Two-mode squeezing and the EPR correlationSZ Ch. 16, 18

For $S_2(\xi)=\exp(\xi^{}ab-\xi a^\dagger b^\dagger)$, show $S_2|0,0\rangle=\operatorname{sech}r\sum_n(-e^{i\phi}\tanh r)^n|n,n\rangle$, so the two modes are perfectly photon-number correlated with per-mode $\langle n\rangle=\sinh^2 r$. Then prove the joint quadratures beat the vacuum/separable bound, $$\operatorname{Var}(X_a+X_b)=\operatorname{Var}(Y_a-Y_b)=\tfrac12 e^{-2r}<\tfrac12,$$ and explain how the $r\to\infty$ limit realizes the EPR "elements of reality" for the non-commuting $X$ and $Y$ (~QM-21); this is the entangled-photon state made by parametric down-conversion (~QO-06). Check:* two_mode_photon_distribution(two_mode_squeezed_vacuum(0.6)) is diagonal with $P(n,n)=(\tanh^2 0.6)^n/\cosh^2 0.6$; epr_variances(0.6) → (0.151, 0.151), both $<0.5=\tfrac12 e^{-2\cdot0.6}$ (test_two_mode_is_photon_number_correlated, test_epr_joint_quadratures_beat_the_sql).

Solution

$S_2=\exp(\xi^{}ab-\xi a^\dagger b^\dagger)$ has a generator that adds or removes one photon in each* mode at once ($ab$ and $a^\dagger b^\dagger$), so from $|0,0\rangle$ it stays on the diagonal $|n,n\rangle$; the disentangling theorem resums this to

\[S_2|0,0\rangle=\operatorname{sech} r\sum_{n}(-e^{i\phi}\tanh r)^n|n,n\rangle,\qquad P(n,n)=\frac{(\tanh^2 r)^n}{\cosh^2 r}.\]

The geometric marginal gives $\langle n_a\rangle=\langle n_b\rangle=\sinh^2 r$, with $n_a=n_b$ always (perfect number correlation). With $\phi=0$ the two-mode Bogoliubov rule $S_2^\dagger aS_2=a\cosh r-b^\dagger\sinh r$ (and $a\!\leftrightarrow\! b$) yields $S_2^\dagger(X_a+X_b)S_2=(X_a+X_b)e^{-r}$, so

\[\operatorname{Var}(X_a+X_b)=e^{-2r}\operatorname{Var}_{0,0}(X_a+X_b)=\tfrac12e^{-2r}<\tfrac12,\]

and identically for $Y_a-Y_b$. As $r\to\infty$ both $\to0$: $X_a+X_b$ and $Y_a-Y_b$ become simultaneously sharp even though $[X,Y]\neq0$ per mode — the EPR "elements of reality." Confirmed by two_mode_photon_distribution(...) being diagonal with $P(n,n)=(\tanh^2 0.6)^n/\cosh^2 0.6$, and epr_variances(0.6)→(0.151, 0.151), both $<0.5=\tfrac12 e^{-2\cdot0.6}$.

Run the worked code: cd QO/QO-05_squeezing_nonclassical/code && python3 squeezing.py

QO-06 — Nonlinear Optics — χ⁽²⁾/χ⁽³⁾, Parametric, SBS & Raman

Quantum Optics trunk · QO/QO-06_nonlinear_optics · open in the Teaching Network

At ordinary intensities a medium responds linearly, P = ε₀χ⁽¹⁾E, and optics is superposition. Drive it with a laser and the polarization picks up higher powers of the field, P = ε₀(χ⁽¹⁾E + χ⁽²⁾E² + χ⁽³⁾E³ + …); because the expansion parameter is the field measured against the atomic field E_at ≈ 10¹¹ V/m, each order is smaller by ~E/E_at, so the new terms only matter at laser intensities. The χ⁽²⁾ term (non-centrosymmetric crystals) mixes three waves: second-harmonic generation ω+ω→2ω, sum- and difference-frequency, and optical parametric amplification. Whether they build up coherently is set entirely by the phase mismatch Δk = k(2ω) − 2k(ω): the SHG efficiency follows sinc²(ΔkL/2), peaking at Δk = 0 and first nulling at ΔkL = 2π, with coherence length L_c = π/|Δk| fixed by material dispersion (~EM-15). Photon bookkeeping across any parametric step is the Manley–Rowe relation — one pump photon in, one signal + one idler photon out — which is energy conservation written per-photon. The χ⁽³⁾ term (present in every material) gives the optical Kerr effect n = n₀ + n₂I, hence self-phase modulation φ_NL = (2π/λ)n₂IL (the laser "B-integral") and four-wave mixing — and, through the same χ⁽³⁾, the stimulated Brillouin (SBS) and Raman gains: a Lorentzian g(Ω) peaked at the acoustic/vibrational shift. That SBS Lorentzian is precisely what the user's SBS_Project computes (gain spectra, phase-conjugate mirrors, pulse compression).

Key equations

\[P=\varepsilon_0\big(\chi^{(1)}E+\chi^{(2)}E^2+\chi^{(3)}E^3+\cdots\big).\]
\[\chi^{(2)}\sim\frac{\chi^{(1)}}{E_{\rm at}},\qquad \chi^{(3)}\sim\frac{\chi^{(1)}}{E_{\rm at}^{2}},\qquad E_{\rm at}\sim 10^{11}\,\text{V/m}.\]
\[\eta_{\rm SHG}\propto L^2\,\mathrm{sinc}^2\!\Big(\frac{\Delta k\,L}{2}\Big) =L^2\left(\frac{\sin(\Delta k L/2)}{\Delta k L/2}\right)^2,\qquad \Delta k=k(2\omega)-2k(\omega).\]
\[\Delta k=\frac{4\pi}{\lambda}\big(n(2\omega)-n(\omega)\big),\qquad L_c=\frac{\pi}{|\Delta k|}.\]
\[\frac{d}{dz}\frac{I_1}{\omega_1}=\frac{d}{dz}\frac{I_2}{\omega_2} =-\frac{d}{dz}\frac{I_3}{\omega_3}.\]
\[n=n_0+n_2 I,\qquad n_2=\frac{3\chi^{(3)}}{4n_0^2\varepsilon_0 c}.\]
\[\phi_{\rm NL}=\frac{2\pi}{\lambda}\,n_2 I L,\]
\[\omega_4=\omega_1+\omega_2-\omega_3,\qquad \mathbf{k}_4=\mathbf{k}_1+\mathbf{k}_2-\mathbf{k}_3.\]
\[g(\Omega)=g_0\,\frac{(\Gamma_B/2)^2}{(\Omega-\Omega_B)^2+(\Gamma_B/2)^2},\]
\[\nu_B=\frac{2 n v_a}{\lambda_p},\qquad \omega_S=\omega_p-\Omega_B.\]

Figures

Second-harmonic conversion eta/eta0 = sinc^2(Delta k L/2) vs phase mismatch Delta k, from shg_efficiency for crystals of L=1 and 2 mm. It peaks at perfect phase matching Delta k=0 and first nulls at Delta k L = 2 pi (dotted), so the longer crystal has the narrower acceptance bandwidth. With normal dispersion (Delta n=0.03 at 1.064 um) the coherence length L_c = pi/|Delta k| from coherence_length is only ~8.9 um — hence the need for birefringent or quasi-phase matching to reach Delta k=0.
Second-harmonic conversion eta/eta0 = sinc^2(Delta k L/2) vs phase mismatch Delta k, from shg_efficiency for crystals of L=1 and 2 mm. It peaks at perfect phase matching Delta k=0 and first nulls at Delta k L = 2 pi (dotted), so the longer crystal has the narrower acceptance bandwidth. With normal dispersion (Delta n=0.03 at 1.064 um) the coherence length L_c = pi/|Delta k| from coherence_length is only ~8.9 um — hence the need for birefringent or quasi-phase matching to reach Delta k=0.
Stimulated-Brillouin gain spectrum g/g0 from brillouin_gain for water at 532 nm: a Lorentzian peaked at the acoustic shift nu_B = 2 n v_a/lambda ~ 7.40 GHz (brillouin_shift) with peak g0 and FWHM equal to the phonon damping Gamma_B. Dots mark the half-maximum points at nu_B +/- Gamma_B/2 for Gamma_B = 100 and 200 MHz. This lineshape g_B(nu) is exactly the kernel the user's SBS_Project fits; stimulated Raman is the same Lorentzian at the far larger (THz) vibrational shift.
Stimulated-Brillouin gain spectrum g/g0 from brillouin_gain for water at 532 nm: a Lorentzian peaked at the acoustic shift nu_B = 2 n v_a/lambda ~ 7.40 GHz (brillouin_shift) with peak g0 and FWHM equal to the phonon damping Gamma_B. Dots mark the half-maximum points at nu_B +/- Gamma_B/2 for Gamma_B = 100 and 200 MHz. This lineshape g_B(nu) is exactly the kernel the user's SBS_Project fits; stimulated Raman is the same Lorentzian at the far larger (THz) vibrational shift.

Example problems

P1. Orders of magnitude of χ⁽ⁿ⁾Boyd Ch. 1

From P = ε₀(χ⁽¹⁾E + χ⁽²⁾E² + χ⁽³⁾E³ + …), argue that the ratio of successive terms is ~E/E_at with the atomic field E_at ≈ 5×10¹¹ V/m, hence χ⁽²⁾ ~ pm/V and χ⁽³⁾ ~ 10⁻²² m²/V². Why does χ⁽²⁾ vanish in a centrosymmetric medium? Check: chi_polarization(E, chi1) reduces to the linear ε₀χ⁽¹⁾E; the χ⁽²⁾-only term scales as E² (doubling E multiplies it by 4).

Solution

Compare adjacent terms of $P=\varepsilon_0(\chi^{(1)}E+\chi^{(2)}E^2+\chi^{(3)}E^3+\cdots)$:

\[\frac{\chi^{(n+1)}E^{n+1}}{\chi^{(n)}E^{n}}=\frac{\chi^{(n+1)}}{\chi^{(n)}}\,E\sim\frac{E}{E_{\rm at}},\]

since this expansion of the bound-electron response only breaks down when $E$ nears the atomic field $E_{\rm at}\sim10^{11}$–$10^{12}$ V/m that binds the electron. Thus $\chi^{(n+1)}/\chi^{(n)}\sim1/E_{\rm at}$, and with $\chi^{(1)}\sim1$: $\chi^{(2)}\sim1/E_{\rm at}\sim$ pm/V, $\chi^{(3)}\sim1/E_{\rm at}^2\sim10^{-22}\ \text{m}^2/\text{V}^2$. In a centrosymmetric medium, inversion sends $E\to-E$ and $P\to-P$; but the $\chi^{(2)}$ term gives $\chi^{(2)}(-E)^2=+\chi^{(2)}E^2$, which can equal the required $-\chi^{(2)}E^2$ only if $\chi^{(2)}=0$ (every even order dies; odd $\chi^{(3)}$ survives). So chi_polarization(E, chi1) is the pure linear $\varepsilon_0\chi^{(1)}E$, while the $\chi^{(2)}$-only term $\varepsilon_0\chi^{(2)}E^2$ quadruples ($\times4$) when $E$ doubles.

P2. SHG phase matching and the first nullBoyd Ch. 2

Integrate the undepleted-pump coupled-wave equation to get η ∝ L² sinc²(ΔkL/2), with Δk = k(2ω) − 2k(ω). Show the efficiency peaks at Δk = 0 and that its first null is at ΔkL = 2π. Check: shg_efficiency(0.0, L) = 1.0 (normalized peak); shg_efficiency(2π/L, L) ≈ 0 while shg_efficiency(π/L, L) > 0.

Solution

In the undepleted-pump, slowly-varying-envelope limit the harmonic amplitude obeys $dA_2/dz=i\kappa A_1^2e^{-i\Delta k\,z}$ with $A_1$ fixed. Integrating over the crystal,

\[A_2(L)=i\kappa A_1^2\int_0^Le^{-i\Delta k\,z}dz=i\kappa A_1^2\,L\,e^{-i\Delta kL/2}\,\operatorname{sinc}\!\Big(\frac{\Delta kL}{2}\Big),\qquad\operatorname{sinc}x=\frac{\sin x}{x}.\]

The efficiency is $\eta\propto|A_2(L)|^2\propto L^2\operatorname{sinc}^2(\Delta kL/2)$. It is largest at $\Delta k=0$, where $\operatorname{sinc}0=1$ and every slice adds in phase ($\eta\propto L^2$); its first zero is where the argument first hits $\pi$, i.e. $\Delta kL/2=\pi\Rightarrow\Delta kL=2\pi$. Hence shg_efficiency(0.0, L)$=1.0$ (normalized peak), shg_efficiency(2π/L, L)$\approx0$, while at the half-way point shg_efficiency(π/L, L)$=\operatorname{sinc}^2(\pi/2)=(2/\pi)^2\approx0.405>0$.

P3. Coherence length from dispersionBoyd Ch. 2; ~EM-15

Using k = nω/c, show Δk = (4π/λ)(n(2ω) − n(ω)) and L_c = π/|Δk|. For a 0.030 index split at λ = 1.064 µm, find L_c and explain why L_c is the half-period of back-and-forth conversion. Check: shg_phase_mismatch(1.50, 1.53, 1.064e-6) ≈ 3.54×10⁵ m⁻¹, and coherence_length of that ≈ 8.9 µm; the sinc² curve nulls at L = 2L_c.

Solution

With $k=n\omega/c$ and the harmonic at $2\omega$,

\[\Delta k=k(2\omega)-2k(\omega)=\frac{2\omega}{c}\big(n(2\omega)-n(\omega)\big)=\frac{4\pi}{\lambda}\big(n(2\omega)-n(\omega)\big),\]

using $\omega=2\pi c/\lambda$ so that $2\omega/c=4\pi/\lambda$. The coherence length is the run over which the relative phase $\Delta k\,z$ accumulates $\pi$, $L_c=\pi/|\Delta k|$. For an index split $\Delta n=0.030$ at $\lambda=1.064\,\mu$m, $\Delta k=4\pi(0.030)/(1.064\,\mu\text{m})\approx3.54\times10^5\ \text{m}^{-1}$ and $L_c=\pi/\Delta k\approx8.9\,\mu$m. Beyond $L_c$ the harmonic is $\pi$ out of phase and power flows back to the fundamental, so conversion oscillates with spatial period $2L_c$ and $L_c$ is its half-period — exactly the $L=2L_c$ null of the §2 $\operatorname{sinc}^2$ curve. This is shg_phase_mismatch(1.50, 1.53, 1.064e-6)$\approx3.54\times10^5\ \text{m}^{-1}$ with coherence_length$\approx8.9\,\mu$m.

P4. Manley–Rowe and the parametric stepBoyd Ch. 2; ~QO-05

For ω₃ = ω₁ + ω₂ show d(I₁/ω₁) = d(I₂/ω₂) = −d(I₃/ω₃), i.e. one pump photon makes one signal + one idler photon, and deduce ΔI₁ + ΔI₂ + ΔI₃ = 0. Identify the idler wavelength when a 532 nm pump seeds an 800 nm signal. Check: manley_rowe_check(...) returns equal dPhi_signal = dPhi_idler = −dPhi_pump (= 10²⁴), energy_residual ≈ 0, and an idler at λ ≈ 1588 nm.

Solution

The photon flux in beam $i$ is $\Phi_i=I_i/\hbar\omega_i$. A lossless $\chi^{(2)}$ step destroys one pump photon ($\omega_3$) to make one signal ($\omega_1$) and one idler ($\omega_2$), so $d\Phi_1=d\Phi_2=-d\Phi_3$, i.e.

\[\frac{d}{dz}\frac{I_1}{\omega_1}=\frac{d}{dz}\frac{I_2}{\omega_2}=-\frac{d}{dz}\frac{I_3}{\omega_3}.\]

Writing $\Delta I_i=\hbar\omega_i\,\Delta\Phi_i$ with $\Delta\Phi_1=\Delta\Phi_2=-\Delta\Phi_3\equiv\Delta\Phi$, energy balance follows: $\Delta I_1+\Delta I_2+\Delta I_3=\hbar(\omega_1+\omega_2-\omega_3)\Delta\Phi=0$ because $\omega_3=\omega_1+\omega_2$. For $\lambda_p=532$ nm and $\lambda_s=800$ nm the idler obeys $1/\lambda_i=1/\lambda_p-1/\lambda_s=(800-532)/(532\cdot800\ \text{nm})$, giving $\lambda_i\approx1588$ nm. Hence manley_rowe_check(...) returns dPhi_signal$=$dPhi_idler$=-$dPhi_pump$=10^{24}$, energy_residual$\approx0$, and an idler at $\approx1588$ nm.

P5. Self-phase modulation / the B-integralBoyd Ch. 4/7

From n = n₀ + n₂I derive the nonlinear phase φ_NL = (2π/λ)n₂IL acquired by a beam modulating itself. Evaluate it for fused silica (n₂ = 2.6×10⁻²⁰ m²/W) at I = 10¹⁵ W/m² over L = 1 cm at λ = 1.064 µm, and say why a B-integral of order 1 threatens a laser chain. Check: kerr_phase(2.6e-20, 1e15, 1e-2, 1.064e-6) ≈ 1.54 rad, linear in both I and L.

Solution

A wave traversing length $L$ accumulates phase $\phi=(2\pi/\lambda)nL$; with the Kerr index $n=n_0+n_2I$ the intensity-dependent part is the self-phase modulation

\[\phi_{\rm NL}=\frac{2\pi}{\lambda}\,n_2 I\,L,\]

the beam phase-modulating itself. For fused silica $n_2=2.6\times10^{-20}\ \text{m}^2/\text{W}$ at $I=10^{15}\ \text{W/m}^2$ over $L=10^{-2}$ m at $\lambda=1.064\,\mu$m,

\[\phi_{\rm NL}=\frac{2\pi}{1.064\times10^{-6}}(2.6\times10^{-20})(10^{15})(10^{-2})\approx1.54\ \text{rad}.\]

The accumulated $B=\int(2\pi/\lambda)n_2I\,dz$ is the "B-integral"; once $B\gtrsim1$ the brightest filaments pick up $\sim1$ rad of extra phase, the wavefront self-focuses, and the beam breaks up — damaging a high-power chain (~PK-04), so designers hold $B$ below order unity. Linear in both $I$ and $L$, this is kerr_phase(2.6e-20, 1e15, 1e-2, 1.064e-6)$\approx1.54$ rad.

P6. SBS gain spectrum and the Brillouin shiftBoyd Ch. 9; → SBS_Project

A pump scattering off a backward acoustic wave is downshifted by ν_B = 2 n v_a/λ_p. Sketch the Stokes gain as a Lorentzian of FWHM Γ_B centered at Ω_B, and find where the gain falls to half its peak. Check: brillouin_shift(1.33, 1480, 532e-9) ≈ 7.4 GHz (water); brillouin_gain gives g₀ at line center and g₀/2 at Ω_B ± Γ_B/2 — the lineshape SBS_Project fits to data.

Solution

Backscattered Stokes light beats with the pump to drive a sound wave; phase matching for a reflected wave ($\mathbf k_S\approx-\mathbf k_p$) needs phonon wavevector $q\approx2k_p=4\pi n/\lambda_p$, and for a linear sound branch $\Omega_B=v_a q$, so

\[\nu_B=\frac{\Omega_B}{2\pi}=\frac{v_a\,q}{2\pi}=\frac{2 n v_a}{\lambda_p}.\]

The Stokes gain is the Lorentzian $g(\Omega)=g_0(\Gamma_B/2)^2/[(\Omega-\Omega_B)^2+(\Gamma_B/2)^2]$, peaking at $g_0$ when $\Omega=\Omega_B$ and falling to $g_0/2$ where $(\Omega-\Omega_B)^2=(\Gamma_B/2)^2$, i.e. at $\Omega_B\pm\Gamma_B/2$ — the two half-maximum points a full $\Gamma_B$ apart. For water, $\nu_B=2(1.33)(1480)/(532\times10^{-9})\approx7.4$ GHz. So brillouin_shift(1.33, 1480, 532e-9)$\approx7.4$ GHz, and brillouin_gain returns $g_0$ at line center and $g_0/2$ at $\Omega_B\pm\Gamma_B/2$ — the lineshape SBS_Project fits.

P7. Brillouin vs. RamanBoyd Ch. 9–10

Both stimulated-scattering gains are Lorentzians of the same form; contrast the two by phonon type (acoustic vs. optical/vibrational) and therefore by the size of the shift. Why is the Raman shift orders of magnitude larger than the Brillouin shift? Check: raman_gain(Ω_R, Ω_R, γ_R) peaks at g₀ just like SBS, but at a Raman shift Ω_R (~10¹⁴ rad/s, THz) ≫ the Brillouin shift (~GHz).

Solution

Both gains are the identical Lorentzian $g(\Omega)=g_0(\Gamma/2)^2/[(\Omega-\Omega_0)^2+(\Gamma/2)^2]$; they differ only in which excitation the optical beat drives. Brillouin scatters off an acoustic phonon, $\Omega=v_a q$, gapless and linear in $q$; at the backscatter wavevector $q\approx2k$ this is

\[\Omega_B=v_a\cdot\frac{4\pi n}{\lambda}\sim\frac{v_a}{c}\,\omega\sim10^{-5}\,\omega\sim\text{GHz},\]

because $v_a/c\sim10^{-5}$. Raman scatters off an optical/vibrational phonon whose frequency is set by intramolecular bond stiffness, nearly $q$-independent, with $\hbar\Omega_R\sim0.1$ eV $\Rightarrow\Omega_R\sim10^{14}\ \text{rad/s}$ (tens of THz). The ratio $\Omega_R/\Omega_B\sim10^4$–$10^5$ is large precisely because acoustic-branch frequencies vanish as $q\to0$ while optical-branch frequencies sit at a finite bond-stiffness gap. So raman_gain(Ω_R, Ω_R, γ_R) peaks at $g_0$ exactly like SBS, but at $\Omega_R\sim10^{14}$ rad/s $\gg$ the GHz Brillouin shift.

Run the worked code: cd QO/QO-06_nonlinear_optics/code && python3 nonlinear_optics.py