FDTDX
FDTDX is a free, open-source Python package for simulating and designing three-dimensional photonic nanostructures with the finite-difference time-domain met…
What FDTDX is
FDTDX is a free, open-source Python package for simulating and designing three-dimensional photonic nanostructures with the finite-difference time-domain method. Built on JAX, it provides automatic differentiation and gradient-based optimization, with GPU-accelerated simulations and multi-GPU scaling capabilities. The project says it can handle simulations with billions of grid cells and uses time-reversibility in Maxwell’s equations to compute gradients efficiently. Its API supports positioning and sizing objects with absolute or relative coordinates, importing GDS polygons, and working with GDS layer stacks and ports. FDTDX is available under the MIT license for research, development, and commercial use. Installation is documented with `pip install fdtdx`, and JAX acceleration options are listed for NVIDIA GPUs, AMD GPUs, and TPUs. Documentation includes interactive Jupyter quickstarts, physics tutorials, component examples, best-practice guidance, and an API reference. Community support is available through GitHub issues and discussions. The project’s FAQ describes it as relatively new and notes that bugs may occur despite testing. It is listed for Linux and self-hosted use.
Good
- MIT-licensed and free for commercial use.
- Automatic differentiation supports gradient-based optimization.
- GPU acceleration includes multi-GPU scaling.
- API works with GDS polygons and layer stacks.
- Documentation includes tutorials and an API reference.
Watch out
- The FAQ says bugs may occur.
- Listed for Linux and self-hosted use.
Who it suits
FDTDX is suited to researchers and developers working on photonic nanostructure simulation and design, including commercial work. It may also suit users seeking gradient-based optimization with GPU acceleration.
Verdict
FDTDX combines 3D photonic simulation with gradient-based optimization and GPU acceleration. Its stated maturity caveat is worth considering for users who need a stable package.
Plans and prices
From FDTDX's own pricing page, checked 4 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| FDTDX | Free | Open source · freely available for research, development, and commercial use |
The facts
Each one read from FDTDX's own pages, with the date it was checked.
What it does
- 3D visuals
- Yeschecked 23 Sep 2026
- Accelerators
- The project recommends JAX GPU acceleration packages for NVIDIA GPUs, AMD GPUs, and TPUs.checked 3 Oct 2026
- API
- Objects can be positioned and sized using absolute or relative coordinates.checked 4 Oct 2026
- Assessment tools
- Nochecked 23 Sep 2026
- Audience
- The project presents FDTDX for research, development, and commercial use in photonic nanostructure simulation and design.checked 3 Oct 2026
- Authoring tools
- Yeschecked 23 Sep 2026
- Data export
- Yeschecked 23 Sep 2026
- Delivery mode
- desktopchecked 23 Sep 2026
- Documentation
- The project provides an API reference, tutorial guides, and best-practice documentation.checked 3 Oct 2026
- GPU integrations
- The project README lists JAX installation options for NVIDIA GPUs, AMD GPUs, and TPUs.checked 4 Oct 2026
- GPU support
- The project describes GPU-accelerated simulations with multi-GPU scaling capabilities.checked 3 Oct 2026
- Guides
- Documentation includes interactive Jupyter quickstarts, physics tutorials, component examples, and an API reference.checked 4 Oct 2026
- Installation
- The maker provides a pip installation command and an editable installation path for development.checked 4 Oct 2026
- Integrations
- The API includes functions for importing GDS polygons and working with GDS layer stacks and ports.checked 3 Oct 2026
- Intended users
- The project describes FDTDX as freely usable for research, development, and commercial work involving photonic nanostructures.checked 4 Oct 2026
- JAX
- FDTDX is built on JAX and provides automatic differentiation for gradient-based optimization.checked 3 Oct 2026
- JAX foundation
- FDTDX is built on JAX and provides automatic differentiation and native GPU support.checked 4 Oct 2026
- Lesson library
- Nochecked 23 Sep 2026
- License and use
- The project says it is freely available for research, development, and commercial use; its GitHub repository lists an MIT license.checked 4 Oct 2026
- Limitations
- The FAQ describes FDTDX as relatively new and says bugs may occur despite testing.checked 4 Oct 2026
- Memory
- FDTDX uses time-reversibility in Maxwell’s equations for memory-efficient gradient computation.checked 4 Oct 2026
- Optimization
- It provides built-in gradient-based optimization for complex 3D structures.checked 4 Oct 2026
Money
- Free plan
- Yeschecked 23 Sep 2026
- License and cost
- FDTDX is freely available for research, development, and commercial use under the MIT license.checked 3 Oct 2026
Alternatives to FDTDX
- 1

SimFlow
Free planWebLinuxmacOSWindows8.2From €8,000 a year - 2

COMSOL Multiphysics
WebAPILinuxmacOS7.7 - 3
FeenoX
Free planWebAPILinuxSelf-hosted7.5Free plan - 4
myPhysicsLab
Free planWebLinuxmacOSSelf-hosted7.5Free plan - 5

OpenFOAM
Free planLinuxmacOSSelf-hostedWindows7.3Free plan - 6
MPTRAC
Free planWebLinuxSelf-hosted7.2Free plan
