Andrea Cataldo spent long nights in a quiet lab in Stockholm, adjusting tiny beams of light on a chip no bigger than a postage stamp. The doctoral student at KTH Royal Institute of Technology was chasing something invisible but powerful—hidden patterns in light that could one day make our electronics and quantum computers far more resilient. Now, he and his team have built a programmable chip that can detect these elusive features, known as topological properties, even in systems that lose energy—a common flaw in real-world devices.

These topological properties are like knots in a rope: twist it, stretch it, shake it, but the knot stays unless you cut it. In physics, such stable patterns can protect the flow of light or electrons, even when a device has imperfections. That’s huge for future technologies, where tiny defects or energy loss can crash a system. Until now, studying these properties in energy-losing, or "lossy," systems has been extremely hard—because the very act of measuring them often erases the signal.

Cataldo’s chip changes that. Using a clever optical trick, the team imitated lossy systems without actually losing the light signal. They split the beam and compared it to a stable reference—much like tuning a guitar to a known note. This interference method revealed whether the light’s behavior was topologically protected. The chip successfully distinguished knotted, stable states from ordinary ones, and even spotted a rare phenomenon called an exceptional point, where systems behave in strange, amplified ways.

What makes this breakthrough special is its flexibility. The chip is programmable, meaning researchers can test many different setups without building new hardware each time. That could speed up the search for robust materials and devices, from ultra-stable lasers to quantum circuits that don’t fail at the first sign of imperfection.

"This lets us read the hidden information even when energy loss would normally hide it," Cataldo says. His advisor, Associate Professor Ali Elshaari, believes this tool could become a standard in labs working on next-gen photonics. As real-world conditions are rarely perfect, having a way to probe stability under imperfection is a game-changer.

The study, published in Physical Review Letters, opens a new path for designing devices that don’t just work in theory—but hold up in the messy reality of everyday use. With this chip, the invisible knots in light are no longer hidden.