mzi
mzi trains simulated programmable MZI meshes with hardware noise factors.
- Status
- experimental
- Built with
- Python / NumPy



System
In my mzi project, NumPy transfer matrices simulate programmable hexagonal Mach-Zehnder interferometer meshes. It uses on-chip-inspired SPSA and adjoint training. Phase noise, thermal crosstalk, loss, and fabrication variation are modeled. The repository reports convergence with power conservation under its simulated conditions.
The simulation notebook demonstrates forward propagation, internal-field visualization, SPSA training, and noise sweeps using the package from a repository checkout. The local Streamlit instructions run the same simulator through demo/app.py.
Evidence
- ZanzyTHEbar/mzi: Hexagonal MZI mesh photonic simulator.
Related systems
torodial-attention
Toroidal attention represents context as a 3D toroidal structure.
Python / PyTorch