Skip to content
Open access

Qubla: A Language for Mixed Bit-quBit Computations

2026 · IEEE Access · Vol 14, pp. 158205-158219 · 0 citations · 23 references

Abstract

This paper presents Qubla, a novel programming language for quantum computing. The characterizing property of Qubla is “quantum-agnosticism”: it introduces mixed classical-quantum integral values as first-class language constructs; arithmetic is then implemented once over this abstraction, rather than separately for each representation. In Qubla, one can define and process data containing both classical and quantum bits, and one can define routines which accept actual parameters consisting of classical and quantum bits in arbitrary combinations. This way algorithms containing both classical and quantum computation steps can be described in a highly reusable manner. The same Qubla source code of a routine can be used to generate many different quantum computations depending on the structure of its actual parameters. As a case study, it is shown how Shor’s algorithm can be elegantly expressed in this language. The Qubla “compiler” takes a mixed classical-quantum algorithm and outputs a “quantum chain” (a sequence of unitary operators), which is an abstract view of a quantum computation. The contribution of this paper is the presentation of a quantum-agnostic language and the way quantum chains can automatically be generated from its source code. Future research shall investigate how a quantum chain can be simulated or how it can be further compiled to a quantum circuit respecting the architecture of, and suitable for execution on, a concrete quantum computer. The Qubla compiler is available as open-source.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.