浅层量子电路的可扩展等价性检查与验证
Scalable Equivalence Checking and Verification of Shallow Quantum Circuits
AI总结:
本文研究浅层量子电路的等价性检查问题,提出基于局部投影约束的判定方法,在经典计算机上实现了与量子比特数呈线性关系的时间与空间复杂度,并支持静态与运行时断言检查。
摘要:
本文关注检查两个浅层(即常数深度)量子电路是否执行等价计算的问题。等价性检查是一个基本的正确性问题——例如,需要用它来确保对量子电路应用的变换不会改变其行为。对于量子电路,该问题具有挑战性,因为在经典计算机上直接表示每个电路的量子状态可能需要与量子比特数 $n$ 呈指数级的时间和空间。\n本文针对等价性检查问题的两种变体提出了判定过程。对于任何固定深度,两者均可在经典计算机上以与 $n$ 呈线性关系的时间和空间执行。我们的关键洞察是,局部投影足够精确,能够完全刻画浅层量子电路的输出状态。我们不显式计算电路的输出状态,而是生成一组局部投影作为对输出状态的约束。此外,该电路的输出状态是满足所有约束的唯一量子状态。\n除了等价性检查,我们还展示了如何使用约束表示在静态和运行时检查一类断言。我们的断言检查方法对于表示为局部投影合取的断言是可靠且完备的。\n我们的实验表明,在配备 2 x Intel\textsuperscript{\textregistered} Xeon\textsuperscript{\textregistered} Gold 6338 CPU(共 128 个线程)和 1.0~TiB 内存、运行 Ubuntu 20.04.6 LTS 的服务器上,深度为 6 的随机 100 量子比特电路的约束表示可在 19.8 秒内计算完成。对于固定输入 $\ket{0}^{\otimes 100}$,深度为 3 的随机 100 量子比特电路的等价性检查耗时 4.46 秒;对于任意输入,耗时不超过 31.96 秒。
英文摘要:
This paper concerns the problem of checking if two shallow (i.e., constant-depth) quantum circuits perform equivalent computations. Equivalence checking is a fundamental correctness question -- needed, e.g., for ensuring that transformations applied to a quantum circuit do not alter its behavior. For quantum circuits, the problem is challenging because a straightforward representation on a classical computer of each circuit's quantum state can require time and space that are exponential in the number of qubits $n$. The paper presents decision procedures for two variants of the equivalence-checking problem. Both can be carried out on a classical computer in time and space that, for any fixed depth, is linear in $n$. Our critical insight is that local projections are precise enough to completely characterize the output state of a shallow quantum circuit. Instead of explicitly computing the output state of a circuit, we generate a set of local projections that serve as constraints on the output state. Moreover, the circuit's output state is the unique quantum state that satisfies all the constraints. Beyond equivalence checking, we show how to use the constraint representation to check a class of assertions, both statically and at run time. Our assertion-checking methods are sound and complete for assertions expressed as conjunctions of local projections. Our experiments show that on a server equipped with 2 x Intel\textsuperscript{\textregistered} Xeon\textsuperscript{\textregistered} Gold 6338 CPUs (128 threads total) and 1.0~TiB of RAM, running Ubuntu 20.04.6 LTS, the constraint representation of a random 100-qubit circuit of depth 6 can be computed in 19.8 seconds. For fixed inputs $\ket{0}^{\otimes 100}$, equivalence checking of {random} 100-qubit circuits of depth 3 takes 4.46 seconds; for arbitrary inputs, it takes no more than 31.96 seconds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。