Skip to main content
BeamZ logo

BeamZ is a differentiable, GPU-accelerated electromagnetic simulation framework for photonic chip designers using the FDTD method. Its engine enables fast, large-scale simulations and offers a familiar, high-level API for fast prototyping with just a few lines of code as well as an inverse design module for gradient-based optimization.

Homepage / Documentation / Example Library

License: Apache-2.0 Tests Coverage DOI

Core Features

  • Python-first with an intuitive and familiar API.
  • Free and open-source FDTD simulation in true 2D and 3D.
  • GPU-accelerated, achieving high GCUPS performance.
  • Multi-GPU runs, handling large-scale simulations with billions of cells.
  • CPU-capable for fast prototyping, even on your laptop.
  • Dedicated CUDA-backend for acceleration beyond default Jax.
  • CPML, absorbing layers and PEC boundaries.
  • Unidirectional mode sources (single freq. and broadband, Huygens fields + TFSF, TE/TM).
  • 3D Gaussian sources, e.g. for grating coupler simulations.
  • DFT monitors and S-parameter extraction workflow for compact modeling.
  • Integrated FDFD mode solver and rasterization module.
  • Regular and rectilinear meshing.
  • Full-tensor and diagonal Farjadpour (polarized averaging) subpixel-smoothing.
  • Simple GDS, GMSH and STL import and export.
  • Streamlined, integrated parametric design module.
  • 2D and 3D topology inverse design with autodiff or adjoint method.

Examples

Try out notebooks from our growing example library. It includes:

Integration

BeamZ is used by several other OSS packages as an FDTD engine and integrates with workflows across the open-source photonics ecosystem:

  • SiEPIC's GDS FDTD, an EDA- and solver-agnostic 3D FDTD compact modeling framework using BeamZ as the default engine.
  • Lumix, a research codebase for optical neural networks and matrix inverse design, using BeamZ as the main solver.
  • GDSFactory, the most popular open-source layout package for chip design for which BeamZ provides a simple workflow from PDK import to compact modeling.

Installation

BeamZ requires Python 3.11–3.14. Python 3.10 is no longer supported because the patched Pillow image backend requires Python 3.11 or newer. Upgrade your Python environment before installing this version.

Install BeamZ using pip:

pip install beamz

Development uses uv. Clone the repository and sync the package with its contributor dependencies:

git clone https://github.com/beamzorg/beamz
cd beamz
uv sync --extra dev --extra test

For a ready-to-use CUDA and Jupyter development environment, see the Docker and RunPod guide.

Mission

BeamZ aims to become the FDTD engine of choice for photonic simulations in industry and research, including photonic circuits, inverse design, metamaterials, fiber optics, nanophotonics, sensors (planned), active photonic devices (planned), and RF (planned), focusing on streamlined workflows and bringing multi-physics GPU-acceleration for maximum performance in large-scale simulations to everyone. - Detailed roadmap coming soon.

Contributing

We appreciate all contributions. If you are planning to contribute bug-fixes, please do so without any further discussion. If you would like to add new features, please first open an issue and discuss the feature with us. There may be ongoing work that could conflict with your changes, or we may be heading in a different direction and we don't want to waste your time working on something that might be rejected. - You can find more information here.

The simplest way to support the project of course is by giving this repo a star. Thank you!

Citation

If you use BeamZ in your research, please cite:

Quentin Wach (2026). BeamZ: CUDA-accelerated Differentiable FDTD for Photonics (v0.5.3). Zenodo. https://doi.org/10.5281/zenodo.23135312

@software{wach_beamz,
  author = {Wach, Quentin},
  title = {{BeamZ}: {CUDA}-accelerated Differentiable {FDTD} for Photonics},
  year = {2026},
  version = {v0.5.3},
  publisher = {Zenodo},
  doi = {10.5281/zenodo.23135312},
  url = {https://doi.org/10.5281/zenodo.23135312}
}

Citation metadata is available in CITATION.cff. For reproducible research, cite the DOI of the specific release you used; the citation above is for v0.5.3. If using an unreleased version, also report the commit hash. To reference BeamZ across all versions, use the all-versions DOI.


Copyright © 2026 Quentin Wach — Apache-2.0

Metadata

Release files for beamz 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beamz 0.6.0
File Size Uploaded Provenance Actions
beamz-0.6.0.tar.gz 670.0 kB Without provenance Details for beamz-0.6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for beamz 0.6.0
File Actions
beamz-0.6.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for beamz-0.6.0-cp311-abi3-win_amd64.whl
beamz-0.6.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for beamz-0.6.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
beamz-0.6.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for beamz-0.6.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
beamz-0.6.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for beamz-0.6.0-cp311-abi3-macosx_11_0_arm64.whl
beamz-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for beamz-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 9.2 MB

Release files / beamz-0.6.0.tar.gz

Download URL beamz-0.6.0.tar.gz
Size 670.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aa166a4d77e8b226f2bded77ee07413ef6b2b36973c33efab2747b4976471fc9
BLAKE2b-256 checksum
How to use checksums
b1757bb0e982d406a2a1612880b0c1a390814128f4a41d9b314c53eb1bd69fd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / beamz-0.6.0-cp311-abi3-win_amd64.whl

Download URL beamz-0.6.0-cp311-abi3-win_amd64.whl
Size 1.6 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a01eee1775e2c285ba47abadc2e375c7d3ad5a2c9e2160a2b87ba81b1bf47352
BLAKE2b-256 checksum
How to use checksums
5c9559d7c300f6149d9c3e49f2620a6483b47b78e34db53e90d9ce1e227e381e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / beamz-0.6.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL beamz-0.6.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
de7a0e6a8575e2b0b797775139ab993c74a09f955c72a0b7810cf4c88bd54ce9
BLAKE2b-256 checksum
How to use checksums
7f5a54d8ddd8f7f3bfde2a7dffeaaf9f7fd1e9880558f9f35bb496a3ec4e651e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / beamz-0.6.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL beamz-0.6.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.8 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
cd221e5a43052357dbc128fea0015d0ee592c64306e5fe7a32b83031d2ae9794
BLAKE2b-256 checksum
How to use checksums
70cf47906876059daba9c5c9b46c67c0bcecbcd7c62b9637f59a8f71ad07488f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / beamz-0.6.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL beamz-0.6.0-cp311-abi3-macosx_11_0_arm64.whl
Size 1.6 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d98e6ddd9b7c5a7bdca0fac16504e741a94e0e65521dfb4051e068222bd83013
BLAKE2b-256 checksum
How to use checksums
ffa412e427b0fa0c415cc590f3780786c305781a52b6c31392c913d5cb47e4dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / beamz-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL beamz-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
54eb56cafecbdef1e7eab0c253ccde7a26153fd84891b2a588fcc94874b46b1a
BLAKE2b-256 checksum
How to use checksums
af0d4599b101aff9538f906f5c31f7c2b6127aed9fd1eafcae2a61bfcfd8e69c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for beamz 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.0 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page