Cavity QED Simulation Notebook
A finite Jaynes–Cummings matrix is not automatically a faithful Jaynes–Cummings calculation. The matrix can be Hermitian, the propagated state can keep unit norm, and the total excitation can appear conserved even when the chosen photon cutoff removes appreciable probability or blocks a physically allowed transition at the upper edge of the basis.
This notebook makes the representation error visible. It computes:
- the first two dressed doublets across resonance;
- resonant vacuum Rabi exchange from ;
- collapse and revival for an initially coherent field with ;
- a four-cutoff convergence study against an effectively infinite Poisson sum;
- an optional unconditional Lindblad model with cavity and emitter loss; and
- algebraic, invariant, convergence, trace, Hermiticity, and positivity checks.
The retained headline results are:
| Diagnostic | Computed value | What it tests |
|---|---|---|
| largest dressed-energy error | numerical versus analytic blocks | |
| largest vacuum-Rabi population error | full tensor-basis propagation | |
| largest vacuum-Rabi excitation drift | conservation of | |
| versus infinite Poisson-sum error | coherent-state reference | |
| largest revival-window inversion | revival resolved near | |
| closed Lindblad-limit population error | RK4 master-equation propagation | |
| largest density-matrix trace error | open-system normalization | |
| minimum computed density eigenvalue | positivity within integration tolerance |
The small negative eigenvalue in the last row is reported rather than clipped. Explicit Runge–Kutta propagation is not a completely positive map for an arbitrary time step; the value is a numerical error estimate, not a physical negative probability.
Run the investigation. The program and retained results below support the stated experiment. Follow Running an Experiment for environment and output-directory guidance. The recorded evidence applies to its stated parameters and environment.
Purpose and Canonical Scope
Section titled “Purpose and Canonical Scope”This page is the canonical home for the executable calculation that:
- builds atom–field tensor-product operators in a declared ordering;
- treats the photon cutoff as a convergence parameter;
- checks analytic dressed energies and resonance splittings;
- propagates pure states by Hermitian diagonalization;
- verifies vacuum Rabi exchange against a closed-form solution;
- compares finite coherent-state calculations with the untruncated Poisson sum;
- quantifies both omitted coherent-state weight and observable error;
- propagates a small unconditional Lindblad equation with explicit RK4; and
- exports every plotted curve, diagnostic, convention, and limitation.
Neighboring pages retain distinct canonical responsibilities:
- Jaynes–Cummings Model owns the model derivation, excitation manifolds, exact dressed states, collapse–revival analysis, and physical interpretation.
- Cavity QED owns the physical coupling , cavity linewidth conventions, cooperativity, Purcell regime, strong-coupling criteria, and measured spectra.
- Dressed States owns the broader concept of eigenstates of an interacting light–matter Hamiltonian.
- Cavity QED Platforms owns implementation-specific hardware, scales, and noise sources.
- Quantum Optical Master Equation owns the system–reservoir assumptions behind Markovian radiative loss.
- Quantum-Jump Trajectories owns states conditioned on a detection record.
The present page verifies a finite-basis forward model. It does not replace those derivations, infer a device from dimensionless curves, or interpret an unconditional density matrix as a single experimental record.
Reproducibility Contract
Section titled “Reproducibility Contract”The executable artifact is a NumPy-only Python program:
- Download the program
- Dressed-spectrum data
- Vacuum-Rabi data
- Collapse–revival data
- Photon-cutoff diagnostics
- Cavity-loss data
- Machine-readable metadata and validation
Run the downloaded program from the folder where you saved it:
python cavity-qed-simulation.py --output-dir resultsThe default run declares:
| Item | Choice |
|---|---|
| language | Python 3 |
| numerical dependency | NumPy |
| random numbers | none |
| closed-dynamics units | |
| detuning | |
| atom basis order | $[ |
| field basis order | $[ |
| tensor order | atom field |
| dressed-spectrum samples | |
| vacuum-Rabi samples | |
| collapse–revival samples | |
| loss-model samples | |
| largest loss-model RK4 step | |
| pure-state propagator | Hermitian eigendecomposition |
| density-matrix propagator | classical explicit RK4 |
Odd output-sample counts include both endpoints and the midpoint. There is no random seed, nonlinear fit, adaptive tolerance, hidden plotting dependency, or external quantum-optics package. The JSON artifact records the runtime versions, all checks, physical exclusions, source DOIs, and output names.
Claim boundary
Section titled “Claim boundary”The closed calculations assume:
- one two-level emitter;
- one bosonic cavity mode;
- the rotating-wave Jaynes–Cummings interaction;
- no external drive;
- no loss, dephasing, thermal photons, or measurement; and
- an exactly time-independent Hamiltonian.
The optional open calculation adds only Markovian cavity-energy decay and emitter-population decay. It is restricted to the zero- and one-excitation sectors. It does not include pure dephasing, a coherent cavity drive, finite-temperature pumping, non-Markovian reservoirs, input–output fields, detector response, counter-rotating terms, or the diamagnetic contribution needed in some ultrastrong-coupling descriptions.
The generated curves are therefore model benchmarks, not species-specific or device-specific predictions.
Model, Basis, and Conventions
Section titled “Model, Basis, and Conventions”The full Jaynes–Cummings Hamiltonian is
with
Operators acting on different tensor factors commute, so the interaction could equivalently be written with the atom operators first. The program uses atom field ordering consistently:
Its vector dimension is . A basis index is not meaningful without this ordering declaration.
Rotating-frame Hamiltonian
Section titled “Rotating-frame Hamiltonian”For closed dynamics, a common excitation-dependent phase can be removed. The program propagates with
This interaction-frame Hamiltonian retains the detuning and exchange dynamics while avoiding a large irrelevant carrier frequency. It gives the same populations and number expectation values as the full Hamiltonian.
Excitation invariant
Section titled “Excitation invariant”Define
For the untruncated Jaynes–Cummings model,
Consequently each positive-excitation sector is two-dimensional:
This symmetry is both an analytic simplification and a high-value computational diagnostic. During closed propagation the program monitors
A small drift tests the propagator and operator assembly. It does not prove that is large enough, because the truncated Hamiltonian can conserve its own truncated excitation operator.
Building the Finite Oscillator
Section titled “Building the Finite Oscillator”The cutoff means that the retained photon numbers are
The annihilation matrix is
In NumPy this is:
a = np.zeros((N, N), dtype=complex)for n in range(1, N): a[n - 1, n] = np.sqrt(n)adag = a.conj().TThe main tensor operators then have the explicit forms
H = ( 0.5 * delta * np.kron(sigma_z, identity_field) + g * ( np.kron(sigma_plus, a) + np.kron(sigma_minus, adag) ))The code never infers tensor ordering from dimensions. That restraint avoids a particularly quiet error: two matrices can have the expected shape while acting on the wrong subsystems.
The upper-edge defect
Section titled “The upper-edge defect”Finite oscillator matrices do not satisfy the canonical commutator exactly:
The deviation is localized at the highest retained number state. In the Jaynes–Cummings interaction, the state
should couple to the omitted state . The finite matrix blocks that transition. Therefore a calculation can fail before the omitted tail looks visually dramatic.
This is why the notebook reports three distinct diagnostics:
- omitted initial probability above the cutoff;
- observable error against an effectively infinite reference; and
- invariant and norm errors within the retained space.
No one of them substitutes for the others.
Renormalization can hide omission
Section titled “Renormalization can hide omission”For a coherent state with amplitude ,
A finite vector commonly retains the first coefficients and then renormalizes them. Its norm is exactly one after renormalization even if a large part of the physical Poisson distribution was discarded. The omitted weight
must be computed before renormalization.
Dressed-Spectrum Benchmark
Section titled “Dressed-Spectrum Benchmark”The canonical derivation lives on the Jaynes–Cummings Model page. For computational verification, restrict the full Hamiltonian to and subtract its common center:
The two shifts are
Restoring the common energy gives
At resonance,
The square-root scaling distinguishes successive excitation manifolds.
Numerical experiment
Section titled “Numerical experiment”The spectrum calculation uses:
| Quantity | Value |
|---|---|
| cavity frequency | |
| coupling | |
| detuning interval | |
| manifolds | |
| detuning samples |
At each detuning, numpy.linalg.eigh diagonalizes the Hermitian
block. The program:
- sorts the eigenvalues in ascending order;
- compares them with ;
- verifies the eigenvector Gram matrix;
- records the fraction of each eigenvector; and
- checks both resonance gaps.
The largest energy difference is
and the largest orthonormality error is
The computed resonance-gap errors are
These are floating-point roundoff checks, not evidence that an arbitrary cavity is described exactly by the Jaynes–Cummings Hamiltonian.
Eigenvector labels and phases
Section titled “Eigenvector labels and phases”Numerical eigenvectors have arbitrary overall phases. Across an avoided crossing, a phase can flip from one sample to the next without changing any observable. Comparing raw vector components is therefore fragile.
The program compares:
- eigenvalues;
- orthonormality;
- resonance splittings; and
- phase-insensitive component probabilities.
Far from resonance, the lower and upper dressed states approach opposite bare characters on the two sides of the crossing. A label such as “mostly atomic” cannot remain attached to one energy branch across the entire scan.
Vacuum Rabi Exchange
Section titled “Vacuum Rabi Exchange”Set and prepare
Only the one-excitation manifold is occupied. Its exact evolution is
Therefore
The oscillation is a coherent exchange of one excitation between emitter and field. It occurs even when the cavity begins in the vacuum; “vacuum” does not mean that the interaction matrix element vanishes.
Full-basis propagation
Section titled “Full-basis propagation”This benchmark intentionally uses the tensor-product Hamiltonian with , not the hand-written block. A Hermitian eigendecomposition
gives
The calculation samples
at points. It tests the assembly of the full operator, initial basis index, projection onto the excited atom, number operator, and total excitation operator.
Retained errors
Section titled “Retained errors”| Check | Maximum error |
|---|---|
| versus | |
| versus | |
| state norm | |
| total excitation |
Agreement at this level is expected because the Hamiltonian is time-independent and the eigendecomposition evaluates its exponential directly. The benchmark would be less stringent if it checked only the oscillation frequency: a swapped projector could produce the right frequency and the wrong observable.
Coherent-State Collapse and Revival
Section titled “Coherent-State Collapse and Revival”Now prepare
Each photon-number component evolves with its own resonant Rabi frequency,
The atomic inversion is
where
The program evaluates this infinite-sum reference through . At , the remaining Poisson tail is negligible at double precision.
Collapse is unitary dephasing
Section titled “Collapse is unitary dephasing”The initial number components begin in phase. Because is nonlinear in , their oscillations acquire different phases and the weighted sum loses contrast. The full atom–field state still evolves unitarily and remains pure.
The word collapse here means collapse of the summed Rabi-oscillation envelope. It is not:
- projective state reduction;
- norm loss;
- environmental decoherence; or
- failure of deterministic Schrödinger evolution.
The atom alone can become mixed because it is entangled with the field. That reduced-state mixing is compatible with a pure joint state.
Collapse and revival estimates
Section titled “Collapse and revival estimates”Expanding the frequency about the Poisson peak gives
Neighboring number components rephase when their relative phase is about , giving
For ,
The conventional short-time Gaussian estimate gives the collapse scale
These are asymptotic envelope estimates, not exact event definitions. The computed largest in the interval is
at
The peak need not occur exactly at the leading-order estimate.
Photon-Cutoff Study
Section titled “Photon-Cutoff Study”The coherent calculation is repeated with
and compared with both:
- a tensor-basis calculation at ; and
- the effectively infinite Poisson sum.
The reported cutoff is the vector dimension of the field factor, so the highest retained number is .
| | Highest | Omitted Poisson weight | Maximum | Maximum | | ---: | ---: | ---: | ---: | ---: | | | | | | | | | | | | | | | | | | | | | | | | |
The error decreases monotonically over this sequence. The calculation agrees with the Poisson sum to
Why the observable error can exceed the tail
Section titled “Why the observable error can exceed the tail”For a bounded observable, omitted probability suggests a useful scale, but it is not an exact error formula for this finite-matrix calculation. Two effects occur:
- the retained coherent-state coefficients are renormalized; and
- the top state cannot exchange its excitation with the omitted state .
At , for example,
while the maximum inversion error is
Reporting only the initial tail would understate the measured error.
Choose a cutoff for the observable and time window
Section titled “Choose a cutoff for the observable and time window”A cutoff is not globally “converged.” It is converged for:
- a declared initial state;
- a declared Hamiltonian;
- a declared observable;
- a declared time interval; and
- a declared tolerance.
A driven cavity can populate higher photon numbers at late times even if its initial vacuum state needs almost no field basis. A cutoff accepted for vacuum Rabi exchange therefore says little about a driven steady state.
Optional Cavity-Loss Extension
Section titled “Optional Cavity-Loss Extension”To demonstrate the transition from a pure-state Hamiltonian calculation to an unconditional open-system calculation, the notebook also solves
with
The extension is resonant, begins in , uses , and includes the joint ground state . Because there is no drive and at most one initial excitation, no higher photon state is dynamically required.
Decay-rate conventions
Section titled “Decay-rate conventions”Here:
- is the cavity energy-decay rate;
- is the emitter population-decay rate.
For an empty cavity,
while its field amplitude decays as
Some literature uses for the field-amplitude half-width. Translate the convention before comparing plots, cooperativities, or strong-coupling criteria. The Cavity QED page keeps the same energy-decay convention used here.
Unconditional evolution
Section titled “Unconditional evolution”The master equation averages over all unobserved reservoir records. Population leaving the one-excitation sector accumulates in , and the density-matrix trace remains one.
This is not the evolution under the non-Hermitian effective Hamiltonian
That Hamiltonian alone describes an unnormalized no-jump branch. Turning its norm loss into unconditional population loss without restoring jumps mixes two different physical questions.
Three retained cases
Section titled “Three retained cases”The program propagates:
| Case | Purpose | ||
|---|---|---|---|
| closed | recover unitary vacuum Rabi exchange | ||
| balanced | equal decay rate for either location of the excitation | ||
| leaky cavity | damp exchange strongly through the cavity |
For the balanced case,
because both possible excitation locations decay at the same rate. Consequently
which matches the computed value.
For the leaky-cavity case, the retained final total excitation is
The number is a property of this dimensionless toy model, not a universal cavity-QED decay law.
RK4 and physicality checks
Section titled “RK4 and physicality checks”The density matrix is advanced directly with classical fourth-order Runge–Kutta using an internal step no larger than
At every output time the program evaluates:
The retained results are:
| Check | Value |
|---|---|
| closed RK4 population error | |
| largest trace error | |
| largest Hermiticity error | |
| minimum density eigenvalue |
The positivity tolerance is , so the run passes. A production calculation should also refine the step and, where appropriate, compare with a positivity-preserving or exponential integrator.
Benchmark Figure
Section titled “Benchmark Figure”Generated benchmarks. (a) The dressed shifts avoid the crossing of the bare branches, with a resonant gap . (b) One excitation exchanges coherently between and . (c) A coherent field with shows unitary collapse and revival; the visibly displaced curve exposes an inadequate photon cutoff, while is closer but not converged to high precision. (d) Unconditional Lindblad loss damps the exchange and transfers weight to . Every curve is read from the downloadable CSV artifacts.
The figure is a summary, not a convergence certificate. In panel (c), the and curves would be visually indistinguishable from the Poisson sum at this scale, yet their numerical errors differ by nine orders of magnitude.
Verification Ladder
Section titled “Verification Ladder”The calculation uses independent checks with different failure sensitivity.
Level 1: matrix identities
Section titled “Level 1: matrix identities”- ;
- eigenvectors are orthonormal;
- analytic and numerical eigenvalues agree; and
- resonance gaps follow .
These checks catch sign, square-root, and basis-order errors before time propagation.
Level 2: exact dynamics
Section titled “Level 2: exact dynamics”- vacuum ;
- vacuum ;
- ; and
- is constant.
Matching two complementary observables is stronger than matching one.
Level 3: representation convergence
Section titled “Level 3: representation convergence”- compute the omitted Poisson weight;
- repeat at increasing ;
- compare the target observable over the full time window; and
- compare with a structurally independent Poisson sum.
This level catches a perfectly unitary calculation in an inadequate basis.
Level 4: open-system physicality
Section titled “Level 4: open-system physicality”- recover the closed limit;
- preserve trace;
- preserve Hermiticity;
- monitor the smallest density eigenvalue; and
- verify that loss reduces total excitation.
Trace preservation alone would not catch a nonpositive density matrix.
Error Ledger
Section titled “Error Ledger”| Error source | Present in which calculation? | Diagnostic or control |
|---|---|---|
| two-level reduction | all | outside numerical convergence; compare with multilevel physics |
| rotating-wave approximation | all | outside cutoff convergence; compare with a Rabi-model extension |
| single-mode approximation | all | inspect cavity spectrum and coupling to other modes |
| photon cutoff | coherent-state runs | omitted tail plus observable convergence |
| top-edge blocking | coherent-state runs | compare with Poisson sum and raise |
| floating-point diagonalization | closed runs | analytic spectra, norms, invariants |
| output-time sampling | revival peak report | refine sample grid or optimize locally |
| RK4 time step | loss extension | closed limit and step refinement |
| Markovian decay model | loss extension | model assumption, not a solver error |
| missing detector model | loss extension | do not call a measured count record without efficiencies and filtering |
Errors on different rows need different convergence campaigns. Increasing does not repair the rotating-wave approximation; decreasing the RK4 step does not add omitted cavity modes.
Program Architecture
Section titled “Program Architecture”The program separates physics construction from output and validation:
- operator constructors build , , , , , and observables;
- basis-state and coherent-state constructors define initial vectors;
- a Hermitian spectral propagator evaluates all closed trajectories;
- dedicated routines produce dressed, vacuum, revival, and cutoff rows;
- a direct density-matrix RK4 routine produces the loss extension;
- validators reject failed tolerances before metadata is written; and
- CSV and JSON writers serialize deterministic outputs.
The code uses numpy.linalg.eigh for Hermitian matrices and
numpy.linalg.eigvalsh for Hermitian density-matrix spectra. General
eigensolvers would discard useful structure and can introduce avoidable
complex roundoff into real eigenvalues.
Why diagonalization is appropriate here
Section titled “Why diagonalization is appropriate here”For a time-independent Hermitian matrix, spectral propagation is:
- exact up to floating-point diagonalization and phase evaluation;
- unitary by construction to roundoff;
- efficient when many output times share one Hamiltonian; and
- easy to benchmark analytically.
It is not the default answer for:
- a strongly time-dependent drive;
- a very large sparse field basis;
- many emitters;
- a non-Hermitian generator; or
- a Liouvillian whose dense matrix scales as the square of Hilbert-space dimension.
The Time-Dependent Two-Level Systems Notebook develops explicit time stepping for driven Hamiltonians, while Solving Lindblad Equations maps broader open-system strategies.
Output schemas
Section titled “Output schemas”The CSV artifacts preserve more than the plotted columns:
| File | Selected columns |
|---|---|
| dressed spectrum | , both branch energies, centered shifts, atomic fractions, analytic shifts for |
| vacuum Rabi | , , numerical and analytic , numerical and analytic , total excitation |
| collapse–revival | , , infinite-sum , , and all four finite-cutoff curves |
| truncation | , highest , omitted tail, errors versus and infinite sum, norm and excitation drift |
| loss | , , , total excitation, , and for every case |
The metadata artifact records definitions and limitations that do not fit naturally into numeric columns. A figure can be regenerated without reverse-engineering its assumptions from line colors.
Reading the Results Responsibly
Section titled “Reading the Results Responsibly”What is demonstrated
Section titled “What is demonstrated”Within the declared model and tolerances, the outputs establish that:
- the tensor and manifold formulations agree;
- dressed doublets have the expected avoided crossings and square-root splittings;
- the vacuum exchanges one excitation coherently;
- a coherent photon-number distribution produces collapse and revival;
- the finite oscillator converges systematically for the selected observable and time window; and
- a small Lindblad extension recovers the closed limit and remains physical within its integration tolerance.
What is not demonstrated
Section titled “What is not demonstrated”The outputs do not establish:
- the validity of the two-level approximation for a particular emitter;
- the validity of the rotating-wave approximation at arbitrary ;
- strong coupling in a real device;
- a measured transmission or fluorescence spectrum;
- single-shot quantum jumps;
- nonclassicality from the inversion curve alone;
- convergence of a driven high-photon steady state; or
- agreement with an experiment that was not included in the model.
An avoided crossing is consistent with hybridization, but a measured avoided crossing needs a forward model including drive, damping, ports, and detector response before fitted parameters receive a cavity-QED interpretation.
Common Mistakes
Section titled “Common Mistakes”Calling the cutoff the maximum photon number
Section titled “Calling the cutoff the maximum photon number”In this notebook, is the field-space dimension. The largest retained number is .
Checking only state norm
Section titled “Checking only state norm”Renormalizing a truncated coherent state forces its norm to one. This says nothing about omitted probability.
Checking only the initial tail
Section titled “Checking only the initial tail”Top-edge blocking can amplify observable error beyond the initial tail scale. Compare the observable itself.
Trusting a single cutoff
Section titled “Trusting a single cutoff”A single finite answer has no demonstrated representation convergence. Retain a sequence and a quantitative acceptance rule.
Swapping tensor order
Section titled “Swapping tensor order”kron(atom, field) and kron(field, atom) have the same dimensions but
different index meanings. Projectors and initial states must use the same
ordering as the Hamiltonian.
Missing the square root
Section titled “Missing the square root”The coupling in manifold is , not and not a constant .
Confusing Rabi-frequency conventions
Section titled “Confusing Rabi-frequency conventions”Here the resonance energy gap and population angular frequency in manifold are
The vacuum excited population is . A source that calls the Rabi frequency is using a different convention.
Calling unitary collapse decoherence
Section titled “Calling unitary collapse decoherence”The collapse in the coherent-state curve results from reversible dephasing among number sectors. The revival is precisely the evidence that the phases were not irreversibly erased by the model.
Comparing incompatible detuning signs
Section titled “Comparing incompatible detuning signs”This notebook uses . Translate formulas that use before comparing eigenvector composition or dispersive shifts.
Confusing energy and amplitude decay
Section titled “Confusing energy and amplitude decay”With this page’s convention, damps photon number as and field amplitude as .
Using a no-jump Hamiltonian as an unconditional model
Section titled “Using a no-jump Hamiltonian as an unconditional model”Non-Hermitian norm loss is a conditional survival probability. The unconditional master equation includes recycling terms.
Clipping density eigenvalues
Section titled “Clipping density eigenvalues”Clipping can hide an unstable integrator. Report the minimum eigenvalue, refine the step, and use a suitable propagator if the violation is not negligible.
Extensions
Section titled “Extensions”Detuned exchange
Section titled “Detuned exchange”Set and compare the numerical one-excitation result with
This adds a simultaneous test of oscillation frequency and contrast.
Driven dissipative cavity
Section titled “Driven dissipative cavity”Adding a term such as
destroys excitation-number conservation and makes the photon cutoff dynamical. Convergence must then cover drive strength, transient duration, and steady-state photon distribution.
Input–output observables
Section titled “Input–output observables”A port-resolved model can connect the intracavity field to outgoing modes. Transmission, reflection, and detected count rates require coupling fractions, interference with incident fields, collection efficiency, bandwidth, and noise. Intracavity alone is not a measured spectrum.
Beyond the rotating-wave approximation
Section titled “Beyond the rotating-wave approximation”Replace the interaction with the quantum Rabi form
Then is not conserved, the ground state is dressed, and photon cutoff requirements change. Gauge consistency and diamagnetic terms can matter in ultrastrong-coupling regimes; this is a model change, not merely a larger matrix calculation.
Trajectory unraveling
Section titled “Trajectory unraveling”The same Lindblad equation can be unraveled into stochastic quantum-jump records. Ensemble averages should recover the unconditional density matrix within sampling error. The Quantum-Jump Simulation page develops that numerical distinction.
Exercises
Section titled “Exercises”1. Prove excitation conservation
Section titled “1. Prove excitation conservation”Show that
commutes with the Jaynes–Cummings Hamiltonian. Explain why this does not guarantee photon-cutoff convergence.
Solution
The free terms are functions of and , so they commute with . For the exchange terms, use
and
Then
Hence .
After truncation, the finite Hamiltonian can still commute with the finite version of . That identity tests internal consistency but not whether appreciable physical amplitude reaches the upper boundary. Cutoff convergence requires increasing and comparing the target observable.
2. Recover the dressed doublet
Section titled “2. Recover the dressed doublet”Diagonalize
and find its resonant splitting.
Solution
The characteristic equation is
Thus
At ,
so
The common manifold center cancels from the splitting.
3. Verify vacuum Rabi exchange
Section titled “3. Verify vacuum Rabi exchange”Starting from at resonance, derive the state and show that .
Solution
In the ordered basis ,
Therefore
Acting on the first basis vector gives
Hence
and their sum is one. This equality expresses conservation of the single initial excitation.
4. Separate tail error from edge error
Section titled “4. Separate tail error from edge error”Let be the coherent-state probability above the cutoff. Show that the expectation of any observable under the renormalized conditional Poisson distribution differs from the full Poisson expectation by at most . Why can the finite Jaynes–Cummings matrix exceed this bound?
Solution
Write the full distribution as
where is the normalized conditional distribution for . Then
Therefore
This bound assumes that every retained component evolves with its correct function . The finite Jaynes–Cummings matrix violates that assumption for : its partner is absent, so the upper-edge component has the wrong dynamics. The total finite-matrix error can therefore exceed , as the result does over part of the retained time window.
5. Estimate the revival time
Section titled “5. Estimate the revival time”Use the difference between neighboring Rabi frequencies near to derive the leading revival time. Evaluate it for .
Solution
The resonant frequencies are
Near a large ,
Neighboring components rephase when
Thus
For ,
The computed revival-envelope maximum occurs nearby, not exactly at this leading-order estimate.
6. Explain collapse without environmental decoherence
Section titled “6. Explain collapse without environmental decoherence”The atomic inversion nearly vanishes during the collapse region even though the full state is pure. Reconcile these statements.
Solution
The joint state has the schematic form
Each number sector evolves coherently, and the joint state remains a unit vector produced by a unitary operator. The inversion is a weighted sum of oscillatory terms with different frequencies. Those terms dephase and cancel without losing their phases.
Tracing out the field can yield a mixed atomic density matrix because the atom is entangled with distinguishable field states. That is subsystem mixing, not impurity of the joint state. Later rephasing produces the revival, which would not occur under irreversible phase erasure in this closed model.
7. Derive the balanced-loss benchmark
Section titled “7. Derive the balanced-loss benchmark”For and no drive, show that
Solution
The Hamiltonian exchange conserves . A cavity jump removes one excitation whenever the excitation is photonic, and an emitter jump removes one whenever it is atomic. The adjoint Lindblad equation therefore gives
When ,
Solving this scalar equation gives the stated exponential. With , , and one initial excitation, the result is .
8. Design a positivity refinement test
Section titled “8. Design a positivity refinement test”The retained RK4 run has . Describe a test that distinguishes time-step error from a physical or implementation error.
Solution
Repeat the same calculation with maximum internal steps
without clipping or renormalizing the density matrix. For each run retain:
- the minimum eigenvalue over time;
- the largest trace and Hermiticity errors;
- the maximum difference in from the finest run; and
- the closed-limit analytic error.
In the asymptotic RK4 regime, observable differences should decrease by about when the step is halved. The small negative eigenvalue should move toward zero if it is a discretization artifact. Failure to converge, a violation that stays large, or a trace-preserving but increasingly negative state points to a generator, basis, or implementation error.
A completely positive exponential or splitting method provides a useful cross-formulation check, but agreement still needs time-step and representation tests.
9. Plan a driven-cavity cutoff campaign
Section titled “9. Plan a driven-cavity cutoff campaign”Suppose a coherent cavity drive is added. Give an acceptance protocol for the photon cutoff that is stronger than requiring .
Solution
A defensible protocol should:
- declare the drive, detuning, loss rates, initial state, time window, and target observables;
- run an increasing sequence such as , , and ;
- compare the full time series or steady-state values of all reported observables;
- inspect the upper-edge probability for several edge states, not only the mean;
- monitor trace, Hermiticity, positivity, and solver convergence independently;
- require the changes to fall below a predeclared absolute or relative tolerance; and
- retain the entire convergence record.
The condition is insufficient because a broad or heavy-tailed distribution can have small mean relative to while still placing consequential weight at the boundary. Correlations and rare-event observables can converge more slowly than the mean photon number.
References
Section titled “References”- E. T. Jaynes and F. W. Cummings, “Comparison of quantum and semiclassical radiation theories with application to the beam maser,” Proceedings of the IEEE 51, 89–109 (1963). Original model and quantum–semiclassical comparison.
- J. H. Eberly, N. B. Narozhny, and J. J. Sanchez-Mondragon, “Periodic spontaneous collapse and revival in a simple quantum model,” Physical Review Letters 44, 1323–1326 (1980). Original collapse–revival result.
- G. Rempe, H. Walther, and N. Klein, “Observation of quantum collapse and revival in a one-atom maser,” Physical Review Letters 58, 353–356 (1987). First experimental observation of the predicted revival.
- B. W. Shore and P. L. Knight, “The Jaynes–Cummings model,” Journal of Modern Optics 40, 1195–1238 (1993). Detailed review of analytic dynamics and extensions.
- H. Walther, B. T. H. Varcoe, B.-G. Englert, and T. Becker, “Cavity quantum electrodynamics,” Reports on Progress in Physics 69, 1325–1382 (2006). Review of one-atom maser theory and experiments.
- S. Haroche and J.-M. Raimond, Exploring the Quantum: Atoms, Cavities, and Photons, Oxford University Press (2006). Graduate treatment of cavity QED and atom–field dynamics.
- H. J. Carmichael, Statistical Methods in Quantum Optics 1: Master Equations and Fokker–Planck Equations, Springer (1999). Open-system and quantum-optical master-equation methods.
- H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems, Oxford University Press (2002). General Lindblad dynamics and approximations.
- A. Blais, A. L. Grimsmo, S. M. Girvin, and A. Wallraff, “Circuit quantum electrodynamics,” Reviews of Modern Physics 93, 025005 (2021). Modern review of Jaynes–Cummings, dispersive, driven, and dissipative physics in circuit QED.
- NumPy developers,
numpy.linalg.eighdocumentation. Hermitian eigensolver used by the executable artifact.
Further Study
Section titled “Further Study”- Continue to Laser Cooling before building the next AMO computation, where internal dynamics are coupled to motion through a velocity-dependent scattering force.
- Reproducibility Benchmarks cross-checks the resonant doublets, vacuum exchange, producer validations, runtime record, and artifact identity.
- Use the Computational AMO and Quantum Chemistry overview to compare the Jaynes–Cummings splitting with the chapter’s atomic, molecular, and driven-system benchmark ladder.
- Return to Cavity QED before attaching these dimensionless calculations to a measured cavity linewidth, cooperativity, or output spectrum.