Quantum plus plus : A modern C plus plus quantum computing library

被引:30
|
作者
Gheorghiu, Vlad [1 ,2 ]
机构
[1] SoftwareQ Inc, Kitchener, ON, Canada
[2] Univ Waterloo, Inst Quantum Comp, Waterloo, ON, Canada
来源
PLOS ONE | 2018年 / 13卷 / 12期
基金
加拿大自然科学与工程研究理事会;
关键词
D O I
10.1371/journal.pone.0208073
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Quantum++ is a modern general-purpose multi-threaded quantum computing library written in C++11 and composed solely of header files. The library is not restricted to qubit systems or specific quantum information processing tasks, being capable of simulating arbitrary quantum processes. The main design factors taken in consideration were the ease of use, portability, and performance. The library's simulation capabilities are only restricted by the amount of available physical memory. On a typical machine (Intel i5 8Gb RAM) Quantum++ can successfully simulate the evolution of 25 qubits in a pure state or of 12 qubits in a mixed state reasonably fast. The library also includes support for classical reversible logic, being able to simulate classical reversible operations on billions of bits. This latter feature may be useful in testing quantum circuits composed solely of Toffoli gates, such as certain arithmetic circuits.
引用
收藏
页数:27
相关论文
共 50 条