Quantum Programming Without the Quantum Physics

被引:0
作者
Inoue, Jun [1 ]
机构
[1] Natl Inst Adv Ind Sci & Technol, 1-8-31 Midorigaoka, Ikeda, Osaka, Japan
来源
PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2024 | 2025年 / 15194卷
关键词
Quantum programming; Probabilistic programming; Programming model;
D O I
10.1007/978-981-97-8943-6_8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We propose a quantum programming paradigm where all data are familiar classical data, and the only non-classical element is a random number generator that can return results with negative probability. Currently, the vast majority of quantum programming languages instead work with quantum data types made up of qubits. The description of their behavior relies on heavy linear algebra and many interdependent concepts and intuitions from quantum physics, which takes dedicated study to understand. We demonstrate that the proposed view of quantum programming explains its central concepts and constraints in more accessible, computationally relevant terms. This is achieved by systematically reducing everything to the existence of that negative-probability random generator, avoiding mention of advanced physics. This makes quantum programming more accessible to programmers without a deep background in physics or linear algebra. The bulk of this paper is written with such an audience in mind. As a working vehicle, we lay out a simple quantum programming language under this paradigm, showing that not only can it express all quantum algorithms, it also naturally captures the semantics of measurement without ever mentioning qubits or collapse.
引用
收藏
页码:155 / 175
页数:21
相关论文
共 30 条
[1]  
Aaronson S., 2021, Quanta Magazine
[2]  
Aaronson S., 2013, Quantum computing since Democritus, DOI DOI 10.1017/CBO9780511979309
[3]  
Aaronson S, 2004, Arxiv, DOI arXiv:quant-ph/0401062
[4]  
Aharonov D., 2003, arXiv, DOI [10.48550/arXiv.quantph/0301040, DOI 10.48550/ARXIV.QUANTPH/0301040]
[5]  
Altenkirch T, 2005, IEEE S LOG, P249
[6]  
[Anonymous], 2021, Quantum Computing: An Applied Approach, DOI [10.1007/978-3-030-83274-215, DOI 10.1007/978-3-030-83274-215]
[7]  
Bernstein E., 1993, Proceedings of the Twenty-Fifth Annual ACM Symposium on the Theory of Computing, P11, DOI 10.1145/167088.167097
[8]   Silq: A High-Level Quantum Language with Safe Uncomputation and Intuitive Semantics [J].
Bichsel, Benjamin ;
Baader, Maximilian ;
Gehr, Timon ;
Vechev, Martin .
PROCEEDINGS OF THE 41ST ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '20), 2020, :286-300
[9]  
Coecke Bob., 2017, Picturing Quantum Processes: A First Course in Quantum Theory and Diagrammatic Reasoning, DOI [10.1017/9781316219317, DOI 10.1017/9781316219317]
[10]   SIMULATING PHYSICS WITH COMPUTERS [J].
FEYNMAN, RP .
INTERNATIONAL JOURNAL OF THEORETICAL PHYSICS, 1982, 21 (6-7) :467-488