Configurations for in-situ gas detection are provided, and include miniaturized photonic devices, low-optical-loss, guided-wave structures and state-selective adsorption coatings. High quality factor semiconductor resonators have been demonstrated in different configurations, such as micro-disks, micro-rings, micro-toroids, and photonic crystals with the properties of very narrow NIR transmission bands and sensitivity up to 10.sup.-9 (change in complex refractive index). The devices are therefore highly sensitive to changes in optical properties to the device parameters and can be tunable to the absorption of the chemical species of interest. Appropriate coatings applied to the device enhance state-specific molecular detection.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
 The United States Government has rights in this invention pursuant to Contract No. DE-AC52-07NA27344 between the U.S. Department of Energy and Lawrence Livermore National Security, LLC, for the operation of Lawrence Livermore National Laboratory.