arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.09545physics.opticsphysics.comp-ph
收藏

TorchGDM:用于多尺度电磁散射并具备自动微分能力的 GPU 加速 Python 工具包

TorchGDM: A GPU-Accelerated Python Toolkit for Multi-Scale Electromagnetic Scattering with Automatic Differentiation

LAAS-CNRS, Universit\'e de Toulouse, Toulouse, France;CEMES-CNRS, Universit\'e de Toulouse, Toulouse, France;CRHEA-CNRS, Université Côte d’Azur, Sophia Antipolis, France;CNRS, Universit\'e Rennes, DYNACOM (Dynamical Control of Materials Laboratory) - IRL 2015, The University of Tokyo, 7-3-1 Hongo, Tokyo, 113-0033, Japan

Sofia Ponomareva, Adelin Patoux, Clément Majorel, Antoine Azéma, Aurélien Cuche, Christian Girard, Arnaud Arbouet, Peter R. Wiecha

AI总结:

本文提出基于 PyTorch 和 GDM 的 GPU 加速框架 torchGDM,支持混合离散/偶极模型与多尺度近场模拟,并利用自动微分求解纳米光子优化及逆问题。

摘要:

我们提出“torchGDM”,这是一个基于 Green 并矢方法(Green's Dyadic Method,GDM)的纳米光学模拟数值框架。该工具包结合了一种混合方法,既支持完全离散化的纳米结构,也支持由一组有效电偶极子和磁偶极子近似表示的结构。它支持三维模拟,也支持无限长二维结构的模拟。这一能力特别适合多尺度建模:当离散化结构嵌入由有效模型表示的复杂散射体环境中时,能够在该结构内部或周围进行精确的近场计算。重要的是,torchGDM 完全基于 PyTorch 实现,而 PyTorch 是一个经过良好优化、支持 GPU 的自动微分框架。因此,该工具包能够高效计算任何被模拟观测量相对于多种输入的精确导数,这些输入包括位置、波长或介电常数,也包括 Green 张量分量等中间参数;这对于物理信息深度学习应用可能颇具价值。我们预计,该工具包将有益于融合纳米光子学与机器学习的应用,也有助于解决纳米光子优化和逆问题,例如超表面的全局设计与表征——在这些问题中,结构之间的光学相互作用至关重要。

英文摘要:

We present "torchGDM", a numerical framework for nano-optical simulations based on the Green's Dyadic Method (GDM). This toolkit combines a hybrid approach, allowing for both fully discretized nano-structures and structures approximated by sets of effective electric and magnetic dipoles. It supports simulations in three dimensions and for infinitely long, two-dimensional structures. This capability is particularly suited for multi-scale modeling, enabling accurate near-field calculations within or around a discretized structure embedded in a complex environment of scatterers represented by effective models. Importantly, torchGDM is entirely implemented in PyTorch, a well-optimized and GPU-enabled automatic differentiation framework. This allows for the efficient calculation of exact derivatives of any simulated observable with respect to various inputs, including positions, wavelengths or permittivity, but also intermediate parameters like Green's tensor components, which can be interesting for physics informed deep learning applications. We anticipate that this toolkit will be valuable for applications merging nano-photonics and machine learning, as well as for solving nano-photonic optimization and inverse problems, such as the global design and characterization of metasurfaces, where optical interactions between structures are critical.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