# Quantum Integration Software Suite For HPC-Quantum Computing Workflows

Quantum.world

> Introduces a QASC/OpenQASM3-to-QuEST compiler and QACC-perf estimator for HPC-quantum chemistry workflows, giving integrators concrete tools to model and run hybrid jobs.

**arXiv**: 2611.09659 · Preprint · not peer-reviewed

**Published**: 2026-11-06

**Authors**: Mateusz Meller, Joseph C. R. Thacker, Thomas W. Keal, Vendel Szeremi

## In plain words

Quantum computers are expected to be used alongside classical supercomputers rather than replacing them, but it is currently hard to know how expensive that coupling will be and hard to simulate large, realistic quantum programs described in OpenQASM3.0.

## AI summary

## Overview

**Research area:** Quantum computing software infrastructure — specifically the integration of quantum processing units (QPUs) with classical high-performance computing (HPC) workflows, with a case study in multiscale quantum chemistry.

**Technical level:** Intermediate. The paper assumes familiarity with quantum circuits, OpenQASM, circuit simulation, and basic HPC concepts (MPI, latency/bandwidth), but the prose is largely descriptive rather than mathematical.

**Scope (one sentence):** The paper presents two lightweight tools — the Quantum Assembly Compiler (QASC), which compiles OpenQASM3.0 programs into C++ executables that simulate them with the QuEST state-vector simulator, and QACC-Perf, a performance model that estimates the communication and execution cost of offloading quantum kernels — and demonstrates them inside the ChemShell quantum chemistry environment (arXiv:2611.09659v1, STFC Hartree Centre / Scientific Computing, Daresbury).

## What This Paper Is About

Quantum computers are expected to be used alongside classical supercomputers rather than replacing them, but it is currently hard to know how expensive that coupling will be and hard to simulate large, realistic quantum programs described in OpenQASM3.0. The authors build a compiler that turns OpenQASM3.0 files (a language with loops, branching, and mid-circuit measurement) into runnable C++ code backed by the high-performance QuEST simulator, plus a separate tool that predicts latency, data-transfer cost, and quantum runtime for different HPC–QC integration modes. They then test both tools on a production-scale quantum chemistry workflow that runs iterative Quantum Phase Estimation (QPE) for molecular ground-state energies inside ChemShell.

## Key Contributions

1. **QASC, a source-to-source compiler for OpenQASM3.0.** It parses OpenQASM3.0 (using an Antlr4-generated lexer and parser), generates C++ code, and compiles and links it against QuEST. The authors state that, aside from Qiskit's experimental "qasm3" module and Pennylane's parsing support, there are no open-source tools for compiling OpenQASM3.0 and efficiently simulating the resulting circuits.
2. **QACC-Perf, a lightweight performance model for HPC–QC offloading.** It estimates total kernel offload time as *K = l + T + R* (communication latency, data transfer, and quantum runtime), based on a JSON configuration file specifying integration mode, network type, architecture topology, gate durations and errors, shots, workers, and an FCIDUMP file.
3. **Benchmarking within a realistic chemistry workflow.** The tools are exercised in a ChemShell + PySCF + QPE pipeline for LiH, NH₃, CH₄, and an H₂O dimer, with compilation timings, memory usage, communication overheads, and estimated quantum runtimes reported.
4. **A general-purpose design stance:** the tools are described as scalable, portable, "plug-and-play," and agnostic to the parent project's programming language, so they can be installed on supercomputers with minimal effort.

## Main Findings

