International Joint Conference on Neural Networks (IJCNN)
Evolutionary Weight Optimization for Variational Quantum Classifiers
Matheus Costa, Fernando M. de Paula Neto
Abstract
Variational Quantum Circuits (VQCs) are viable alternatives for implementing quantum circuits in current quantum processors. VQCs are reduced circuits with parameters that are trained to minimize a loss function for a given problem. In this work, we propose an approach to optimize the parameters of a VQC using Genetic Algorithms (GAs). We explored different GA configurations, on 3 databases - Sonar, Cancer and Banknotes datasets, comparing the proposed approach with 2 classical optimizers based on gradient descent. The results show that genetic algorithms can effectively optimize the weights of variational circuits to achieve high classification accuracy with convergence speed up to 7.3 times (in Sonar Database), 4.8 times (Cancer Database), and 3.7 times (Banknote Database) compared with the traditional optimizers. The experimental results indicate that the genetic algorithm achieves performance metrics that are significantly superior or at least comparable to those obtained by gradient descent-based optimizers, demonstrating the potential and robustness of evolutionary strategies in training variational quantum circuits.