1. A device for implementing logic with memristors, comprising: circuitry comprising at least three memristors and a bias resistor in a logic cell; one of said at least three memristors being an output memristor within said logic cell and other memristors of said at least three memristors are input memristors; and each of said at least three memristors and said bias resistor are electrically connected to voltage sources, wherein each voltage applied to each of said at least three memristors and said bias resistor and resistance states of said at least three memristors determine a resistance state of said output memristor.