Maupin Oliver G, Baczewski Andrew D, Love Peter J, Landahl Andrew J
Department of Physics and Astronomy, Tufts University, Medford, MA 02155, USA.
Sandia National Laboratories, Center for Computing Research, Albuquerque, NM 87185, USA.
Entropy (Basel). 2021 May 24;23(6):657. doi: 10.3390/e23060657.
We present example quantum chemistry programs written with JaqalPaq, a python meta-programming language used to code in Jaqal (Just Another Quantum Assembly Language). These JaqalPaq algorithms are intended to be run on the Quantum Scientific Computing Open User Testbed (QSCOUT) platform at Sandia National Laboratories. Our exemplars use the variational quantum eigensolver (VQE) quantum algorithm to compute the ground state energies of the H2, HeH+, and LiH molecules. Since the exemplars focus on how to program in JaqalPaq, the calculations of the second-quantized Hamiltonians are performed with the PySCF python package, and the mappings of the fermions to qubits are obtained from the OpenFermion python package. Using the emulator functionality of JaqalPaq, we emulate how these exemplars would be executed on an error-free QSCOUT platform and compare the emulated computation of the bond-dissociation curves for these molecules with their exact forms within the relevant basis.
我们展示了用JaqalPaq编写的量子化学程序示例,JaqalPaq是一种用于编写Jaqal(另一种量子汇编语言)的Python元编程语言。这些JaqalPaq算法旨在在桑迪亚国家实验室的量子科学计算开放用户测试平台(QSCOUT)上运行。我们的示例使用变分量子本征求解器(VQE)量子算法来计算H2、HeH+和LiH分子的基态能量。由于示例侧重于如何用JaqalPaq进行编程,因此二次量子化哈密顿量的计算是使用PySCF Python包进行的,而费米子到量子比特的映射是从OpenFermion Python包中获得的。利用JaqalPaq的模拟器功能,我们模拟了这些示例在无错误的QSCOUT平台上的执行情况,并将这些分子的键解离曲线的模拟计算与其在相关基组内的精确形式进行了比较。