- **Compilation scales with circuit size, dominated by the backend C++ compile step.** For NH₃ (4.5 MB circuit file) the frontend took 15.862 s, the backend 427.280 s, total 443.24 s, with 2033.995 MB memory usage; for CH₄ (11.1 MB) the frontend took 37.364 s, the backend 2584.402 s, total 2621.96 s, with 4530.820 MB. The frontend overhead is minimal relative to the backend, which the authors attribute to the size of the generated source and the unrolled controlled unitary implementing Trotterized time evolution.
- **State-vector simulation, not compilation, dominates the workflow.** In the ChemShell workflow per shot per iteration, LiH took 13 s for circuit generation, 10 s for compilation and 605 s for circuit simulation (628 s total); NH₃ took 263 s, 438 s and 40213 s respectively (40914 s total), reflecting exponential scaling with qubit count.
- **Intra-node communication is fastest but saturates with circuit size.** On-node latency rose from 25.43 μs at 0.6 MB (LiH) to 384.06 μs at 4.5 MB (NH₃), 2390.28 μs at 11.1 MB (CH₄), and 9984.82 μs at 50.3 MB (H₂O dimer), with bandwidth falling from 18062.20 MB/s to 4430.38 MB/s.
- **Inter-node bandwidth stays roughly constant while latency grows.** Multi-node latency went from 325.63 μs (LiH) to 1673.23 μs (NH₃), 4486.39 μs (CH₄), and 19628.43 μs (H₂O dimer), with bandwidth between 2478.89 and 2906.08 MB/s. The intra-node vs inter-node latency ratio narrows from a 12.8x slowdown to roughly 2x, meaning the performance penalty is worst for small circuits.
- **Cloud integration is assumed constant and costly.** The model uses 79000 μs latency and 18.75 MB/s bandwidth regardless of circuit size; total communication overhead in Table 10 runs from 189.573 ms (LiH) to 392.667 ms (NH₃), 744.667 ms (CH₄), and 2718.000 ms (H₂O dimer), against 0.084 / 1.206 / 9.343 / 30.804 ms on-node.
- **Communication is not the bottleneck for QPE, but would be for VQE.** Because communication overheads are in milliseconds while estimated quantum runtimes are in seconds, offloading cost is minor for QPE's low-communication pattern; the authors note that variational algorithms such as VQE, with back-and-forth classical-quantum communication, would pay significantly more.
- **Transpilation is a major component of runtime.** Transpilation time rose from 3.858 s for 11 qubits (LiH) to 28.010 s for 15 qubits (NH₃), 71.771 s for 17 qubits (CH₄), and 306.703 s for 27 qubits (H₂O dimer), against estimated quantum runtimes of 6.346 s, 166.353 s, 391.154 s, and 6352.872 s. The paper reports that transpilation accounts for between 5% and 60% of the quantum runtime.
- **Simulator-level parallelism is available.** QASC-generated executables perform distributed state-vector simulation and can employ additional shot-level parallelism depending on available compute resources.

## Methodology in Plain English

The authors first built a compiler. It reads an OpenQASM3.0 file, uses an off-the-shelf parser generator (Antlr4) to build a syntax tree, and then walks that tree to emit equivalent C++ code. Ordinary classical constructs — loops, if/else, function definitions, arrays — are translated directly into C++, with arrays becoming standard library vectors. Quantum declarations are mapped onto QuEST's `Qureg` data structure, and the OpenQASM3.0 gates are looked up in a dictionary and rewritten as the matching QuEST routine calls. QuEST's runtime environment is initialised once, on first contact with a quantum declaration. Input and output statements are handled by reading a file given on the command line and writing a results file at the end. Finally, a C++ compiler such as g++ or clang++ is invoked and the result linked against QuEST, either configured at build time or passed via command-line flags.

Second, they built a cost model. The total offload cost is the sum of communication latency, data-transfer time, and quantum runtime. Latency and bandwidth can either be measured with OSU microbenchmarks against a target system, or taken from built-in defaults for three integration modes (on-node, multi-node, cloud), which were obtained by averaging OSU runs on a cluster of dual AMD EPYC 9825 144-core 2.2 GHz processors with HPE Slingshot 11 interconnects. Transfer time is the circuit file size divided by bandwidth; total runtime is shots times circuit execution time divided by the number of quantum workers. Circuit execution time is estimated with Qiskit by transpiling the circuit to the target topology and basis gate set and measuring the longest weighted path in the circuit's directed acyclic graph.

Third, they embedded both tools in ChemShell. ChemShell passes a molecular specification to PySCF, which runs Hartree-Fock and produces an FCIDUMP file; that file is used to generate an OpenQASM3.0 circuit implementing iterative QPE; QASC compiles it and QuEST simulates it; measurements yield the ground-state energy, which returns to ChemShell for the next geometry-optimisation step. As an alternative, QACC-Perf can be substituted for the simulation: it estimates the offload time, sleeps for that duration, and returns the energy computed classically, emulating a real QPU. Compilation benchmarks used LLVM clang++ version 20.1.8 on a 2.3 GHz quad-core Intel Core i7 with 16 GB of 3733 MHz LPDDR4X memory, averaged over five repeats, with runs executed on nodes of 32 Intel Xeon Gold 6142 CPUs at 2.60 GHz. Gate timings and error rates were taken from a cited source: R_x and R_y at 51.8 ns and 0.272%, CZ at 82.0 ns and 1.625%, and measurement at 4550.0 ns and 0.380%.

## Why This Matters

