Reproduce “An LLVM-based C++ Compiler Toolchain for Variational Hybrid Quantum-Classical Algorithms and Quantum Accelerators” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Pradnya Khalate, Xin-Chuan Wu, Shavindra Premaratne, Justin Hogaboam, Adam Holmes, Albert Schmitz, Gian Giacomo Guerreschi, Xiang Zou and 1 more

Researchers at Intel Labs developed an LLVM-based C++ compiler toolchain designed for variational hybrid quantum-classical algorithms, which supports dynamic parameter updates at runtime. This approach allows a single compilation for all iterative runs of such algorithms, effectively reducing execution latency and enhancing the efficiency of quantum-classical computations.

Key insights

  • The "compile once, run many times" paradigm for variational algorithms significantly reduces overall execution latency by avoiding recompilation in each iteration.
  • Integrating quantum and classical logic within a single LLVM-based C++ toolchain enables a unified programming model and leverages mature classical compiler optimizations.
  • The introduction of a Quantum Runtime (QRT) library capable of dynamically updating parameterized quantum instructions at execution time is crucial for efficient execution of iterative hybrid algorithms.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.