Hysteresis in current transport in a GaAs diode containing self-assembled InAs quantum dots