Skip to content

v0.11.0 — the pumps' own phase, a comb split by polarization, and a grating written twice

Choose a tag to compare

@ehsun-sh ehsun-sh released this 20 Sep 01:02
· 116 commits to main since this release

pip install maiman==0.11.0

Three more items off the Open list. Each is behind a flag that starts false, so no result from an earlier release moves.

Four-wave mixing feels the pumps' own phase

Self- and cross-phase modulation turn a mixing product's drive, A_i A_j A_k*, and the carrier the product lands on by different amounts — the textbook −γ(P_i + P_j − P_k − P_F), since the cross-phase of everything else turns every carrier alike and cancels. Set pump_phase on the fibre and that enters in three places:

  1. Inside a span, as a rate the mixing integral carries down the span as the pumps decay, L_eff(z) rather than z. Summed as a series in r/α, or by quadrature past it; the two agree to 1e-12.
  2. Between spans, through a Kerr history the signal now carries — each carrier's angle, and the angle a weak carrier on the same path would have. It is the nonlinear counterpart of the accumulated dispersion, and every optical block carries it through.
  3. In the product's frame. The split-step keeps turning the band a product was added to, so a new span's share has to arrive turned the same way.

What checks it is the split-step solution of the same fibre with every tone in one band, which has no mixing model at all. At 20 mW, after four amplified 80 km spans:

D [ps/(nm·km)] linear mismatch ÷ split-step with pump_phase ÷ split-step
+4 23.9 1.04
−4 0.044 1.01
+17 0.021 0.99

A join of two paths that went through different Kerr fibre is recorded rather than refused; only a span that asks for pump_phase refuses it.

A tilted grating's comb, polarization by polarization

Set vector on a TiltedFiberBraggGrating and it solves the cladding's true HE, EH, TE and TM modes and couples each input polarization on its own. With the fringes tilted in x–z, each mode of order ν has two orientations of one effective index, and one sign separates the two polarizations:

π ∫_core [ J_{ν−1}(K_t r) S  ∓  J_{ν+1}(K_t r) D ] r dr
S = e_r e_r' + e_φ e_φ'     D = e_r e_r' − e_φ e_φ'     minus for p, plus for s
  • p reaches TM0m and never TE0m; s the reverse, exactly.
  • Untilted it is the long-period grating's vector coupling to 1e-12, and the core's own reflection matches the scalar core's to 0.2 %.
  • In weak guidance each LP family's vector modes together carry what the scalar LP mode does, to 2 %.

Near the cladding's cutoff the split is largest: five nanometres below the Bragg line, a 30 mm grating's two polarizations differ by up to 14 dB. The block sends the field's x through p's comb and y through s's. The vector modes cost about ten times the scalar ones, and the two polarizations share one mode solve.

Two long-period gratings, and the cladding light comes back

A single grating's cladding light is lost under the coating. Set pair and the grating is written twice, separation apart over bare fibre: the first splits the core's light, the two run at different speeds, the second recombines them. That is a Mach-Zehnder interferometer inside one fibre, and the notch fills with fringes.

  • No gap is one grating twice as long, to 1e-12.
  • At a 3 dB split the fringes swing between (1 + g)²/4 and (1 − g)²/4, g the cladding amplitude surviving the gap — a perfect null with no loss, matched to 1e-4 at 0, 3 and 10 dB.
  • The fringe spacing is λ²/(Δn_g d) with Δn_g from the mode solver: within 5 % at a 20 cm gap, 2 % at 80 cm.
  • At a full crossover the pair passes back everything one grating cuts.

64 components, 1782 tests, every physics block checked against a closed-form or independently computed result in CI.

🤖 Generated with Claude Code