We introduce QCLAB, an object-oriented MATLAB toolbox for constructing, representing, and simulating quantum circuits. Designed with an emphasis on numerical stability, efficiency, and performance, QCLAB provides a reliable platform for prototyping and testing quantum algorithms. For advanced performance needs, QCLAB++ serves as a complementary C++ package optimized for GPU-accelerated quantum circuit simulations. Together, QCLAB and QCLAB++ form a comprehensive toolkit, balancing the simplicity of MATLAB scripting with the computational power of GPU acceleration. This paper serves as an introduction to the package and its features along with a hands-on tutorial that invites researchers to explore its capabilities right away.
翻译:本文介绍QCLAB,一个面向对象的MATLAB工具箱,用于构建、表示和模拟量子电路。QCLAB设计时注重数值稳定性、效率和性能,为量子算法的原型设计和测试提供了一个可靠的平台。针对高级性能需求,QCLAB++作为一个补充的C++包,专为GPU加速的量子电路模拟进行了优化。QCLAB和QCLAB++共同构成了一个全面的工具包,在MATLAB脚本的简洁性与GPU加速的计算能力之间取得了平衡。本文作为对该软件包及其功能的介绍,并提供了一个实践教程,邀请研究人员立即探索其功能。