Quantum detectors based on nanocrystals