An optical waveguide includes a set of diffractive elements. The
diffractive element set routes within the waveguide a diffracted portion
of an input optical signal between input and output optical ports. The
input optical signal is successively incident on the diffractive
elements. The optical signal propagates in the waveguide in a
corresponding signal optical transverse mode substantially confined in at
least one transverse dimension. A modal index of the signal optical mode
or a modal index of a loss optical mode spatially varies along a signal
propagation direction within the optical waveguide, or the loss optical
mode is optically damped as it propagates along the optical waveguide.
Said signal modal index variation, said loss modal index variation, or
said loss mode damping yields a level of optical coupling between the
signal optical mode and the loss optical mode at or below an
operationally acceptable level.