A photonic bandgap microcavity is provided. The microcavity includes a
membrane structure that can experience strain. A photonic bandgap
waveguide element is formed on the membrane structure having a defect so
that when the membrane structure is strained, the photonic bandgap
waveguide element is tuned to a selective amount.