A production method of a semiconductor laser is provided. A number of cavities
are constructed corresponding to a number of light emitting units disposed on a
substrate. A part of at least one of the number of cavities is removed to set cavity
lengths of the number of cavities.