arXiv:2609.31070eess.IVSep 2026

Manuscript Offprint

arXiv:2609.31070

Quantum Diffusion Models for Medical Image Analysis

Francesco Aldo Venturelli, Stefano Martina, Marco Parigi, Filippo Caruso, Alba Cervera-Lierta, Miguel A. González Ballester

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Francesco Aldo Venturelli, 1,2,a^{1,2,a} Stefano Martina, 3,4,b^{3,4,b} Marco Parigi, 3,c^{3,c} Filippo Caruso, 3,4,d^{3,4,d} Alba Cervera-Lierta, 2,e^{2,e} and Miguel A. González Ballester. 1,2,5,f^{1,2,5,f}

1^{1}BCN Medtech, Department of Engineering, Universitat Pompeu Fabra, Barcelona, Spain,

2^{2}Barcelona Supercomputing Center, Barcelona, Spain,

3^{3}Department of Physics and Astronomy, University of Florence, Sesto Fiorentino, Florence, Italy,

4^{4}LENS - European Laboratory for Non-Linear Spectroscopy,

University of Florence, Sesto Fiorentino, Florence, Italy,

5^{5}ICREA, Barcelona, Spain.

Quantum Machine Learning is a novel field of research aimed at devising machine learning approaches exploiting principles of quantum mechanics, such as superposition, entanglement and interference. In this context, we present a scalable hybrid Quantum Diffusion Model, and evaluate its use for medical image analysis. Specifically, our method is based on a Discrete-Time Quantum Walk algorithm, executed on a real quantum device, to model the forward dynamics of the diffusion model. For the backward step of the diffusion model, we devise and evaluate a classical learning model, which is used to reversely denoise the data. In contrast with other existing attempts at applying quantum machine learning for image analysis tasks, severely limited by the size of existing quantum devices, our method allows to process real-world large size medical data. In particular, we present results on grayscale and RGB images, as well as 3D volumes of moderate sizes. We benchmark our results by reproducing an alternative classical counterpart model, based on diffusion models on discrete state spaces. By doing so, we compare the generation capabilities of both models in terms of three distinct state-of-the-art metrics in the field of image generation, showing the competitive, promising results of our approach.

Keywords: Quantum Machine Learning; Quantum Generative Diffusion Models; Medical Image Analysis; Quantum Computing; Generative AI

I. INTRODUCTION

Recent years have witnessed the rapid ascent of Generative AI (GenAI) models, which are Deep Learning (DL) algorithms able to learn the distribution of training data and generate new samples, reflecting specific attributes of the data distribution. Within this field, Diffusion Models (DMs) have consolidated as one of the top performing models in the state-of-the-art. Introduced by Sohl et al. [1] in 2015, DMs are inspired by the physical process of diffusion, where a system, initially in an ordered state, progressively evolves into a disordered (noisy) state through a sequence of stochastic processes. Their general algorithmic structure is composed of two steps: i) a forward diffusion process in which data samples are gradually corrupted by noise; and ii) a backward denoising process in which a learning algorithm is used to recover the data samples and learn their underlying unknown distribution [2]. The success of DMs is demonstrated by the variety of applications in which they are used. For example, DMs are widely used in the healthcare domain for synthetic data generation, image reconstruction and restoration [3], and to support diagnosis, analysis and prognosis [4–6].

In parallel to Artificial Intelligence (AI), Quantum Computing (QC) is progressively gaining attention, as its underlying quantum mechanical principles promise to solve complex computational problems that are resource-intensive or entirely intractable for classical computers. The intuition behind QC relies on the fact that quantum mechanical properties typically require an exponential number of the so-called amplitudes ( ∼2n\sim 2^{n}) to describe an n-particle system, which for large systems, is beyond the computational capabilities of classical computing. In contrast, quantum computers require instead a polynomial number of quantum bits (qubits) to encode such a system. Therefore, the promising advantage of QC relies on the more efficient encoding and processing of these amplitudes. Despite the promising potential, QC is still in its early stage, and several issues limit its practical applicability. In particular, one needs to build such a quantum computer and overcome the unavoidable experimental errors. While quantum error correction protocols are well-known, their full implementation and deployment are still a technological barrier. Nevertheless, we have already quantum computers called noisy (i.e. without error correction) that have proved certain advantages over classical computers in specific tasks [7–10].

