为了开展量子计算的科学研究和教育教学,产生了量子计算的仿真工具。Vizard是一款虚拟现实开发平台软件,适合建立三维模型,可以用Python语言进行快速开发。基于Vizard平台,提出了一种“糖果盒”量子比特可视化仿真模型。该模型采用量子态棒棒糖描述量子比特的概率振幅,糖果半径表示模,糖棍与水平面的夹角表示辅角,打开盒盖后引起量子态棒棒糖塌缩。借助量子态棒棒糖,仿真了量子门元件,并用量子门元件搭建了量子电路。糖果盒模型比传统的布洛赫球更加容易描述量子比特的叠加态,而且通俗易懂、富有趣味性,适合量子技术的初学者和青少年的量子技术普及教育。
In order to conduct scienti?c research and educational teaching on quantum computing, simulation tools for
quantum computing have emerged. Vizard is a virtual reality development platform software that is suitable for building
3D models and can be quickly developed using Python language. A quantum bit visualization simulation model for candy
boxes is proposed based on the Vizard platform. This model uses quantum state lollipops to describe the probability
amplitude of quantum bits. The candy radius represents the modulus and the angle between the candy stick and the
horizontal plane represents the auxiliary angle. Opening the box lid causes the quantum state lollipop to collapse. Using
quantum state lollipops, quantum gate components are simulated and quantum circuits are constructed using quantum gate
components. The candy box model is easier to describe the superposition state of quantum bits than traditional Bloch balls,
and it is interesting and easy to understand, suitable for quantum technology beginners and teenagers to popularize
quantum technology education.