Binary logic is the basis of modern computers, in which every bit is coded by 0 or 1, corresponding to a low or high signal, respectively. Simple Boolean logic gates receive one or more binary (0, 1) input signals and produce a single binary output signal. The principles of binary logic can be applied to the signal transduction operated by molecular switches.[1] In the past decade, molecular systems capable of performing Boolean logic operations have been attractive for the construction of molecular-level devices and machines. [1,2] Various materials, such as organic molecules, [2] protein, [3] nucleic acids, [4][5][6][7][8][9][10][11][12] enzymatic biochemical network, [13,14] supramolecular hydrogel, [15] and polymer-ligand interactions [16,17] have been used to process chemical signals, mimicking Boolean logic operations. These logic gates show great promise, but at the same time face substantial challenges.With the development of biological computing and quantum computing, the dominance of binary logic is challenged and multi-valued logic gates attract intense interest for research. Boolean binary logic has only two states that are true and false, or on and off. However, quite often, the logic gates suffer a certain degree of uncertainty and imprecision. In these cases, it is difficult to process information based on binary logic. Multi-valued logic is likely to play an increasingly important role in the conception and design of a molecular computer, since it would be able to deal with uncertain information. Multi-valued logic is defined as a nonbinary logic and involves the switching between more than two states. The number of distinguishable states increases, which allows for higher information densities.[18] The common application of a multi-valued variable is coding. The Morse code, which uses three different symbols, is probably the best known. The more different symbols there are, the shorter the code words.[19] A ternary or three-valued logic function is one that has two inputs that can assume three states (say 0, 1 and 2) and generates one output signal that can have one of these three states. Thus ternary logic is the extension of predominating binary logic. Recently, a multi-valued logic function was realized by using a nanofluidic diode based on conical nanopores functionalized with polyprotic acid chains.[20] The low, medium, and high pH values constitute the inputs, and the conductance values constitute the outputs. Pischels group has reported a tristable molecular fluorescent switch of the fluorophore 1 -spacer-receptor-spacer-fluorophore 2 dyad.[21] A careful assignment of the logic operation yielded a ternary NOR logic gate. In addition, Cervera et al. reported a multi-valued XOR logic gate implemented with metallic nanoparticles and organic ligands.[22] However, until now, the description of a ternary logic gate operation based on nucleic acids remains rare. Nucleic acids exhibit many advantages in comparison with organic molecules, such as easy synthesis with high reproducibility and purity,...