1. A nanotube programmable logic system comprising: a plurality of nonvolatile nanotube memory cells, each memory cell comprising at least one nanotube switching element to store a memory state; and a plurality of nanotube logic circuits, each nanotube logic circuit comprising at least one input, at least one output, and a plurality of nanotube switching devices, the at least one input and the at least one output electrically coupled to the plurality of nanotube switching devices to implement a logic function; wherein the at least one output of at least a first nanotube logic circuit is electrically coupled to the at least one input of at least a second nanotube logic circuit to produce the at least one output of the at least second nanotube logic circuit; wherein the plurality of nonvolatile nanotube memory cells are electrically coupled to the at least one input and the at least one output of the nanotube logic circuits.