For the first time, researchers performed logic operations — the basis of computation — with a chemical device using electric fields and ultraviolet light. The device and the pioneering methods used open up research possibilities including low-power, high-performance computer chips.