Entanglement Builds Space-Time. Now “Magic” Gives It Gravity.

Summarize this article with:
June 3, 2026Irene Pérez for Quanta MagazineStaff WriterJune 3, 2026In 1973, John Archibald Wheeler described the relationship between space and matter in two sentences: “Space acts on matter, telling it how to move. In turn, matter reacts back on space, telling it how to curve.” Wheeler’s words serve as a pithy encapsulation of general relativity, Albert Einstein’s theory of gravity.Wheeler’s sentences also lay out a challenge that theorists face today: When they build a model of the universe — at least one that works at the quantum level — it’s been difficult to get space and matter to interact in the way that they must.Einstein cast gravity not as a force but as the geometric bending of space and time. In a popular analogy, the fabric of space-time is like the flat expanse of a mattress, and a massive object like a star is like a bowling ball sitting on top. The weight of the bowling ball compresses the mattress, forming a dimple — matter tells space-time how to curve.In this analogy, a planet is like a smaller ball. If it rolls close enough to the bowling ball, its path will be altered by the dimple in the mattress — space-time tells matter how to move.But general relativity has a fatal flaw. When a star dies and collapses, its mass is concentrated into an unimaginably dense point. The dimple in the mattress stretches into a deep depression, one that essentially rips all the way through. Physicists call this arrangement a black hole. If a ball reaches such a rip, it’s no longer guided by the fabric, and the analogy breaks down; scientists need a new theory to understand this and other, similarly extreme situations.In the late 1990s, physicists had a stroke of luck. They learned that if they imagined space-time as a collection of purely quantum particles, they could in principle describe a black hole — rip and all — in an entirely new way.Theorists have spent the last few decades trying to understand exactly how a space-time constructed from such quantum particles could work. And they’ve made progress: They’ve found that entanglement between particles gives space-time its structure, building an environment where matter can move — and satisfying the conditions of Wheeler’s first statement. But the origin of Wheeler’s second statement remained mysterious; in their models, matter didn’t tell space how to curve. The bowling ball sat atop the mattress without making a dent.Until now. Physicists including Charles Cao at Virginia Tech have recently determined how quantum particles could give space-time its bendiness. In a handful of recent works, multiple teams have identified a feature of quantum mechanics that Cao calls “the fabric softener of space.” It’s a measure of quantumness called “magic.”“Without magic, things are a little too simple,” said John Preskill, a physicist at the California Institute of Technology who contributed to Cao’s newest paper. “And, you know, quantum space-time isn’t quite that simple.”Perspective shifts abound in physics. For instance, there’s more than one way to look at the motion of a pendulum. You might specify its location using the height and the horizontal displacement of the weight hanging at the end of the string. Or you might use the length of the string and its angle instead. The perspectives are equivalent; simple trigonometric equations take you from one perspective to the other.Mark Belan/Quanta MagazineFor 50 years, theorists have been chasing a far more profound perspective shift: a new way, beyond Einstein’s curved space-time, to look at the universe.In the early 1970s, Jacob Bekenstein and Stephen Hawking took the first step in that direction when they discovered that you could reinterpret a black hole (and anything that had fallen into it) as a spherical collection of particles. In the late 1990s, Juan Maldacena, Edward Witten, and others extended this insight to a whole universe; they described an exotic, static world as a throng of interacting particles, also arranged in a sphere.In both cases, you could replace the 3D region of space-time with particles on the region’s surface. You could consider the surface to be 2D, like a globe flattened into a paper map. Physicists call this dual nature of space-time the holographic principle, since it resembles the way a holographic sticker can cram a whole 3D scene onto a flat surface without losing data.Without magic, things are a little too simple. And, you know, quantum space-time isn’t quite that simple.John Preskill, California Institute of TechnologyOver the last couple of decades, theorists have explored what gives the 3D fabric of space its shape. Entanglement, a quantum property that links particles to one another, seems to serve as space’s connective tissue. Take, for instance, a wormhole, a theoretical bridge connecting two distant regions of space. Holographically, a 3D wormhole is equivalent to two entangled sets of particles. Start snipping the “threads” of entanglement that link one set with the other, and the tunnel connecting the regions gets thinner and thinner. Cut the final thread, and the connection dissolves entirely.Cao learned about the link between entanglement and space as a graduate student at the University of Maryland in 2016, most notably through a paper by Daniel Harlow, a physicist now at the Massachusetts Institute of Technology. “Charles spent a month understanding the paper,” said Jason Pollack, then a fellow graduate student, now a physicist at Syracuse University.Harlow, building in part on the work of Preskill and others, had identified the type of math required to shift perspectives from 2D to 3D. He needed to encode a space and its matter — stars and planets and electrons — into a bunch of quantum particles. So why not use a quantum error-correcting code?Quantum error-correcting codes are crucial to quantum computing because quantum computers work by manipulating “qubits,” quantum versions of bits that can exist in superpositions of 0s and 1s. Qubits are extremely delicate, frequently losing their superposition and therefore their extra information. And so physicists have worked out ways to protect this delicate information through redundancy. By spreading out one qubit’s information among many qubits, they can preserve it even if some of the qubits are lost.Charles Cao, a physicist at Virginia Tech, calls magic “the fabric softener of space.”Yuka SakazakiThe same type of redundancy shows up in holography. “When you design codes for quantum computing, you’re doing the same kind of thing that [holography] already did for you,” said Bartek Czech, a physicist at Tsinghua University in China. A single holographic location — a region of space and the matter in it — is not encoded in just one set of quantum particles; rather, it is spread across many sets, due to their entanglement. Harlow and collaborators detailed how this works in a code in 2014, and he further fleshed out the relationship in the 2016 paper that impressed Cao.But these codes, known as “stabilizer codes,” had a shortcoming. They divided the entanglement of the particles into two types: one responsible for space and another responsible for matter. And the divide was unbridgeable. Such a perfect split is a virtue in quantum computing, since you want your encrypted data to stay perfectly isolated from the corrupting influence of the outside world. But in holography, that perfection left no room for the two to interact. “We knew how to build a space-time,” Czech said, but “this space-time was inert. It didn’t do anything.”To get space and matter to interact, Cao knew he needed a more sophisticated code. “It was clear that something else beyond entanglement had to be there,” said Ning Bao, a physicist at Northeastern University.Cao started by playing around with existing error-correcting codes. In 2020, he and a collaborator, Brad Lackey, tweaked one such code and found that it allowed space to change — just not in response to matter. It wasn’t gravity, but it was progress. Except that Cao and Lackey didn’t fully understand why the tweak worked.M.C. Escher’s 1959 woodcut Circle Limit III has the geometry of a holographic world: A whole universe fits inside a spherical surface. In holography, you can learn about what’s happening in the interior by studying the surface itself.M.C. EscherThe next year, Pollack and his collaborators realized that if you actually tried to create a quantum program that executed the tweaked code on a quantum computer, you’d need to use a particular operation known as a Toffoli gate, which flips a qubit under certain circumstances.Cao took notice. He had just attended a quantum computing conference where researchers were buzzing about Toffoli gates, in part because they are the key to making quantum computers more powerful than classical computers.Researchers had previously thought the key was entanglement. They had worked out a way of running software on a classical computer that would mimic a quantum task. When that quantum task involved entangling qubits, quantum computers had an advantage over classical computers, as the classical program took ages to run. But then physicists discovered a way of speeding things up; it turned out that certain classical algorithms could mimic certain entangling operations even on a laptop.In 2004, Alexei Kitaev and Bravyi, both then at Caltech, brought researchers’ attention to Toffoli gates. When a quantum program uses Toffoli gates, the equivalent classical program takes much, much longer to run. Kitaev and Bravyi described the complexity that Toffoli gates introduce as “magic.” The more Toffoli gates you need to produce a quantum state, the more magical that state is.After Cao learned about magic and Toffoli gates, he joined forces with Brian Swingle and Christopher White, both researchers at the University of Maryland. In 2020, they studied collections of particles equivalent to an exotic universe called an anti-de Sitter space. The group found that the particles were highly magical. What would the role of this magic be, they wondered, for the anti-de Sitter space the particles represented?Cao — in partnership with Alioscia Hamma and others and building on work from Xi Dong, now at the University of California, Santa Barbara — found the answer a few years later. They showed that magic gave space its springiness. Magic, in other words, is connected to space’s ability to bend. And therefore magic is connected to gravity. “If you have one,” Bao said, “you always have the other.”By early 2026, Cao and his collaborators had all the pieces. They knew that magic made space bend. And they knew that quantum codes got their magic from Toffoli gates. So Cao, Preskill, and others created a next-generation code to succeed the stabilizer codes Harlow and others had focused on a decade before, when they split encoded space from encoded matter. This new code used lots of Toffoli gates. The gates made the code magical, letting the entanglement for space and the entanglement for matter affect each other.“This is pretty cool, because in quantum gravity, we don’t expect the background is fixed,” said Cynthia Keeler, a physicist at Arizona State University who was not involved in the work. “It should fluctuate.”The essential nature of magic especially intrigues physicists like Swingle, who hope to use it on a quantum computer to simulate how gravity behaves in situations where general relativity fails. “If we need high magic, then we intrinsically need a quantum computer,” Swingle said, “because there’s no other way, in general, to get at that kind of question.”In principle, entanglement and magic could be enough for future physicists to simulate space on a quantum computer. But Cao’s new code still needs a lot of work.During a talk about it at the American Physical Society’s annual summit in Denver, Cao joked that he was the only speaker who wasn’t actually studying quantum gravity. That’s because his code is still extremely general. It doesn’t describe the kind of space in which we live, doesn’t capture the particular reactions Einstein described, and doesn’t include the ticking of time.The code is more of a proof of concept of the general shape that a theory of quantum gravity should take. If you want your space to bend, use a magical code. “This gets you a precursor of gravity,” Cao said. “You satisfy one of the necessary conditions. Right now, we are at step 0.5 of 5.”But even at this early stage, the research program highlights some surprising features that any theory of quantum gravity should have.Einstein and Wheeler thought of space-time as a large, featureless fabric existing with fixed bends and folds — a typical classical object. But now physicists are learning that the two defining features of quantum mechanics, entanglement and magic, correspond to the two defining features of space, its shape and its flexibility. This suggests that space itself is one of the most quantum things imaginable. “All the familiar aspects of gravity are actually a very direct manifestation of something quantum,” Swingle said.It also suggests that gravity results from imperfect quantum encoding. Non-magical codes produce inert, gravity-free spaces because they protect their encoded information perfectly. Cao and collaborators have shown that gravity comes from the mixing of the encoded information. So by necessity, the encoding must be approximate, and therefore some aspects of what’s going on in the space-time can’t be perfectly recovered by measuring a subset of the quantum particles in the usual way. This approximation, which would indicate a poorly written code for a quantum computer, is “the reason Newton’s apple fell on him,” Czech said.Cao, for his part, finds the feature appealing. Quantum error correction and quantum computing are human pursuits, he said. He sees no reason that gravity should accommodate our prejudice for perfection.
Get Quanta Magazine delivered to your inbox Staff WriterJune 3, 2026 Get Quanta Magazine delivered to your inbox Get highlights of the most important news delivered to your email inbox Quanta Magazine moderates comments to facilitate an informed, substantive, civil conversation. Abusive, profane, self-promotional, misleading, incoherent or off-topic comments will be rejected. Moderators are staffed during regular business hours (New York time) and can only accept comments written in English.
