Installation and First Optimization


LumOpt runs on python 3, with the latest version of Lumerical.

Choose your install directory and run

git clone
python -develop

You will need to add the Lumerical API lumapi to your Python path.

Running a prebuilt optimization: a 2D Silicon Photonics Waveguide Y-branch

My favorite way of running optimizations is from a jupyter notebook, that way, you can inspect the results in detail after the optimization, keep a record of the results, or debug the optimization if need be.

In that case just copy the contents of examples/splitter/ into a notebook and run it.

From the terminal:

cd examples/splitter

Or run the file from your favorite IDE.

If everything is installed correctly, you should see Lumerical windows open, and eventually you should see: