arXiv:2609.00372quant-phAug 2026

Manuscript Offprint

arXiv:2609.00372

Towards unsupervised representation learning for quantum data: quantum models with inference and generation

Robin Lorenz, Eric Brunner, Marcello Benedetti

Abstract

With quantum sensors, simulators and networks emerging, a future of quantum technology may produce quantum states as data—that is, coherently rather than as classical measurement records—thus motivating the study of suitable quantum generalisations of modern machine learning, including the automated, unsupervised extraction of useful representations. Two ingredients are central to the latter: inference, mapping observations to latent representations, and generation, mapping latent states back to synthetic data. Both are related to each other and to joint distributions for training models by the chain-rule of classical probability theory. The fact that quantum states however lack such universal, standard factorisation property thus poses a challenge.

Here we develop a conceptual and mathematical framework for unsupervised representation learning from quantum data. Models are joint quantum states over visible and latent systems; state-over-time maps provide a notion of factorisation into a marginal state and inference (generation) channel; models with inference (generation) are ambiguous states—states for which such factorisation obtains—subject to a further consistency condition on extended inference maps as data extension. These stipulations are restrictive: we show that non-trivial models must feature non-linear such maps to the extended space. For three representative state-over-time maps, we completely characterise the ambiguous states, uncovering a hierarchy tied to the positive-partial-transpose (PPT) criterion from entanglement theory. Notably, the Leifer-Spekkens construction supports inference and generation exactly for model classes of PPT states, thus allowing genuinely quantum visible-latent correlations. We also formulate quantum counterparts of exact and approximate inference training, explore weaker notions of data extension and sketch a future research programme.

1 Introduction

Real-world data such as text, image, audio and video data tend to be high-dimensional, multi-modal and heterogeneous. Machine learning (ML) models take as input numerical representations of such raw data and are trained to solve tasks such as classification, clustering, anomaly detection and next-token prediction, to name a few. The knowledge stored in the model is expected to transfer across multiple tasks and be relevant even when the distribution of the input changes. The key problem of extracting useful features from raw data is what the field of representation learning studies [BCV13]. Deep learning, which has been the predominant paradigm for representation learning since the early 2010s, has unlocked tremendous progress in many areas of application [LBH15]. Deep learning emphasises the importance of extracting a hierarchy of increasingly abstract representations from raw data. Ideally, the costly process of

*robin.lorenz@quantinuum.com †marcello.benedetti@quantinuum.com sifting through the noise of raw data to extract this hierarchy of features should be automated, i.e. the learning done in an unsupervised way. For example, a modern take on this consists of constructing pretext tasks on unlabelled data for the model to solve [JT21, JBZ +^{+}21, URW +^{+}25].

All this progress concerns a classical world where the real-world data is of a classical nature as are the methods, the models, the latent spaces for representation, and the hardware which models are run on. Usually the underlying problem or phenomenon is fundamentally classical, but even for data that arises from quantum systems and to which machine learning has been applied, such as particle detection in high-energy physics [ABB +^{+}26, Col26] or protein folding in biochemistry [NDC20, AAD +^{+}24], any data fed into models is, roughly speaking, classical records of measurement outcomes.

However, it is fascinating to entertain—and increasingly reasonable to anticipate—a future of quantum technology, in which quantum states are acquired by quantum sensors and quantum networks, prepared by programmable quantum simulators, and retained or transmitted through quantum memories or a quantum internet [DRC17, ZRJ+16, KBDGL19, SWS+26, ABC+21, EWL+21, WEH18, KSW+24]. Such platforms have already motivated learning tasks on coherently available quantum data, including quantum-state and phase classification, quantum principal-component analysis, and learning properties or dynamics of physical systems [HLR+22, HBC+22]. Though it is natural to ask more generally: what machine learning models could be deployed in such an environment? This requires a notion of quantum models that generalise classical models in that they take raw quantum states as input and process them in a fully quantum way—that is, coherently on a quantum computer. Moreover, suppose that the general high-level goal would still be to learn correlations in the data so as to perform a wide range of tasks such as classification, clustering and so on, though now on quantum data. Then, in light of the lessons from classical representation learning, one would expect that suitably generalised methods for representation learning may well again lead to significant improvements across many domains. We thus propose the study of unsupervised representation learning for quantum data and initiate its study in a principled manner.

Tracing the trajectory of classical breakthroughs in representation learning, two topics stand out as central: inference and generation. The first refers to a model's ability to predict and reason in a manner that is consistent with data; depending on the context, the 'inference map' is also called the encoder, used to represent data internally. The second refers to a model's ability to produce meaningful synthetic data; depending on the context, the 'generation map' is also called a decoder, used to decode internal representations. Both are stochastic maps—the first from some visible space X to some latent space Y, the second in the converse direction—subject to the condition of playing well with each other, i.e. being compatible with some suitable joint probability distribution on X and Y, which is what typically enters some objective function during training.

All these aspects—inference and generation, as well as their interplay—will need to be generalised. As is well known, and as we will discuss in more depth later, in quantum theory there is no obvious, standard analogue to the chain rule of probability theory, yet the latter is what underlies the classical constructions alluded to above. So how might one then go about a quantum generalisation? In particular, how does one factorise quantum states into something like an inference or generation map and a marginal state, or conversely, ‘put them back’ together? These will turn out central questions, to be discussed in detail below. In addition, note that when using models for inference or generation one would want—and we will focus on—models that enable doing inference or generation on a one-shot basis, i.e. outputting a corresponding inferred or generated state deterministically.

