Breaking Down Quantum Compilation: Profiling and Identifying Costly Passes

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zilk, Felix, Tundo, Alessandro, De Maio, Vincenzo, Brandic, Ivona
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917176118607872
author Zilk, Felix
Tundo, Alessandro
De Maio, Vincenzo
Brandic, Ivona
author_facet Zilk, Felix
Tundo, Alessandro
De Maio, Vincenzo
Brandic, Ivona
contents With the increasing capabilities of quantum systems, the efficient, practical execution of quantum programs is becoming more critical. Each execution includes compilation time, which accounts for substantial overhead of the overall program runtime. To address this challenge, proposals that leverage precompilation techniques have emerged, whereby entire circuits or select components are precompiled to mitigate the compilation time spent during execution. Considering the impact of compilation time on quantum program execution, identifying the contribution of each individual compilation task to the execution time is necessary in directing the community's research efforts towards the development of an efficient compilation and execution pipeline. In this work, we perform a preliminary analysis of the quantum circuit compilation process in Qiskit, examining the cumulative runtime of each individual compilation task and identifying the tasks that most strongly impact the overall compilation time. Our results indicate that, as the desired level of optimization increases, circuit optimization and gate synthesis passes become the dominant tasks in compiling a Quantum Fourier Transform, with individual passes consuming up to 87% of the total compilation time. Mapping passes require the most compilation time for a GHZ state preparation circuit, accounting for over 99% of total compilation time.
format Preprint
id arxiv_https___arxiv_org_abs_2504_15141
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Breaking Down Quantum Compilation: Profiling and Identifying Costly Passes
Zilk, Felix
Tundo, Alessandro
De Maio, Vincenzo
Brandic, Ivona
Quantum Physics
Emerging Technologies
With the increasing capabilities of quantum systems, the efficient, practical execution of quantum programs is becoming more critical. Each execution includes compilation time, which accounts for substantial overhead of the overall program runtime. To address this challenge, proposals that leverage precompilation techniques have emerged, whereby entire circuits or select components are precompiled to mitigate the compilation time spent during execution. Considering the impact of compilation time on quantum program execution, identifying the contribution of each individual compilation task to the execution time is necessary in directing the community's research efforts towards the development of an efficient compilation and execution pipeline. In this work, we perform a preliminary analysis of the quantum circuit compilation process in Qiskit, examining the cumulative runtime of each individual compilation task and identifying the tasks that most strongly impact the overall compilation time. Our results indicate that, as the desired level of optimization increases, circuit optimization and gate synthesis passes become the dominant tasks in compiling a Quantum Fourier Transform, with individual passes consuming up to 87% of the total compilation time. Mapping passes require the most compilation time for a GHZ state preparation circuit, accounting for over 99% of total compilation time.
title Breaking Down Quantum Compilation: Profiling and Identifying Costly Passes
topic Quantum Physics
Emerging Technologies
url https://arxiv.org/abs/2504.15141