Modelling chemical reactions using semiconductor quantum dots