(color online) (a) Directional coupler, (b) wavelength multiplexer or PBS, and (c) MZI with variable PSs.