← Latest papers
⚛️ quantum physics

End-to-End Fidelity Analysis of Quantum Circuit Optimization: From Gate-Level Transformations to Pulse-Level Control

This paper presents an open-source framework that links a C++ circuit optimizer to a validated Lindblad fidelity model, demonstrating through extensive benchmarking and real hardware execution that two-qubit gate count is the primary predictor of process fidelity and that while the model accurately ranks circuit difficulty, it systematically overestimates absolute fidelity due to unmodeled error sources like crosstalk and leakage.

Original authors: Rylan Malarchick

Published 2026-06-23
📖 6 min read🧠 Deep dive

Original authors: Rylan Malarchick

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 send a delicate message across a stormy ocean. The message is written on a fragile piece of paper (the quantum circuit), and the ocean is full of waves and wind that want to tear it apart (noise and decoherence).

This paper is about building the best possible boat and navigation system to get that message to the other side without it getting ruined. The author, Rylan Malarchick, built a "simulator" to test different boat designs and then actually sailed a few of them on a real ship to see if the simulator was telling the truth.

Here is the breakdown of what they found, using simple analogies:

1. The Problem: The "Garbage Truck" vs. The "Sports Car"

When you write a quantum program, it often comes with a lot of unnecessary baggage. It's like packing a suitcase with heavy rocks you don't need.

  • The Simulator: The author built a computer program that acts like a "physics lab." It takes a quantum circuit, strips away the unnecessary parts, and then calculates exactly how much the "storm" (noise) will damage the message based on how long the trip takes and how many heavy turns the boat has to make.
  • The Real World Check: To make sure the simulator wasn't just guessing, they actually ran 8 specific trips on a real quantum computer (the IQM Garnet processor) and compared the results to what the simulator predicted.

2. The Big Discovery: "Canceling" is King

The author tested four different ways to clean up the circuit (optimization passes).

  • The Analogy: Imagine you are walking a path.
    • Pass A: You walk forward, then immediately walk backward. (This is a "Gate Cancellation").
    • Pass B: You swap the order of two things that don't affect each other.
    • Pass C: You combine two small steps into one big step.
    • Pass D: You remove steps that do nothing.
  • The Result: The study found that Pass A (Canceling) does almost all the heavy lifting. It removed 72% of the unnecessary steps and provided nearly all the improvement. The other three passes were like trying to polish a car that still has a flat tire; they helped a tiny bit, but they weren't the game-changer.
  • The Lesson: If you want to fix a quantum program, just look for steps that undo each other and delete them. That's the most important thing to do.

3. The Metric Trap: Counting "Total Steps" vs. "Heavy Steps"

Many people compare quantum computers by counting the total number of steps (gates) in a program. The author says this is misleading.

  • The Analogy: Imagine a delivery truck.
    • Single-qubit gates are like delivering a letter. They are fast and light.
    • Two-qubit gates are like delivering a grand piano. They are slow, heavy, and much more likely to break or get damaged.
  • The Finding: One popular software (Qiskit) claimed to cut the total number of steps by 47%. That sounds amazing! But when the author looked closer, they saw that Qiskit mostly removed the "letters" (light steps) and left almost all the "pianos" (heavy steps) alone.
  • The Reality: The author's tool didn't cut as many total steps, but it removed way more "pianos" (two-qubit gates). Since the "pianos" are what actually break the message, the author's tool produced a much better result for the real machine, even if the total step count looked lower on the other tool.

4. Time is the Enemy

The study found that the longer the boat stays in the storm, the more likely the message is to get wet.

  • The Finding: The duration of the trip (pulse duration) and the size of the circuit were the strongest predictors of failure.
  • The Analogy: If you have to cross a river, it doesn't matter if you take a shortcut that saves you 5 seconds if the bridge is shaky. But if you take a route that is 10 seconds longer, the water has 10 more seconds to splash you. The study showed that reducing the total time on the water is the single most effective way to keep the message safe.

5. The Order Doesn't Matter (Much)

The author wondered if the order in which they applied the cleaning steps mattered.

  • The Finding: It didn't. Whether you cleaned the "letters" first or the "pianos" first, the result was the same.
  • The Lesson: You don't need to be a genius to figure out the perfect order of operations. As long as you have the "Cancel" tool in your kit, you can use it whenever you want.

6. The "Optimism Gap"

When they compared the simulator's predictions to the real ship (the IQM hardware), the simulator was always too optimistic.

  • The Analogy: The simulator predicted the message would arrive 90% intact. In reality, it arrived only 40% intact.
  • The Reason: The simulator was very good at calculating the "waves" (standard noise), but it didn't account for "leaks" in the hull, "crosstalk" (waves hitting the wrong part of the boat), or "reading errors" (the receiver misreading the message).
  • The Value: Even though the simulator wasn't perfect, it was consistent. It correctly predicted which trips would be harder than others. It's like a weather forecast that is always 10 degrees too warm, but still correctly tells you that Tuesday will be hotter than Monday.

Summary

The paper tells us three main things for anyone building or using quantum computers:

  1. Just Cancel: The most effective way to improve a quantum program is to find and delete steps that cancel each other out.
  2. Count the Heavy Stuff: Don't just count how many steps a program has; count how many "heavy" (two-qubit) steps it has. That's what really matters.
  3. Speed Matters: The faster you can get the program done, the less likely it is to fail.

The author has released all their tools and data for free, so anyone can use this "physics lab" to test their own quantum programs.

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 →