Machine learning is the process of discovering patterns in data and using those patterns to forecast or predict future occurrences of those patterns. The machine learning process consists of three steps: input data management, model construction, and model evaluation. Combining machine learning and quantum computing allows for the design and operation of quantum circuits with behavior resembling that of classical machine learning. Variable quantum circuits are frequently used in quantum machine learning. Parameterized variables, a crucial part of variable quantum circuits, must be adjusted in order to achieve good performance of these circuits. It is possible to modify parameterized variables in a variety of ways, such as by using gradient methods or linear programming to determine the circuit’s optimal point. This study proposes a method for automatically designing a variational quantum circuit to classify the different datasets, including the well-known 1-dimensional and 2-dimensional datasets, iris and MNIST, using a genetic algorithm to find the best values for the parameterized variables. The Qiskit quantum simulation tools are employed in these experiments. The results show that genetic algorithms can find solutions with greater accuracy than linear-based optimizers by 94 percent and 37.5 percent, respectively, for the iris dataset and the MNIST dataset.
Machine learning is the process of discovering patterns in data and using those patterns to forecast or predict future occurrences of those patterns. The machine learning process consists of three steps: input data management, model construction, and model evaluation. Combining machine learning and quantum computing allows for the design and operation of quantum circuits with behavior resembling that of classical machine learning. Variable quantum circuits are frequently used in quantum machine learning. Parameterized variables, a crucial part of variable quantum circuits, must be adjusted in order to achieve good performance of these circuits. It is possible to modify parameterized variables in a variety of ways, such as by using gradient methods or linear programming to determine the circuit’s optimal point. This study proposes a method for automatically designing a variational quantum circuit to classify the different datasets, including the well-known 1-dimensional and 2-dimensional datasets, iris and MNIST, using a genetic algorithm to find the best values for the parameterized variables. The Qiskit quantum simulation tools are employed in these experiments. The results show that genetic algorithms can find solutions with greater accuracy than linear-based optimizers by 94 percent and 37.5 percent, respectively, for the iris dataset and the MNIST dataset.
With the advancement of quantum computing in the Noisy Intermediate-Scale Quantum (NISQ) era, hybrid quantum-classical algorithms have emerged as promising approaches for addressing certain machine learning tasks. This study investigates the Variational Quantum Classifier (VQC), a hybrid model that integrates parameterized quantum circuits with classical optimization routines, implemented via IBM’s Qiskit framework. We provide a detailed account of the VQC architecture, including feature encoding, ansatz construction, and optimization methodology. To assess its performance, we conduct a comparative analysis between VQC and classical Support Vector Classifiers (SVC) across synthetic and real-world datasets, including Iris and a binary-filtered version of MNIST. Experimental results reveal that classical models consistently achieve higher accuracy and faster training times. However, the VQC demonstrates functional viability, particularly under noise-free conditions and reduced-dimensionality settings. These findings underscore the current limitations of quantum models while highlighting the potential of VQC as a proof-of-concept for quantum-enhanced learning as quantum hardware matures.
Recent investigations into Quantum Machine Learning (QML) techniques have unveiled methodologies that accelerate training in established machine learning models to provide an alternative for capturing complex patterns. This study focuses on implementing a practical QML Algorithm, Variational Quantum Classification (VQC) for cybersecurity dataset so that detecting anomalies can be improved and faster by reducing number of attributeslog2Mwhile training the model using Qiskit. Also, we study quantum algorithms to understand how it impacts on cyber datasets to detect anomalies in a improved way as it follows logarithms in the dimensionality reduction of quantum states which opens new horizons to quantum big data applications. Most importantly, we aim to also investigate the impact of various parameterized quantum circuits on VQC using quantum data as quantum states encoded by the cyber security dataset, NSL-KDD. In this research, we train VQC with various structures and parameters of quantum circuits as well as optimizers to adjust parameters of quantum circuits (ansatz) to minimize the objective function values so as to improve accuracy of the model in which quantum circuit, EfficientSU2, along with optimizer, COBYLA, outperforms the accuracy than other circuits and optimizers which shows great potential for improving cybersecurity systems. The research could effectively bridge in the gap between theory and implementation based quantum machine learning on cybersecurity systems.
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.
Abstract Today, classification is a significant task in data science, and many industries, including healthcare, transport, and banking sectors, are required to classify the data. In this NISQ era, quantum computers are capable of solving complex data challenges and can predict results with minimum features. The quantum neural network is being studied extensively for machine learning problems. In this paper, we have performed the multiclass classification using variational quantum circuits on benchmark datasets. A combination of quantum and classical neural networks is used to build the quantum circuit and optimize the parameters. The quantum circuit is used for the feedforward architecture, while in back-propagation, parameters are updated using a classical optimizer on classical computers. We have successfully shown classification using the proposed approach in benchmark datasets, such as the Iris flower and the MNIST Digit data set. Our results show that VQC is a promising candidate for classification problems with fewer features. To perform our experiments we have used IBM Quantum hardware and simulators.
Quantum machine learning is a new field of study that aims to apply the advantages of quantum computing, such as superposition, which is one of the intriguing properties that could speed up computation, to machine learning. Like classical machine learning models, quantum machine learning models can learn from specific input data and perform specific prediction tasks. However, quantum machine learning models are currently in the form of quantum circuits with parameterizable gates. In this paper, the implementation of a quantum classification model is investigated using the two most well-known quantum machine learning development tools: Cirq with TensorFlow Quantum (TFQ) and Qiskit with PyTorch. The quantum classification circuit is trained to recognize images of handwritten digits using the MNIST dataset. However, because the quantum computer is still in development and is difficult to access and use, quantum simulators are the best alternative for the time being. The performance of the quantum classification model implemented by the two development tools is then compared in this paper experimentally using quantum simulators on two different hardware configurations. In addition, the experimental setups differ in the number of input qubits used to store the image’s classical pixel values. Finally, the wall time and CPU time used to run the training process, as well as classification accuracy, are examined. In terms of accuracy, Qiskit with PyTorch outperforms Cirq with TFQ only in the lower number of qubits but the results are similar in the higher number of qubits. The experiment results in terms of run-time are highly different. From the result, we find that Cirq is noticeably faster than Qiskit in every experiment by at least 90 times.
The increasing need for machine learning to run with less computer resources is causing quantum computing to be considered as a viable substitute for conventional computing. This paper presents a hybrid quantum-classical system that improves learning by means of a classical optimisation loop combined with parameterised quantum circuits. While conventional procedures handle parameter updates and convergence, the proposed approach stores and processes high-dimensional data using quantum variational circuits. Qiskit is used by us to construct this architecture and run it on conventional datasets like Iris, MNIST (binary), CIFAR-100 (subset), HIGGS, and GTEx (gene expression). Particularly for jobs with complex, nonlinear patterns, the findings indicate that the mixed approach is as accurate as or more accurate than classical baselines. Real quantum hardware also works well with the system; noise has no impact on its precision. This work demonstrates how combined quantum-classical learning models might circumvent hardware constraints and provide genuine quantum benefits for applications requiring large data processing.