Arrayed DBR (Distributed Bragg Reflector) laser shows a problem that
spectrum purity is deteriorated when a current is flowed in a
semiconductor optical amplifier for attaining a sufficient optical
output. In addition, the arrayed waveguide grating laser shows a problem
that the spectrum purity is deteriorated by leakage of light. An output
end of each of the laser channels is provided with a gate (a core) that
can be controlled through bias application. The gate has a function for
amplifying light when the laser channels are operated and for absorbing
light when the laser channels are not operated.