Borrowing Dirty Qubits in Quantum Programs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Su, Bonan, Zhou, Li, Feng, Yuan, Ying, Mingsheng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916914139234304
author Su, Bonan
Zhou, Li
Feng, Yuan
Ying, Mingsheng
author_facet Su, Bonan
Zhou, Li
Feng, Yuan
Ying, Mingsheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_17190
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Borrowing Dirty Qubits in Quantum Programs
Su, Bonan
Zhou, Li
Feng, Yuan
Ying, Mingsheng
Quantum Physics
Programming Languages
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.
title Borrowing Dirty Qubits in Quantum Programs
topic Quantum Physics
Programming Languages
url https://arxiv.org/abs/2508.17190