Labs
Hands-On Labs
Learning by doing, with free tools only: simulate the devices, lay out and submit a chip, and analyse real measurements.
The labs are designed and listed below. Each written lab has its own page and a script you can download from it, also in the repository's labs/ folder; the others follow.
The twelve labs follow three tracks. Simulate (Labs 1–6): mode solvers, coupled-mode and FDTD simulations, circuit models and grating couplers. Make (Labs 7–9): lay out a passive chip in the SiEPIC EBeam PDK, verify and submit it to an openEBL run, and analyse the measured data that comes back. Lasers and links (Labs 10–12): rate-equation models, a Vernier tunable laser and the budget of the reference link. Every tool is free and open source; the interactive demos in the chapters are a quick way to explore the same models before running a lab.
Table L.1. The labs. Each lab lists the chapters it supports.
| Lab | Title | Chapters | Tools and what you do |
|---|---|---|---|
| 1 | Slab and channel waveguide modes in Python | 5–6 | NumPy: the slab solver of Chapter 5, then the effective-index method against femwell |
| 2 | Mode solving with femwell | 6–7 | femwell (FEM, open source): n_eff, n_g and loss against width |
| 3 | Directional coupler and MMI design | 9–10 | NumPy: a finite-difference mode solver for supermodes and beat length, and eigenmode expansion for MMI self-imaging |
| 4 | MZI and ring circuits with S-parameters | 11–12 | SAX: compact models and spectra |
| 5 | Bragg gratings with transfer matrices | 13 | NumPy: transfer matrices, apodisation, phase-shifted cavities |
| 6 | A grating coupler in 2D FDTD | 15 | MEEP: efficiency and bandwidth against period and etch depth |
| 7 | Lay out your first chip | 30 | KLayout with SiEPIC-Tools and the SiEPIC EBeam PDK, or gdsfactory with ubcpdk |
| 8 | Verify and submit to openEBL | 30 | GitHub-based submission with automatic verification |
| 9 | Analyse measured openEBL data | 32 | Python: loss, group index and Q from open measurement data |
| 10 | Laser rate equations | 24–25 | NumPy: L–I, turn-on transients, modulation response, temperature, linewidth |
| 11 | Design a Vernier tunable laser | 26 | NumPy: two ring filters, gain, mode selection and the tuning map |
| 12 | Close the reference link budget | 33 | NumPy: power budget, sensitivity and BER, crosstalk and dispersion penalties, energy per bit |
The openEBL cycle
Labs 7–9 follow the SiEPIC openEBL workflow [14]: designs in the SiEPIC EBeam PDK are submitted through a GitHub repository, checked automatically, fabricated by electron-beam lithography, measured on an automated probe station, and the data are published back to the repository. The edX course Silicon Photonics Design, Fabrication and Data Analysis follows the same cycle [9]. Chapter 30 covers the design flow and Chapter 32 the analysis.
What you need
- Python 3.11 or newer with NumPy and Matplotlib for Labs 1, 3, 5 and 9–12.
- femwell, MEEP and SAX for Labs 2–4 and 6.
- KLayout with SiEPIC-Tools and the SiEPIC EBeam PDK, or gdsfactory with ubcpdk, for Labs 7–8.
Appendix D lists these and other open tools.
Reading
- [9] Lukas Chrostowski et al. Silicon Photonics Design, Fabrication and Data Analysis (UBCx Phot1x), online course on edX. https://www.edx.org/learn/engineering/university-of-british-columbia-silicon-photonics-design-fabrication-and-data-ana
- [17] Joaquin Matres et al. gdsfactory: a Python library for designing chips (photonics, analog, quantum, MEMS) (MIT licence). https://github.com/gdsfactory/gdsfactory
- [24] Ardavan F. Oskooi, David Roundy, Mihai Ibanescu, Peter Bermel, J. D. Joannopoulos and Steven G. Johnson. “MEEP: a flexible free-software package for electromagnetic simulations by the FDTD method.” Computer Physics Communications, 181(3):687–702, 2010.
- [23] Floris Laporte et al. SAX: S-parameter based frequency-domain circuit simulations and optimisation with JAX (Apache-2.0). https://github.com/flaport/sax
- [14] Mustafa Hammood, Sudip Shekhar and Lukas Chrostowski. “SiEPIC openEBL: remote silicon photonic design-fabrication-testing enabled by open-source process design kits and design tools.” 2025 IEEE Conference on Education and Training in Optics and Photonics (ETOP), Glasgow, 2025. doi:10.1109/ETOP64842.2025.11030682