Skip to content
Preprint

Bona: Automatic Management of Dirty Ancilla Borrowing in Quantum Circuits

Aug 2026 · 1 citation · 47 references
Computer Science Physics

TL;DR

Bona is presented, the first scheduler for dirty-qubit borrowing, built on a novel depth-aware heuristic algorithm, and it reduces nearly 99% of dirty ancillas on average with controlled depth overhead, providing concrete evidence that dirty ancillas offer unique optimization advantages in circuits with certain parallelism.

Abstract

The management of ancilla qubits has become a critical technique for reducing quantum circuit width. Dirty ancillas, which may be borrowed from any temporarily idle qubit regardless of their initial states, offer substantial flexibility for width optimization, but their use has so far required manual and error-prone handling. We formalize the dirty-qubit borrowing problem and establish a fundamental computational limit by proving its NP-hardness. To support practical optimization, we present \bona, the first scheduler for dirty-qubit borrowing, built on a novel depth-aware heuristic algorithm. We evaluate \bona~ across a variety of benchmarks, including practical quantum circuits and randomly arranged compositions of real circuit modules, and find that it reduces nearly 99\% of dirty ancillas on average with controlled depth overhead. In particular, for parallel quantum walk---an essential component of parallel Hamiltonian simulation---\bona~ matches the circuit width achieved by the clean-qubit schemes of \citeauthor{jiang2024recycling}~(\citeyear{jiang2024recycling}) and \citeauthor{quantinuum}~(\citeyear{quantinuum}), but attains significantly smaller circuit depth, providing concrete evidence that dirty ancillas offer unique optimization advantages in circuits with certain parallelism.

View source

Similar papers

Preprint Aug 2026

Quantum Uncomputation of Clean and Dirty Ancilla Qubits

This work introduces two complementary synthesis-oriented existence-checking methods: a rewrite-based normalization algorithm (RwUn) and a template-based reasoning system (TpUn) that guarantees uncomputation through structured Store-Use patterns.

Chenke Liu, Li Zhou, Bo-Ning Meng · 0 citations
Preprint Aug 2026

No Free Compression in Quantum Relaxations for Optimization

This work defines the universal margin as the smallest correlator magnitude that can be guaranteed with prescribed signs for every target sign assignment, and shows that it is exactly $\Delta_{\rm Maj}(n)=\tan\!\left(\frac{\pi}{4n}\right)=\Theta(1/n)$, whereas uniformly random sign assignments retain $\Theta(1/\sqrt n)...

Stuart Hadfield · 3 citations
Preprint Aug 2026

Logarithmic depth compression of Heisenberg Hamiltonian simulation by fan-out parallelization, with built-in error detection

A fan-out-based gadget compiler that trades circuit depth for width in simulations of Heisenberg-type nuclear magnetic resonance (NMR) Hamiltonians is introduced and the zero-field NMR spectrum of tetramethylsilane, a 13-spin star system is simulated.

Artemiy Burov, Clément Javerzac · 1 citation
Book Open access Jul 2026

Structural Parallelism in Quantum Programs

This paper identifies and formalizes a new form of parallelism emerging from the semantic structure of quantum programs, by precisely tracking the semantic lifetime of temporary variables, and shows that lifetime-guided reclamation induces a contraction of these regions, collapsing temporary subcomputations into locall...

Simone Faro, Francesco Pio Marino, G. Messina · 0 citations
Jul 2026

When Close Enough Is Not Enough: Autoregressive Drift in Quantum Circuit Synthesis

The contrast between settings is the central finding: when approximate outputs can be rescued by post-processing, the transformer succeeds; when exact discrete correctness is required, autoregressive drift limits reliability, with both inference-time search and data scaling as effective levers while training-side fine-...

Mehdi Saeedi, E. Richter, P. Hartke · 0 citations
Preprint Aug 2026

Numerical Evaluation of ZX Calculus Optimization for Solovay Kitaev Quantum Circuit Synthesis

A measurement of what diagrammatic post-processing recovers from structural redundancy in the Solovay-Kitaev algorithm, which optimizes for numerical convergence rather than circuit economy, and its output carries structural redundancy that a gate-level compiler cannot see.

Dulari De Silva, A. Mahasinghe, Chon-Fai Kam et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.