Source
engines/quan_loncar_v1/package/quan_loncar_optimizer/engine/fryett_q_series_phase4/DERIVATION_PHASE4.md · assembled 2026-07-29 15:57 UTC.
Phase 4 derivation: complete modes inside an elliptical through-hole¶
1. Normalized hole coordinates¶
For hole j, introduce
and z in [-T/2,T/2]. The Jacobian is
r_xj r_yj rho.
The real disk modes are
where 0 <= m <= n and n-m is even. The sine mode is omitted for m=0.
Their squared norms on the unit disk are
The radial polynomial is evaluated stably as
The normalized scalar basis in the physical hole is
Tensoring it with the three Cartesian unit vectors gives a complete vector
basis of L2(H_j)^3 as the retained degrees tend to infinity.
2. Projection into the waveguide basis¶
At fixed longitudinal momentum beta, the projection is
Because the hole spans the complete beam thickness and uses the same normalized Legendre functions as the waveguide,
Thus the thickness projection is exact. The remaining disk integral is
It is entire in beta. Gauss--Legendre radial quadrature and periodic angular trapezoidal quadrature therefore form a spectrally convergent evaluation.
At (n,m,l)=(0,0,0), this basis is exactly 1/sqrt(pi r_x r_y T).
Consequently Phase 4 reduces algebraically and numerically to the Phase-3
constant-hole projection at degree zero.
3. Cavity determinant¶
With all holes concatenated in C_N, the outgoing projected Green matrix is
The finite pole equation remains
The transpose rather than a Hermitian conjugate is required for analytic continuation. Reciprocity predicts a complex-symmetric operator, furnishing a stringent numerical check.
4. First branch-tracking sequence¶
The Phase-4 runner begins with a real-frequency singular-value scan. It then uses the smallest left/right singular vectors to solve the local scalar equation
and refreshes the vectors after each outer iteration. Each higher truncation starts from the preceding complex root. This is a first test of whether one simple branch can be followed; it is not yet proof of convergence.
When several zeros are nearby, choosing the smallest singular value can change branches between two truncations. The refined tracker labels the branch by maximal overlap of its right null vector with the preceding right null vector. It accepts a row only when the tracked eigenvalue, the smallest singular value, and the lower-half-plane sign all pass simultaneously.
The required final study must vary axes independently around a substantially higher common baseline and include all physical holes. A stable Q may be compared with the paper only after the same pole survives those variations.
5. Resolved longitudinal contour rule¶
The first attempted table exposed a failure of a single global tangent-map
quadrature: changing its order can place a new beta node extremely close to a
guided pole, producing a huge operator norm instead of convergence. Phase 4
therefore also supplies a panelized Sommerfeld rule on [-U,U]. Its cutoff,
number of panels, and order per panel are separate and explicit. Increasing
U controls the omitted high-|beta| tail; refining the panels resolves the
radiation interval and guided-pole neighborhoods without moving every node
nonlocally.
An equal-width panel sweep still moved all panel boundaries relative to the
singularities. The final Phase-4 rule therefore fixes breakpoints clustered
around u=1 and the first guided-mode interval. Its convergence sequence
raises Gauss order inside the unchanged segments. This is the appropriate
longitudinal quadrature axis for the first trustworthy table.