Controlling the dimension of the quantum resonance in CdTe quantum dot superlattices fabricated via layer-by-layer assembly