An optical transistor is disclosed. An apparatus according to aspects of
the present invention includes optical waveguide disposed in
semiconductor material. A diode structure is disposed in the optical
waveguide. The diode structure includes P and N regions. An electrical
switch coupled to the P region and the N region of the diode structure.
The electrical switch is coupled to switchably short circuit the P and N
regions of the diode structure together.