We present the realization of four different learning rules with a quantum dot memristor by tuning the shape, the magnitude, the polarity and the timing of voltage pulses. The memristor displays a large maximum to minimum conductance ratio of about 57000 at zero bias voltage. The high and low conductances correspond to different amounts of electrons localized in quantum dots, which can be successively raised or lowered by the timing and shapes of incoming voltage pulses. Modifications of the pulse shapes allow altering the conductance change in dependence on the time difference. Hence, we are able to mimic different learning processes in neural networks with a single device. In addition, the device performance under pulsed excitation is emulated combining the Landauer-Büttiker formalism with a dynamic model for the quantum dot charging, which allows explaining the whole spectrum of learning responses in terms of structural parameters that can be adjusted during fabrication such as gating efficiencies and tunneling rates. The presented memristor may pave the way for future artificial synapses with a stimulus-dependent capability of learning.