A phased-array device for wavelength division multiplexing/demultiplexing, comprising
at least one input channel, a plurality of output channels, and an irregularly
sampled array of phase modulators between the input and output channels, the irregular
array having a configuration and phase modulation such that effectively only one
beam at a given wavelength is focused onto a given output channel. In one embodiment
the individual phase modulators are randomly spaced, their relative locations being
determined by establishing a set of initially chosen locations, shifting each initial
location by a random increment resulting in delay within one wavelength if the
initially chosen locations are not sufficiently random, and then adjusting each
shifted location a fraction of a wavelength such that the overall phase shift to
a desired image point on one of the output channels equals a constant value.