arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.14062quant-phcs.ET
收藏

Qiskit中VQC的数据编码:与新型混合编码的比较

Data Encoding for VQC in Qiskit, A Comparison With Novel Hybrid Encoding

Hillol Biswas

AI总结:

本文面向VQC提出融合Amplitude、Angle与Phase编码的新型混合数据编码方法,以提升量子比特利用率、状态表达与相位区分,并在合成数据集上验证其相对Qiskit标准编码的效果。

摘要:

如果量子机器学习要模仿经典机器学习的方式,那么出于多种原因,量子神经网络中的数据编码就是必不可少的。关键原因之一是由数据规模带来的复杂性,而数据规模取决于特征和类型,这正是机器学习的本质。尽管量子计算已有多种标准编码技术,但混合编码并不多见,不过它往往能提供一些明显优势,即高效利用量子比特并增强纠缠;通过调控ZZFeatureMaps和RealAmplitudes的核心准则,这非常适合变分量子分类器算法。Amplitude编码可将归一化后的特征转化为量子振幅,Angle编码使用Ry门将特征值编码为旋转角,Phase编码使用Rz门将额外特征信息编码为相位,而将三者结合起来是可行的。通过结合这三种方法,本文证明了高效的量子比特使用能够得到保证:Amplitude编码减少了所需量子比特,Angle编码改善了状态自由度并用于富有表达能力的编码,Phase编码则提供基于相位的区分。最后,利用经典优化器,通过VQC实现的混合编码技术在一个合成数据集上完成了训练和测试,并将结果与Qiskit机器学习生态系统中的标准VQC编码进行了比较。

英文摘要:

If quantum machine learning emulates the ways of classical machine learning, data encoding in a quantum neural network is imperative for many reasons. One of the key ones is the complexity attributed to the data size depending upon the features and types, which is the essence of machine learning. While the standard various encoding techniques exist for quantum computing, hybrid one is not among many, though it tends to offer some distinct advantages, viz. efficient qubits utilization and increased entanglement, which fits well for variation quantum classifier algorithm by manipulating the essential criteria of ZZFeatureMaps and RealAmplitudes. While Amplitude encoding can turn traits normalized into quantum amplitudes, encoding an angle by using Ry gates to encode feature values into rotation angles, and phase encoding by using Rz gates to encode extra feature information as phase is plausible to combine all together. By combining these three methods, this paper demonstrates that efficient qubit usage is ensured as Amplitude encoding reduces the required qubits, Angle encoding makes state freedom better and is used for expressive encoding, and Phase-based distinction. Finally, using classical optimizers, the hybrid encoding technique through VQC is fit in training and testing using a synthetic dataset, and results have been compared to the standard VQC encoding in qiskit machine learning ecosystems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