Module 7: Photons in Waveguides: Real-Space Input-Output Theory
Goal
After this module you can write the real-space Hamiltonian of a ring coupled to waveguides, derive from it the coupled-mode equations of Module 5 (including ), read every term of Paper A’s two-photon state and equations of motion, explain the rotating and co-moving frames of the draft’s appendix, and compute how much of a single-photon pulse a ring can capture for a given pulse shape.
Module 5 described a ring with classical coupled-mode equations, and Module 6 added the SFG term by hand. Paper A (1) does not start from coupled-mode equations. It writes one Hamiltonian, draft Eq. (1), in which each waveguide carries a field operator defined at every point of the bus, and each ring mode exchanges photons with its bus at a single point, through a term . It then writes the most general two-photon state, draft Eq. (2), with eight amplitudes, and solves the Schrödinger equation for them.
This module builds that machinery from the ground up, one photon first. The questions are: what is ; why does a point coupling make a ring leak at rate ; what does “an amplitude evaluated at the ring” mean when the amplitude jumps there; and how do the coupled-mode equations of Module 5 come out. Then we set up the two-photon bookkeeping of Paper A, the frames in which the draft solves it, and the question that limits the gate in the end: how well can a pulse load a photon into a ring? The approach is the real-space method of Shen and Fan (2,3); the result is equivalent to the input-output theory of Gardiner and Collett (4).
We use . Ring modes are written (one ring mode) or (Paper A’s modes), and the empty state of all modes is .
Bus fields in real space
The question here is how to describe a photon that travels along a waveguide, as a function of position rather than of frequency.
A single-mode waveguide supports a continuum of travelling modes labelled by a wavenumber , with operators , . Near the carrier frequency the dispersion is linear, , where is now measured from the carrier wavenumber. Fourier transforming gives a field at each point.
Definition 7.1 (Bus field operator).
The bus field is . It satisfies
and the free Hamiltonian of the bus is
A one-photon state on the bus is , normalized by ; is the probability density of finding the photon at , and has units of one over the square root of a length.
Derivation
The commutator: . For the Hamiltonian, insert the Fourier representation: , and , so ; the term works the same way. Extending the integral over all real numbers, including frequencies far from the carrier where the linear dispersion is not accurate, is the approximation behind this model; it is harmless when the photons of interest occupy a band much narrower than .
The free evolution of a bus photon follows from the Schrödinger equation , which for the amplitude reads . Its solution is : the wavepacket moves rigidly to the right at the group velocity and its phase rotates at the carrier frequency.
Remark 7.2 (One-way buses).
The Hamiltonian above has only right-moving photons; the bus is “chiral”. A real waveguide also carries left-moving light, but a travelling-wave ring mode is phase-matched to only one direction of each bus: light in the counterclockwise mode of Figure 5.1 couples to rightward light on the lower bus and leftward light on the upper bus. As long as backscattering inside the ring is negligible, the other direction is never excited and can be dropped. Each bus of Paper A is therefore a single chiral field with measured along the direction of propagation and the coupler at .
A cavity coupled to a bus at one point
The question here is how a ring mode of frequency exchanges a photon with a bus, and how fast it empties.
The coupler is a few micrometres long, while the photon’s wavepacket is many metres long (see the worked example), so we model the coupling as acting at one point:
with a real coupling constant . This is draft Eq. (1) for a single mode and a single bus. The Hamiltonian conserves the number of photons, , so a state with one photon stays in the one-photon sector:
Here is the amplitude for the photon to be on the bus at and the amplitude for it to be in the ring. Figure 7.1 shows the picture: an incoming wavepacket for , the ring at , and an outgoing wavepacket for that differs from the incoming one by what the ring has absorbed and re-emitted.
incoming phi, z < 0outgoing phi, z > 0ccavity modeamplitude e(t)Omega delta(z)bus A(z), one wayz = 0speed v_gjump: phi(0+) - phi(0-) = -i (Omega / v_g) eFigure 7.1. A cavity coupled to a one-way bus at a single point. The bus amplitude propagates freely on both sides of the coupler and jumps at the coupler by an amount proportional to the cavity amplitude; the cavity is fed by the incoming amplitude and leaks into the outgoing one.
Proposition 7.3 (Equations of motion of one photon).
Inserting the one-photon state into gives
Derivation
Apply each part of to , using , , the fact that bus and ring operators commute, and .
Bus part on the bus term.. Moving to the right gives , and the integral then sets inside the derivative: the result is .
Ring part on the ring term..
Coupling.: the photon moves from the ring to the bus at . And : the photon moves from the bus at into the ring. The other two combinations ( on a bus photon, on a ring photon) give zero.
Collect. The left side is . Comparing coefficients of and of : and . Multiplying by gives .
The first equation says that away from the photon simply propagates. At the source term makes jump. But then in the second equation is the value of a discontinuous function at its discontinuity, and we must decide what it means.
Proposition 7.4 (Jump condition and input-output relation).
Write and for the amplitude just before and just after the coupler. Then
and the ring amplitude obeys
With the flux amplitudes , and this is exactly the coupled-mode model of Definition 5.3 with one port:
Derivation
Jump. Integrate the first line of over from to . The terms and are bounded and contribute ; the derivative gives ; the delta function gives . As : .
Value at the coupler. Replace by a narrow, normalized bump and let rise from 0 to 1 across the coupler. Inside the coupler the derivative term dominates, , so . The quantity that enters the ring equation is the weighted value , which is the mean of and . The result does not depend on the shape of the bump.
Ring equation. Substituting into gives .
Flux normalization. The probability that passes per unit time is , so is the flux amplitude of Module 5, with . Then and .
Intuition
The ring empties because its photon is handed to the bus at and carried away at speed ; it can never come back on a one-way bus. A stronger coupling hands it over faster, a faster bus removes it faster from the coupling point, and the two combine into . The factor in the amplitude decay rate is the average of “nothing emitted yet” before the coupler and “fully emitted” after it, exactly as in the regularization argument.
Matching Paper A’s constants. Paper A writes below draft Eq. (1). With (Definition 5.1), this is , and is the energy decay rate into that bus, as Proposition 7.4 requires. The draft’s convention and ours agree, including the sign: the factor in draft Eqs. (17)-(24) is the of Module 5.
Gardiner and Collett write the same physics for operators as , (4). Our equations become these after the phase change : then and . A phase convention for the ring mode changes no probability. Because is quadratic, the Heisenberg equations for and are the same linear equations, so the relation holds for operators, with .
Two buses. Adding a second bus with coupling adds a second jump condition and a second decay term. With the input on only,
with : the add-drop model of Module 5, now derived. The two bus fields commute with each other, , because they are different waveguides; this is the statement in draft Eq. (11) that the through-bus and drop-bus signal fields are independent.
Reading note: amplitudes evaluated at the ring
The draft’s equations of motion contain amplitudes “evaluated at the ring”, such as in draft Eq. (23) and in draft Eq. (19). Each of these functions jumps at the coupler, so its value there is defined only by a convention. The one consistent with the Hamiltonian is the mean of the two sides (Proposition 7.4), equivalently the incoming value plus half the jump. The draft does not say this. Taking the incoming value instead would drop the term and the ring would never decay. The draft’s discrete solver (its exchange angles, draft Eq. (53)) builds the correct decay in by construction, so its numbers are not affected.
Two photons: Paper A’s state
The question here is how to describe a signal photon and a pump photon together, each of which can be on a bus or in the ring, and which can merge into an SF photon.
For two distinguishable photons on two buses, the state needs a joint amplitude:
where is the probability density for the signal at and the pump at . Because the photons belong to different fields, no symmetrization is needed. A product describes uncorrelated photons; after an interaction the joint amplitude is in general not a product, which is why the draft checks separability of its output with a singular value decomposition.
When one photon is in the ring, the remaining photon has a single coordinate; when both are in the ring, there is no coordinate at all. Draft Eq. (2) lists all arrangements. The table collects them.
Amplitude
Signal
Pump
SF photon
through bus at
pump bus at
none
drop bus at
pump bus at
none
through bus at
in ring
none
drop bus at
in ring
none
in ring
pump bus at
none
in ring
in ring
none
none
none
in ring
none
none
SF bus at
The normalization is the sum of all eight contributions: two double integrals, four single integrals and two numbers, . The port probabilities of draft Eqs. (3)-(4) are sums of the appropriate rows after the photons have left the ring.
Why are these eight amplitudes enough? The draft’s argument rests on a conserved quantity.
Proposition 7.6 (Conserved excitation numbers).
Let count photons of species in the ring and on the bus (for the signal, on both buses). The Hamiltonian of draft Eq. (1) commutes with
is draft Eq. (36). A state with one signal and one pump photon has , and the only arrangements with these values are the eight rows of the table.
Derivation
Use and for each mode, and the same for the bus fields: . An operator that removes photons of species and adds of them changes by , that is, .
Free terms and remove one photon of species and add one: they commute with every .
Coupling terms move one photon of species from the ring to the bus; counts both, so the change is . The same for the Hermitian conjugates.
SFG term changes by . So it changes by , by , and by . Its conjugate changes them by the negatives, also zero.
Hence , and commute with and are conserved. With : either and , or and . In the first case the signal is on the through bus, the drop bus or in the ring (3 options) and the pump is on its bus or in the ring (2 options): six rows. In the second, the SF photon is in the ring or on its bus: two rows.
Reading note: one conserved number is not enough
The draft concludes from alone that the dynamics stays within the eight-term state. But also allows two signal photons, or two pump photons, which are not in draft Eq. (2). The conclusion is right because the Hamiltonian conserves the two numbers and separately (Proposition 7.6), and the initial state has . is their sum.
The equations of motion for the eight amplitudes (draft Eqs. (17)-(24), repeated as (38)-(45)) follow by the same steps as Proposition 7.3: apply each term of to each term of the state and collect coefficients. One example shows the pattern.
Example 7.7 (The equation for the signal on the through bus with the pump stored).
Collect every term of proportional to , the arrangement of :
the free terms acting on the term itself give : the signal propagates, the stored pump contributes its energy;
the through-bus coupling acting on moves the signal out of the ring: ;
the pump coupling acting on the term moves the pump into the ring from : .
Nothing else produces this arrangement. Hence , which is draft Eq. (19). The last term is evaluated at the pump’s coupler, where jumps in , with the mean-value convention of Proposition 7.4.
Rotating and co-moving frames
The question here is how the draft removes the two fast motions from its equations, the optical oscillation and the propagation, before solving them.
Rotating frame. Every amplitude with one signal and one pump photon oscillates at , and the two SF amplitudes at . Writing and (draft Eq. (25)) gives (draft Eq. (26)); the second term cancels the carrier term of each equation. The coupling between and then carries the factor , which equals 1 only for a resonant process, . The draft assumes this; it is the condition of Module 6.
Co-moving frame. What remains is propagation at plus exchange at the couplers. Propagation is removed by following the pulse.
Proposition 7.8 (Drift cancels in the co-moving frame).
Let a bus amplitude satisfy , where collects the coupling terms. Define with . Then
A free wavepacket is frozen in . A coupling located at , such as , appears as : in the co-moving frame the coupler sits at and sweeps backwards through the frozen pulse. For the joint amplitudes both coordinates are shifted, and , which works because the draft gives all fields the same group velocity.
Derivation
By the chain rule, , since depends on at fixed . Inserting the equation for gives . For a joint amplitude obeying , the same chain rule with both coordinates shifted removes both drift terms.
Reading note: where the ring is in the co-moving frame
Draft Eqs. (47)-(52) write the couplings in the co-moving frame as and say that “all dynamics occurs at , the instantaneous position of the ring”. With the coupler at is at , so the couplings should read , and the boundary slices should be rather than (Proposition 7.8). The draft’s words “the ring as it sweeps past the frozen pulse profile” and its “ring pointer” that moves along the grid describe the correct picture; only the formulas are written as if the ring stayed at .
Intuition
On a grid with cell size , free propagation moves every amplitude exactly one cell per time step. In the co-moving frame nothing moves except a pointer that marks which cell currently sits at the coupler; at each step only the amplitudes under the pointer are updated. This is why the draft can treat the problem exactly with a small “cluster” of amplitudes at the ring cell and a matrix exponential per step (Module 9).
Loading a ring from a pulse
The question here is the one that limits Paper A in the end: a single pump photon arrives on its bus in some pulse shape. What is the largest probability that it is in the ring at some moment, and which shape achieves it?
Take a one-port ring with decay rate , on resonance, in the rotating frame. From Proposition 7.4 and the time-domain solution of Module 5, with the input normalized, ,
Theorem 7.9 (The time-reversed decay loads perfectly).
For every normalized input, at every time . Equality holds if and only if for and for (up to a constant phase): a rising exponential at the ring’s own rate, switched off at . During such a pulse the output field is zero at all times.
Proof
By the Cauchy-Schwarz inequality applied to ,
The first inequality is an equality iff on ; the second iff no part of the pulse comes after . Normalization fixes the constant to . For this input, for , so .
Intuition
A photon released from a ring leaves in a decaying exponential, . Run that film backwards: a rising exponential comes in and ends with the photon in the ring. Because the dynamics is time-reversal symmetric, the reversed film is a solution, and in it nothing leaves the ring (5). For any other shape, the field re-emitted by the partly filled ring does not cancel the incoming field on the bus, and part of the photon continues past the ring. On a one-way bus this lost part is not reflected backwards; it is transmitted forwards on the pump bus. (The draft’s “loads without back-reflection” means this.)
For other shapes, can be evaluated in closed form. Each shape has a width parameter, and we optimize both the width and the time at which we look.
Proposition 7.10 (Loading by common pulse shapes).
For a one-port ring of rate and a normalized resonant input, the peak loading probability is:
Square pulse of duration : , largest for (the root of , ), where .
Decaying exponential for : with , , largest at , where (reached at ).
Gaussian with amplitude : ; maximizing numerically over and gives at , .
Square. on . The integral in is largest at the end of the pulse: , so with . Setting the derivative to zero: , i.e. , whose positive root is ; then .
Decaying exponential. For , . The maximum over is where , i.e. and . Their difference is , so . This is unchanged under , so is a stationary point, and it is the maximum. At directly: , , maximal at with .
Gaussian. With , complete the square in the exponent, , and use . Squaring and collecting the prefactors gives the stated .
Figure 7.2 compares the four shapes, each at its best arrival time.
Figure 7.2. Ring population against time for the four input shapes at their optima, with the input intensities dashed. Only the rising exponential loads the ring completely.
The draft compares four pump shapes with “the arrival time separately optimized for each shape” (draft Sec. VI, “Pump waveform”) and reports the loaded populations at the signal’s transit.
Pump shape
Single-mode optimum
Draft loaded population
Draft
rising exponential
1
0.966
0.966
Gaussian
0.801
0.800
0.804
square
0.815
0.779
0.784
decaying exponential
0.541
0.543
0.133
The ranking is the same, and two of the four agree to within 0.002. The differences are expected, for three reasons. First, the single-mode numbers are peak values with the pulse width also optimized, while the draft optimizes only the arrival time, so a square pulse of non-optimal duration falls short. Second, the draft’s numbers come from its full model, in which the pump ring is loaded while the signal is present, and are read during the signal’s passage, not at the peak. Third, even a perfectly loaded pump leaks out at while the signal passes. With (Module 5, worked example) and a rising exponential that peaks as the signal arrives, the pump population averaged over the signal’s intensity profile is about 0.95; this is the reason the rising exponential gives 0.966 rather than 1. The draft gives neither the pump widths nor the pump wavelength, so a closer comparison is not possible from the text.
The last column shows why the loading matters: follows the loaded population, except for the decaying exponential. There the pump reaches its peak late and leaks while the signal passes; the draft’s is far below its loaded population, presumably because the population is low during most of the signal passage even though its peak was matched in time.
Common trap: matching the bandwidth is enough to load the ring
It is tempting to think that any pulse whose bandwidth equals the ring linewidth will enter the ring completely, as a matched filter would. Proposition 7.10 shows otherwise: the best Gaussian, with its width already optimized, reaches only 0.80, and a decaying exponential with exactly the ring’s rate reaches 0.54. What matters is the shape in time. The incoming field must cancel the field the ring re-emits at every instant, which only the time-reversed decay does (Theorem 7.9). A pulse with the right bandwidth but the wrong shape lets about a fifth of the photon run past the ring on the pump bus, and Paper A’s interaction fidelity loses the same fraction.
Worked example: lengths and couplings in SI units
We put SI numbers on the real-space model for the parameters of Paper A. The group index is not given in the draft; we assume , typical for thin-film lithium niobate, so m/s.
Coupling constants. From Module 5, , so with m/s we get . With and (telecom pump assumed), and . The units of are those of , because the bus amplitude carries .
The signal in space. A pulse of duration ns occupies m of waveguide. The coupler is a few micrometres long and the ring 0.3 mm around, a factor smaller: the point coupling is an excellent approximation.
The pump in space. The matched rising exponential has amplitude time constant μs, so its tail extends over m. In an experiment it would be shaped in time by a modulator, not stored on chip.
Draft time units. In units of for time and for length, and : , , .
Reading note: the units of the draft's coupling constants
Draft Sec. VI quotes to 0.07 as the optimum pump coupling and as the starting point of the SF-outcoupling scan, without a unit. These values do not fit the quoted quality factors under any choice of units: since with one common , , so should exceed whatever the wavelengths, while the draft’s values give about 1. Either the scans use other values than Section V, or the code’s is defined differently. The draft should state the units and the values behind each scan.
How the papers use this
Paper A, the model. Draft Eq. (1) is for three ring modes and four chiral buses, plus the SFG term; .
Paper A, the state and its equations. Draft Eq. (2) is the eight-row table; draft Eqs. (17)-(24) follow by the steps of Proposition 7.3 and Example 7.7; draft Eq. (36) is the conserved of Proposition 7.6.
Paper A, the numerical method. The rotating frame (draft Eqs. (25)-(26)) and the co-moving frame (draft Eqs. (47)-(52)) are Proposition 7.8. The jump condition is what the exchange angles of draft Eq. (53) reproduce exactly on a grid; Module 9 derives them.
Paper A, pump loading. and the “Pump waveform” scan are Theorem 7.9 and Proposition 7.10; the loading bound quoted after Fig. 5 is the statement that the blockade of Module 6 only works when the pump is in the ring.
Paper B. Paper B works with single resonator modes and Lindblad channels rather than real-space buses. The step from a bus to a Lindbladian is the elimination done here: a mode coupled to a one-way bus that carries the photon away decays at rate , which is the single-photon loss of Paper B Eq. (20) with when the output is not observed.
What breaks
Dispersion. The model gives every frequency the same group velocity and no group-velocity dispersion. Over 21 m of waveguide this is fine for a 164 ns pulse, but signal, pump and SF photons at different wavelengths have different in a real chip; the draft’s co-moving frame uses one for all.
Backscattering. Coupling between the clockwise and counterclockwise ring modes makes the bus two-way; the chiral model then fails and the ring reflects light.
Frequency-dependent coupling. A real coupler has a coupling that varies with frequency; over the narrow bands here it is constant, which makes the model exactly Markovian.
Loss. Intrinsic ring loss needs an extra decay term (or an extra “loss bus”); Paper A sets it to zero.
Loading beyond one mode.Theorem 7.9 assumes a single-mode ring and a pulse resonant with it. A detuned pump, or a ring whose resonance is shifted by the signal, loads less.
Why it matters
This module connects the Hamiltonian in which Paper A is written to the coupled-mode equations of Module 5 and the blockade of Module 6. With it, every term of draft Eqs. (1), (2) and (17)-(24) has a meaning: where each photon is, which coupling moves it, and why is a decay rate. The jump condition and the co-moving frame are the ingredients of the draft’s exchange-angle solver (Module 9), and the loading theorem explains the final limit of the gate: a rising-exponential pump loads best, and the remaining infidelity of Paper A is the probability that the pump is not in the ring when the signal passes (Module 10).
Further reading
Real-space treatment of photons in one-dimensional waveguides coupled to cavities and atoms (2,3).
Input-output theory for damped quantum systems (4).
State transfer between nodes of a quantum network with time-symmetric pulses, the origin of the time-reversal loading argument (5).
Temporal coupled-mode theory, for comparison with the quantum derivation (6).
Vadlamani CM, Bu T, Huang Y. Deterministic Controlled-NOT Gate Between Single Photons via Quantum Zeno Blockade in an Add–Drop Microring. 2026.
2.
Shen JT, Fan S. Coherent photon transport from spontaneous emission in one-dimensional waveguides. Optics Letters. 2005;30(15):2001–3.
3.
Shen J-T, Fan S. Theory of single-photon transport in a single-mode waveguide. I. Coupling to a cavity containing a two-level atom. Physical Review A. 2009;79(2):023837.
4.
Gardiner CW, Collett MJ. Input and output in damped quantum systems: Quantum stochastic differential equations and the master equation. Physical Review A. 1985;31(6):3761–74.
5.
Cirac JI, Zoller P, Kimble HJ, Mabuchi H. Quantum state transfer and entanglement distribution among distant nodes in a quantum network. Physical Review Letters. 1997;78(16):3221–4.
6.
Fan S, Suh W, Joannopoulos JD. Temporal coupled-mode theory for the Fano resonance in optical resonators. Journal of the Optical Society of America A. 2003;20(3):569–72.