arXiv:2609.15697quant-phSep 2026

Manuscript Offprint

arXiv:2609.15697

OpenQARP: a modular framework for quantum application research

Stefano Scali, Vicente P. Soloviev, Antonio Márquez Romero, Brian Coyle, Giuseppe Buonaiuto, Annie Paine, Jonathan H. Fetherolf, Marcos Diez García, Michal Krompiec, Josh Kirsopp

Stefano Scali, Vicente P. Soloviev, Antonio Márquez Romero, Brian Coyle, Giuseppe Buonaiuto, Annie Paine, Jonathan H. Fetherolf, Marcos Diez García, Michal Krompiec, and Josh Kirsopp Fujitsu Research of Europe

We introduce OpenQARP, the Open Quantum Application Research Package: an open-source Python framework for quantum application research, built on a compiled C++ core. In OpenQARP, an application is assembled from an algorithm library that orchestrates three interchangeable layers: blocks describe circuits, primitives describe what to extract from them, and engines describe how they run. The release spans near-term through fault-tolerant methods, targeting problems from electronic structure to combinatorial optimization, with device-aware compilation, circuit cutting, and resource estimation over a single set of numerical conventions that the code must follow. Every numerical feature is checked against an independent oracle, and every published timing carries a correctness check. Against OpenFermion, Qiskit/Aer, PennyLane/Lightning, Qulacs, qsim, and pytket, OpenQARP is one to two orders of magnitude faster on operator algebra and among the fastest on simulation. It matches mature compilers on two-qubit gate count, and expresses a complete algorithm in the lines a framework needs rather than the plumbing a primitive stack demands.

I. INTRODUCTION

Quantum application research lives in software. Before any experiment reaches hardware, a researcher has to express the algorithm as circuits, attach the right measurement scheme, simulate at a meaningful scale, compile to a device's constraints, and estimate what the complete computation would cost. Each of these steps must also be numerically trustworthy, because convention mistakes in quantum software rarely cause programs to crash; they produce plausible, wrong physics. This paper presents OpenQARP [1], an open-source framework built to make that whole workflow fast and trustworthy at once.

The existing ecosystem already offers excellent tools for individual steps: circuit-centric software development kits (SDKs) such as Qiskit [2] and Cirq [3], differentiable quantum workflows in PennyLane [4], compilers such as pytket [5], high-performance simulators such as Qulacs [6] and qsim [7], and operator layers such as OpenFermion [8]. In practice a researcher combines several of these, and the combination is where research time is lost: every package brings its own qubit ordering, its own phase conventions, its own data model, and its own performance pitfalls.

OpenQARP, developed at Fujitsu Research of Europe and now released as open source [1], is our answer to that integration problem. It was built for the algorithm researcher first, then grown outward: toward the hardware researcher, with devices, routing, noise, and resource estimation, and toward the non-specialist, with algorithms that run end to end rather than needing to be assembled. Throughout, the physics stays the user's concern and the C++ engine underneath does not. The framework is also built for a field that keeps changing. Algorithms, simulators, and compilation techniques that are state of the art today will be superseded, so OpenQARP is organized around interfaces rather than around any particular method. Its design rests on three commitments:

  1. A compositional model. Circuits are blocks, the quantity of interest is a primitive, and execution is an engine. Everything else in the framework, from variational loops to phase estimation to circuit cutting, is these three pieces with more interesting parts plugged in. Each axis is open: users and maintainers add blocks, primitives, and engines without touching the others.

  2. One set of conventions. A single authoritative document fixes endianness, angle conventions, and phase behavior for the whole codebase, so components written years apart still compose correctly.

  3. Correctness as evidence. Every numerical feature is tested against an independent reference, and every published benchmark number carries a correctness check. Performance claims that cannot be re-verified by a third party are not published.

A framework is usually expected to cost performance against a script written straight onto a simulator kernel. Section VI measures the reverse. Because a block says what a circuit does and an engine says how it runs, the engine is handed the complete gate list and the complete sum of Pauli terms before any of it executes. It can therefore fuse neighboring gates into dense multi-qubit blocks and contract every term sharing a flip mask in one pass over the state, while a script that submits one gate and one term at a time can do neither. The separation that makes the framework extensible is also what makes it fast.

Pre-release versions of OpenQARP produced the numerical results in several of our own publications, and several of the methods surveyed in Section III C were developed in them: a quantum computing quantum Monte Carlo framework

Figure

FIG. 1. Architecture. A block says what the circuit does, a primitive says what to extract from it, and an engine says how it runs; composite algorithms are orchestrations of primitives and classical optimizers. Devices are plain data consumed by the engine's compilation pipeline, which also produces the resource counts, and interop adapters convert blocks at the boundary. Lists are indicative, not exhaustive.

built on structured state preparation [9], a seniority-zero state-preparation method whose UpCCD ansatz ships in the block library [10], a study of nuclear magnetic resonance spectra with MMQCELS [11], and a purified phase-estimation protocol [12].

OpenQARP did not begin as a framework. It started as internal research code, written by hand in Python for one project at a time. The rewrite that produced the current architecture was forced by performance: the cost of crossing the Python/C++ boundary dominated every workload that re-executes one circuit at many parameter settings, an optimizer sweeping an ansatz and a phase-estimation ladder repeating a Trotterized evolution alike, which is why the compiled core now holds gate parameters symbolically and binds them at run time instead of rebuilding a circuit on every call (Section II C). Since that rewrite the framework has been developed with the help of coding agents, under the conventions and gates described in Section VII.

The rest of the paper describes the design (Section II), surveys the current feature set (Section III), explains the testing methodology (Section V), presents benchmarks against the established ecosystem (Section VI), and describes how the framework itself is developed (Section VII).