Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Type-safe Quantum Programming in Idris
 
conference paper

Type-safe Quantum Programming in Idris

Dandy, Liliane-Joy  
•
Jeandel, Emmanuel
•
Zamdzhiev, Vladimir
Wies, T
January 1, 2023
Programming Languages And Systems, Esop 2023
32nd European Symposium on Programming (ESOP) Held as Part of the 26th European Joint Conferences on Theory and Practice of Software (ETAPS)

Variational Quantum Algorithms are hybrid classical-quantum algorithms where classical and quantum computation work in tandem to solve computational problems. These algorithms create interesting challenges for the design of suitable programming languages. In this paper we introduce Qimaera, which is a set of libraries for the Idris 2 programming language that enable the programmer to implement hybrid classical-quantum algorithms where the full power of the elegant Idris language works in synchrony with quantum programming primitives. The two key ingredients of Idris that make this possible are (1) dependent types which allow us to implement unitary quantum operations; and (2) linearity which allows us to enforce fine-grained control over the execution of quantum operations so that we may detect and reject many physically inadmissible programs. We also show that Qimaera is suitable for variational quantum programming by providing implementations of two prominent variational quantum algorithms - QAOA and VQE.

  • Details
  • Metrics
Type
conference paper
DOI
10.1007/978-3-031-30044-8_19
Web of Science ID

WOS:001284040300019

Author(s)
Dandy, Liliane-Joy  

École Polytechnique Fédérale de Lausanne

Jeandel, Emmanuel

Universite de Lorraine

Zamdzhiev, Vladimir

Universite de Lorraine

Editors
Wies, T
Date Issued

2023-01-01

Publisher

Springer Nature

Publisher place

Cham

Published in
Programming Languages And Systems, Esop 2023
ISBN of the book

978-3-031-30043-1

978-3-031-30044-8

Series title/Series vol.

Lecture Notes in Computer Science; 13990

ISSN (of the series)

0302-9743

1611-3349

Start page

507

End page

534

Subjects

MONADS

•

LOGIC

•

Science & Technology

•

Technology

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
GCM  
Event nameEvent acronymEvent placeEvent date
32nd European Symposium on Programming (ESOP) Held as Part of the 26th European Joint Conferences on Theory and Practice of Software (ETAPS)

Paris, FRANCE

2023-04-22 - 2023-04-27

FunderFunding(s)Grant NumberGrant URL

PEPR integrated project EPiQ

European Project NEASQC

951821

Available on Infoscience
January 31, 2025
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/246175
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés