Conventional microprocessors use elementary logic gates to perform complex computational tasks. Mimicking such computational processes using purely molecular systems has been limited in most cases by the lack of design generality or potential addressability of existing molecular logic gates. Herein we report that by employing the universal recognition properties of DNA simple photonic logic gates can be created that are capable of AND, NAND, and INHIBIT logic operations.