用于经典模拟中高效 T 分解的程序化优化 ZX 图切割
Procedurally Optimised ZX-Diagram Cutting for Efficient T-Decomposition in Classical Simulation
AI总结:
本文提出一种基于顶点权重传播的程序化 ZX 图切割方法,以最少切割次数最大化 T 门数量削减,在经典模拟中显著优于传统 T 分解方法。
摘要:
借助 ZX-calculus,通过将量子线路中的 $t$ 个 T 门分解为 $2^{αt}$ 个可经典计算的 stabiliser 项,可以对量子线路进行强经典模拟。本文引入一种通用程序,用于在 ZX 图中寻找最优的顶点切割模式,以最少的切割次数最大化 T-count 的减少。与传统方法基于固定例程直接分解 T 门来化简 Clifford+T 图不同,我们转而利用此类线路中常见的某些模式和结构,通过自动程序设计出针对特定线路优化的 spider 分解安排。简言之,该方法根据顶点阻挡了多少个 T 类门无法融合/抵消来为其赋予权重,然后将这些权重适当地传播到任何因阻挡加权顶点而无法融合的邻居,依此类推。最终,这为相关节点提供了一组权重,然后可以从权重最高的节点开始依次切割。虽然这是一种启发式方法,但我们表明,对于小到足以验证的线路,该方法在 $71\\%$ 的情况下实现了最优切割集。此外,该方法所达到的效率没有上界,原则上对于高度结构化的线路可以实现有效分解效率 $α\rightarrow0$。即使应用于随机的伪结构化线路(由 CNOT、相位门和 Toffoli 门生成),我们也记录了通过我们的方法消除所有 T 门所需的 stabiliser 项数量,并与更传统的 T 分解方法(即 \cite{kissinger21},$α\approx0.47$)进行比较,结果显示出一致的数量级改进,有效效率为 $0.1\lesssimα\lesssim0.2$。
英文摘要:
A quantum circuit may be strongly classically simulated with the aid of ZX-calculus by decomposing its $t$ T-gates into a sum of $2^{αt}$ classically computable stabiliser terms. In this paper, we introduce a general procedure to find an optimal pattern of vertex cuts in a ZX-diagram to maximise its T-count reduction at the cost of the fewest cuts. Rather than reducing a Clifford+T diagram based on a fixed routine of decomposing its T-gates directly (as is the conventional approach), we focus instead on taking advantage of certain patterns and structures common to such circuits to, in effect, design by automatic procedure an arrangement of spider decompositions that is optimised for the particular circuit. In short, this works by assigning weights to vertices based on how many T-like gates they are blocking from fusing/cancelling and then appropriately propagating these weights through any neighbours which are then blocking weighted vertices from fusing, and so on. Ultimately, this then provides a set of weightings on relevant nodes, which can then each be cut, starting from the highest weighted down. While this is a heuristic approach, we show that, for circuits small enough to verify, this method achieves the most optimal set of cuts possible $71\%$ of the time. Furthermore, there is no upper bound for the efficiency achieved by this method, allowing, in principle, an effective decomposition efficiency $α\rightarrow0$ for highly structured circuits. Even applied to random pseudo-structured circuits (produced from CNOTs, phase gates, and Toffolis), we record the number of stabiliser terms required to reduce all T-gates, via our method as compared to that of the more conventional T-decomposition approaches (namely \cite{kissinger21}, with $α\approx0.47$), and show consistent improvements of orders of magnitude, with an effective efficiency $0.1\lesssimα\lesssim0.2$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。