The simplest case is a rectangular waveguide, which is formed when the guiding layer of the slab waveguide is restricted in both transverse directions rather than just one. Rectangular waveguides are used in integrated optical circuits and in laser diodes. They are commonly used as the basis of such optical components as Mach–Zehnder interferometers and wavelength division multiplexers.