Lune

ASPLOS2026Top-tier venue

Borrowing Dirty Qubits in Quantum Programs

Bonan Su, Li Zhou, Yuan Feng, Mingsheng Ying

Abstract

Dirty qubits are ancillary qubits that can be borrowed from idle parts of a computation, enabling qubit reuse and reducing the demand for fresh, clean qubits-a resource that is typically scarce in practice. For such reuse to be valid, the initial states of the dirty qubits must not affect the functionality of the quantum circuits in which they are employed. Moreover, their original states, including any entanglement they possess, must be fully restored after use-a requirement commonly known as safe uncomputation. In this paper, we formally define the semantics of dirty-qubit borrowing as a feature in quantum programming languages, and introduce a notion of safe uncomputation for dirty qubits in quantum programs. We also present an efficient algorithm, along with experimental results, for verifying safe uncomputation of dirty qubits in certain quantum circuits.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Unqomp: synthesizing uncomputation in Quantum circuits cites Silq: a high-level quantum language with safe uncomputation and intuitive semantics
  • Qunity: A Unified Language for Quantum and Classical Computing cites Silq: a high-level quantum language with safe uncomputation and intuitive semantics
  • Quantum Uncomputation of Clean and Dirty Ancilla Qubits cites Unqomp: synthesizing uncomputation in Quantum circuits
  • Quantum Uncomputation of Clean and Dirty Ancilla Qubits cites Silq: a high-level quantum language with safe uncomputation and intuitive semantics
  • Quantum Uncomputation of Clean and Dirty Ancilla Qubits cites Formal Verification of Quantum Ancilla Safety
  • Formal Verification of Quantum Ancilla Safety cites Unqomp: synthesizing uncomputation in Quantum circuits
  • Formal Verification of Quantum Ancilla Safety cites Silq: a high-level quantum language with safe uncomputation and intuitive semantics
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Quantum Uncomputation of Clean and Dirty Ancilla QubitsChenke Liu, Li Zhou, Boning MengOOPSLA 2026
  2. Formal Verification of Quantum Ancilla SafetyJiqi Li, Jingyi Mei, Wang Fang, Ji GuanCAV 2026

Builds on9

  1. Silq: a high-level quantum language with safe uncomputation and intuitive semanticsBenjamin Bichsel, Maximilian Baader, Timon Gehr, Martin T. VechevPLDI 2020 · 145 citations
  2. QuCloud: A New Qubit Mapping Mechanism for Multi-programming Quantum Computing in Cloud EnvironmentLei Liu, Xinglei DouHPCA 2021 · 60 citations
  3. Qunity: A Unified Language for Quantum and Classical ComputingFinn Voichick, Liyi Li, Robert Rand, Michael HicksPOPL 2023 · 35 citations
  4. Unqomp: synthesizing uncomputation in Quantum circuitsAnouk Paradis, Benjamin Bichsel, Samuel Steffen, Martin T. VechevPLDI 2021 · 34 citations
  5. Combining probabilistic and non-deterministic choice via weak distributive lawsAlexandre Goy, Daniela PetrisanLICS 2020 · 30 citations

Related papers

  1. Modular Synthesis of Efficient Quantum UncomputationHristo Venev, Timon Gehr, Dimitar Dimitrov, Martin T. VechevOOPSLA 2024 · 5 citations
  2. Qurts: Automatic Quantum Uncomputation by Affine Types with LifetimeKengo Hirata, Chris HeunenPOPL 2025 · 4 citations
  3. Optimizing Ancilla-Based Quantum Circuits with SPARERitvik Sharma, Sara AchourPLDI 2025
  4. SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective UncomputationYongshan Ding, Xin-Chuan Wu, Adam Holmes, Ash Wiseth et al.ISCA 2020 · 33 citations
  5. Quantum Circuits for Dynamic Runtime Assertions in Quantum ComputationJi Liu, Gregory T. Byrd, Huiyang ZhouASPLOS 2020 · 82 citations
Dusk over the sea between two cliffs drawn in fine vertical lines