Gain optimization method of a DQW superluminescent diode with broad multi-state emission