Logic gates are devices used to perform binary arithmetic and logical operations and thus constitute the basis of modern computers. They perform Boolean logic operations on one or more inputs to produce an output. Molecular switches convert input stimulations into output signals. Therefore, the principles of binary logic can be applied to the signal transduction operated by molecular switches. The presence of various ions, neutral species, pH, temperature, and viscosity, among many others, result in color or emission changes due to the complex interplay of many excited state processes and environmental parameters. In this entry, basic logic gates are defined, and their types are given, while examples of molecular logic gates are also presented.
Logic gates are devices used to perform binary arithmetic and logical operations and thus constitute the basis of modern computers. They perform Boolean logic operations on one or more inputs to produce an output. Each type of logic gate possesses a specific input–output signal correlation pattern described in the so-called truth table. Truth tables list all possible combinations of input–output states. Molecular switches convert input stimulations into output signals. Therefore, the principles of binary logic can be applied to the signal transduction operated by molecular switches. It is not necessary for the inputs and outputs to share the same logic convention. Consequently, different conventions applied to the same molecular device can lead to different logic functions.[1] Various logic functions such as YES, NOT, AND, OR, NOR, NAND, INHIBIT, and XOR, were discovered and they processed the truth or falsity of one or two statements in characteristic ways.
The use of logic functions in electronic devices in general and computers in particular, really got the public’s attention. When logic functions are manifested as material objects, they are logic gates. The realization of information processing and computation at the molecular level was first recognized by de Silva et al. in 1993.[2] Scientists then started making efforts to simulate the workings of the fundamental components of integrated circuits using molecules. The molecular-level emulation of Boolean logic gates was of crucial importance in the development of molecular computation. Spinning-off from chemosensor research, molecular logic gates quickly proved themselves to be more than intellectual exercises and are now poised for many potential practical applications.[3][4]
Molecules respond to changes in their environment. The presence of various ions, neutral species, pH, temperature, and viscosity, among many others, result in color or emission changes as a result of the complex interplay of many excited state processes and environmental parameters. The diversity of fluorescent chemosensors has grown rapidly, following the works of de Silva, Czarnik, Valeur and Tsien in the 1980s who laid the foundation for the emergence of molecule-based logic gates. The clear ‘‘off–on’’ fluorescence response of Photoinduced Electron Transfer (PET) based chemosensors in response to the addition of metal ions sparked the idea of the digital action of molecules, resulting in de Silva’s milestone.[2]
In 1993, de Silva et al.[2] presented a receptor that operates as a logic device with two channels. The fluorescence signal was dependent on whether the molecule binds hydrogen ions, sodium ions, or both. The input and output characteristics of that molecular device corresponded to those of an AND gate. The receptor in this case was an anthracene derivative and, based on the ‘fluorophore-spacer1-receptor1-spacer2-receptor2’ format, was expected to fluoresce only when the tertiary amine and the benzocrown ether units were receiving proton and sodium ion input, respectively, at sufficiently high concentrations. Results showed that when both inputs were simultaneously applied, the fluorescence output rose importantly, compared to the effect of the sole presence of sodium ions or protons, respectively. Thus, the output was ‘high’ only when both sodium ions and protons were concurrent on the molecule and remained ‘low’ under the other three input signal conditions.
Supramolecular chemistry phenomena are suitable for use in molecular computation due to the fact that the dynamic and reversible interaction of a guest species with a host molecule can be considered as an input applied to a device. The output from the device would be any conveniently observable property which signals the interaction. Most phenomena of chemistry and biochemistry can be viewed as general computational operations, under the condition that resettability and speed are downgraded in importance.[3]
Computation at molecular level is possible only with the use of a molecular logic gate, which can integrate simple logic gates into combinational circuits and thus have the potential for computation on a nanometer scale. Since the first report of AND gate by de Silva, significant efforts have been made to search for molecular systems capable of mimicking the complicated functions of AND, NAND, OR, NOR, XOR, XNOR and INHIBIT logic gates based on their spectral responses towards the external stimuli such as chemical or optical inputs and generating readable output signals. A threshold value of a logic convention is established for each signal. In a positive logic convention, 0 is used to represent a signal that is below the threshold and 1 is employed to indicate a signal that is above the threshold.
These devices execute the three fundamental logic operations AND, NOT, and OR. The NOT operator converts the input signal (I) into the output signal (O). When I is 0, O is 1. When I is 1, O is 0. The OR operator combines the two input signals and into the output signal. When I1 and/or I2 is/are 1, O is 1. When I1 and I2 are 0, O is 0. The AND gate, which is a main point of interest in this thesis, also combines two inputs into one output. The simultaneous presence of both input signals is here required to obtain an output signal. Thus, O is 1 only when both inputs are 1.
More advanced logic functions can be obtained by connecting NOT, OR, and AND gates into combinational circuits and they obey different truth tables.
In general, the reported systems were based on the modulation of the emission properties of the designed molecules by different combinations of external inputs, such as light, anions, metal ions, solution pH, and solvent polarity. Relatively few molecular systems can perform multiple logic functions based on the modulation of both absorption and emission properties.[5] Most examples developed so far are based on fluorescence switching caused by photoinduced electron-transfer (PET) processes. Fluorescence is an ideal output because it is easy to detect, even at the single-molecule limit. Molecular logic gates based on electrical input/output signals are advantageous as they are compatible with microelectronic devices, at least on a qualitative level.[1]
The AND operator has two inputs and one output in a simple electrical scheme. This can be represented by two switches in series. At the molecular scale, fluorescent sensors investigated long ago, follow an AND logic. Their logic aspect had not been recognized yet. The most common examples of molecular-level AND gates include those based on two chemical inputs and a fluorescence output. Nonetheless, examples of molecular systems able to process chemical and optical inputs or two optical inputs with AND functions are also known. AND logic is also featured in the so-called “off-on-off” (or “on-off-on”) systems. Typical examples include fluorescent sensors that detect a metal ion in only a well-defined pH range. Ion pair recognition can be viewed as an example of AND logic as well.[1]
The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high.
Figure 1. A two-input AND gate and its truth table.
Figure 2. Illustrations of a 2-input AND gate (left) and 3-input AND gate (right).
The practical meaning of this truth table is illustrated in the following sequence of figures. The 2-input AND gate is subjected to all possibilities of input logic levels.[1][6] A LED (Light-Emitting Diode) provides visual indication of the output logic level:
Figure 3. The function of a 2-input AND gate with all possible input and output logic levels.
The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It converts the input signal 1 into the output signal 0, and vice versa. Because of the inverse relationship between the input and output values, the NOT gate is often called inverter.[1][6]
Figure 4. The NΟΤ gate with its truth table.
The NAND gate is a variation on the idea of the AND gate. The word “NAND” is a verbal contraction of the words NOT and AND.
A NAND gate behaves in the same manner as an AND gate with a NOT (inverter) gate connected to the output terminal. The NAND gate symbol has a bubble on the output line, stating this output signal inversion.[1][6]
The truth table for a NAND gate is the exact opposite as that of an AND gate:
Figure 5. A 2-input NAND gate with its truth table.
NAND gates are made with more than two inputs. In such cases, the output will be “low” (0) if and only if all inputs are “high” (1). If any input is “low” (0), the output will go “high” (1).
In the case of the OR gate, the output will be “high” (1) if any of the inputs are “high” (1). The output of an OR gate goes “low” (0) if and only if all inputs are “low” (0).[1][6]
Figure 6. Illustrations of a 2-input OR gate (left) and 3-input OR gate (right).
A two-input OR gate’s truth table has the following form:
Figure 7. Α 2-input OR gate with its truth table.
OR Gate Sample Circuit Operation
The following illustrations demonstrate the function of the OR gate, with the 2-inputs experiencing all possible logic levels.[1][6] A LED (Light-Emitting Diode) provides visual indication of the gate’s output logic level:
Figure 8. The function of a 2-input OR gate with all possible input and output logic levels.
The NOR gate is an OR gate with its output inverted, in the same way as a NAND gate is an AND gate with an inverted output.
Figure 9. A 2-input NOR gate with its truth table, as well as an equivalent gate circuit.
NOR gates can also be manufactured with more than two inputs. Again, the output goes “low” (0) if any of the inputs are “high” (1). The output is “high” (1) only when all inputs are “low” (0).[1][6]
INHIBIT gates are, in fact, AND gates with one of the inputs inverted through a NOT function. At the molecular scale, integration between two such gates can be achieved by chemical design. Several examples of molecular INH gates have been described in recent years.
The INH logic features noncommutative behavior, meaning one of the inputs can disable the whole system. In the gate illustrated above, when In2 is 1 the gate provides 0 as the output, regardless of the other input.[1][6]
Figure 10. The INHIBIT gate with its truth table.
A Negative-AND gate functions in the same way as an AND gate with all its inputs inverted (connected through NOT gates). These inverted inputs are signified by bubbles.[1][6]
The logical behavior of a Negative-AND gate is not the same as that of a NAND gate. Its truth table is, in fact, identical to a NOR gate:
Figure 11. A 2-input Negative-AND gate with its truth table, as well as equivalent gate circuits.
A Negative-OR gate functions in the same way as an OR gate with all its inputs inverted. These inverted inputs are signified by bubbles. A Negative-OR gate behaves the same as a NAND gate and they have the same truth table, as well.[1][6]
Figure 12. A 2-input Negative-OR gate with its truth table, as well as equivalent gate circuits.
1.2.9. The Exclusive-OR Gate
Exclusive-OR gates output a “high” (1) logic level if the inputs are at different logic levels. On the other hand, they output a “low” (0) logic level if the inputs are at the same logic levels. Thus, the exclusive-OR gate can compare the digital state of two signals.[1][6]
The Exclusive-OR (sometimes called XOR) gate has a symbol and a truth table pattern that are unique:
Figure 13. The Exclusive-OR gate with its truth table.
The Exclusive-NOR gate, also known as the XNOR gate, is equivalent to an Exclusive-OR gate with an inverted output. Exclusive NOR logic corresponds to an XOR gate feeding into a NOT gate.[1][6]
The truth table for this gate is the exact opposite of the corresponding one to the Exclusive-OR gate:
Figure 14. The Exclusive-NOR gate with its truth table.
The purpose of an Exclusive-NOR gate is to output a “high” (1) logic level whenever both inputs are at the same logic levels.
Figure 15. The modular format (top) and the molecular structure (bottom) of AND logic gate 1.
Molecule 1 was the first fluorescent PET system to employ a ‘receptor2-spacer-fluorophore-spacer-receptor1-spacer-fluorophore-spacer-receptor2’ format. The molecule is designed in such way that each receptor is capable of PET to an excited anthracene fluorophore in the absence of the analyte, knocking out the fluorescence. In this case, a tertiary amine and two benzo-15-crown-5 ether have been employed as receptors and they have served as PET donors to anthracenic fluorophores in previous studies.[2][8][9] Thus, molecule 1 will have the ability to capture H+ at the amine, and Na+ in the crown ethers. In previous studies[2][8][9], only one benzo-15-crown-5 ether was incorporated into the molecule, while in molecule 1 there are two such receptors.
Figure 16: Molecule 2.
Figure 17. Molecule 3.
Figure 18. Molecule 4.
Figure 19. Molecule 5.
Figure 20. The free ligand in example [5].
Contrary to previous molecular logic gates where the output is a broad emission[2][8], the output signal for the molecule studied in this case is a set of line-like Tb emission bands occurring at long wavelengths with narrow bandwidth, giving rise to a high signal quality. Thus, this complex is an important contribution to the development of molecular logic devices.
Figure 21. The truth table corresponding to the aforementioned system.
Professor de Silva's blood pressure device: a worldwide hit
Professor A. Prasanna de Silva invented a device to help care for his grandmother, who suffered from hypertension. This device is now being used in hospitals around the world. This unique mobile sensor, devised to treat high blood pressure, has also been used in ambulances and field hospitals in trouble spots globally. The thought of the device came to de Silva in 1980, while taking care of his grandmother. The doctor caring for de Silva's grandmother explained to him how reducing sodium can reduce blood pressure. This required measuring sodium levels, which was a process done in a clinical lab that took several days. de Silva then began researching alternatives to measuring sodium, including using molecule sensors to detect sodium levels. He took his research with him to Queen's University in Belfast and constructed several sensors that communicated sodium levels by sending light signals. The sensors were much faster than traditional lab work and made blood tests available in 30 seconds. de Silva never thought to try to mass produce the sensors, but in 1998 medical supplies firm Roche Diagnostics read a research publication from Queen's, and several members visited de Silva in Belfast to see the sensors he had constructed. Roche Diagnostics then partnered with de Silva to produce the sensors, and they quickly spread all over the world. The sensors are now used in critical care units in the US and Europe, doctors' offices in Japan, army field hospitals in China, and ambulances in Sri Lanka and Libya. de Silva's work was presented to Parliament as part of a national campaign run by the Royal Society of Chemistry and Institute of Physics. de Silva believed that a modern economy like the UK's cannot be sustained in the long-term without a science foundation and that it is science achievements that remain, contrary to financial gain which comes and goes. He also remarked that those achievements, born in quiet laboratories, need commercial and political will, so that wider society can benefit.[19]