Laser line-width compensation is performed by detecting noise in an
optical signal output by a laser of an optical communications system and
controlling a complex modulator to cancel the detected noise. Line-width
compensation can be performed for both amplitude and phase noise in the
optical signal. Noise measurements are used to compute a complex scalar.
The complex scalar is used by a compensation processor to modify an input
signal that is to be transmitted by the optical communications system.
The modified input signal controls the complex modulator, which modulates
the output signal to cancel the noise.