When a quantum computer makes a mistake, finding it is tricky. The tiny components that store data, called qubits, are fragile — heat, vibrations, or stray signals can easily scramble them. Normally, catching these errors requires adding more hardware qubits, making the whole machine bigger and more expensive. But now, scientists at D-Wave Quantum Inc. have built something that watches for its own mistakes.

In a paper published in the journal Nature, the team describes a two-qubit gate that can flag most errors automatically as they happen. The gate, called a controlled-Z entangling gate, links two qubits together in just 500 nanoseconds — far faster than previous designs. When something goes wrong, the system spots it as a missing particle of light, called a photon loss, and marks it instead of letting the mistake hide inside the calculation.

The researchers achieved this by splitting each qubit across two tiny superconducting microwave cavities. To make them interact, the scientists briefly shifted a photon into a central bridge, waited for the interaction, then moved the light back. This design preserved the qubits' built-in error-detection ability, which earlier experiments had accidentally broken.

To test the gate, the team built an entangled two-qubit state and ran random sequences of operations. They then counted how many errors were caught versus how many stayed hidden. About 0.5 percent of operations produced photon losses that were automatically flagged. Hidden errors — the harder-to-spot kind — stayed below 0.1 percent per gate. Catastrophic bit-flip errors, where a qubit accidentally flips from 0 to 1 or vice versa, were exceedingly rare: roughly 1 in every million operations.

The implications for building larger quantum computers are significant. By keeping failures flagged rather than hidden, systems made from these qubits can suppress errors more effectively as they grow. As the authors wrote, these results "enable a faster path to error-corrected systems that rapidly suppress errors as they scale." In other words, the gate does not just catch its own mistakes — it points the way toward quantum computers that could solve problems current machines cannot touch.