Skip to main content
os-optics interop · Standard Handoffs

A lean physics core connected to the scientific Python ecosystem

OS Optics owns deterministic 3D free-space and multi-element optical modeling, tracing, polarization, and power budgets. When your study crosses into global optimization, hard-aperture scalar diffraction, multi-photon quantum interference, full-wave metasurface solvers, or B-Rep CAD solids, the built-in interop capability catalog specifies exact data contracts, units, coordinate frames, scientific limits, and verification status.

You (or your agent) install specialized third-party solvers in any local environment you choose while keeping the OS Optics kernel lean and dependency-light.

Four verified interop directions (VERIFIED_EXAMPLE)

Each direction below has an executed reproducible example in os-optics-kit (cases/interop-*) with pinned tool versions checked against an independent reference.

Verified Example optimization-tolerance

Optimization, tolerancing & global sensitivity

SciPy · Optuna · SALib (BoTorch)

External loops update poses and declared optical parameters over stateless EvaluationSession or run_optical_project calls, pairing naturally with SALib Sobol indices and Monte Carlo yield studies.

Verified Example scalar-diffraction-imaging

Scalar diffraction, aperture PSF & spatial filtering

LightPipes · prysm · POPPY (Diffractio)

Export transverse beam parameters at any monitor (os-optics results handoff) in its (u, v, n) frame — astigmatic q, M², Jones state, power, and clear apertures — ready for wave-optics propagation.

Verified Example quantum-photonics

Quantum photonic networks & multi-photon interference

Perceval · Piquasso · QuTiP

Export the opensci-linear-optical-network/v1 contract — lossy transfer matrix T[out, in], optical path, group delay, and Jones amplitudes — directly into multi-photon simulations.

Verified Example metasurface-virtual-element

Metasurface & nanophotonic virtual elements

grcwa · meent · DFlat · metabox

Wrap full-wave RCWA or FDTD metalens responses as domain-checked TABULATED_THIN_LENS virtual components inside a macroscopic 3D optical bench.

Complete interop catalog & status tiers

The catalog keeps three claims strictly apart: what a tool can do, how it can connect to OS Optics, and whether we have executed and cross-checked the pairing against an independent reference.

Entry ID Tools & workflow Verification status
optimization-tolerance SciPy / Optuna / SALib (BoTorch): parameter optimization, sensitivity, and Monte Carlo tolerancing VERIFIED_EXAMPLE
scalar-diffraction-imaging LightPipes / prysm / POPPY (Diffractio): transverse handoff, diffraction PSF, spatial filtering VERIFIED_EXAMPLE
quantum-photonics Perceval (Piquasso cross-check; QuTiP, NetSquid companions) on linear optical networks VERIFIED_EXAMPLE
metasurface-virtual-element grcwa / meent / DFlat / metabox: metalens response as a tabulated virtual element VERIFIED_EXAMPLE
vector-doe-inverse-design Diffractio, TorchOptics, Chromatix: DOE / SLM, vector focusing, inverse design GUIDANCE_ONLY
cavity-interferometer Finesse 3: steady-state cavity eigenmodes and precision interferometers GUIDANCE_ONLY
micro-nano-pic Meep, Tidy3D, grcwa / torcwa, gdsfactory + SAX, PhotonForge, Lumerical: local devices & PICs GUIDANCE_ONLY
coatings-materials-polarization tmm, PyMoosh, refractiveindex.info, py_pol: multilayer stacks, dispersion & polarization GUIDANCE_ONLY
cad-brep-geometry NVIDIA USD BRep / SMLib & smlibpy: exact B-Rep solids from public optical geometry GUIDANCE_ONLY
specialist-topics Adaptive optics, multiphysics stray light, nonlinear ultrafast, scattering media, lab instruments GUIDANCE_ONLY

The spatial light modulator itself, an LCOS phase modulator or a DMD, is a native os-optics device prepared with os-optics-kit and needs none of the libraries above; see which package a task needs.

Query the live interop catalog locally

Inspect all entries, filter verified examples, or export a transverse beam handoff directly from your terminal:

os-optics interop list
os-optics interop list --status VERIFIED_EXAMPLE
os-optics interop show quantum-photonics
os-optics project example --kind focus > project.json
os-optics project run project.json --out-dir run
os-optics results handoff run --monitor focal_plane

Explicit scientific conditions

  • Complex phase transparency: Power alone does not uniquely specify phase; sampled complex fields built from beam parameters hold explicitly under the stated TEM00 convention.
  • Hard-aperture diffraction guards: Truncated Gaussian beams raise GAUSSIAN_TRUNCATION or GAUSSIAN_SEVERE_TRUNCATION so you know when to hand off to a wave solver.
  • Domain-bounded virtual elements: Tabulated metalens models remain valid strictly inside the incidence angle, wavelength, and polarization domain verified by the full-wave solver.
  • Hash-anchored outputs: External solver outputs live beside the run directory referencing its SHA-256 hashes without mutating the engine's verification fingerprint.

See cross-disciplinary interop in action

Inspect how our 160+ optic Rb-87 cold-atom platform hands focal fields into ARC to map 4×4 optical tweezer dipole traps.