Physics of Nanostructured Solid State Devices