The ability to control the electronic properties of materials at the nanoscale by manipulating the band gap opens up a myriad of applications. For example, nanophotonics leverages the adjustable band gap for creating highly efficient light-emitting diodes (LEDs) and photovoltaic cells. In nanoelectronics, the tunable band gap is essential for designing transistors and other components that perform better than their bulk counterparts.