Software-based compensation of AC-line-induced control errors in qubits and qudits

This paper demonstrates a software-based compensation protocol that measures and corrects reproducible AC mains-induced control errors in trapped-ion qubits and qudits, significantly improving gate fidelity and algorithm success rates without requiring additional hardware.

Original authors: Gaurav A. Tathed, Nicholas C. F. Zutt, Collin J. C. Epstein, Crystal Senko

Published 2026-06-02
📖 4 min read🧠 Deep dive

Original authors: Gaurav A. Tathed, Nicholas C. F. Zutt, Collin J. C. Epstein, Crystal Senko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to conduct a very delicate orchestra, where every musician (a quantum particle) must play a note at the exact right moment and with the exact right pitch. If even a tiny fraction of a second passes, or if the pitch wavers slightly, the music turns into noise, and the performance fails.

This paper describes a clever "software fix" for a specific problem that plagues these quantum experiments: the hum of the building's electricity.

The Problem: The Unwanted Hum

In many laboratories, the power lines that run through the walls (the AC mains) create a tiny, rhythmic vibration in the magnetic field. It's like a faint, invisible drumbeat happening 60 times a second (in North America) or 50 times (in Europe).

For a quantum computer, this is a nightmare. It causes the "notes" (energy levels) of the particles to wobble up and down in perfect time with the power grid.

  • The Analogy: Imagine trying to tune a guitar string, but every time you pluck it, the air pressure in the room changes slightly in a rhythmic pattern. The string's pitch keeps shifting just as you are trying to play it. If you don't account for this, your music will sound out of tune, no matter how skilled you are.

Usually, scientists try to fix this with heavy hardware: thick metal shields, special coils to cancel the magnetic field, or better power supplies. This is expensive, bulky, and hard to install.

The Solution: The "Smart Conductor"

The researchers at the University of Waterloo realized that this "electricity hum" isn't random chaos. It is predictable. Because it is tied to the power grid, it happens at the exact same time every single time the experiment starts.

Instead of building a wall to stop the noise, they built a software shield.

  1. Listening: First, they measured exactly how the magnetic field wiggles in sync with the power line. They created a "map" of the noise.
  2. Predicting: Because the noise is repeatable, they know exactly what the magnetic field will be doing at any given millisecond after they start the experiment.
  3. Counter-Acting: They programmed their control system to do the opposite.
    • The Pitch Fix: If the magnetic field tries to make the particle's pitch go up, the software instantly tells the laser to tune the pitch down by the exact same amount.
    • The Timing Fix: If the noise causes the particle to get "out of step" (accumulate extra phase) between notes, the software adjusts the timing of the next note to cancel that drift.

It's like a conductor who hears the room's echo and instantly adjusts the orchestra's tempo so that, to the audience, the music sounds perfectly in sync, even though the room is noisy.

The Results: From Chaos to Clarity

The team tested this "software conductor" on a trapped ion (a single atom held in place by lasers).

  • The Before: Without the fix, the quantum gates (the basic operations) were jittery. When they tried to measure how well the computer worked, the results were messy and unreliable. It was like trying to measure the speed of a car while it was driving over a bumpy road; the data looked like random noise.
  • The After: With the software compensation turned on, the jitter vanished. The "bumpy road" was smoothed out.
    • They improved the accuracy of their basic gates to 99.93%.
    • They tested a more complex task (a 16-level "qudit" version of a famous algorithm called Bernstein-Vazirani). Without the fix, the computer only got the right answer 10% of the time (basically guessing). With the fix, it got the right answer 70% of the time.

Why This Matters (According to the Paper)

The paper emphasizes that this is a cheap and easy solution.

  • No New Hardware: You don't need to buy new shields or coils.
  • Software Only: It just requires updating the code that tells the lasers when to fire and what frequency to use.
  • Universal: It works for different types of quantum particles and different sizes of quantum systems (from simple two-level bits to complex multi-level "qudits").

In short, the researchers found that instead of fighting the noisy power grid with heavy hardware, they could simply "dance" with it. By predicting the noise and adjusting their steps in real-time, they turned a source of error into a manageable part of the routine, making their quantum computer much more reliable.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →