Patent attributes
A semiconductor device, comprising a semiconductor stacking body configured so as to sandwich an active layer by a p-type semiconductor layer and an n-type semiconductor layer and having plural regions along the active layer, plural electrodes provided on the p-type semiconductor layer or the n-type semiconductor layer and provided one for each of the plural regions, and a switch operatively connected to at least one of the plural electrodes for switching bias voltage application directions, is configured such that each of the plural regions is forward biased by a voltage applied via the electrode and becomes an amplification region when the switch is turned to one side, and is backward biased by a voltage applied via the electrode and becomes an attenuation region when the switch is turned to the other side.