The simulation of quantum circuits on classical computers is an important problem in quantum computing. Such simulation requires representations of distributions over very large sets of basis-vectors, and recent work has use symbolic data structures such as Binary Decision Diagrams (BDDs) for this purpose. However, as of now, there is no open-source, extensible system for such symbolic simulation. In this tool paper, we present Quasimodo, an extensible, open-source Python library that fills this gap in the literature. Quasimodo allows simulations of quantum circuits, checking properties of the outputs of quantum circuits, and debugging quantum circuits. It also allows the user to choose from among several symbolic data structures -- both unweighted and weighted BDDs, and a recent structure called CFLOBDDs -- and can be easily extended to support other symbolic data structures.
翻译:在古典计算机上模拟量子电路是量子计算中的一个重要问题。 这种模拟需要显示大量基向量的分布, 最近的工作为此使用了二进制决定图等象征性数据结构。 但是,目前还没有开放源, 此类象征性模拟的可扩展系统。 在本工具文件中, 我们展示了可扩展的、 开放源的Python 图书馆, 以填补文献中的这一空白。 Quasimodo 允许模拟量子电路, 检查量子电路输出的特性, 并调试量子电路。 它也允许用户从几个象征性数据结构中作出选择, 包括未加权和加权的BDDDs, 以及一个名为 CFLOBDDs 的最近结构, 并且可以很容易地推广到支持其他象征性数据结构 。