TMM-Fast: A Transfer Matrix Computation Package for Multilayer Thin-Film Optimization

Achieving the desired optical response from a multilayer thin-film structure over a broad range of wavelengths and angles of incidence can be challenging. An advanced thin-film structure can consist of multiple materials with different thicknesses and numerous layers. Design and optimization of complex thin-film structures with multiple variables is a computationally heavy problem that is still under active research. To enable fast and easy experimentation with new optimization techniques, we propose the Python package TMM-Fast which enables parallelized computation of reflection and transmission of light at different angles of incidence and wavelengths through the multilayer thinfilm. By decreasing computational time, generating datasets for machine learning becomes feasible and evolutionary optimization can be used effectively. Additionally, the sub-package TMM-Torch allows to directly compute analytical gradients for local optimization by using PyTorch Autograd functionality. Finally, an OpenAi Gym environment is presented which allows the user to train reinforcement learning agents on the problem of finding multilayer thin-film configurations.

[1]  John A. Nelder,et al.  A Simplex Method for Function Minimization , 1965, Comput. J..

[2]  Ravi S. Hegde,et al.  Accelerating optics design optimizations with deep learning , 2019, Optical Engineering.

[3]  J. Seeley Computer-aided Techniques for the Design of Multilayer Filters , 1981 .

[4]  K. Jarrod Millman,et al.  Array programming with NumPy , 2020, Nat..

[5]  H. G. Jerrard,et al.  Computer-aided techniques for the design of multilayer filters , 1981 .

[6]  J A Dobrowolski,et al.  Quasi-optimal synthesis for antireflection coatings: a new method. , 1993, Applied optics.

[7]  Evan W. Wang,et al.  Modeling and Optimization of Thin-Film Optical Devices using a Variational Autoencoder , 2018 .

[8]  Ben J. A. Kröse,et al.  Learning from delayed rewards , 1995, Robotics Auton. Syst..

[9]  Yoshua Bengio,et al.  Gradient-based learning applied to document recognition , 1998, Proc. IEEE.

[10]  C P Chang,et al.  Optimization of a thin-film multilayer design by use of the generalized simulated-annealing method. , 1990, Optics letters.

[11]  W. Paszkowicz,et al.  Genetic Algorithms, a Nature-Inspired Tool: A Survey of Applications in Materials Science and Related Fields: Part II , 2009 .

[12]  Pravesh Ranchod,et al.  Reinforcement Learning with Parameterized Actions , 2015, AAAI.

[13]  A. Tikhonravov,et al.  Some theoretical aspects of thin-film optics and their applications. , 1993, Applied optics.

[14]  Mohsen Ghasemi,et al.  Design and optimization of thin film polarizer at the wavelength of 1540 nm using differential evolution algorithm , 2018 .

[15]  Steven J. Byrnes,et al.  Multilayer optical calculations , 2016, 1603.02720.

[16]  Detlev Ristau,et al.  Design and realization of advanced multi-index systems. , 2014, Applied optics.

[17]  Xu Liu,et al.  Design of reflective color filters with high angular tolerance by particle swarm optimization method. , 2013, Optics express.

[18]  Liangyao Chen,et al.  Multilayer optical thin film design with deep Q learning , 2020, Scientific Reports.

[19]  Eduardo F. Morales,et al.  An Introduction to Reinforcement Learning , 2011 .

[20]  Heribert Wankerl,et al.  Parameterized reinforcement learning for optical system optimization , 2020, Journal of Physics D: Applied Physics.

[21]  Ronny Ramlau,et al.  Numerical methods for the design of gradient-index optical coatings. , 2012, Applied optics.

[22]  X Guo,et al.  Design of broadband omnidirectional antireflection coatings using ant colony algorithm. , 2014, Optics express.

[23]  Luca Antiga,et al.  Automatic differentiation in PyTorch , 2017 .

[24]  S Martin,et al.  Synthesis of optical multilayer systems using genetic algorithms. , 1995, Applied optics.

[25]  F. Abelès,et al.  La théorie générale des couches minces , 1950 .