Skip to main content

One-Time Compilation of Device-Level Instructions for Quantum Subroutines

Publication ,  Conference
Dalvi, AS; Whitlow, J; D'Onofrio, M; Riesebos, L; Chen, T; Phiri, S; Brown, KR; Baker, JM
Published in: Proceedings IEEE Quantum Week 2024 Qce 2024
January 1, 2024

A large class of problems in the current era of quantum devices involve interfacing between the quantum and classical system. These include calibration procedures, charac-terization routines, and variational algorithms. The control in these routines iteratively switches between the classical and the quantum computer. This results in the repeated compilation of the program that runs on the quantum system, scaling directly with the number of circuits and iterations. The repeated compilation results in a significant overhead throughout the routine. In practice, the total runtime of the program (classical compilation plus quantum execution) has an additional cost proportional to the circuit count. At practical scales, this can dominate the round-trip CPU-QPU time, between 5% and 80%, depending on the proportion of quantum execution time. To avoid repeated device-level compilation, we identify that machine code can be parametrized corresponding to pulse/gate parameters which can be dynamically adjusted during execution. Therefore, we develop a device-level partial-compilation (DLPC) technique that reduces compilation overhead to nearly constant, by using cheap remote procedure calls (RPC) from the QPU control software to the CPU. We then demonstrate the performance speedup of this on optimal pulse calibration, system characterization using randomized benchmarking (RB), and variational algorithms. We execute this modified pipeline on real trapped-ion quantum computers and observe significant reductions in compilation time, as much as 2.7x speedup for small-scale VQE problems.

Duke Scholars

Published In

Proceedings IEEE Quantum Week 2024 Qce 2024

DOI

Publication Date

January 1, 2024

Volume

1

Start / End Page

873 / 884
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Dalvi, A. S., Whitlow, J., D’Onofrio, M., Riesebos, L., Chen, T., Phiri, S., … Baker, J. M. (2024). One-Time Compilation of Device-Level Instructions for Quantum Subroutines. In Proceedings IEEE Quantum Week 2024 Qce 2024 (Vol. 1, pp. 873–884). https://doi.org/10.1109/QCE60285.2024.00107
Dalvi, A. S., J. Whitlow, M. D’Onofrio, L. Riesebos, T. Chen, S. Phiri, K. R. Brown, and J. M. Baker. “One-Time Compilation of Device-Level Instructions for Quantum Subroutines.” In Proceedings IEEE Quantum Week 2024 Qce 2024, 1:873–84, 2024. https://doi.org/10.1109/QCE60285.2024.00107.
Dalvi AS, Whitlow J, D’Onofrio M, Riesebos L, Chen T, Phiri S, et al. One-Time Compilation of Device-Level Instructions for Quantum Subroutines. In: Proceedings IEEE Quantum Week 2024 Qce 2024. 2024. p. 873–84.
Dalvi, A. S., et al. “One-Time Compilation of Device-Level Instructions for Quantum Subroutines.” Proceedings IEEE Quantum Week 2024 Qce 2024, vol. 1, 2024, pp. 873–84. Scopus, doi:10.1109/QCE60285.2024.00107.
Dalvi AS, Whitlow J, D’Onofrio M, Riesebos L, Chen T, Phiri S, Brown KR, Baker JM. One-Time Compilation of Device-Level Instructions for Quantum Subroutines. Proceedings IEEE Quantum Week 2024 Qce 2024. 2024. p. 873–884.

Published In

Proceedings IEEE Quantum Week 2024 Qce 2024

DOI

Publication Date

January 1, 2024

Volume

1

Start / End Page

873 / 884