Maxwell's Demon in a Quantum Code

Original: "Nonlocal Topological Maxwell Demon Teleporting Ergotropy via Surface-Code Quantum Error Correction"
· M. Y. Abd-Rabbou, Cong-Feng Qiao
arXiv:2605.14924 · 2026-05-14 · CC BY 4.0 · 2 min
A quantum demon transfers energy through error correction without touching the battery itself.

Two quantum batteries sit far apart, but between them lies a shared cloud of qubits, like a stretched canvas. Alice wants to charge Bob's battery without touching it. Instead of a direct push, she paints a pattern on the canvas, a logical qubit, spending her own energy. Then she sends Bob not the picture itself, but a list of blemishes: where the canvas sagged or warped. Bob, like a restorer, uses these notes to reconstruct the pattern, and his battery fills with energy seemingly out of thin air. No wire connects them — only ink and a watchful eye.

The restorer's role is played by the surface code — a special lattice of physical qubits where errors are identified by neighboring mismatches. As long as errors are few, Bob corrects them almost losslessly, and energy flows to him. But if noise exceeds a threshold — about 0.013, comparable to one blotch per hundred brushstrokes — the pattern falls apart, and Bob's battery stays empty. In small codes, say seven layers thick, the benefit disappears slightly later — at 0.014. This matters for today's processors: they are not yet perfect, and this gap offers hope for practical charging.

The biggest surprise is the cost of communication. To read the blemishes and restore the pattern, Bob must process mountains of data, and the cost grows quadratically with the canvas size. At 78 qubits per side, any benefit vanishes — a light barrier the demon cannot break through.

Thus the old thought experiment of Maxwell's demon gains quantum flesh. The demon does not violate laws: it simply sorts noise, turning chaos into useful work. And though perpetual motion machines remain far off, such a protocol could cool chips or power tiny sensors inside a quantum computer without extra wires.

The critical error threshold for a small code turned out to be slightly higher than for an infinite one — about 0.014 versus 0.013. It's as if a short bridge could bear a bit more load than a long one due to edge effects.

p_{\rm th} \approx 0.013
Topological error threshold: if the failure rate is below this value, the logical qubit remains intact as the code grows.
Scientists
Ludwig BoltzmannRudolf ClausiusJacob BekensteinStephen HawkingJames Clerk MaxwellDavid Deutsch
Concepts
maxwells demon topological quantum code error threshold