Time-Efficient Photonic Variability Simulator for Uncertainty Quantification of Photonic Integrated Circuit Aneek E. James, Xiang Meng, Alexander Gazman, Natalie Janosik and Keren Bergman Department of Electrical Engineering, Columbia University, New York, NY 10027, USA Abstract - We present a novel simulation platform for uncertainty quantification (UQ) studies of photonic integrated circuit (PIC) design. This platform supports time-efficient variability studies such as stochastic collocation and spectral projection that enables variability aware PIC design. I. INTRODUCTION As the density of optical components in photonic integrated circuits (PICs) rises, rigorous simulation and extensive characterization are required for complicated designs such as interleavers and optical switches with a large radix before fabrication. Even though the physical layer effects can be accurately captured through advanced modeling techniques, the variability of fabrication can significantly degrade the system performance (e.g. insertion loss, crosstalk, etc.) and impact the product yield. This is due to the high refractive index contrast in silicon photonics, where nanometer-scale deviations are crucial for the overall performance of photonic devices [1-2]. Consequently, rigorous studies of uncertainty quantification (UQ) of dense PIC structures are essential in the fabless design process prior to foundry fabrication processes. Over the past decade, several UQ techniques have been demonstrated to assess device-level variation [3-4]. Among the popular choices for stochastic simulations, Monte Carlo is one of the most straightforward techniques to apply random variation on model parameters, while the underlying physics of a photonic simulator remains uninterrupted [5]. Even though brute-force Monte Carlo simulations offer a great accuracy, these simulations in general are too computationally intensive. The Monte Carlo convergence rate is generally far too slow to simulate dense PICs with parameters varied through the fabrication process. As an alternative, polynomial chaos expansion offers more efficient simulations compared to Monte Carlo method, by mathematically modeling the stochastic processes i.e. the system performance metrics [6]. Computing the stochastic moments from this model can provide a massive speedup to the calculation of mean and variance compared to Monte Carlo (the mathematical reasoning behind the speedup has been thoroughly discussed in the literature [7]), but polynomial chaos has a larger computational cost when the numbers of random variables increases. Thus, it is important to know at which when polynomial chaos expansion yields faster convergence than Monte Carlo techniques, and which method best minimizes time spent in the design and simulation stage. In this paper, we present our photonic variability simulator, a Python-based platform, to model the effects due to fabrication variations in PIC designs using both Monte Carlo and polynomial chaos expansion. A scalable and time efficient solution of advanced UQ is described based on the interaction between Chaospy [8] with OptSim, a simulation engine based on compact models of photonic components (S-matrix). II. PHOTONIC VARIABILITY SIMULATOR The photonic variability simulator we implemented is a simulation scheme that interfaces with Chaospy and the optical engine described in Fig. 1. A nonintrusive polynomial chaos model was employed, where the optical engine is treated as a black box. The inputs for optical engine are the randomly sampled component variables. The outputs of the various spectral and/or time domain data are then used to calculate the mean and variance of a parameter of interest, like the responsivity of a photodiode, or the Q factor of a ring. These statistical moments can be calculated by either Monte Carlo or polynomial chaos methods e.g. stochastic collocation or linear regression. Simulation flexibility is derived from using Chaospy to both sample the variables and perform polynomial chaos expansion. The open-source package can support correlated stochastic models, user-defined algorithms for UQ, and an exhaustive library of pre-defined probability distributions. Using these capabilities allows for comparing UQ techniques while simulating dense PICs with large numbers of random variables. This flow also offers a great deal of scalability in comparison to one based on intrusive polynomial chaos techniques. Intrusive polynomial chaos techniques involve changing the underlying equations of the simulation to include stochastic information inherently. Intrusive methods consequently yield statistical information about a figure of merit after one simulation. Both intrusive and nonintrusive polynomial chaos methods are valid, and simulation environments using intrusive techniques have been reported in Photonic Variability Simulator Retrieves distribution definition and samples Loads sampled values into optical simulator Execute run script Stochastic data extracted Optical Engine Runs Simulation Outputs data Configuration Files Fig. 1. Flowchart describing how our photonic variability simulator interacts with/controls the optical engine. The configuration file describes the Chaospy probability distribution of the parameter to be varied. The Python simulation environment will then randomly sample from the distribution and use the samples to populate the sim. 978-1-7281-1496-5/19/$31.00 ©2019 IEEE