A processor executing one second of your code performs on the order of
Notice what is not on the list: speed. A slow technology that meets every criterion can be parallelised into a computer; a femtosecond switch that fails restoration cannot compute at any speed, because its errors compound faster than its answers do. The list is a chain of qualifying conditions — fail one and the rest are irrelevant. CMOS passes all six so casually that most engineers never learn the list exists: the transistor has power gain to spare, its output is re-pinned to the supply rails at every stage, the insulating gate isolates input from output, its output voltage is an input voltage, and it tolerates supply and threshold variation that would kill any critically-biased device. That silent, total compliance — not raw switching speed or energy — is what optical logic was actually being asked to match.
Almost the entire checklist can be read off a single curve: the gate's transfer
function, output level versus input level. Chain
The mathematics is fixed-point iteration, straight from a dynamical-systems toolbox. Where the
transfer curve crosses
Run the iteration yourself. The program cascades both transfer functions and prints the logic levels stage by stage — a "1" launched at a degraded 0.75 and a "0" launched at a noisy 0.20:
Five stages in, the restoring gate has forced its levels to 0.999 and 0.001 — better than they started, which is the whole miracle: the gate chain is a noise-eating machine. The weak nonlinearity's "1" has meanwhile sagged below 0.5 and keeps falling; a downstream gate reading it against any fixed threshold will soon guess. And this simulation is generous — it ignores fan-out. Ask a gate with no gain to drive two successors and each inherits at most half the power: a further 3 dB of decay per stage, per branch. Without gain above unity, fan-out alone kills a logic family in a dozen stages, regardless of how elegant its switching physics is. Gain, in other words, is not a luxury feature — it is what makes the difference between a signal chain and an obituary.
Robert W. Keyes (1921–2010) spent his IBM career doing something institutionally awkward:
rigorously evaluating the exciting device proposals of his own colleagues, and usually concluding
that the boring transistor would win. His 1985 essay "What makes a good computer device?" distilled
the criteria on this page, and his earlier analyses of optical bistability — then the hottest
candidate for optical logic — were blunt: the devices lacked gain, lacked isolation, demanded
critical biasing, and dissipated more, not less, than electronics at comparable duty. The optics
community's responses ranged from irritation to fury; the passage of time has ranged from
vindication to total vindication. The deeper lesson he taught is methodological. Device papers
report the metrics their device is good at; a technology evaluation must instead check the
metrics a system cannot live without — and those are set by the weakest link, not the
headline. Every "the transistor is doomed" article since 1960 has had to get past some version of
Keyes' checklist. So far, the checklist is undefeated — a streak examined in detail in the
The seductive trap of the 1980s: a nonlinear cavity (a Fabry–Pérot étalon with a Kerr medium inside) can be optically bistable — over a range of input powers it has two stable transmission states, and its input–output curve is a hysteresis loop. Two states! Memory! Surely this is an optical flip-flop, and logic follows? It does not, and the checklist says why. The bistable étalon has no gain: its output is its input, attenuated — it cannot fan out. It has no isolation: it is a resonator, and reflections from downstream re-enter and destabilise it. It is critically biased: the hysteresis loop lives on a knife-edge of holding power, temperature and detuning, so every device on a chip would need individual babysitting. And its two states are defined relative to a holding beam, so its levels are not loss-independent. Bistability gives you a curve with two stable points — but restoration needs those points to be actively regenerated with gain at every stage, which is a property of amplifiers, not of resonators. The general reflex: when shown a device with N stable states, ask who pays to move between them, and who repairs the levels afterwards.
The checklist is now in hand, and the last two lessons have quietly loaded the dice: optical
nonlinearities are weak (so optical gain-with-isolation is expensive), optical resonators are
critically biased, χ⁽²⁾ devices change wavelength (breaking cascadability), and intensity-coded
levels decay with every decibel of loss. The