Quantum Dot Ensembles as an Optical Quantum Memory