中国物理B ›› 2023, Vol. 32 ›› Issue (10): 100308-100308.doi: 10.1088/1674-1056/acb75e
Anqi Zhang(张安琪)1, Kelun Wang(王可伦)1, Yihua Wu(吴逸华)1, and Sheng-Mei Zhao(赵生妹)1,2,†
Anqi Zhang(张安琪)1, Kelun Wang(王可伦)1, Yihua Wu(吴逸华)1, and Sheng-Mei Zhao(赵生妹)1,2,†
摘要: A single-qubit quantum classifier (SQC) based on a gradient-free optimization (GFO) algorithm, named the GFO-based SQC, is proposed to overcome the effects of barren plateaus caused by quantum devices. Here, a rotation gate $R_{X}(\phi)$ is applied on the single-qubit binary quantum classifier, and the training data and parameters are loaded into $\phi$ in the form of vector multiplication. The cost function is decreased by finding the value of each parameter that yields the minimum expectation value of measuring the quantum circuit. The algorithm is performed iteratively for all parameters one by one until the cost function satisfies the stop condition. The proposed GFO-based SQC is demonstrated for classification tasks in Iris and MNIST datasets and compared with the Adam-based SQC and the quantum support vector machine (QSVM). Furthermore, the performance of the GFO-based SQC is discussed when the rotation gate in the quantum device is under different types of noise. The simulation results show that the GFO-based SQC can reach a high accuracy in reduced time. Additionally, the proposed GFO algorithm can quickly complete the training process of the SQC. Importantly, the GFO-based SQC has a good performance in noisy environments.
中图分类号: (Quantum algorithms, protocols, and simulations)