SPECTRA-RCWA: A Spectral Propagation Engine for Coupled-Wave Theory with Recursive Admittance
Abstract
Rigorous coupled-wave analysis (RCWA) is the standard full-wave solver for periodic metasurfaces, but every solve diagonalises a dense nonsymmetric matrix for each layer. Inverse design repeats this step for every wavelength, angle and polarisation of an objective. On a graphics processor it is the slow step, and its derivative fails where eigenvalues coincide or a diffraction order reaches cutoff. Here we introduce SPECTRA-RCWA, an RCWA forward and adjoint solver that never diagonalises the layer matrix. Each layer step uses three entire functions of the half-size layer matrix, evaluated by matrix products alone, and an admittance recursion, or scattering-matrix doubling for thick layers, keeps the evanescent orders stable. One adjoint field gives the gradient for every design value without a computational graph, and all solves of an objective run as one batch. For 144 solves with 578 x 578 layer matrices, the value and the gradient take 0.25 s on one graphics card, 218 times less than with a differentiable eigendecomposition code. The truncated-series solver TorchRDIT loses accuracy beyond a few tenths of a micrometre unless the user slices the layer; SPECTRA-RCWA keeps single-precision accuracy in layers several wavelengths thick with no setting changed and is 47 to 65 times faster at matched accuracy. Its single-precision gradient stays within 4e-5 of a double-precision reference at a cutoff, where eigendecomposition gradients are wrong by order one. A freeform metagrating designed in 3.4 min on a desktop processor deflects both polarisations by 65 degrees with a band-averaged efficiency of 75%.
Create a lesson
Metadata
- Categories
- physics.optics, physics.comp-ph
- Comments
- 21 pages, 6 figures, Supplementary Information included. Code: https://github.com/hyoseokp/spectra-rcwa (pip install spectra-rcwa), DOI 10.5281/zenodo.24459564
Related papers
Theory of modulation instability for coupled microresonators
Shared title terminologyphysics.opticsAlena Kolesnikova, Andrey Gelash
Multiscale wave-coupled neural networks for the inverse-design of broadband diffractive optics
Shared title terminologyphysics.opticsPeyton Brown, Riccardo Franchi, Roberto Riganti et al.
The Complete Set of Solutions for the Equations of Temporal Coupled Mode Theory
Shared title terminologyphysics.opticsMatthew Beutel, Ming Zhou, Shanhui Fan
Scattering features of a self-dual spectral singularity in coupled ring resonators with balanced gain and loss
Shared title terminologyphysics.opticsJeng Yi Lee
Temporal Soliton Waves in Modern Fiber Laser Systems
Shared title terminologyphysics.opticsShilong Liu, Boris Malomed
Supersymmetry of Helmholtz waves
Shared title terminologyphysics.opticsA. Domínguez-Cruz, G. Badu, B. Perez-Garcia et al.