Quantum Uncomputation of Clean and Dirty Ancilla Qubits
Chenke Liu, Li Zhou, Boning Meng
Key points
From the paper's conclusion- We present a unified formalization of the uncomputation of both clean and dirty ancillas.
Abstract
Automatic uncomputation aims to provide programming-language-level support to facilitate the correct and safe use of ancilla qubits in quantum computing, but efforts have only been made for clean ancillas, leaving dirty ancillas unexplored. We present a unified formalization of the uncomputation of both clean and dirty ancillas. For the first time, we prove that checking the existence of uncomputation is coNP-hard. We introduce two complementary synthesis-oriented existence checking methods: a syntax-directed static reasoning system and a rewrite-based normalization procedure (RwUn), together forming a top-down pipeline. We implement RwUn in Qiskit. Compared to the state-of-the-art Reqomp, RwUn achieves 100% coverage on complex-dependency benchmarks, twice the coverage on random classical circuits, and about 50% coverage on random quantum circuits beyond the scope of existing methods, demonstrating broader applicability.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Formulating Uncomputation Beyond Classical Ancilla UsearXiv · 2026
- MBUndo: Sound, Automatic, and Efficient Measurement-Based Uncomputation for Quantum CircuitsarXiv · 2026
- pfoqcompiler: Efficient Compilation of Quantum Control in Recursive First-Order Quantum ProgramsarXiv · 2026
- QuSema: Detecting Silent Bugs in Quantum Libraries via Quantum-knowledge-enhanced AgentsarXiv · 2026
- Measurement-Based Uncomputation from an Error Correction PerspectivearXiv · 2026
- SAQR-QC: A Logic for Scalable but Approximate Quantitative Reasoning about Quantum CircuitsProceedings of the ACM on Programming Languages · 2026