Compact integrated interferometer with semiconductor optical amplifiers