International Conference on Control and Automation
Improved Quantum Two-Classification Network *
Shuang Cong, Jingru Qiu
Abstract
An improved quantum neural network based on a parameterized quantum circuit for 0 or 1 classification of images is designed in this paper. A classical handwritten digital image of size$28 \times 28$pixels is compressed into a$4 \times 4$pixel image, whose 16 classical images represent the probability amplitudes of a 4-qubit state input in the quantum state preparation circuit. The output and corresponding 0 or 1 labels are used as training data for supervised learning of a parameterized quantum recognition circuit composed of 4 qubits. The complete design process is studied in detail, including the input of classical data, quantum state preparation, the output recognition of images by the parameterized quantum circuit, and the projection measurement of the designated readout qubit. In the training of the network parameters, the goal of minimizing the loss function is to achieve optimal quantum circuit parameters. In the performance comparison experiments, handwritten digital images from the MNIST dataset are used to conduct recognition tests on two specific digits, and the test accuracy is 98.88%. The recognition accuracy rate increases by 8.13% compared with the recognition performance before the improvement. The quantum image recognition network designed in this paper can be extended to multiclass classification applications.