A resonant tunneling diode, and other one dimensional electronic, photonic
structures, and electromechanical MEMS devices, are formed as a
heterostructure in a nanowhisker by forming length segments of the
whisker with different materials having different band gaps.