Ligand-Mediated Control Of The Confinement Potential In Semiconductor Quantum Dots