Text from the interactive explanation
A thermodynamically favoured molecular computer
Stérin T, Eshra A, Evans CG, Adio J, Woods D.
Scaffolded DNA Computer · Stérin, Eshra, Evans, Adio & Woods · Nature 2026
Ordinary computers spend energy holding their answers in place. This DNA computer is built the other way round: the correct answer is the arrangement its molecules most like to settle into. Watch one add two numbers as its tube cools.
Uphill or downhill?
Picture every possible arrangement of a computer's parts as a place on a hilly landscape. The height is free energy : roughly, how strongly an arrangement "wants" to change into something else. Molecules jiggle at random, and as they cool they settle into valleys. So the question is: which valley holds the answer?
Where will most of the 60 marbles end up after a slow cool?
IllustrativeThe two landscapes redraw the paper's Fig. 1. In the classical picture, the intended output is not the lowest valley. Left to settle, the system slides past it into deeper error states, so designers spend effort to stop it in time: proofreading, error-correcting codes, redundancy, carefully timed temperature holds. Electronic computers face a version of the same problem and pay for it in energy.
The authors flip the picture. In a thermodynamically favoured computer the output is the deepest valley, the starting state is easy to prepare, and the slopes lead downhill to the answer. Mistakes can still happen along the way. Because they sit uphill of the answer, the system's own jiggling undoes them. Slow, gentle cooling now helps instead of hurting.
Puzzle pieces made of DNA
How do you build a landscape whose lowest point is the answer to a sum? The Scaffolded DNA Computer (SDC) uses two kinds of DNA. A long scaffold strand carries a row of docking positions, A, B, C, D… Short compute strands , drawn here as square tiles, each grip one position and reach out to their neighbours.
Bottom: position domain (24 DNA bases). Sticks to one particular scaffold position; its colour says which.
Left and right: compute domains (12 bases each). Zip onto a neighbour only if their codes match. Here the colour is the bit they carry.
Top: output. The bit this tile reports when the computation is read out.
Several tiles compete for every position. Choosing which tiles to mix into the tube is how the program and its input are written. One position, A, gets a single anchor tile, which pins down where the computation starts. Try being the test tube yourself: tap a position to swap its tile for a competitor.
Tap B, C or D to try the other tile. A is the fixed anchor.
All 8 complete rows (2 × 2 × 2 choices), stacked by number of mismatches. Your row is outlined. Only one row sits at the bottom.
Each mismatched joint is a pair of DNA edges that cannot zip together. Fewer base pairs form, so that row has higher free energy. With a fixed anchor and two candidates at each other position there are eight complete rows, and exactly one has no mismatches . Choose the tiles well, and that one row spells the answer. In the real tube, nobody places the tiles. Heat does.
Any finite state machine can be compiled into SDC tiles. A finite state machine reads symbols one at a time and keeps a small internal state. Each compute domain carries the machine's current state together with input symbols. In Addition, each position reads one bit from each number plus the incoming carry, outputs one bit (x ⊕ y ⊕ carry) and hands its carry to the right-hand neighbour. Parity carries "odd or even so far". BitCopy just passes one bit along like a wire.
In the experiments each compute domain encoded 3 bits, using 16 distinct 12-base sequences, so the same domains could be reused across programs. A shared pool of 395 strands served every program on the four-position scaffold; each program simply picks its subset. Mixing input bits and program bits on the same tile is a legitimate encoding, the authors show (Supplementary Note 4). The tiles drawn here show only the carried state, for clarity.
Turn down the heat
Now let physics place the tiles. A lab tube holds about two trillion scaffolds, with each kind of tile at ten times the scaffold concentration, so every position always has candidates nearby. The tube is heated to 80 °C, where nothing sticks, then cooled to 20 °C over three hours. This is called an anneal . Below, 64 simulated scaffolds follow the temperature that was actually recorded during the experiment.
How do you read the answer? In each experiment one position carries a reporter : a glowing dye, plus a dark "quencher" that only binds if the output tile there is a 0. Bright means 1, dark means 0.
Simulated solid orange curve and tiles: this page's simplified bind/replace model. Measured dashed curve: the lab's fluorescence trace for the same sum and position (Fig. 3e and Extended Data Fig. 2a source data). The model was tuned to behave qualitatively like the experiment; it does not model DNA chemistry in detail.
Watch three stages. Hot (above ~70 °C): tiles hop on and off at random. Warm (~65 to 50 °C): tiles mostly stay put, but one whose edges mismatch is held more weakly and gets swapped for a competitor that fits better. Cold : everything locks. Nothing in the recipe tells the molecules which path to take. The researchers simply annealed, and the system found its way down.
Why do the measured curves stay bright while hot, instead of reporting a random half-and-half? The reporter strands themselves only bind below about 60 °C, so the signal only starts to separate once the tube is cool enough to read.
Mistakes walk themselves out
A worry: a 25-position BitCopy scaffold can be filled in 224, or about 16.8 million, ways. Does the tube have to try them all? No. Follow the leftmost mismatch . Swapping the tile on either side of it just moves the mismatch one step left or right. It can never pass the fixed anchor, and it vanishes when it reaches the far end. That kind of random walk finishes in roughly N² steps , not 2N.
TheorySimulated The walk shows the paper's simplified "bind/replace" model (Supplementary Note 3.3), with the tube already cool: a random non-anchor position swaps tiles whenever that doesn't add a mismatch. Gold = 1, slate = 0, and each row of the record below the scaffold is one replacement. The leftmost mismatch is marked in red. Each dot in the chart is one of your runs; the curve is N². Real tubes do this in parallel at billions of scaffolds at once, with no instructions about which route to take.
Why one right row beats millions of wrong ones
At equilibrium, how often an arrangement shows up grows exponentially with how tightly it is bound: each matched joint multiplies a row's odds by ec. For BitCopy with every position filled, the chance of the one correct row is (1 + e−c)−(N−1). The paper proves that bond strength c > 0.37 + ln N is enough for the correct row to win at least half the time. Make the scaffold ten times longer and the bonds only need to be about ln 10 ≈ 2.3 thermal units stronger. Domain length only needs to grow logarithmically .
Theory Exact for the simplified, fully bound BitCopy model of the paper's Theorem S3.3. The paper's Fig. 2f computes the same probability with energies of its designed DNA sequences, and shows it approaching 1 at lower temperatures for scaffolds of 2 to 100 positions.
What the lab measured
Theory says the answer should win. The experiments, over 700 computations, test whether it does in a real tube full of imperfect DNA.
Ten programs, one toolkit
"Competitive complexity" is how many tiles compete for each position. Going from 2 to 8 competitors did not significantly lower yield on 3-hour anneals (average 95.1% at up to 8).
Try a measured Parity run
Parity asks whether an 8-bit input has an odd or even number of 1s. Pick one of the eight inputs the lab ran, predict, then see what the reporter at D measured.
Fast: answers in about a minute
Short scaffolds compute quickly. "Super-fast" anneals that drop from 80 °C to 55 °C in under a minute still separated 0s from 1s clearly. These are the fastest non-trivial programs in the DNA-computing literature, running at the speed limit of the lab's equipment. Yield is lower than with slow anneals: 82.4% for Addition at one minute, versus 96.7% after three hours.
Measured 10 + 3 = 13, super-fast anneal, positions B, C, D (Extended Data Fig. 2a source data). Dotted: temperature.
Reusable: change the input, cool again
Because the answer is simply wherever the system settles, you can change the question. Add a drop (0.2 µl) holding the new input tile plus a "blocker" strand that soaks up the old input, then re-anneal. The equilibrium moves to the new answer. One BitCopy tube was flipped between input 1 and 0 25 times , with 12-minute anneals. Previous reusable molecular computers had managed 16, 6, 3 and 2 input changes.
Measured Fig. 5c source data: each panel is one 12-minute re-anneal; the label shows the input bit. The 0/1 signals stay clearly separated, with only slow drift. The authors had expected more loss from dilution and leftover strands. Two Addition programs were also renewed 9 times, and a Counter program 24 times.
Big: adding two 25-bit numbers
For the scale-up the team chose a deliberately harsh test: a 25-position stretch of M13, a cheap DNA strand made by a virus, with no redesign. Its docking positions hold on with very uneven strengths (−20.9 to −11.1 kcal/mol, versus −9.4 to −6.6 for the designed compute domains). They also used ten times less scaffold and unpurified strands. The program added 11,365,078 + 22,730,421 = 34,095,499 : 50 input bits, 25 carries and 25 output bits, "100 bits of compute".
Here the program itself helps. A position where both input bits agree is a sink : it decides its own carry, so an error arriving from the left is absorbed there. A position where they differ just passes the carry along. The longest run of pass-along positions here is 5. That covers more than 84% of all pairs of 25-bit numbers.
Measured Fig. 6a source data. ▲ sample, △ control (the same answer assembled without competition). Green bands: sinks; red: pass-along positions. Position 1 is the lowest bit; the final carry is the 26th bit of the sum.
If 0-edges and 1-edges stick with different strengths, a row full of mistakes can accidentally sit lower than the right one. "Isoenergetic" programming relabels the edges so both answers reuse the same domains (pattern 0101… vs 1010…), which flattens the landscape. Result: a bit copied across 20 positions with 71% yield, 25 positions with 59%, after 14 hours. Measured Fig. 6b source data, control-scaled.
Downhill from here
Back to the opening question. In the tube at the top of this page, nothing checked the answer, nothing proofread it, and no clock told the molecules when to stop. The answer was simply the lowest-energy row. The same random jostling that let the system find that row also repaired its mistakes. The authors call this thermodynamically favoured computation . With it, a DNA computer can be robust, fast, reusable and scalable with very simple recipes: mix, heat, cool. One plate even gave usable data after sitting for a year and a half, once the researchers topped up its evaporated water.
The paper ends by looking ahead. These are the authors' suggestions for where the idea could go next:
The approach has costs of its own. The authors list them: the number and length of DNA strands, heating and annealing, and slower anneals for long scaffolds. Scaling further will need the energy-landscape design tricks of Chapter 5. Still, the core idea now works in a real tube: let the answer be where the system wants to go.
Try another sum in the tube ↑
Source & credits
Figures 1, 2, 3, 5, 6 and Extended Data Fig. 1 are reproduced from the article under CC BY 4.0, resized and converted to WebP. Measured curves and points are plotted from the article's Source Data (Figs 3e, 4a, 5c, 6a, 6b and Extended Data Fig. 2a), rounded to three decimals and redrawn. Simulations on this page use a simplified bind/replace model written for this explainer from the paper's description (Fig. 2 and Supplementary Note 3). They illustrate the mechanism and are not the authors' code or a quantitative model of DNA chemistry. The energy landscapes in Chapter 1 are illustrative redrawings of Fig. 1. The authors' sequence design, mixing and analysis code is available at doi.org/10.5281/zenodo.15869377.
Explainer published on iPaper.ai.
Topics in this iPaper
Computer science
Here we demonstrate a thermodynamically favoured Scaffolded DNA Computer (SDC) on 10 programs
Abstract and Subject terms
Chemistry
correct compute domain bindings are enthalpically favoured over algorithmic errors
Main text, SDC design principles (Fig. 2b discussion)
dna computing
the fastest non-trivial programs in the DNA computing literature
Main text, Fast SDC programs
molecular programming
error correction in computing and redundancy in molecular programming
Abstract
thermodynamic computing
The concept of thermodynamic favourability (Fig. 1) enabled robust, fast, renewable and scalable molecular computing.
Discussion
finite state machines
Any finite state machine (FSM)—an important sub-class of computer programs—can be compiled into a 1D SDC
Main text, SDC programming for Addition
dna nanotechnology
Although DNA origami lacks any notion of computation, its beautiful scaffolded principle provides inspiration
Main text, introduction