量子电路可视化:态矢量差异高亮与半矩阵
Visualizing Quantum Circuits: State Vector Difference Highlighting and the Half-Matrix
AI总结:
针对现有量子电路可视化界面信息不完整易造成困惑的问题,提出态矢量差异高亮和半矩阵两种可视化方法,并开发了可在线拖放构建、模拟和可视化量子电路的开源工具MuqcsCraft。
摘要:
现有的电路模拟器图形用户界面通常会展示每个量子比特约化态的小型可视化摘要,呈现与各量子比特相关的概率、相位、纯度和/或布洛赫球坐标。这类展示必然无法完整呈现量子比特的量子态全貌,有时还会让量子计算领域的学生或新手感到困惑。我们提出两种新颖的可视化方法,为小型电路提供更完整的信息。首先,为补充单个量子比特的相关信息,我们展示完整的态矢量,并通过少量颜色、箭头和符号,说明不同门作用下各层之间振幅的变化方式。我们将此方法称为“态矢量差异高亮”,并展示了它如何阐明Hadamard、X、Y、Z、S、T、Phase和SWAP门的作用效果,其中每个门可带有控制比特和反控制比特的任意组合。其次,我们以三角形“半矩阵”可视化形式展示量子比特的成对信息(如并发度和关联度)。我们的开源软件实现名为MuqcsCraft,提供在线实时演示版本,无需安装任何额外软件即可在网页浏览器中运行,用户可通过拖放操作定义电路,随后对其进行模拟和可视化。
英文摘要:
Existing graphical user interfaces for circuit simulators often show small visual summaries of the reduced state of each qubit, showing the probability, phase, purity, and/or Bloch sphere coordinates associated with each qubit. These necessarily provide an incomplete picture of the quantum state of the qubits, and can sometimes be confusing for students or newcomers to quantum computing. We contribute two novel visual approaches to provide more complete information about small circuits. First, to complement information about each qubit, we show the complete state vector, and illustrate the way that amplitudes change from layer-to-layer under the effect of different gates, by using a small set of colors, arrows, and symbols. We call this ``state vector difference highlighting'', and show how it elucidates the effect of Hadamard, X, Y, Z, S, T, Phase, and SWAP gates, where each gate may have an arbitrary combination of control and anticontrol qubits. Second, we display pairwise information about qubits (such as concurrence and correlation) in a triangular ``half-matrix'' visualization. Our open source software implementation, called MuqcsCraft, is available as a live online demonstration that runs in a web browser without installing any additional software, allowing a user to define a circuit through drag-and-drop actions, and then simulate and visualize it.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。