1. A method for controlling electric conduction on a nanoscale wire, comprising: providing the nanoscale wire with a first plurality of controllable regions axially distributed along the nanoscale wire, said regions allowing conduction along the nanoscale wire when each region is either controlled with a signal having a value lower than a first threshold or is not controlled; and either controlling or not controlling said regions, to allow or to prevent electric conduction along the nanoscale wire.