Textdokument
Programming language for unified computing with classical and quantum bits
Vorschaubild nicht verfügbar
Volltext URI
Dokumententyp
Dateien
Zusatzinformation
Datum
2022
Autor:innen
Zeitschriftentitel
ISSN der Zeitschrift
Bandtitel
Quelle
Verlag
Gesellschaft für Informatik, Bonn
Zusammenfassung
As the capabilities of quantum computers - regarding the numbers of physical qubits, the number of consequtive coherence-keeping steps, or the noise of the gates - are continuously improving, so they enable the implementation of complex algorithms, including ones which combine classical and quantum-enabled steps. Such computations will need control and data shared between the two worlds (quantum and classical), and for improving code quality by eliminating redundancies they may also need a form of classical/quantum polymorphism. This paper proposes a high-level programming language, Qubla to support this type of polymorphism, allowing not only genericity, but also mixed classical and quantum arithmetics. In this language, arithmetical and logical operations can be performed on data formed of both classical bits and qubits. The current implementation of the language works as a interpreter/compiler hybrid: all the classical steps of the program are executed consecutively and together with them the quantum steps are added as building blocks to a quantum logic definition over qubits.