Preferably, the compound semiconductor has multiple energy levels in the energy gap thereof.
The materials used for the devices can have an energy gap corresponding to near-infrared, visible, or near-ultraviolet light.