In this work we present the Scaled QUantum IDentifier (SQUID), an open-source framework for exploring hybrid Quantum-Classical algorithms for classification problems. The classical infrastructure is based on PyTorch and we provide a standardized design to implement a variety of quantum models with the capability of back-propagation for efficient training. We present the structure of our framework and provide examples of using SQUID in a standard binary classification problem from the popular MNIST dataset. In particular, we highlight the implications for scalability for gradient-based optimization of quantum models on the choice of output for variational quantum models.
In this work we present the Scaled QUantum IDentifier (SQUID), an open-source framework for exploring hybrid Quantum-Classical algorithms for classification problems. The classical infrastructure is based on PyTorch and we provide a standardized design to implement a variety of quantum models with the capability of back-propagation for efficient training. We present the structure of our framework and provide examples of using SQUID in a standard binary classification problem from the popular MNIST dataset. In particular, we highlight the implications for scalability for gradient-based optimization of quantum models on the choice of output for variational quantum models.
Among notable applications, quantum machine learning (QML) is a promising task that combines quantum computing with machine learning, cited for various types of complex computational problems. This chapter briefly summarizes the frameworks, software platforms, and toolchains currently available for implementing, simulating, and executing hybrid quantum–classical learning algorithms. Major frameworks (e.g., Qiskit Machine Learning, PennyLane, TensorFlow Quantum, and the PyTorch-based toolsets) are analyzed in detail based on their architectural design, functionality, and integration capabilities. They have several key features, such as variational quantum circuits, parameterized quantum gates, automatic differentiation capabilities, and easy integration into a classical deep learning ecosystem. The chapter groups together ongoing research in different architectural paradigms, practical usability aspects, and empirical performance tests. Additionally, it explores aspects of scalability, adaptability to hardware, noise resistance, and reproducibility. The results bring to light elements of the design of trade-offs for creating robust and efficient toolchains for QML, a QML best practice, and guidance for future QML design.
Quantum computing has emerged as a promising technology for solving complex computational problems by leveraging the principles of quantum mechanics, including superposition and entanglement. Integrating quantum computing with classical machine learning offers a potential approach to improving learning capabilities and classification performance. This research proposes a Hybrid Quantum-Classical Machine Learning Framework that combines classical data preprocessing techniques with parameterized quantum circuits to perform classification tasks. The framework uses classical machine learning components for feature preprocessing and data encoding, while a variational quantum circuit extracts quantum representations of the input data. A classical optimizer updates the quantum circuit parameters iteratively to minimize a predefined classification loss function. The proposed framework is evaluated using benchmark classification datasets and compared with conventional machine learning models, including Support Vector Machines, Logistic Regression, and classical Neural Networks. Performance is assessed using accuracy, precision, recall, F1-score, computational cost, and training time. Experiments also investigate the effects of circuit depth, feature selection, and simulated quantum noise on classification performance. The framework is implemented using the PennyLane quantum simulation library alongside standard machine learning libraries. The study identifies the conditions under which hybrid quantum-classical learning can provide competitive classification performance and determines the practical limitations of current quantum machine learning approaches. The findings contribute to a better understanding of the effectiveness, scalability, and feasibility of hybrid quantum classical models for realworld classification problems.
We introduce DeepQuantum, an open-source, PyTorch-based software platform for quantum machine learning and photonic quantum computing. This AI-enhanced framework enables efficient design and execution of hybrid quantum-classical models and variational quantum algorithms on both CPUs and GPUs. For photonic quantum computing, DeepQuantum implements Fock, Gaussian, and Bosonic backends, catering to different simulation needs. To our knowledge, it is the first framework to realize closed-loop integration of three paradigms of quantum computing, namely quantum circuits, photonic quantum circuits, and measurement-based quantum computing, thereby enabling robust support for both specialized and universal photonic quantum algorithm design. Furthermore, DeepQuantum supports large-scale simulations based on tensor network techniques and a distributed parallel computing architecture. We demonstrate these capabilities through comprehensive benchmarks and illustrative examples. With its unique features, DeepQuantum is intended to be a powerful platform for both AI for Quantum and Quantum for AI.
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.
Machine Learning (ML) has changed the way computers work by letting them learn from data and make smart choices. However, traditional ML techniques encounter scalability and efficiency constraints as datasets get larger and computational problems become more complicated[1]. These restrictions could be circumvented by the new paradigms that quantum computing offers by using entanglement and superposition [2], [3]. The combination of the Quantum computing with the Machine Learning is called the Quantum Machine Learning(QML), offers efficiency improvements, new algorithmic opportunities, and speedups in certain linear algebraic operations. So, this review dives deeply into quantum-classical algorithms, with a particular emphasis on the approaches like quantum neural network and quantum support vector machines. We examine computational complexity, architectural design, benchmarking findings, and real-world applications (such as optimization, cryptography, and classification). We also discuss important issues including scalability, data encoding, and noise, and we suggest future paths for error prevention and scalable structures.
This paper addresses the critical limitations of existing quantum machine learning (QML) frameworks concerning scalability, specifically their inability to efficiently handle large-scale quantum datasets. We propose a novel, scalable QML framework designed to effectively process these datasets and accelerate the training and inference of quantum machine learning algorithms. The core mechanism leverages quantum parallelism, constructing a framework capable of handling increased complexity. This work represents a significant advancement by directly tackling the scalability bottleneck in QML, establishing a foundational element for future developments in the field. The framework utilizes a modular architecture incorporating optimized quantum circuits and classical processing units for data preparation, model training, and result evaluation. The key innovation lies in the dynamic partitioning of quantum computations across multiple quantum processors, coupled with sophisticated data encoding strategies to mitigate the effects of qubit decoherence and limited qubit counts. This approach allows for the parallel execution of complex quantum algorithms, drastically reducing computational overhead and enabling the training of larger and more sophisticated models. We demonstrate the potential of this framework through theoretical analysis and algorithmic design, highlighting its advantages over traditional, monolithic QML implementations.