Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

A lambda calculus for quantum computation with classical control

Published: 01 June 2006 Publication History

Abstract

In this paper we develop a functional programming language for quantum computers by extending the simply-typed lambda calculus with quantum types and operations. The design of this language adheres to the ‘quantum data, classical control’ paradigm, following the first author's work on quantum flow-charts. We define a call-by-value operational semantics, and give a type system using affine intuitionistic linear logic. The main results of this paper are the safety properties of the language and the development of a type inference algorithm.

References

[1]
Altenkirch, T. and Grattage, J. (2005) A functional quantum programming language. In: Proceedings of the Twentieth Annual IEEE Symposium on logic in Computer Science, LICS 2005, Chicago, IEEE Computer Society Press 249-258.
[2]
Barendregt, H. P. (1984) The Lambda-Calculus, its Syntax and Semantics (second edition). Studies in Logic and the Foundation of Mathematics 103, North Holland.
[3]
Benioff, P. (1980) The computer as a physical system: A microscopic quantum mechanical Hamiltonian model of computers as represented by Turing machines. Journal of Statistical Physics 22 563-591.
[4]
Bettelli, S., Calarco, T. and Serafini, L. (2003) Toward an architecture for quantum programming. The European Physical Journal D 25 (2) 181-200.
[5]
Danos, V., Joinet, J.-B. and Schellinx, H. (1995) On the linear decoration of intuitionistic derivations. Archive for Mathematical Logic 33 387-412.
[6]
Deutsch, D. (1985) Quantum theory, the Church-Turing principle and the universal quantum computer. Proceedings of the Royal Society of London. Series A, Mathematical and Physical Sciences 400 (1818) 97-117.
[7]
Girard, J.-Y. (1987) Linear logic. Theoretical Computer Science 50 (1) 1-101.
[8]
Knill, E. (1996) Conventions for quantum pseudocode. Technical Report LAUR-96-2724, Los Alamos National Laboratory.
[9]
Nielsen, M. A. and Chuang, I.L. (2002) Quantum Computation and Quantum Information, Cambridge University Press.
[10]
Preskill, J. (1999) Lecture notes for Physics 229, Quantum Computation. (Available from http:// www.theory.caltech.edu/people/preskill/ph229/#lecture.)
[11]
Sanders, J.W. and Zuliani, P. (2000) Quantum programming. In: Backhouse, R. and Oliveira, J.N. (eds.) Mathematics of Program Construction: 5th International Conference, Ponte de Lima, Portugal. Springer-Verlag Lecture Notes in Computer Science 1837 80-99.
[12]
Selinger, P. (2004) Towards a quantum programming language. Mathematical Structures in Computer Science 14 (4) 527-586.
[13]
Shor, P.W. (1994) Algorithms for quantum computation: Discrete log and factoring. Proceedings of the 35th Annual Symposium on Foundations of Computer Science, Institute of Electrical and Electronic Engineers Computer Society Press 124-134.
[14]
Valiron, B. (2004) A functional programming language for quantum computation with classical control. Master's thesis, University of Ottawa.
[15]
van Tonder, A. (2004) A lambda calculus for quantum computation. SIAM Journal of Computing 33 (5) 1109-1135. (Available from arXiv:quant-ph/0307150.)

Cited By

View all
  • (2025)Qurts: Automatic Quantum Uncomputation by Affine Types with LifetimeProceedings of the ACM on Programming Languages10.1145/37048429:POPL(155-182)Online publication date: 9-Jan-2025
  • (2025)Split Decisions: Explicit Contexts for Substructural LanguagesProceedings of the 14th ACM SIGPLAN International Conference on Certified Programs and Proofs10.1145/3703595.3705888(257-271)Online publication date: 10-Jan-2025
  • (2024)Towards Quantum Multiparty Session TypesSoftware Engineering and Formal Methods10.1007/978-3-031-77382-2_22(385-403)Online publication date: 4-Nov-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Mathematical Structures in Computer Science
Mathematical Structures in Computer Science  Volume 16, Issue 3
June 2006
177 pages

Publisher

Cambridge University Press

United States

Publication History

Published: 01 June 2006

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 22 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Qurts: Automatic Quantum Uncomputation by Affine Types with LifetimeProceedings of the ACM on Programming Languages10.1145/37048429:POPL(155-182)Online publication date: 9-Jan-2025
  • (2025)Split Decisions: Explicit Contexts for Substructural LanguagesProceedings of the 14th ACM SIGPLAN International Conference on Certified Programs and Proofs10.1145/3703595.3705888(257-271)Online publication date: 10-Jan-2025
  • (2024)Towards Quantum Multiparty Session TypesSoftware Engineering and Formal Methods10.1007/978-3-031-77382-2_22(385-403)Online publication date: 4-Nov-2024
  • (2023)Verification of Nondeterministic Quantum ProgramsProceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 310.1145/3582016.3582039(789-805)Online publication date: 25-Mar-2023
  • (2022)Tower: data structures in Quantum superpositionProceedings of the ACM on Programming Languages10.1145/35632976:OOPSLA2(259-288)Online publication date: 31-Oct-2022
  • (2022)Quantum Software Components and Platforms: Overview and Quality AssessmentACM Computing Surveys10.1145/354867955:8(1-31)Online publication date: 23-Dec-2022
  • (2022)Twist: sound reasoning for purity and entanglement in Quantum programsProceedings of the ACM on Programming Languages10.1145/34986916:POPL(1-32)Online publication date: 12-Jan-2022
  • (2021)A New Connective in Natural Deduction, and Its Application to Quantum ComputingTheoretical Aspects of Computing – ICTAC 202110.1007/978-3-030-85315-0_11(175-193)Online publication date: 6-Sep-2021
  • (2020)Silq: a high-level quantum language with safe uncomputation and intuitive semanticsProceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3385412.3386007(286-300)Online publication date: 11-Jun-2020
  • (2020)Linear Dependent Type Theory for Quantum Programming LanguagesProceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science10.1145/3373718.3394765(440-453)Online publication date: 8-Jul-2020
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media