Optimizing Quantum Compilation via High-Level Quantum Instructions

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Rosa, Evandro C. R., Marchi, Jerusa, Duzzioni, Eduardo I., de Santiago, Rafael
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908617150562304
author Rosa, Evandro C. R.
Marchi, Jerusa
Duzzioni, Eduardo I.
de Santiago, Rafael
author_facet Rosa, Evandro C. R.
Marchi, Jerusa
Duzzioni, Eduardo I.
de Santiago, Rafael
contents Current quantum programming is dominated by low-level, circuit-centric approaches that limit the potential for compiler optimization. This work presents how a high-level programming construct provides compilers with the semantic information needed for advanced optimizations. We introduce a novel optimization that leverages a quantum-specific instruction to automatically substitute quantum gates with more efficient, approximate decompositions, a process that is transparent to the programmer and significantly reduces quantum resource requirements. Furthermore, we show how this instruction guarantees the correct uncomputation of auxiliary qubits, enabling safe, dynamic quantum memory management. We illustrate these concepts by implementing a V-chain decomposition of the multi-controlled NOT gate, showing that our high-level approach not only simplifies the code but also enables the compiler to generate a circuit with up to a 50% reduction in CNOT gates. Our results suggest that high-level abstractions are crucial for unlocking a new class of powerful compiler optimizations, paving the way for more efficient quantum computation.
format Preprint
id arxiv_https___arxiv_org_abs_2510_24323
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Optimizing Quantum Compilation via High-Level Quantum Instructions
Rosa, Evandro C. R.
Marchi, Jerusa
Duzzioni, Eduardo I.
de Santiago, Rafael
Quantum Physics
Current quantum programming is dominated by low-level, circuit-centric approaches that limit the potential for compiler optimization. This work presents how a high-level programming construct provides compilers with the semantic information needed for advanced optimizations. We introduce a novel optimization that leverages a quantum-specific instruction to automatically substitute quantum gates with more efficient, approximate decompositions, a process that is transparent to the programmer and significantly reduces quantum resource requirements. Furthermore, we show how this instruction guarantees the correct uncomputation of auxiliary qubits, enabling safe, dynamic quantum memory management. We illustrate these concepts by implementing a V-chain decomposition of the multi-controlled NOT gate, showing that our high-level approach not only simplifies the code but also enables the compiler to generate a circuit with up to a 50% reduction in CNOT gates. Our results suggest that high-level abstractions are crucial for unlocking a new class of powerful compiler optimizations, paving the way for more efficient quantum computation.
title Optimizing Quantum Compilation via High-Level Quantum Instructions
topic Quantum Physics
url https://arxiv.org/abs/2510.24323