01 / AI FOR PHOTONICS

Less waiting.
More discovery.

Predict photonic circuits with AI.
Get fields and the full S-matrix.
Explore ideas at the speed you think.

Free during alpha. No credit card.

FIELD PREVIEW / |E|²
Predicted electric field intensity in a 1550 nm silicon Y-branch splitter

15 µm

Y-branch example with three ports

3×3

Full complex S-matrix at each wavelength

.s3p

Touchstone export plus saved field arrays

From geometry to insight.

01

Define

Bring your GDS and a layer stack. No meshing, no setup files.

Y-branch layout outline

02

Predict

Complex fields, the full S-matrix, and neff.

Predicted field in a Y-branch

03

Explore

Cut anywhere. Watch one mode split into two, then export Touchstone for your compact models.

Field intensity across the Y-branch: one lobe at the input, two half-power lobes at the outputs

02 / API

Run your first prediction.

Install the package, get a key, and try a layout that is ready to run.

Follow the Get started tutorial →

# Terminal: python -m pip install --upgrade bamsolve
from getpass import getpass
from bamsolve import Layer, Stack, bamsolve, pred

bamsolve(api_key=getpass("API key: "))

stack = Stack(clad=1.444, layers={
    (1, 0): Layer(n=3.48, z=(0.0, 0.22)),
})
dev = stack("ebeam_y_1550.gds")
res = pred(dev, inputs={((1, 10), "TE", 1.55)})
res.export_s("ebeam_y_1550.s3p")

Get your API key.

Free for everyone during the public alpha. Copy the key shown below, then paste it into the starter script’s hidden prompt.