FDTDX
fdtdx.readthedocs.io
- Free plan
- Linux
- Self-hosted
What FDTDX is
FDTDX is an 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 for gradient-based optimization and supports GPU-accelerated simulations with multi-GPU scaling. 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 lets users position and size objects with absolute or relative coordinates, and includes functions for importing GDS polygons and working with GDS layer stacks and ports. Installation is documented with `pip install fdtdx`; the project lists JAX acceleration options for NVIDIA GPUs, AMD GPUs, and TPUs. The package is available under the MIT license for research, development, and commercial use. Documentation includes tutorials, component examples, best-practice guidance, and an API reference, with community support through GitHub issues and discussions. The FAQ describes FDTDX as relatively new and notes that bugs may occur despite testing, so users should account for that when planning work.
Who it suits
FDTDX is aimed at researchers and development teams working on photonic nanostructure simulation and design. It suits users able to work with Python and JAX, including those seeking gradient-based optimization or GPU acceleration.
Good to know, and what to watch
- Free for research, development, and commercial use
- Supports gradient-based optimization with automatic differentiation
- GPU acceleration includes multi-GPU scaling
- API includes GDS polygon and layer-stack functions
- The FAQ says bugs may occur
- Listed platforms are Linux and self-hosted
Plans
Every plan and priceFDTDX
Free plan
The verdict
FDTDX brings 3D photonic simulation, optimization, and GPU support into a Python package. Its documentation is broad, but the project itself flags its relative newness and possibility of bugs.
What the maker publishes
- Accelerators
- The project recommends JAX GPU acceleration packages for NVIDIA GPUs, AMD GPUs, and TPUs. source
- API
- Its API supports positioning and sizing objects using absolute or relative coordinates. source
- API
- Objects can be positioned and sized using absolute or relative coordinates. source
- Assessment tools
- No source
- Audience
- The project presents FDTDX for research, development, and commercial use in photonic nanostructure simulation and design. source
- Authoring tools
- Yes source
- Data export
- Yes source
- Delivery mode
- desktop source
- Documentation
- The project provides an API reference, tutorial guides, and best-practice documentation. source
- Free plan
- Yes source
- GPU integrations
- The project README lists JAX installation options for NVIDIA GPUs, AMD GPUs, and TPUs. source
- GPU support
- The project describes GPU-accelerated simulations with multi-GPU scaling capabilities. source
- Guides
- Documentation includes interactive Jupyter quickstarts, physics tutorials, component examples, and an API reference. source
- Installation
- The project documents installation with pip install fdtdx. source
- Installation
- The maker provides a pip installation command and an editable installation path for development. source
- Integrations
- The API includes functions for importing GDS polygons and working with GDS layer stacks and ports. source
- Intended users
- The project describes FDTDX as freely usable for research, development, and commercial work involving photonic nanostructures. source
- JAX
- FDTDX is built on JAX and provides automatic differentiation for gradient-based optimization. source
- JAX foundation
- FDTDX is built on JAX and provides automatic differentiation and native GPU support. source
- Lesson library
- No source
- License and cost
- FDTDX is freely available for research, development, and commercial use under the MIT license. source
- License and use
- The project says it is freely available for research, development, and commercial use; its GitHub repository lists an MIT license. source
- Limitations
- The FAQ describes FDTDX as relatively new and says bugs may occur despite testing. source
- Memory
- FDTDX uses time-reversibility in Maxwell’s equations for efficient gradient computation. source
Checked against the maker's pages on 4 Oct 2026.