Automated Auxiliary Qubit Allocation in High-Level Quantum Programming

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rosa, Evandro C. R., Marchi, Jerusa, Duzzioni, Eduardo I., de Santiago, Rafael
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912172097929216
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 We present a method for optimizing quantum circuit compilation by automating the allocation of auxiliary qubits for multi-qubit gate decompositions. This approach is implemented and evaluated within the high-level quantum programming platform Ket. Our results indicate that the decomposition of multi-qubit gates is more effectively handled by the compiler, which has access to all circuit parameters, rather than through a quantum programming API. To evaluate the approach, we compared our implementation against Qiskit, a widely used quantum programming platform, by analyzing two quantum algorithms. Using a 16-qubit QPU, we observed a reduction of 87% in the number of CNOT gates in Grover's algorithm for 9 qubits. For a state preparation algorithm with 7 qubits, the number of CNOT gates was reduced from $2.8\times10^7$ to $5.7\times10^3$, leveraging additional Ket optimizations for high-level quantum program constructions. Overall, a quadratic reduction in the number of CNOT gates in the final circuit was observed, with greater improvements achieved when more auxiliary qubits were available. These findings underscore the importance of automatic resource management, such as auxiliary qubit allocation, in optimizing quantum applications and improving their suitability for near-term quantum hardware.
format Preprint
id arxiv_https___arxiv_org_abs_2412_20543
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Automated Auxiliary Qubit Allocation in High-Level Quantum Programming
Rosa, Evandro C. R.
Marchi, Jerusa
Duzzioni, Eduardo I.
de Santiago, Rafael
Quantum Physics
Programming Languages
We present a method for optimizing quantum circuit compilation by automating the allocation of auxiliary qubits for multi-qubit gate decompositions. This approach is implemented and evaluated within the high-level quantum programming platform Ket. Our results indicate that the decomposition of multi-qubit gates is more effectively handled by the compiler, which has access to all circuit parameters, rather than through a quantum programming API. To evaluate the approach, we compared our implementation against Qiskit, a widely used quantum programming platform, by analyzing two quantum algorithms. Using a 16-qubit QPU, we observed a reduction of 87% in the number of CNOT gates in Grover's algorithm for 9 qubits. For a state preparation algorithm with 7 qubits, the number of CNOT gates was reduced from $2.8\times10^7$ to $5.7\times10^3$, leveraging additional Ket optimizations for high-level quantum program constructions. Overall, a quadratic reduction in the number of CNOT gates in the final circuit was observed, with greater improvements achieved when more auxiliary qubits were available. These findings underscore the importance of automatic resource management, such as auxiliary qubit allocation, in optimizing quantum applications and improving their suitability for near-term quantum hardware.
title Automated Auxiliary Qubit Allocation in High-Level Quantum Programming
topic Quantum Physics
Programming Languages
url https://arxiv.org/abs/2412.20543