Nanowire or quantum wire