Neuroptica
Flexible simulation package for optical neural networks
Install / Use
/learn @fancompute/NeuropticaREADME
neuroptica

neuroptica is a flexible chip-level simulation platform for nanophotonic neural networks written in Python/NumPy. It provides a wide range of abstracton levels for simulating optical NN's: the lowest-level functionality allows you to manipulate the arrangement and properties of individual phase shifters on a simulated chip, and the highest-level features provide a Keras-like API for designing optical NN by stacking network layers.
Installation
The easiest way to get started with neuroptica is to install directly from the Python package manager:
pip install neuroptica
Alternately, you can clone the repository source code and edit it as needed with:
git clone https://github.com/fancompute/neuroptica.git
pip install -e neuroptica
To run unit tests, use - python -m unittest discover -v from the root package directory.
Getting started
For an overview of neuroptica, read the documentation. Example notebooks are included in the neuroptica-notebooks repository:

Citing
neuroptica was written by Ben Bartlett, Momchil Minkov, Tyler Hughes, and Ian Williamson. If you find this useful for your research, please cite the GitHub repository and/or the JSQTE paper:
@misc{Bartlett2019Neuroptica,
author = {Ben Bartlett and Momchil Minkov and Tyler Hughes and Ian A. D. Williamson},
title = {Neuroptica: Flexible simulation package for optical neural networks},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/fancompute/neuroptica}},
commit = {06484f698ee038eeb128cdfbd4c59a7e96185bb4}
}
@article{Williamson2019Reprogrammable,
author={I. A. D. Williamson and T. W. Hughes and M. Minkov and B. Bartlett and S. Pai and S. Fan},
journal={IEEE Journal of Selected Topics in Quantum Electronics},
title={Reprogrammable Electro-Optic Nonlinear Activation Functions for Optical Neural Networks},
year={2020},
volume={26},
number={1},
pages={1-12}
}
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
399Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
last30days-skill
8.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
