Electronic Proceedings in Theoretical Computer Science (Apr 2019)

Quantum Programming Made Easy

  • Luca Paolini,
  • Luca Roversi,
  • Margherita Zorzi

DOI
https://doi.org/10.4204/EPTCS.292.8
Journal volume & issue
Vol. 292, no. Proc. Linearity-TLLA 2018
pp. 133 – 147

Abstract

Read online

We present IQu, namely a quantum programming language that extends Reynold's Idealized Algol, the paradigmatic core of Algol-like languages. IQu combines imperative programming with high-order features, mediated by a simple type theory. IQu mildly merges its quantum features with the classical programming style that we can experiment through Idealized Algol, the aim being to ease a transition towards the quantum programming world. The proposed extension is done along two main directions. First, IQu makes the access to quantum co-processors by means of quantum stores. Second, IQu includes some support for the direct manipulation of quantum circuits, in accordance with recent trends in the development of quantum programming languages. Finally, we show that IQu is quite effective in expressing well-known quantum algorithms.