Abstract
We introduce a new method for transforming chemical systems into desired logical operators (e.g. NAND gates) or similar signal-manipulation components. The method is based upon open-loop dynamic regulation, where external conditions such as feed-rate, lighting conditions, etc., are modulated according to a prescribed temporal sequence that is independent of the input to the network. The method is first introduced using a simple didactic model. We then show its application in transforming a well-stirred cubic autocatalytic reaction (often referred to as the Selkov–Gray–Scott model) into a logical NAND gate. We also comment on the applicability of the method to biological and other systems.
Keywords: chemical logic gate, natural computing, dynamical system control
1. Introduction
Natural computing is a broad field of research at the intersection of computer science, physics, chemistry and biology. Its two main areas are the study of biology-inspired computing (e.g. neural networks and genetic algorithms), and information processing in organisms, including, for example, the computational aspects of self-assembly and biochemical reactions—see Rozenberg et al. [1] for a review. These research areas are largely inspired by the impressive adaptivity demonstrated by living systems. Even the simplest single-celled organisms are capable of adaptation, and whether one sees this as a computational process (e.g. [2,3]), or one focuses upon sensorimotor feedback dynamics [4,5], it is interesting to consider how these organisms, which lack nervous tissues, can use chemical processes to ‘process information’, i.e. to transform sensory input into functional motor output.
A recurring goal in this area is to implement chemistry-based ‘information processing units’ such as logic gates. Efforts to build logic gates and other signal-processing devices out of chemistry date back at least as far as 1974 [6], and a range of approaches, both theoretical and experimental, have been taken. These involve diverse chemical media, including biochemical systems (e.g. enzyme reaction networks [7,8], gene-regulatory networks [9–11], peptide-based computing [12] and DNA-computing [13]); abiotic chemistry (e.g. Belousov–Zhabotinsky oscillators [14], the bistable iodate–arsenous acid reaction [15] or other molecules [16]); and mathematical idealizations or abstractions of chemistry (sometimes referred to as ‘artificial chemistry’ [17]), where networks are designed to satisfy various desiderata and the constraints of actual chemistry are, for the moment, ignored. One example of this last class of study can be found in the work of Hjemfelt et al. [18–20], who proposed a reaction motif that recreates McCulloch–Pitts neuron dynamics and that can be assembled into networks that accomplish Boolean operations. This work was then used to implement a chemistry based pattern-generator neural network using the bistable iodate–arsenous acid reaction run in a continuous flow stirred-tank reactor (CSTR) [15].
The target behaviours in these studies include switching and rectification [7], mimicking the behaviour of neurons [18–20], and other functions, but perhaps the most popular goal has been to recreate the Boolean operations of logic gates such as AND, XOR, NAND, etc. Part of the appeal of logic gates is that they are sufficient for implementing flip-flop memory units, half-adders and the other networks from which modern computers are made.
Often, the first step for implementing chemistry-based logic gates is to decide how the Boolean values (true and false) will be represented. The most intuitive way to do so is to equate certain reactant concentrations with Boolean values (e.g. high acidity = true; low acidity = false) and to identify or develop chemical reactions that transform those concentrations in ways that correspond to the desired Boolean operations. Other representations are also possible. For instance in excitable media [21], the presence or the absence of chemical waves can be used to play the role of binary logic values, chemical wave propagation in narrow capillary tubes play the role of information transmission between inputs and outputs, and the specific geometric configuration of capillary tubes dictates the computation to be done. A similar idea is explored in [22], where the network of capillary tubes is replaced by a ‘printed circuit’ of catalyst. This idea of using excitable media is pushed further by Adamatzky and co-workers [23,24] (see also [25–27] for reviews). In their approach, localized excitations (wave fragments) are sent on ballistic trajectories in an architecture less excitable medium. Computation is the result of the interactions between the localized excitations, and complicated logic circuits can be implemented in this collision-based computing paradigm.
In general, chemistry does not naturally perform these kinds of operations. In other words, substantial human intervention is required to produce chemical-logic gates, and it is interesting to consider for a moment the forms of these interventions. In a few rare cases, such as template-molecule-based DNA-computing or gene-regulatory networks, researchers can select the reactants so as to design reaction networks. This is only possible for rather small reaction networks, with relatively recent work [28] reporting that ‘the largest and most complex program constructed so far’ consists of three gates, built using 11 regulatory proteins. This pales in comparison to silicon-based logic gates (modern CPUs have hundreds of millions of gates), but evolution works under different constraints and to accomplish different goals from human engineered computers. It will be interesting to see how this area advances.
When it is not possible to arbitrarily design reaction networks (and this is the more typical scenario), the alternative is to construct an environment (i.e. ‘external’ or ‘boundary’ conditions) in which the chemistry operates, so as to cause it to perform the desired operation. This is most easily seen in Adamatzky's and others' work in excitable media, where the shape of the spatial boundaries causes the propagating waves to interact as desired, but the same idea underlies the development of logic gates based upon bistable reactions in CSTRs [29], or light modulated Belousov–Zhabotinsky micro-droplets [14], etc. In these latter cases, the external conditions are not (only) the shape or properties of the containers, but also include feed-rates, lighting conditions or other phenomena that influence the chemical reactions in various ways.
It is well established that varying the external conditions of chemical systems can change their dynamical regimes. This change can be quantitative, such as when light is used to influence decay or reaction rates [30–34], or qualitative, when a parameter crosses a bifurcation point, such as the use of light to suppress oscillations in the chlorine dioxide–iodine–malonic acid reaction [35].
In all cases that we are aware of, the developers of chemical logic gates have employed static external conditions, i.e. conditions that do not change during the evaluation of logical operation(s)1. In this paper, we show that in some cases a sequence of external conditions is sufficient to transform a well-stirred chemical system (sometimes referred to as the Selkov–Gray–Scott model [36,37]) into one capable of logical operations. Note that the method presented here is conceptually very different from other approaches in the field. Instead of designing a (sometimes extremely) fine-tuned chemical system with fixed external conditions to perform a logical operation, we subject an existing chemical system to a prescribed temporal sequence of changes in its external conditions. We argue that this type of reasoning is more likely to be applicable to biological systems.
The rest of this paper is organized as follows. Because the method we are presenting is new, we first provide in §2 a didactic example, where our ‘dynamic external condition’ method is applied to a minimal mathematical toy example. We then show that the method can transform a well-known cubic autocatalytic chemical model into a logic gate in §3. We finally discuss the applicability of the method to biological and other systems in §4.
2. Dynamic external conditions in a simple toy example
For illustrative purposes, we now show how modulation of a dynamical system's parameters can transform it into a logical NOT gate, which transforms true input into false and false input into true (the action of a NOT gate is shown in table 1). For our base dynamical system, we will consider a bead on a saddle-shaped wire (figure 1). Depending on where the bead is placed, it will slide into one of the two ‘troughs’. To identify such a dynamical system with a logic gate, it is necessary to specify what is meant by inputs and outputs for that gate. In this toy example, we decide that inputs are determined by which half-side of the wire the bead is initially placed and outputs are determined by which trough the bead ends up in. For both input and output, we consider the right (left) half to correspond with a true (false) value. The motion of the bead represents the operation of the gate.
Table 1.
input | output |
---|---|
TRUE | FALSE |
FALSE | TRUE |
As it stands, this system does not represent a NOT gate. The bead ends in the same trough in which it starts and so the system can be considered an IDENTITY gate, where true input produces true output and false input produces false output. Indeed no matter the shape of the wire, no static configuration of the wire would be able to accomplish a NOT operation. To cause the bead to switch sides and thus the system to act as a NOT gate, we can subject the saddle-shaped wire to a predetermined sequence of rotations2 that take place after the bead is placed in a way that is entirely independent of the bead's location. The rotations are comparable to changes in the external conditions of the bead.
We make these ideas mathematically precise by considering the following one-dimensional periodic dynamical system:
2.1 |
where θ(t) denotes the angular position of a bead moving on a circle and ϕ is a phase parameter. The angular velocity of the bead depends on its position and can be either positive (counterclockwise) or negative (clockwise), depending on the sign of the sine function in equation (2.1). The fixed points of the system are θ*1 = ϕ/2, θ*2 = π/2 + ϕ/2, θ*3 = π + ϕ/2 and θ*4 = 3π/2 + ϕ/2. θ*1 and θ*3 are attractive fixed points, while θ*2 and θ*4 are repulsive. The phase, ϕ, implements rotations of the saddle-shaped wire around the vertical axis of figure 1, as discussed below. When ϕ = 0, for any initial condition in the right (left) half-circle θRHC (θLHC), the bead asymptotically goes to the fixed point θ*1 (θ*3). The system thus has two basins of attraction, and the separatrix, i.e. the manifold separating those basins, is the points θ*2 and θ*4. As described above, we associate the attractor of each of these basins with Boolean values, such that θ*1 ≡ true and θ*3 ≡ false. Figure 2 illustrates this dynamical system for ϕ = 0, showing the saddle-shaped wire of figure 1 viewed from above, with the repulsive fixed points of the crests and attractive fixed points of the troughs indicated as open and closed circles, respectively.
As already described informally, for ϕ = 0, this dynamical system operates as an IDENTITY gate, transforming initial conditions associated with a true input θ(t = 0)∈θRHC into a true output state and initial conditions associated with a false input θ(t = 0)∈θLHC, into a false output state. We now show how by judiciously modifying the external conditions, it is possible to transform this dynamical system into a logical NOT gate. More explicitly, for initial conditions in or near the true state (i.e. θ(t = 0)∈θRHC) we want the system to approach (at asymptotically large times) the false state and inversely, for initial conditions in or near the false state (i.e. θ(t = 0)∈θLHC), the system should approach the true state. To accomplish this goal, we first identify a ‘handle’, i.e. an ‘external condition’—a parameter that we can modulate. Examples of such parameters in chemical systems include flow rates, temperature, stirring rates, etc. For this exercise, we use the phase parameter, ϕ, as an externally adjustable parameter. We also assume (both here and in the subsequent chemical model) that changes to external conditions are fast compared with the other dynamics so that changes in parameter regimes can be approximated as discrete jumps. When this assumption does not hold, additional equations describing this parametric dynamics can be coupled to the main dynamics.
It is now possible to identify a temporal sequence of external conditions that produces the desired behaviour One such sequence is shown in figure 3. In Step 1, the system is placed in Regime-A (RA), where ϕ = ϕRA = 0. The system evolves in this regime for the duration τRA, which is chosen to be sufficiently long for the bead to approach close to the fixed point centred within the basin in which it started, i.e. and . In Step 2, the system's dynamics are changed to Regime-B (RB) by setting the external condition ϕ = ϕRB = 2π/3 for a duration τRB. This rotates all fixed points counterclockwise by 60°, and for the duration τB the bead will be attracted to the new position of the fixed points whether it started this step in θ*1 or θ*3. In Step 3, we enter Regime-C (RC) by setting ϕ = ϕRC = 4π/3 for a time τRC. In this parameter regime, the fixed points are rotated counterclockwise by a further 60°, and again the bead follows. Finally, in Step 4, the system is returned to its original configuration, Regime-A (ϕ = ϕRA = 0) for a time τ4. Since the bead is now on the opposite side of the separatrix from which it started, it moves to the fixed point that is on the opposite side of where it began. To summarize, initial conditions associated with a true input now result in a false output state , and initial conditions associated with a false input result in a true output state . We have thus transformed the system into a NOT gate.
Before we introduce our chemistry-based example, a few further comments are in order. First, we note that everything about the sequence of the external conditions is independent of the initial condition of the state of the system. Put another way, there are no rules that say, for instance, to change to Regime-X if the system is in a particular state or if the input is true, etc. We emphasize this so as to make clear that the logical operation is performed within the modulated system—not outside of it, i.e. not by the modulation itself.
Second, we observe that the dynamic sequence of external conditions shown in figure 3 is not unique. The values of ϕi and τi for each step are constrained, but substantial freedom is allowed in their choice. For instance, the duration of Step 2 (τRB) must be long enough for the bead to move at least 30° counterclockwise, but apart from that is not constrained. Similarly, the duration τRC must be sufficiently long for the bead to cross the separatrix that is present in the Regime-A state, but is otherwise unconstrained. Also, other regimes could have been used, for instance, replacing all would accomplish the same final operation by moving the fixed points clockwise instead of counterclockwise.
Finally, we observe that this example has treated the simple case of a NOT gate, which has only one input (associated with the initial condition of the dynamical system). Other important gates (AND, OR, NAND, etc.) have two inputs. To be able to implement those gates using dynamic external conditions, the two inputs must be combined into one initial condition for the dynamical system. For instance, a linear combination of the two inputs could be used. An explicit example of this in a chemical context is presented in the next section.
It is important to emphasize that in our method, external conditions are regulated by an ‘open-loop’ controller, where external conditions are regulated according to a pre-determined sequence that is entirely independent of both the current state of the chemistry and the input given to the system. The logical operation is thus performed by the chemical medium and not by the process regulating it.
3. Dynamic external conditions in a chemical model
We now show how a cubic-autocatalytic chemical reaction can be turned into a NAND gate by dynamic modification of its external conditions. The action of a NAND gate is shown in table 2. The NAND logic gate was selected for its universality, i.e. the fact that all logical operations can be constructed out of networks of this gate [38]. The chemical model (sometimes referred to as the Selkov–Gray–Scott model) was selected as it is a well-studied system that is known to be capable of interesting and complicated dynamics [37]. It is given by
3.1 |
and
3.2 |
where U = U(t) and V = V(t) are chemical concentrations. These equations can be thought of as describing a continuous well-stirred flow reaction system, where autocatalyst V reacts with substrate U, transforming it into more V according to the reaction . The reactants are fed into the reactor at rates described by parameters Fu and Fv, and they are removed at rates described by terms ruU and rvV . Without loss of generality, we choose the values ru = 1.5, rv = 3 and λ = 1 in the following; other values would change the details of our results, but not the overall reasoning.
Table 2.
input A | input B | output |
---|---|---|
FALSE | FALSE | TRUE |
FALSE | TRUE | TRUE |
TRUE | FALSE | TRUE |
TRUE | TRUE | FALSE |
As was the case for the toy model, a first step is to find parameters that can be adjusted externally. We pick the ‘feed-rate’ parameters, Fu and Fv, as our tunable external conditions. In other situations, it may make sense to pick other parameters. For example, if the reaction rate (λ) were influenced by the presence of light, λ could be used instead of (or in addition to) the feed-rate parameters.
Once again, there is more than one way to modulate the parameters to cause the system to operate as a logic gate. It is useful (but not necessary, see Discussion) to have two fixed points that we can associate with the two Boolean values. We thus start by identifying a configuration of the adjustable parameters for which the system is bistable (see appendix A for an analysis of the fixed points of the model). These values are indicated in the row labelled RA (for Regime-A) in table 3 and plots in figure 4 show the dynamics of the system when the system is in this configuration. We associate a Boolean value with each of the two fixed points, arbitrarily selecting (U, V)false ≈ (13.33, 0) to represent false and (U, V)true ≈ (0.5, 6.5) to represent true (figure 4).
Table 3.
regime | Fu | Fv |
---|---|---|
RA (bistable) | 20 | 0 |
RB (perturbatory) | 5 | 5 |
RC (monostable) | 0 | 0 |
We assume that the mechanism through which the system receives inputs from upstream gates is by way of diffusion or some other process, such that the input is the average of two of the Boolean states, attenuated by some constant, k. For example, if the chemical NAND gate were to be implemented with the use of a CSTR, the two inputs might correspond to samples taken from upstream CSTR-based gates. The net effect on the concentration of the reference chemical in the CSTR would thus depend on the average of the two input concentrations, diluted in the whole reaction volume. In this example, k represents the effect of dilution. For the Selkov–Gray–Scott model, the possible inputs (initial conditions) are thus IFF = k(U, V)false, ITT = k(U, V)true and ITF = IFT = k((U, V)true + (U, V)false)/2 = k(6.6, 3.25), where k is set to 0.15. Similar to system parameters ru, rv and λ, the exact value of k is not important for our method to work, but is important in the modelling of realistic physical/chemical situations. A different value of k might affect the specifics of each regime (timing, values of the parameters), but not the overall recipe. For instance, in the present case the value of k was chosen such that of the four possible input values, only ITT lies above Regime-A's separatrix (see figure 5a). We confirmed in numerical simulations that small changes to k (we checked k∈[0.11, ..0.18]) would have no effect upon the logical operation performed. Larger changes to k can change the type of logical operation accomplished. For instance, a k value of 0.25 places both ITF and IFT above the separatrix, which causes the regime sequence to accomplish a NOR operation instead of NAND (confirmed in numerical simulation, results not shown). Changing regime parameters, or the sequence or duration of regimes used would allow further flexibility in selecting a value for k. For instance, the parameter Fu influences the position of the separatrix in Regime-A.
To operate as a NAND gate, trajectories that start at initial conditions IFF, ITF and IFT must end at (U, V)true and initial condition ITT must end at (U, V)false. There is no single fixed parametric regime of the system that accomplishes this behaviour. But we now explain how this behaviour can be achieved when the system is placed in the temporal sequence of external conditions specified in table 4.
Table 4.
step name | regime | duration |
---|---|---|
categorize | RA (bistable) | 5.00 |
perturb | RB (perturbatory) | 0.10 |
invert | RA (bistable) | 0.25 |
shift to separatrix | RC (monostable) | 0.85 |
stabilize | RA (bistable) | 2.00 |
We start with the system in the bistable regime (regime RA in table 3). This categorizes the trajectories such that those initial conditions that are associated with an output of true are at one of the fixed points, while the other initial condition falls into the other fixed point (figure 5a). If we were implementing an AND gate rather than a NAND gate, we could stop here, as inputs IFF, ITF and IFT are at (U, V)false and ITT is at (U, V)true. However, AND gates are not universal, and to accomplish our goal of creating a NAND gate, we must ‘invert’ the system such that those trajectories at (U, V)false are moved to (U, V)true and vice versa.
We briefly place the system in the perturbatory regime (regime RB in table 3), which causes a small increase in V for all of the trajectories (Step 2, figure 5b). This small increase in V means that when the system is returned to the bistable regime in Step 3 (figure 5c), the IFF, ITF and IFT trajectories are no longer in the (U, V)false basin of attraction, and they move on a transient that takes them higher than the ITT trajectory. If we were to stay in the bistable regime for a long time, all of the trajectories would approach (U, V)true. This would be bad as it would no longer be possible to distinguish between the four inputs. To prevent this from happening, we move to the monostable regime (Step 4, figure 5d) before the system comes to equilibrium. In this regime, the feed rates Fu and Fv are both 0, causing all of the trajectories to decrease in both U and V . We again make use of the transient dynamics by moving the system into the bistable regime before the system comes to equilibrium. With the correct timing, at the start of the final bistable regime (Step 5, figure 5e) the IFF, ITF and IFT are on one side of the separatrix, within the basin of attraction of (U, V)true and ITT is on the other side, within the basin of attraction of (U, V)false. Left in this final regime of the sequence, the IFF, ITF and IFT trajectories approach (U, V)true and the ITT approaches (U, V)false, and we have successfully completed a NAND operation.
This process involves the sequential use of three different parameter regimes, the bistable regime (RA), the perturbatory regime (RB) and the monostable regime (RC). Although the timing of the duration of each regime must be somewhat precise, in our experience the values of the parameters for the regime do not need to be precisely tuned, provided they perform the desired qualitative dynamics (e.g. bistability, or desired transient dynamics). The values of the parameters for each regime can be found in table 3 and the order and duration of regimes for performing a NAND operation in a non-spatial system can be seen both in figure 5 and table 4.
4. Discussion
The toy and chemical models presented above are two simple examples of dynamical systems that can be turned into logic gates using dynamic external conditions. The method presented here is general and could in principle be applied to other dynamical systems, including chemical systems.
The NAND gate that we have implemented includes two properties that are necessary if the gates are to be assembled into networks of gates that are capable of useful computation above and beyond a simple NAND operation. The first property is error correction. Both of the presented systems employ a bistable regime, where two distinct stable fixed points are used to correct for noise or small perturbations in the initial conditions, and steering the trajectory to a well-defined, time-invariant state that is a function of the input. This error-correcting ‘categorization’ step limits the influence of initial conditions upon subsequent steps. Without this error correction, noise can accumulate within sequences of gates, making them ineffective when combined into larger computational circuits thus limiting the possibility of composing them into useful computational networks. Magnasco [39] discusses this idea in the context of chemical neurons.
The second property concerns the transmission of the output of one logic gate into the input of a subsequent ‘downstream’ gate. If chemical logic gates are to be composed into networks capable of more complex computation, it must be possible to use the output of certain gates as the input of others. Not all previous research on chemistry-based logic gates has fully addressed this demanding requirement. For example, in Wang et al. [14], input to a chemical logic gate is defined by the presence or the absence of oxidation spikes in the Belousov–Zhabotinsky reaction of two ‘input’ droplets, whereas the output in this system is defined by a delay in the autonomous oscillations of a third ‘output’ droplet. Without further work, it is unclear how this output could be used as the input for a subsequent downstream gate. The idea here that we want to emphasize is that for chemical logic gates to be composable into networks, the ‘format’ or ‘representation’ of output Boolean values must be the same as (or compatible with) that of the input. Our method allowed us to produce a chemical logic gate where the output of the gate, once diffused and diluted, could be used as input for another gate.
In general, the process of designing of a specific gate using dynamic external conditions depends strongly on the underlying system and on the number and effect(s) of the externally adjustable parameters. In some cases, there will be no solution; no sequence of external conditions will cause the base system to perform the desired behaviour. In general, it is difficult to establish whether or not a solution exists but occasionally, when certain fundamental properties are absent from the base system or when the effects of external conditions are limited, the absence of a solution can be quickly established. For instance, if a system always has a single basin of attraction, regardless of any external parameter shifts, it seems that it would be impossible to create a NAND gate with error correction. Our example systems employ two stable fixed points to accomplish error correction, but it is interesting to speculate that one could replace one or more fixed points with limit cycles or chaotic attractors—provided those attractors are sufficiently separated in phase space, then they could be used as Boolean value representations. Multistability could in principle be used to implement n-valued logic gates and that other forms of signal processing, such as amplification, dynamic range compression, etc., could be accomplished with monostable or other systems.
For the presented method to work, the tunable external conditions must have sufficient influence upon the system's dynamics. Typical external conditions for chemistry include flow rate, temperature, stirring rate and light-sensitive reaction rate, but in many specific cases these parameters may not sufficiently influence the chemical dynamics, making it impossible to use the presented method. Additionally, we have assumed that the parametric shifts can occur quickly compared to the other dynamics. In some systems, it may be possible to relax this assumption, but in others it may be impossible to regulate the external conditions quickly enough to avoid undesired transients. Ultimately, the properties of the chemical medium (reaction rates, diffusion rate, etc.) in which the computation is taking place impose a number of unavoidable constraints that might limit the experimental applicability of the method. For instance, the shift to the separatrix (table 4) might be hard to achieve experimentally if reactions are too fast.
The necessary or desired characteristics for a base system to be amenable to this method are difficult to describe at this stage. The method requires a case by case study of its dynamics in different regimes and trial and error and experimentation. From a practical point of view, it means that a mathematical model of the dynamics is very helpful (perhaps even necessary) to find out all the regimes and timings for the method to work. Since models of chemical dynamics are often approximate, this can add a layer of difficulty when applying this method to complex chemical systems.
With regards to the chemical processing of information in biological systems, our approach to chemical logic gates is conceptually different from previous studies on the subject. For instance, the chemical logic gates of [18–20] require building a precise network of chemical neurons (each made of many chemicals) in order to perform a certain logical operation. The networks are built specifically for the task they are designed for, and the absence of one or more chemicals could disrupt its proper functioning. This high level of fine tuning seems to be generic of other chemical gate designs. This may be hard to achieve naturally in a biological setting.
It is interesting to return for a moment to one of the motivations of natural computing: understanding how organisms process information. The approach presented here is different from previous approaches to chemical logic in that it uses existing ‘chemical hardware’ (already designed for certain tasks) to process information. By playing on the external conditions of some pre-existing chemical dynamics, cells may be able to perform a logical operation by re-purposing some of its internal chemical components by dynamically regulating the external conditions of that chemistry (e.g. transport of reactants through the cell membrane). In addition, our two examples explicitly show that there is no unique temporal sequence of external conditions and also substantial freedom in the choice of parameters in our method. So it is not unreasonable to think that evolution could tweak relatively easily the external conditions of biological processes in order for them to perform logical operations or other forms of signal manipulation. This makes the above method a potentially useful way of processing information in biological systems. We are not aware of any example of natural or synthetic biological systems that uses such a method, but it would be interesting to pursue research in that direction.
5. Conclusion
We have shown that a well-known cubic autocatalytic chemical model can be transformed into a logic gate by changing its external conditions according to a prescribed time-dependent sequence that is independent of the state of the system and of the input to the system. The method is general and could in principle be applied to other dynamical systems. In a parallel publication, we present our application of the method to a spatial model (where diffusion effects are important), showing how the method can be used to take advantage of spatial symmetries and produce a network of logic gates out of a uniform chemical medium.
Acknowledgments
The authors thank J. Szymanski for useful discussions.
Appendix A. Fixed points of the Selkov–Gray–Scott model
The fixed points of the Selkov–Gray–Scott model in the case where Fv = 0 are obtained by setting equations (3.1) and (3.2) to zero. There are three fixed points in total:
A 1 |
and
A 2 |
The stability of the system can be obtained by linearizing equations (3.1) and (3.2) around each fixed point [40]. The linearized system is
A 3 |
where δU, δV represent small deviations in concentrations around the fixed point (U*, V*). For the parameter values specified below equations (3.1) and (3.2) and in table 3, we get that Regime-A has two stable fixed points at (13.33, 0) and (0.46, 6.43) and one unstable fixed point at (12.87, 0.23), while Regime-C has only one stable fixed point at (0, 0). The analysis of Regime-B is more complicated, since the expressions for the fixed points (A 1) and (A 2) are obtained under the assumption that Fv = 0. Analytical expressions for the fixed points in Regime-B exist, but they are not particularly illuminating and we do not include them here. Nonetheless, it is possible to show that for the parameter values specified in table 3, there is a single stable fixed point at (0.45, 3.11).
Endnotes
In some cases (e.g. [14]), conditions are varied over time so as to provide different input to the network. As shall become clear, this is different from the method presented here, where external conditions are regulated independently of input, and with the fundamentally different purpose of modifying dynamics into a logical operation.
We assume in this toy model that the position of the bead is unchanged by these rotations.
Data accessibility
This article has no additional data.
Authors' contributions
M.E. conceived of the study, carried out the numerical simulations and participated in the writing of the manuscript; J.S.G. conceived of the study, contributed in the more theoretical aspects of the study and participated in the writing of the manuscript; J.P.M. coordinated the study, participated in its design and helped draft the manuscript. All authors gave final approval for publication.
Competing interests
The authors have no competing interests.
Funding
This research is supported by Repsol S.A.
References
- 1.Rozenberg G, Bäck T, Kok JN. 2012. Handbook of natural computing. Berlin, Germany: Springer. [Google Scholar]
- 2.Bray D. 1995. Protein molecules as computational elements in living cells. Nature 376, 307–312. ( 10.1038/376307a0) [DOI] [PubMed] [Google Scholar]
- 3.Mitchell M. 2011. Biological computation. Ubiquity Symp. 2011, 3 ( 10.1145/1940721.1944826) [DOI] [Google Scholar]
- 4.Beer R. 1997. The dynamics of adaptive behavior: a research program. Rob. Auton. Syst. 20, 257–289. ( 10.1016/S0921-8890(96)00063-2) [DOI] [Google Scholar]
- 5.van Gelder T. 1998. The dynamical hypothesis in cognitive science. Behav. Brain Sci. 21, 615–628. ( 10.1017/s0140525x98001733) [DOI] [PubMed] [Google Scholar]
- 6.Rössler O. 1974. A synthetic approach to exotic kinetics (with examples). In Physics and mathematics of the nervous system (eds Conrad M, Güttinger W, Dal Cin M). Lecture Notes in Biomathematics, vol. 4, pp. 546–582. Berlin, Germany: Springer: ( 10.1007/978-3-642-80885-2_34) [DOI] [Google Scholar]
- 7.Okamoto M, Sakai T, Hayashi K. 1987. Switching mechanism of a cyclic enzyme: role as a ‘chemical diode’. BioSystems 21, 1–11. ( 10.1016/0303-2647(87)90002-5) [DOI] [PubMed] [Google Scholar]
- 8.Okamoto M. 1992. Biochemical switching device: biomimetic approach and application to neural network study. J. Biotechnol. 24, 109–127. ( 10.1016/0168-1656(92)90064-g) [DOI] [PubMed] [Google Scholar]
- 9.Hasty J, McMillen D, Collins JJ. 2002. Engineered gene circuits. Nature 420, 224–230. ( 10.1038/nature01257) [DOI] [PubMed] [Google Scholar]
- 10.Wang B, Kitney RI, Joly N, Buck M. 2011. Engineering modular and orthogonal genetic logic gates for robust digital-like synthetic biology. Nat. Commun. 2, 508 ( 10.1038/ncomms1516) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Bradley RW, Buck M, Wang B. 2016. Recognizing and engineering digital-like logic gates and switches in gene regulatory networks. Curr. Opin. Microbiol. 33, 74–82. ( 10.1016/j.mib.2016.07.004) [DOI] [PubMed] [Google Scholar]
- 12.Ashkenasy G, Dadon Z, Alesebi S, Wagner N, Ashkenasy N. 2011. Building logic into peptide networks: bottom-up and top-down. Isr. J. Chem. 51, 106–117. ( 10.1002/ijch.201000071) [DOI] [Google Scholar]
- 13.Paun G, Rozenberg G, Salomaa A. 2005. DNA computing: new computing paradigms. Berlin, Germany: Springer. [Google Scholar]
- 14.Wang AL, Gold JM, Tompkins N, Heymann M, Harrington KI, Fraden S. 2016. Configurable nor gate arrays from Belousov-Zhabotinsky micro-droplets. Eur. Phys. J. Spec. Top. 225, 211–227. ( 10.1140/epjst/e2016-02622-y) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Laplante JP, Pemberton M, Hjelmfelt A, Ross J. 1995. Experiments on pattern recognition by chemical kinetics. J. Phys. Chem. 99, 10 063–10 065. ( 10.1021/j100025a001) [DOI] [Google Scholar]
- 16.De Silva AP, Uchiyama S. 2007. Molecular logic and computing. Nat. Nanotechnol. 2, 399–410. ( 10.1038/nnano.2007.188) [DOI] [PubMed] [Google Scholar]
- 17.Dittrich P, Ziegler J, Banzhaf W. 2001. Artificial chemistries—a review. Artif. Life 7, 225–275. ( 10.1162/106454601753238636) [DOI] [PubMed] [Google Scholar]
- 18.Hjelmfelt A, Weinberger ED, Ross J. 1991. Chemical implementation of neural networks and Turing machines. Proc. Natl Acad. Sci. USA 88, 10 983–10 987. ( 10.1073/pnas.88.24.10983) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Hjelmfelt A, Weinberger ED, Ross J. 1992. Chemical implementation of finite-state machines. Proc. Natl Acad. Sci. USA 89, 383–387. ( 10.1073/pnas.89.1.383) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Hjelmfelt A, Ross J. 1992. Chemical implementation and thermodynamics of collective neural networks. Proc. Natl Acad. Sci. USA 89, 388–391. ( 10.1073/pnas.89.1.388) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Tóth Á, Showalter K. 1995. Logic gates in excitable media. J. Chem. Phys. 103, 2058–2066. ( 10.1063/1.469732) [DOI] [Google Scholar]
- 22.Steinbock O, Kettunen P, Showalter K. 1996. Chemical wave logic gates. J. Phys. Chem. 100, 18 970–18 975. ( 10.1021/jp961209v) [DOI] [Google Scholar]
- 23.Adamatzky A. 2004. Collision-based computing in Belousov-Zhabotinsky medium. Chaos Solitons Fractals 21, 1259–1264. ( 10.1016/j.chaos.2003.12.068) [DOI] [Google Scholar]
- 24.De Lacy Costello B, Adamatzky A. 2005. Experimental implementation of collision-based gates in Belousov-Zhabotinsky medium. Chaos Solitons Fractals 25, 535–544. ( 10.1016/j.chaos.2004.11.056) [DOI] [Google Scholar]
- 25.Adamatzky A. 2005. Reaction-diffusion computers. Amsterdam, The Netherlands: Elsevier. [Google Scholar]
- 26.Adamatzky A, DeLacyCostello B. 2012. Reaction-diffusion computing. In Handbook of natural computing (eds Rozenberg G, Bäck T, Kok JN), pp. 1897–1920. Berlin, Germany: Springer; ( 10.1007/978-3-540-92910-9_56) [DOI] [Google Scholar]
- 27.Adamatzky A, Durand-Lose J. 2012. Collision-based computing. In Handbook of natural computing (eds Rozenberg G, Bäck T, Kok JN), pp.1949–1978. Berlin, Germany: Springer; ( 10.1007/978-3-540-92910-9_58) [DOI] [Google Scholar]
- 28.Moon TS, Lou C, Tamsir A, Stanton BC, Voigt CA. 2012. Genetic programs constructed from layered logic gates in single cells. Nature 491, 249–253. ( 10.1038/nature11516) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Lebender D, Schneider FW. 1994. Logical gates using a nonlinear chemical reaction. J. Phys. Chem. 98, 7533–7537. ( 10.1021/j100082a023) [DOI] [Google Scholar]
- 30.Garcia-Ojalvo J, Sancho JM. 1999. Noise in spatially extended systems. Berlin, Germany: Springer. [DOI] [PubMed] [Google Scholar]
- 31.Horsthemke W, Lefever R. 2006. Noise-induced transitions. Berlin, Germany: Springer. [Google Scholar]
- 32.Gagnon JS, Hochberg D, Pérez-Mercader J. 2015. Small-scale properties of a stochastic cubic-autocatalytic reaction-diffusion model. Phys. Rev. E 92, 042114 ( 10.1103/physreve.92.042114) [DOI] [PubMed] [Google Scholar]
- 33.Gagnon JS, Pérez-Mercader J. 2017. Clues on chemical mechanisms from renormalizability: the example of a noisy cubic autocatalytic model. Physica A480, 51–62. ( 10.1016/j.physa.2017.04.002) [DOI] [Google Scholar]
- 34.Gagnon JS, Hochberg D, Pérez-Mercader J. 2017. Effects of spatial and temporal noise on a cubic-autocatalytic reaction-diffusion model. Phys. Rev. E 95, 032106 ( 10.1103/physreve.95.032106) [DOI] [PubMed] [Google Scholar]
- 35.Mu nuzuri AP, Dolnik M, Zhabotinsky AM, Epstein IR. 1999. Control of the chlorine dioxide-iodine-malonic acid oscillating reaction by illumination. J. Am. Chem. Soc. 121, 8065–8069. ( 10.1021/ja9910457) [DOI] [Google Scholar]
- 36.Sel'kov EE. 1968. Self-oscillations in glycolysis. Eur. J. Biochem. 4, 79–86. ( 10.1111/j.1432-1033.1968.tb00175.x) [DOI] [PubMed] [Google Scholar]
- 37.Gray P, Scott SK. 1985. Sustained oscillations and other exotic patterns of behavior in isothermal reactions. J. Phys. Chem. 89, 22–32. ( 10.1021/j100247a009) [DOI] [Google Scholar]
- 38.Sheffer HM. 1913. A set of five independent postulates for boolean algebras, with application to logical constants. Trans. Am. Math. Soc. 14, 481–488. ( 10.2307/1988701) [DOI] [Google Scholar]
- 39.Magnasco MO. 1997. Chemical kinetics is Turing universal. Phys. Rev. Lett. 78, 1190–1193. ( 10.1103/PhysRevLett.78.1190) [DOI] [Google Scholar]
- 40.Strogatz SH. 1994. Nonlinear dynamics and chaos. Boulder, CO: Westview Press. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
This article has no additional data.