A Unified Interface for Framework‐Agnostic Quantum Circuit Construction Based on Tokenized Text Input

View at publisher
Authors: Raúl Gil‐Serret, Gloria Ortega, Francisco José Orts
Cited by: 0
References: 21

Abstract

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.

Fields of Study & Subjects

Quantum Computing Algorithms and Architecture Quantum Information and Cryptography Teaching and Learning Programming

Publication details

Journal / source
Software Practice and Experience
Volume
56
Issue
4
Pages
357–371
Publication date
14 January 2026
Language
EN