Metraipolis › archive › dc_39022c81b14d
ReOC: Compilation of Recursive Quantum Oracles with Recursion-Aware Uncomputation — arXiv:2608.07973
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.07973
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T09:19:38.411Z
- SHA-256 of the archived text
2812d72c45c90b0a9223898556fef7dc768a628a32a3aaeadbcc632ce84f0f9c- Stable URL of this page
https://metraipolis.com/documento/dc_39022c81b14d
How to cite
ReOC: Compilation of Recursive Quantum Oracles with Recursion-Aware Uncomputation — arXiv:2608.07973 — arXiv (en), https://arxiv.org/abs/2608.07973 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_39022c81b14d (Metraipolis archive dc_39022c81b14d, sha256 2812d72c45c90b0a9223898556fef7dc768a628a32a3aaeadbcc632ce84f0f9c)
BibTeX
@misc{dc39022c81b14d,
title = {ReOC: Compilation of Recursive Quantum Oracles with Recursion-Aware Uncomputation — arXiv:2608.07973},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.07973},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_39022c81b14d; sha256 2812d72c45c90b0a9223898556fef7dc768a628a32a3aaeadbcc632ce84f0f9c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.07973. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Quantum oracles are essential to many quantum algorithms, and their specifications may involve recursive control flow that depends on runtime quantum data. However, existing reversible compilation frameworks provide limited support for such quantum-controlled recursive structures. We present ReOC, a compilation framework that transforms high-level recursive oracle specifications with quantum control flow into reversible quantum programs. The framework comprises RQIMP, a high-level imperative source language for specifying recursive oracles, and a method of compiling programs in that language into RQC++, an existing high-level quantum recursive language with quantum control flow. In this way, we avoid the tedious and error-prone process of directly writing quantum oracles in RQC++. To manage static storage under dynamic quantum control, ReOC uses an indexed static-register discipline to isolate live variables across recursion layers, enabling safe register reuse while controlling quantum storage usage. Furthermore, to address the exponential time blow-up caused by naive uncomputation in recursive settings, ReOC employs a recursion-aware uncomputation strategy: temporary variables from recursive calls are cleaned using deferred strategies to control time overhead, while those from non-recursive statements are cleaned eagerly to reduce space usage. For linear recursion, this strategy yields overhead linear in recursion depth, parameterized by the per-layer register footprint and primitive-operation costs. Finally, we provide a mathematical proof of compilation correctness from RQIMP to RQC++, establishing semantic preservation and correct uncomputation of temporary quantum variables. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-11 in cs.PL). Categorie arXiv: Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2608.07973 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T09:15:58.319Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).