Encoding quantum bits in bound electronic states of a graphene nanotorus