Quantum Machine Learning (QML) is a novel research field which regards the interplay of Machine Learning (ML) techniques and quantum information and technologies. From its birth in 2013 [11–13], there have been many attempts to reformulate well known classical ML problems into their quantum versions. However, due to the current limitations of noisy intermediate-scale quan-

a^{a} francescoaldo.venturelli@upf.edu

b^{b} stefano.martina@unifi.it; Corresponding author

c^{c} marco.parigi@unifi.it

d^{d} filippo.caruso@unifi.it

e^{e} alba.cervera@bsc.es

f^{f} ma.gonzalez@upf.edu tum (NISQ) devices, today many QML algorithms are often restricted to simplified problems, where data are severely reduced in dimensionality, or combined with classical models in the so-called hybrid quantum-classical frameworks [14, 15]. In recent years, a wide variety of such algorithms has been proposed and investigated, showing the potential, but also the drawbacks, of the interaction between QC and classical ML methods in several domains, such as image classification and pattern recognition [16–21], chemistry [22, 23], combinatorial optimization [24, 25], quantum noise spectroscopy [26–29], and sensing [30].

As the interest surrounding GenAI has rapidly increased in recent years, several Quantum Generative AI (QGenAI) algorithms have been proposed, including Quantum Generative Adversarial Network (QGAN) and Quantum Variational Autoencoders (QVAE). A few works showcase applications of these methods for medical image analysis, including data generation [31], reconstruction of spine volumes from 2D data [32], or data augmentation for skin cancer detection [33, 34].

Quantum Diffusion Models (QDMs) are an emerging class of generative algorithms, aimed at running on current quantum computers, that encompass three main approaches, depending on which elements of the DM are quantum (the forward process, backward, or both). The theoretical foundations and implementations have been discussed for the first time in our previous work [35]. Although in an early stage, QDMs have been applied in classical domains such as image generation [36, 37], as well as in quantum tasks such as the reconstruction and generation of pure and mixed quantum states [38–43]. In addition, numerical studies indicate that hybrid quantum-classical designs can enhance the quality of generated data [37], learn complex quantum probability distributions [44], reduce the number of trainable parameters required in the reverse denoising process [45, 46], and overcome dimensional factorization limits in discrete DMs [47]. To the best of our knowledge, only two works have explored the use of QDM for medical image analysis [48, 49], both using classical U-Net architecture enhanced with quantum layers for the backward process only. In contrast, our method significantly departs from this scheme, as we design a quantum forward and a classical backward process, exploiting the intrinsic noise of current real quantum devices in the forward diffusion process.

This work builds upon our previously proposed hybrid quantum-classical QDM algorithm [50]. Not only we present the novel use of the method for medical imaging applications, through studies on several types of datasets, but we also incorporate significant methodological contributions, both in the quantum forward process (e.g. the study of different topologies for the quantum noise process on real devices, and the increment of intensity levels in the Quantum Random Walk component of the method) and the classical backward process (e.g. novel architecture and loss function, with respect to [50]).

We apply our method to real-world medical data, in particular grayscale and RGB 2D images and 3D volumes from three datasets (BloodMNIST [51], BraTS2020 [52–54], and FractureMNIST3D [51]). Evaluation is performed using three state-of-the-art metrics (Kullback-Leibler (KL) divergence, Fréchet Inception Distance (FID) and Structural Similarity Index Measure (SSIM)).

Experiments are performed both via simulation of the QDM in classical devices, and the experimental implementation on a real quantum computer, employing for the later error mitigation techniques. Additionally, we reproduce the main classical DM originally proposed in [55, 56] in two different setups to perform a comparison between the existing classical methods applied to categorical data and our approach on NISQ quantum devices.

This work is organized as follows. The basic principles of DMs are briefly described in section II A and further details focusing on discrete-space DMs are provided in section SB in the supplementary material. The forward process of our hybrid method is described in section II B, focusing on the Discrete-Time Quantum Walk (DTQW) and its mathematical formulation. Then, we describe the backward model in section II C, and losses and metrics used to validate our experiments in section II D, and section II E. After describing the datasets used in section II F, we present the results of the experiments in section III, and provide final discussion and conclusions in section IV.