Peel | Pile? Cross-Framework Portability of Quantum Software

03/12/2022
by   Manuel Schönberger, et al.
0

In recent years, various vendors have made quantum software frameworks available. Yet with vendor-specific frameworks, code portability seems at risk, especially in a field where hardware and software libraries have not yet reached a consolidated state, and even foundational aspects of the technologies are still in flux. Accordingly, the development of vendor-independent quantum programming languages and frameworks is often suggested. This follows the established architectural pattern of introducing additional levels of abstraction into software stacks, thereby piling on layers of abstraction. Yet software architecture also provides seemingly less abstract alternatives, namely to focus on hardware-specific formulations of problems that peel off unnecessary layers. In this article, we quantitatively and experimentally explore these strategic alternatives, and compare popular quantum frameworks from the software implementation perspective. We find that for several specific, yet generalisable problems, the mathematical formulation of the problem to be solved is not just sufficiently abstract and serves as precise description, but is likewise concrete enough to allow for deriving framework-specific implementations with little effort. Additionally, we argue, based on analysing dozens of existing quantum codes, that porting between frameworks is actually low-effort, since the quantum- and framework-specific portions are very manageable in terms of size, commonly in the order of mere hundreds of lines of code. Given the current state-of-the-art in quantum programming practice, this leads us to argue in favour of peeling off unnecessary abstraction levels.

READ FULL TEXT
research
03/16/2021

Some Size and Structure Metrics for Quantum Software

Quantum software plays a critical role in exploiting the full potential ...
research
11/06/2019

XACC: A System-Level Software Infrastructure for Heterogeneous Quantum-Classical Computing

Quantum programming techniques and software have advanced significantly ...
research
09/02/2020

Quingo: A Programming Framework for Heterogeneous Quantum-Classical Computing with NISQ Features

Noisy Intermediate-Scale Quantum (NISQ) technology proposes requirements...
research
02/18/2023

Symbolic quantum programming for supporting applications of quantum computing technologies

The goal of this paper is to deliver the overview of the current state o...
research
04/05/2023

Model-Driven Quantum Federated Learning (QFL)

Recently, several studies have proposed frameworks for Quantum Federated...
research
03/05/2023

SimuQ: A Domain-Specific Language For Quantum Simulation With Analog Compilation

Quantum Hamiltonian simulation, which simulates the evolution of quantum...
research
03/15/2018

Quality Attributes on Quantum Computing Platforms

As the practical Quantum Computing Platforms (QCPs) rapidly become a rea...

Please sign up or login with your details

Forgot password? Click here to reset