A Unified Interface for Framework‐Agnostic Quantum Circuit Construction Based on Tokenized Text Input
ABSTRACT Introduction The rapid growth of quantum computing frameworks such as Qiskit, Cirq, and Amazon Braket has accelerated quantum software development but has also introduced fragmentation in tools, syntax, and workflows. Methods This paper presents a lightweight and extensible interface for building quantum circuits from tokenized text input, enabling rapid prototyping and cross‐framework compatibility. The proposed system defines a simple domain‐specific language composed of quantum instruction tokens (e.g., H0, CNOT0‐1) that are parsed into a unified intermediate representation. This intermediate form is then translated into executable quantum circuits across multiple backends using a modular translator architecture. In addition, the system supports user‐defined gate decompositions through a configurable mapping mechanism. Results The proposed system is implemented in Python and evaluated across three major quantum software development kits. Experimental results demonstrate consistent and correct circuit generation across all supported backends. Conclusions The approach promotes abstraction, reusability, and readability in the quantum software development lifecycle, providing a practical solution to mitigate fragmentation across quantum programming frameworks.
Authors
- Raúl Gil‐Serret
- Francisco Orts
- Gloria Ortega
Institutions
- Barcelona Supercomputing Center (ES)
- University of Almería (ES)
Publication Details
- Journal
- Software Practice and Experience
- Published
- 2026-01-14
- DOI
- https://doi.org/10.1002/spe.70051
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 0.00