Table of Contents
Fetching ...

$Classi|Q\rangle$ Towards a Translation Framework To Bridge The Classical-Quantum Programming Gap

Matteo Esposito, Maryam Tavassoli Sabzevari, Boshuai Ye, Davide Falessi, Arif Ali Khan, Davide Taibi

TL;DR

This paper addresses the gap between classical programming and quantum programming by proposing Classi|Q angle, a PyC-to-QASM translator that uses ASTs and a library of Quantum Programming Language Patterns (QPLPs) to enable block-level translation into OpenQASM 3.0. The design features a Translator and an Optimizer that can perform source-to-source translation and selective block replacement with quantum subroutines, aiming to deliver hybrid quantum workflows accessible to non-quantum experts. The work provides a blueprint, detailing architecture, QPLP concepts, and a realistic roadmap toward a Python-first prototype and broader language support, with attention to interoperability and future extensions. If realized, Classi|Q angle could accelerate quantum software engineering by lowering language barriers and enabling rapid exploration of hybrid algorithms.

Abstract

Quantum computing, albeit readily available as hardware or emulated on the cloud, is still far from being available in general regarding complex programming paradigms and learning curves. This vision paper introduces $Classi|Q\rangle$, a translation framework idea to bridge Classical and Quantum Computing by translating high-level programming languages, e.g., Python or C++, into a low-level language, e.g., Quantum Assembly. Our idea paper serves as a blueprint for ongoing efforts in quantum software engineering, offering a roadmap for further $Classi|Q\rangle$ development to meet the diverse needs of researchers and practitioners. $Classi|Q\rangle$ is designed to empower researchers and practitioners with no prior quantum experience to harness the potential of hybrid quantum computation. We also discuss future enhancements to $Classi|Q\rangle$, including support for additional quantum languages, improved optimization strategies, and integration with emerging quantum computing platforms.

$Classi|Q\rangle$ Towards a Translation Framework To Bridge The Classical-Quantum Programming Gap

TL;DR

This paper addresses the gap between classical programming and quantum programming by proposing Classi|Q angle, a PyC-to-QASM translator that uses ASTs and a library of Quantum Programming Language Patterns (QPLPs) to enable block-level translation into OpenQASM 3.0. The design features a Translator and an Optimizer that can perform source-to-source translation and selective block replacement with quantum subroutines, aiming to deliver hybrid quantum workflows accessible to non-quantum experts. The work provides a blueprint, detailing architecture, QPLP concepts, and a realistic roadmap toward a Python-first prototype and broader language support, with attention to interoperability and future extensions. If realized, Classi|Q angle could accelerate quantum software engineering by lowering language barriers and enabling rapid exploration of hybrid algorithms.

Abstract

Quantum computing, albeit readily available as hardware or emulated on the cloud, is still far from being available in general regarding complex programming paradigms and learning curves. This vision paper introduces , a translation framework idea to bridge Classical and Quantum Computing by translating high-level programming languages, e.g., Python or C++, into a low-level language, e.g., Quantum Assembly. Our idea paper serves as a blueprint for ongoing efforts in quantum software engineering, offering a roadmap for further development to meet the diverse needs of researchers and practitioners. is designed to empower researchers and practitioners with no prior quantum experience to harness the potential of hybrid quantum computation. We also discuss future enhancements to , including support for additional quantum languages, improved optimization strategies, and integration with emerging quantum computing platforms.
Paper Structure (8 sections, 2 figures)

This paper contains 8 sections, 2 figures.

Figures (2)

  • Figure 1: Overview of the $Classi|Q\rangle$Framework
  • Figure 2: Workflow Overview