The GaInAs light absorbing layer having an energy bandgap smaller than the InP layer, being a dark current generating region, is under a tension stress at minus Δa/a, but is under {HEAD ~ a compression stress} at {TAIL ~ plus Δa}/a 