Source
engines/quan_loncar_v1/package/quan_loncar_optimizer/engine/quan_loncar_series_phase41/README.md · assembled 2026-07-29 15:57 UTC.
Phase 41: corrected objective Jacobian and pullback¶
This phase batches the validated Phase-40 directional derivative across all 45 current symmetric hole coordinates. Three corrected operator assemblies (base and two frequency offsets) produce the full Jacobian of the complex pole, Q, cavity-center point Green residue, and complex/effective mode volume.
The returned FullGeometryObjectiveJacobian.objective_pullback(...) maps real
scalar cotangents for Q, effective mode volume, normalized effective mode
volume, and the real/imaginary resonance coordinates back to the packed
geometry vector. It is framework-neutral and does not differentiate through
the nonlinear pole iterations or eigensolver.
test_phase41.py verifies that contracting the batched partial tensors with a
dense geometry tangent reproduces the independently assembled Phase-40 JVP.
run_phase41_corrected_full_jacobian.py builds the production Jacobian,
contracts it against the exact Phase-40 dense direction, validates a mixed
objective pullback, and reports all per-coordinate sensitivities.