**Impact on research.** The paper lowers the barrier to exploring fault-tolerant-era algorithms. OpenQASM2.0's lack of classical control makes files for algorithms like QPE grow to prohibitive sizes, and tooling for OpenQASM3.0 has been scarce. QASC gives researchers a way to run general OpenQASM3.0 programs on a scalable, GPU- and MPI-capable simulator, while QACC-Perf gives a cheap, pre-hardware way to reason about whether offloading a given kernel to a QPU is worth it. The framing — treat QPUs like GPUs, port only the hot kernels — is a practical adoption path for large existing scientific codes.

**Real-world applications:**

- **Pharmaceutical R&D:** the work was supported by InnovateUK project 10005792, "Quantum Enhanced Computing Platform for Pharmaceutical R&D – QuPharma," and the case study targets molecular ground-state energies.
- **Quantum chemistry and materials modelling:** embedding QPE for active orbitals inside a QM/MM multiscale framework via ChemShell.
- **HPC centre procurement and capacity planning:** using the cost model to compare on-node, multi-node, and cloud QPU integration before buying or reserving time.
- **Hybrid algorithm development:** predicting whether a low-communication algorithm like QPE or a high-communication one like VQE is a better fit for a given infrastructure.

**Industry relevance.** The tools are deliberately lightweight and deployable on supercomputers, and the paper explicitly considers cloud access to quantum hardware, where latency is assumed two orders of magnitude higher than on-node. That makes the work relevant to HPC centres, national labs, and any organisation deciding how to connect quantum devices to existing infrastructure rather than replacing it.

## Future Directions

- **Extending QASC to the full OpenQASM3.0 specification**, specifically gate calibration statements, physical qubits, pulse-level instructions, and pragmas/annotations — all currently unsupported and deferred to future work.
- **Removing the QACC-Perf input bottleneck** caused by the incomplete Qiskit "qasm3" module, so that general OpenQASM3.0 circuits (not just a single tailored use case) can be cost-modelled rather than being largely limited to OpenQASM2.0.
- **Validating the performance model against real quantum devices**, which the authors name as a goal, given that current latency and bandwidth defaults are described as idealised and vendor-derived.
- **Broadening the tool into a plug-in for more workflows** by adding further simulation use cases, since the current demonstration covers only QPE-based chemistry.

## Target Audience

Quantum software engineers and HPC applications specialists who need to compile, simulate, or cost-model quantum programs; computational chemists and materials scientists using ChemShell or similar embedding frameworks who want to experiment with quantum kernels without rewriting their codes; and research infrastructure teams at HPC centres evaluating how to attach quantum hardware to existing systems. Readers wanting detailed algorithmic or error-correction results will not find them here — the paper is a software and benchmarking report, and details of the underlying multiscale embedding framework are deferred to a companion paper.

## Authors’ abstract

In this work, we focus on addressing challenges related to modelling the integration of conventional high-performance computing (HPC) and quantum computing (QC). We introduce the Quantum Assembly Compiler (QASC) for OpenQASM3.0 files. The compiler produces an executable that leverages the high-performance simulator QuEST to simulate quantum programs. Additionally, we introduce a performance modelling tool, QACC-perf, which can estimate the cost of integrating QC in classical…

[The full abstract on arXiv](https://arxiv.org/abs/2611.09659)

[Read the original paper](https://arxiv.org/abs/2611.09659)

## Related papers

- [Scientific applications of quantum computing: challenges and opportunities](https://quantum.world/paper/scientific-applications-of-quantum-computing-challenges-and-2608.16568) 2026-08-17 · quant-ph · Also by Thomas W. Keal
- [Quantum-HPC Workflows Across Multiple Quantum Computing Platforms: Two Case Studies](https://quantum.world/paper/quantum-hpc-workflows-across-multiple-quantum-computing-platforms-two-2609.31528) 2026-09-25 · quant-ph · Key terms of the title in common
- [A Modular, Topology-Aware Software Stack for Entanglement-Based Distributed Quantum Computing](https://quantum.world/paper/a-modular-topology-aware-software-stack-for-entanglement-based-2609.15728) 2026-09-14 · quant-ph · Key terms of the title in common
- [Lowering the implementation barrier of neutral-atom quantum computing with agentic workflows](https://quantum.world/paper/lowering-the-implementation-barrier-of-neutral-atom-quantum-computing-2607.25834) 2026-07-28 · quant-ph · Key terms of the title in common
- [Systematic Experiment Tracking in Quantum Software: A Case Study of Reservoir Computing with Error Mitigation](https://quantum.world/paper/systematic-experiment-tracking-in-quantum-software-a-case-study-of-2607.24264) 2026-07-27 · quant-ph · Key terms of the title in common

---

Canonical: https://quantum.world/paper/quantum-integration-software-suite-for-hpc-quantum-computing-workflows-2611.09659
