A gate that can be open or shut to allow or block the passing of species on one or both sides applies not only on the macroscale, for example a farm gate used to control stock movement, but also at the nanoscale, where a gate can control the translocation of single molecules.