Variational quantum algorithms have gained attention as early applications of quantum computers for learning tasks. In the context of supervised learning, most of the works that tackle classification problems with parameterized quantum circuits constrain their scope to the setting of binary classification or perform multiclass classification via ensembles of binary classifiers (strategies such as one versus rest). Those few works that propose native multiclass models, however, do not justify the choice of observables that perform the classification. This work studies two main classification criteria in multiclass quantum machine learning: maximizing the expected value of an observable representing a class or maximizing the fidelity of the encoded quantum state with a reference state representing a class. To compare both approaches, sets of Pauli strings and sets of projectors into the computational basis are chosen as observables in the quantum machine learning models. Observing the empirical behavior of each model type, the effect of different observable set choices on the performance of quantum machine learning models is analyzed in the context of Barren Plateaus and Neural Collapse. The results provide insights that may guide the design of future multiclass quantum machine learning models.
Variational quantum algorithms have gained attention as early applications of quantum computers for learning tasks. In the context of supervised learning, most of the works that tackle classification problems with parameterized quantum circuits constrain their scope to the setting of binary classification or perform multiclass classification via ensembles of binary classifiers (strategies such as one versus rest). Those few works that propose native multiclass models, however, do not justify the choice of observables that perform the classification. This work studies two main classification criteria in multiclass quantum machine learning: maximizing the expected value of an observable representing a class or maximizing the fidelity of the encoded quantum state with a reference state representing a class. To compare both approaches, sets of Pauli strings and sets of projectors into the computational basis are chosen as observables in the quantum machine learning models. Observing the empirical behavior of each model type, the effect of different observable set choices on the performance of quantum machine learning models is analyzed in the context of Barren Plateaus and Neural Collapse. The results provide insights that may guide the design of future multiclass quantum machine learning models.
Quantum Machine Learning (QML) has emerged as a compelling research domain that unites quantum computing principles with classical learning theory to address computationally demanding classification problems.This paper investigates two principal QML architectures-Variational Quantum Classifiers (VQC) and Quantum Neural Networks (QNN)-within the context of binary classification.We present an end-to-end hybrid quantum-classical pipeline applied to the UCI Mushroom dataset, comprising 22 categorical attributes, and demonstrate that quantumenhanced models can achieve competitive classification performance under present-day hardware constraints.The pipeline integrates Quantum Random Access Code (QRAC) encoding for dimensionality reduction, ZZFeatureMapbased quantum feature mapping, RealAmplitudes parameterized ansatz, and classical optimizer-driven parameter updates using the COBYLA algorithm.The complete system is deployed through a Flask web interface and containerized with Docker for reproducibility.Experimental results on a quantum simulator indicate a classification accuracy of 87.4%, precision of 0.891, and recall of 0.863, establishing the practical viability of NISQ-era quantum classifiers for structured categorical data.The paper further analyzes convergence behavior, circuit depth effects, and comparative performance against classical baselines, providing insights into the strengths and limitations of current QML architectures for real-world classification deployment.
The rapid progress in quantum computing (QC) and machine learning (ML) has attracted growing attention, prompting extensive research into quantum machine learning (QML) algorithms to solve diverse and complex problems. Designing high-performance QML models demands expert-level proficiency, which remains a significant obstacle to the broader adoption of QML. A few major hurdles include crafting effective data encoding techniques and parameterized quantum circuits, both of which are crucial to the performance of QML models. Additionally, the measurement phase is frequently overlooked—most current QML models rely on pre-defined measurement protocols that often fail to account for the specific problem being addressed. We introduce a novel approach that makes the observable of the quantum system—specifically, the Hermitian matrix—learnable. Our method features an end-to-end differentiable learning framework, where the parameterized observable is trained alongside the ordinary quantum circuit parameters simultaneously. Using numerical simulations, we show that the proposed method can identify observables for variational quantum circuits that lead to improved outcomes, such as higher classification accuracy, thereby boosting the overall performance of QML models.
Multiclass classification is of great interest for various applications, for example, it is a common task in computer vision, where one needs to categorize an image into three or more classes. Here we propose a quantum machine learning approach based on quantum convolutional neural networks for solving the multiclass classification problem. The corresponding learning procedure is implemented via TensorFlowQuantum as a hybrid quantum-classical (variational) model, where quantum output results are fed to the softmax activation function with the subsequent minimization of the cross entropy loss via optimizing the parameters of the quantum circuit. Our conceptional improvements here include a new model for a quantum perceptron and an optimized structure of the quantum circuit. We use the proposed approach to solve a 4-class classification problem for the case of the MNIST dataset using eight qubits for data encoding and four ancilla qubits; previous results have been obtained for 3-class classification problems. Our results show that the accuracy of our solution is similar to classical convolutional neural networks with comparable numbers of trainable parameters. We expect that our findings will provide a new step toward the use of quantum neural networks for solving relevant problems in the NISQ era and beyond.
Variational Quantum Classifiers (VQCs) are a common class of hybrid quantum-classical models developed for nearterm quantum machine learning applications. Despite growing focus, it is still unclear how circuit design choices, particularly entanglement depth, affect learning performance and optimisation stability when compared to reliable classical baselines [1]. In this research, we provide a controlled empirical analysis of entanglement depth in VQCs for medical image classification utilizing pre-extracted deep feature representations. Under a predetermined experimental design, we assessed VQCs with no entanglement, single-layer entanglement, and two-layer interleaved entanglement with different training set sizes. Our findings demonstrate that in low-data regimes, increasing entanglement could negatively impact accuracy due to optimization instability [2] and may not always enhance performance. Since classical machine learning baselines consistently match or surpass quantum models, there is no performance advantage of variational quantum classifiers was observed under the evaluated experimental conditions and preprocessing constraints. These results emphasize the significance of thorough, comparative benchmarking for real-world use and draw attention to the expressivity optimization trade-offs inherent in variational quantum learning.
In the noisy intermediate-scale quantum (NISQ) era, the capabilities of variational quantum algorithms are greatly constrained due to a limited number of qubits and the shallow depth of quantum circuits. We may view these variational quantum algorithms as weak learners in supervised learning. Ensemble methods are general approaches to combining weak learners to construct a strong one in machine learning. In this paper, by focusing on classification, we theoretically establish and numerically verify a learning guarantee for quantum adaptive boosting (AdaBoost). The supervised-learning risk bound describes how the prediction error of quantum AdaBoost on binary classification decreases as the number of boosting rounds and sample size increase. We further empirically demonstrate the advantages of quantum AdaBoost by focusing on a 4-class classification. The quantum AdaBoost not only outperforms several other ensemble methods, but in the presence of noise it can also surpass the ideally noiseless but unboosted primitive classifier after only a few boosting rounds. Our work indicates that in the current NISQ era, introducing appropriate ensemble methods is particularly valuable in improving the performance of quantum machine learning algorithms.
The field of machine learning has experienced rapid development over the last decades and has found numerous applications across diverse domains ranging from industrial to personal settings. Quantum computing, on the other hand, is an emerging field offering a fundamentally different computational paradigm that can potentially surpass traditional computational approaches in certain domains.In this thesis, we explore the intersection between these two fields, commonly referred to as quantum machine learning (QML). In particular, we focus on Quantum neural networks (QNNs), which have gained attention in the field of QML due to the unparalleled success of their classical counterparts. However, the limitations of the current quantum computers have led to hybrid approaches combining classical and quantum devices. We, therefore, use hybrid quantum neural networks (HQNNs) to explore the potential advantages of QNNs in various practical applications.First, we explore the design space of HQNNs as there is no standardized methodology for designing quantum layers in HQNNs. Various quantum layer designs with different data encoding techniques are investigated, identifying the optimal set of quantum gates for different encoding strategies.We also investigate the impact of cost function globality and locality on the performance of HQNNs for real-world applications, namely: binary and multi-class classification. We exploit a single parameterized quantum circuit (PQC) structure with both single (local) and all-qubit (global) measurements. Our results show that the global cost function significantly outperforms the local cost function on multi-class classification. In contrast, both global and local cost functions have comparable performance on binary classification problems.Moreover, we propose a framework for analyzing the impact of various components of HQNNs with respect to each other on multi-class classification tasks, specifically focusing on the data encoding and quantum layers (expressibility and entanglement between qubits). Two ansatz structures, entangled and unentangled, are used to investigate the existence of the barren plateau (BP) in HQNNs. We further evaluate the impact of entanglement on trainability and provide recommendations for different constraint scenarios. The results show that the overall expressibility of the quantum layers impacts the presence of the BP phenomenon and that entanglement plays a role in the training landscapes of HQNNs, depending on the data encoding technique. Finally, we propose a new architecture for quantum neural networks (QNNs) called residual quantum neural networks (ResQNets), inspired by the classical residual neural networks (ResNets), to address the issue of BP in QNNs. ResQNets split the conventional QNN architecture into multiple quantum nodes (QNs), each with its own PQC, allowing residual connections between QNs. The results show that incorporating residual connections results in improved training performance, making ResQNets a promising solution for overcoming the problem of BP in QNNs.