[Paper Review] Quantum Advantage Seeker with Kernels (QuASK): a software framework to speed up the research in quantum machine learning
QuASK is an open-source Python framework that accelerates quantum machine learning research by automating data processing, quantum kernel computation, and result analysis. It supports state-of-the-art quantum kernel techniques—including trainable, projected, and structure-optimized kernels—via integration with PennyLane, enabling efficient experimentation on both simulators and real NISQ hardware, with built-in metrics for identifying quantum advantage potential.
Exploiting the properties of quantum information to the benefit of machine learning models is perhaps the most active field of research in quantum computation. This interest has supported the development of a multitude of software frameworks (e.g. Qiskit, Pennylane, Braket) to implement, simulate, and execute quantum algorithms. Most of them allow us to define quantum circuits, run basic quantum algorithms, and access low-level primitives depending on the hardware such software is supposed to run. For most experiments, these frameworks have to be manually integrated within a larger machine learning software pipeline. The researcher is in charge of knowing different software packages, integrating them through the development of long code scripts, analyzing the results, and generating the plots. Long code often leads to erroneous applications, due to the average number of bugs growing proportional with respect to the program length. Moreover, other researchers will struggle to understand and reproduce the experiment, due to the need to be familiar with all the different software frameworks involved in the code script. We propose QuASK, an open-source quantum machine learning framework written in Python that aids the researcher in performing their experiments, with particular attention to quantum kernel techniques. QuASK can be used as a command-line tool to download datasets, pre-process them, quantum machine learning routines, analyze and visualize the results. QuASK implements most state-of-the-art algorithms to analyze the data through quantum kernels, with the possibility to use projected kernels, (gradient-descent) trainable quantum kernels, and structure-optimized quantum kernels. Our framework can also be used as a library and integrated into pre-existing software, maximizing code reuse.
Motivation & Objective
- To reduce the complexity and error rate of quantum machine learning experiments by automating pipeline integration across quantum and classical ML tools.
- To enable researchers to efficiently explore and benchmark quantum kernel methods without writing extensive low-level code.
- To support the identification of quantum advantage through standardized, theory-grounded evaluation metrics.
- To provide a modular, extensible platform that integrates with existing quantum software stacks like PennyLane, Qiskit, and Braket.
- To facilitate reproducibility and code reuse by encapsulating quantum kernel workflows into a reusable, command-line and library-ready framework.
Proposed method
- QuASK implements a command-line interface for downloading, preprocessing, and analyzing datasets, with built-in support for quantum kernel estimation.
- It supports three quantum kernel computation methods: overlap test, C-SWAP test, and projected kernel via measurement of expectation values with a Hermitian operator H.
- The framework enables parametric quantum feature maps using unitary transformations Uϕ(x), with support for trainable parameters via gradient descent using optax.
- It integrates structure learning techniques such as simulated annealing and genetic algorithms to optimize quantum circuit architecture.
- QuASK is agnostic to underlying quantum frameworks, enabling execution on simulators and real NISQ devices via PennyLane plugins for IBM, Rigetti, IonQ, and OQC.
- The framework includes a metrics module to compute alignment, geometric difference, and model accuracy—key indicators for assessing potential quantum advantage.
Experimental results
Research questions
- RQ1Can a unified software framework reduce the development and debugging overhead in quantum machine learning experiments?
- RQ2To what extent can automated quantum kernel computation accelerate the search for quantum advantage in real-world datasets?
- RQ3How effectively can QuASK support the training and optimization of quantum kernels using both gradient-based and combinatorial optimization techniques?
- RQ4What is the impact of hardware noise on quantum kernel performance, and how well can QuASK simulate or predict this on real devices?
- RQ5Can QuASK’s modular design enable seamless integration with existing ML and quantum software stacks to improve reproducibility and code reuse?
Key findings
- QuASK reduces the likelihood of implementation errors by abstracting low-level quantum circuit coding into high-level, reusable components.
- The framework enables rapid prototyping and benchmarking of quantum kernels, including projected, trainable, and structure-optimized variants, with minimal user code.
- Integration with PennyLane allows execution on real NISQ hardware, including IBM, Rigetti, IonQ, and OQC devices, via dedicated plugins.
- The use of JAX acceleration in PennyLane simulations significantly improves performance for quantum kernel estimation.
- QuASK’s built-in metrics—such as target-kernel alignment and geometric difference—provide quantitative indicators for identifying potential quantum advantage.
- The framework supports both classical and quantum feature maps, with extensibility for user-defined unitary transformations and optimization strategies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.