Now, one might wonder why such arguably natural questions would not have been addressed before in the field of quantum machine learning (QML), and more generally ‘quantum AI’, given its increasingly large and rich literature. Part of the reason is that QML encompasses several distinct regimes, depending on whether the data, the processing and the intended output are classical or quantum. Much of the literature begins with classical data, which are embedded into quantum states or supplied through a quantum access model, and uses quantum or hybrid processing for a classical task such as classification, probabilistic inference or sample generation [RML14, SK19, PSCLGFL20, LAT21, LPM +^{+}23, SCC24, ZY24]. Quantum algorithms for Bayesian or variational inference and quantum-assisted generative models similarly tend to represent or generate classical probability distributions [LYC14, MS18, BCF +^{+}21, BRGPO18, BGPP +^{+}19, CMDK20, HDG +^{+}21, RTK +^{+}22]. In another line of work, the object of study is a quantum system, but the learner acts on measurement records or other classical descriptions [dSNBMG26]. Recent work retaining coherent quantum inputs has established advantages for particular inference tasks, including tasks with quantum outputs [LTHC26], but does not aim at a generic unsupervised latent-variable model.

Closer in spirit, quantum autoencoders and fully quantum variational autoencoders map quantum states to a quantum latent system and reconstruct them [ROAG17, WWEG25, CPL26], while recent adversarial extensions learn a generator over the compressed latent states [RSSS25]. Their encoder and decoder, however, are directly parametrised operations rather than being constrained to arise as compatible factorisations of a common joint model. Quantum Boltzmann machines and quantum GANs can also learn or generate quantum states, sometimes using quantum visible and hidden units [KW17, LW18, Wil25], but generally do not endow the same model with an inference map. A particularly close recent development from the joint-state side is the DO-EM 1^{1} framework, which takes a visible-latent density operator as the model and formulates an information-projection step based on the data processing inequality, and with Petz recovery under suitable conditions [VSKB25]. To our knowledge, these approaches do not impose all the ingredients together: a single joint visible-latent quantum model admitting both inference and generation factorisations, with corresponding maps that yield valid states in the joint space for every input state and a construction that reduces, in the classical limit, to the two chain-rule factorisations of a joint distribution.

In this work we develop a first conceptual and theoretical framework for unsupervised representation learning for quantum data. In order to overcome the challenge posed by the lack of an obvious and generic analogue of the chain rule—a challenge one may in fact see as a manifestation of the famous no-cloning theorem—we take inspiration from works on ‘states over time’ [LS13, HHP +^{+}17, FP22] and define a suitable sense of a state factorising into a channel and a marginal state. On its basis we present definitions of quantum models with inference and generation, show that such models exist, sketch how one might in principle train them, and derive characterisation and no-go theorems for classes of models with various desirable properties.

In more detail, after recalling some key elements of classical representation learning (Sec. 2.1) and giving our conventions and notation for the quantum formalism (Sec. 2.2), we expand the analysis of the above mentioned key challenge in Sec. 2.3 by carefully contrasting with the classical case. Sec. 3 then lays out our general framework—the novel definitions lifting key ideas from classical representation learning to a quantum context—and argues that our desiderata are indeed appropriate. The framework involves in particular definitions of quantum data and model, data extension maps, a suitable notion of state-over-time (SOT) maps, which induces notions of ambiguous quantum states, which generalise how bipartite probability distributions factorise according to the chain rule, and on the basis of which we then define what a quantum model with inference and generation is; finally, we explain how data extension and SOT-map-based inference maps relate to one another, and what quantum generalisations of basic training setups look like.

Sec. 4 presents three examples of SOT maps from the literature which also fit our definition and which we then focus on for the purpose of this exposition: the Leifer-Spekkens (LS) notion [LS13], the Jordan-product notion [FJV15, HHP +^{+}17] and one based on the ordinary

1^{1}standing for ‘Density Operator Expectation Maximization’ operator product. Sec. 5 presents a general no-go result, establishing that well-behaved yet non-trivial models necessarily come with non-linear extended inference (and data extension) maps; we explain why this is not an in-principle issue. Sec. 6 studies the respective ambiguous states for each of the SOT maps from Sec. 4 and presents complete characterisation theorems for them, in one case rediscovering a result from [SP25]. All three are related to each other in interesting ways and to PPT states, i.e. ones with a positive partial transpose—a condition of great significance in entanglement theory since it implies limited (yet in general genuinely) quantum correlations known as bound entanglement [HHH98].

Sec. 7 puts all the pieces together and establishes the existence of classes of quantum models with inference and generation using the LS construction; the other SOT maps considered in this work, on the other hand, are affected by the no-go result. Finally, Sec. 8 touches on a much weaker goal than the rest of the work, exploring what it would mean to use a data extension map not induced by SOT-map based quantum inference and discusses a concrete construction to this end. We conclude in Sec. 9 with remarks on the wider relevance of the results and further discussion of future directions.