Flexible Genetic Algorithm for Quantum Support Vector Machines
Nguyen Minh Duc, Vu Tuan Hai, Le Bin Ho, Tran Nguyen Lan
TL;DR
This paper tackles the limitation of fixed quantum feature maps in QSVMs by introducing GA-QSVM, a configurable genetic-algorithm framework that automatically designs adaptive quantum circuits for the feature map. It employs a two-level optimization where QSVM serves as the low-level learner and GA evolves circuit topology, gate composition, and hyperparameters with normalization constraints to balance expressivity and trainability, incorporating gates such as $R_x$, $R_y$, $R_z$, $H$, and $CX$. Empirical results on datasets including Digits, Fashion, Wine, and Breast Cancer show GA-QSVM achieving competitive or superior accuracy relative to classical SVMs and standard QSVMs, with transfer learning demonstrating cross-dataset generalization. The work highlights the potential and practical impact of evolutionary strategies for automated kernel design in quantum machine learning, while noting computational costs and scalability as areas for future enhancement, e.g., multi-objective optimization with simultaneous control of accuracy, depth, and entanglement cost.
Abstract
Quantum Support Vector Machines (QSVM) is one of the most promising frameworks in quantum machine learning, yet their performance depends on the design of the feature map. Conventional approaches rely on fixed quantum circuits, which often fail to generalize across datasets. To address this limitation, we propose GA-QSVM, a hybrid framework that employs Genetic Algorithms (GA) to automatically optimize feature maps. The proposed method introduces a configurable framework that flexibly defines the evolutionary parameters, enabling the construction of adaptive circuits. Experimental evaluation of datasets, including Digits, Fashion, Wine, and Breast Cancer, demonstrates that GA-QSVMs achieve a comparable accuracy compared to classical SVMs and standard QSVMs. Furthermore, transfer learning results indicate that GA-QSVM's circuits generalize effectively across datasets. These findings highlight the potential of evolutionary strategies to automate and enhance kernel design for future quantum machine learning applications.
