Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Mean Embeddings

Updated 13 July 2026
  • Quantum Mean Embeddings are generalizations of kernel mean embeddings that represent probability distributions as normalized quantum states or operator-valued measures.
  • They formulate classical measures in infinite-dimensional Hilbert spaces and reproducing kernel Hilbert modules, enabling quantum overlap and inner product estimation.
  • Applications include quantum tomography and anomaly detection with practical challenges in scalable state preparation and robust overlap estimation.

Quantum mean embeddings are quantum and operator-valued generalizations of kernel mean embeddings. In the current literature, the expression covers two closely related constructions. One represents a probability distribution as a normalized pure state in an infinite-dimensional Hilbert space so that inner products of classical mean embeddings become quantum overlaps (Kübler et al., 2019). Another generalizes classical scalar embeddings from probability measures to von Neumann-algebra-valued measures and Positive Operator-Valued Measures (POVMs) by replacing reproducing kernel Hilbert spaces (RKHSs) with reproducing kernel Hilbert modules (RKHMs), and, in a tensorized formulation, by integrating rank-one kernel operators against operator-valued measures (Hashimoto et al., 2020, Mayer et al., 24 May 2026). Both viewpoints preserve the role of kernel embeddings as linear representations of measures, but they differ in whether the target object is a unit vector, an element of a Hilbert module, or an operator on a tensor product space.

1. Classical kernel mean embeddings and the scope of the term

Classical kernel mean embedding starts from a measurable space equipped with a probability measure and a positive definite kernel. With feature map φ(x)=k(,x)\varphi(x)=k(\cdot,x) and RKHS HkH_k, the embedding is

μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),

and the induced inner product satisfies

μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).

The maximum mean discrepancy (MMD) is the RKHS norm of the difference of two embeddings, and for characteristic kernels it vanishes if and only if the underlying measures coincide. Universality refers to density of the RKHS in a target function space such as C0(X)C_0(X), and on many spaces characteristicness and universality are closely related or equivalent (Kübler et al., 2019).

Within this classical template, the quantum literature has developed several non-identical extensions.

Construction Embedded object Target space
Classical KME Probability measure RKHS
Pure-state QME Probability distribution Unit sphere of a Hilbert space
Operator-valued QME / QCE POVM or von Neumann-algebra-valued measure RKHM or R(K)QR(K)\otimes Q

The pure-state construction retains scalar kernels but realizes the embedding as a quantum state. The operator-valued construction changes the measure itself: scalar measures are replaced by operator-valued measures, the inner product becomes operator-valued, and scalarization is introduced only when required. A further tensorized development, the Quantum Covariance Embedding (QCE), embeds POVMs through operators of the form kxkxk_xk_x^* rather than through first-order feature vectors. This makes “quantum mean embedding” a family of closely allied constructions rather than a single formalism (Hashimoto et al., 2020, Mayer et al., 24 May 2026).

2. Pure-state realizations in infinite-dimensional Hilbert spaces

In the pure-state formulation, a quantum feature map assigns to each xXx\in X a normalized state φ(x)|\varphi(x)\rangle in a Hilbert space HH, inducing the kernel

HkH_k0

with HkH_k1 because of normalization. For a probability distribution HkH_k2, the quantum mean embedding is

HkH_k3

where

HkH_k4

The relation

HkH_k5

shows that classical kernel inner products can be recovered from quantum overlaps together with the known normalization factors. The empirical version is

HkH_k6

with

HkH_k7

This gives an explicit state-vector realization of an embedding that is otherwise handled only implicitly through the kernel trick (Kübler et al., 2019).

Injectivity is inherited from universality. If HkH_k8 is universal over HkH_k9, then μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),0 is injective over Borel probability measures. The canonical continuous-variable realization uses coherent states,

μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),1

for which

μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),2

A bandwidth parameter μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),3 is included by mapping μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),4. Because the Gaussian kernel is universal, this coherent-state model yields an injective quantum mean embedding. The empirical QME is then a superposition of coherent states, described in the paper as a “cat state” (Kübler et al., 2019).

Inner products and MMD can be estimated quantumly through overlap estimation. For states μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),5 and μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),6, the SWAP test produces

μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),7

When overlaps are nonnegative, as for Gaussian kernels, one recovers μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),8. The paper further gives a linear-time normalization trick based on a reference state μP=Xφ(x)dP(x),\mu_P=\int_X \varphi(x)\,dP(x),9 and discusses a conjectured reduction from classical μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).0 kernel summation to μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).1 time provided that state preparation costs μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).2 and overlap estimation is constant-time in μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).3. The same work emphasizes that scalable preparation of μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).4 and universal overlap estimation in continuous-variable systems remain open challenges (Kübler et al., 2019).

3. Von Neumann-algebra-valued measures and reproducing kernel Hilbert modules

A more structural notion of quantum mean embedding starts from a von Neumann algebra μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).5 acting on a Hilbert space, together with an μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).6-valued measure μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).7. Because μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).8 is generally noncommutative, integration must distinguish left and right versions,

μP,μQHk=k(x,y)dP(x)dQ(y).\langle \mu_P,\mu_Q\rangle_{H_k}=\iint k(x,y)\,dP(x)\,dQ(y).9

and the construction in the paper uses the right integral. An C0(X)C_0(X)0-valued positive definite kernel is a map C0(X)C_0(X)1 such that C0(X)C_0(X)2 and

C0(X)C_0(X)3

for finite sets C0(X)C_0(X)4 and coefficients C0(X)C_0(X)5. The associated feature map is C0(X)C_0(X)6, and the RKHM C0(X)C_0(X)7 is the completion of finite sums C0(X)C_0(X)8 under the C0(X)C_0(X)9-valued inner product

R(K)QR(K)\otimes Q0

The reproducing property becomes

R(K)QR(K)\otimes Q1

Here the inner product itself carries operator information instead of collapsing immediately to scalars (Hashimoto et al., 2020).

For a bounded R(K)QR(K)\otimes Q2-kernel and a finite regular R(K)QR(K)\otimes Q3-valued Borel measure, the embedding is

R(K)QR(K)\otimes Q4

It is characterized by

R(K)QR(K)\otimes Q5

and the inner product between two embeddings is

R(K)QR(K)\otimes Q6

The module also carries an R(K)QR(K)\otimes Q7-valued absolute value via R(K)QR(K)\otimes Q8. To obtain scalar distances, one applies a faithful normal state R(K)QR(K)\otimes Q9 on kxkxk_xk_x^*0,

kxkxk_xk_x^*1

which expands analogously to classical MMD. Without scalarization, the RKHM analogue of MMD over the unit ball is

kxkxk_xk_x^*2

This preserves operator structure and allows direct treatment of POVMs, density operators, and higher-order interactions among variables (Hashimoto et al., 2020).

4. Injectivity, universality, and discrepancy functionals

For the RKHM construction, injectivity is formulated by the condition

kxkxk_xk_x^*3

The paper gives sufficient conditions in the finite-dimensional operator case kxkxk_xk_x^*4 with kxkxk_xk_x^*5. If kxkxk_xk_x^*6 with a positive semidefinite kxkxk_xk_x^*7-valued measure kxkxk_xk_x^*8 satisfying kxkxk_xk_x^*9, then xXx\in X0 is injective. If

xXx\in X1

with positive definite xXx\in X2-valued measure xXx\in X3 and xXx\in X4, then xXx\in X5 is also injective. Concrete covered kernels include matrix-valued diagonal kernels whose diagonal entries are Gaussian, Laplacian, B-spline, or inverse multiquadratic kernels. In the same finite-dimensional setting, xXx\in X6 is injective if and only if xXx\in X7 is dense in xXx\in X8 in the sup-norm topology. For general von Neumann algebras, density of xXx\in X9 in φ(x)|\varphi(x)\rangle0 is a sufficient condition for injectivity, while the converse remains open (Hashimoto et al., 2020).

The tensorized QCE line gives an operator-level discrepancy for POVMs. For a φ(x)|\varphi(x)\rangle1-kernel φ(x)|\varphi(x)\rangle2 with RKHS φ(x)|\varphi(x)\rangle3 and POVM φ(x)|\varphi(x)\rangle4, there exists a unique bounded, non-negative definite operator

φ(x)|\varphi(x)\rangle5

characterized by

φ(x)|\varphi(x)\rangle6

This induces the Quantum Maximum Discrepancy

φ(x)|\varphi(x)\rangle7

If φ(x)|\varphi(x)\rangle8 is characteristic for scalar measures on φ(x)|\varphi(x)\rangle9, then it is characteristic for POVMs as well, and HH0 becomes a metric on the space of POVMs. The conditional version for a fixed state HH1 is

HH2

and the operator-level discrepancy dominates the supremum of conditional discrepancies over states. In this framework, the classical first-order mean embedding is replaced by a covariance-type operator HH3, reflecting the covariance-like structure of density operators (Mayer et al., 24 May 2026).

5. Quantum measurements, tomography, and higher-order structure

The operator-valued viewpoint is motivated by quantum mechanics and by multivariate dependence structure. A POVM HH4 is an HH5-valued measure, and for a density operator HH6 the measure HH7 defined by HH8 captures outcome probabilities together with operator weights. A concrete finite-dimensional example uses

HH9

together with the POVM

HkH_k00

for an orthonormal basis HkH_k01. Then, for density matrices HkH_k02,

HkH_k03

so a standard Hilbert–Schmidt similarity appears as a special case of the RKHM construction. The same paper also defines matrix-valued cross-covariance measures for multivariate random variables and shows, for separable kernels, that the RKHM distance recovers the Hilbert–Schmidt difference of matrices of cross-covariance operators. This keeps pairwise interaction structure explicit rather than collapsing all comparisons to scalars (Hashimoto et al., 2020).

In the QCE framework, the embedding is applied directly to tomography. Density estimation is reformulated as tensorized kernel regression, leading to the QUAntum Regression with Kernels (QUARK) estimator. The paper states that this accommodates the spectral geometry of physical implementations, derives a central limit theorem and concentration inequalities, and proves exactness of trace-preserving projections. It also develops a geometric design theory for quantum Gram superoperators in which unitary designs are strictly E-optimal experimental designs and are therefore statistically superior to Pauli observables. For structure-free estimation, it derives the exact minimax lower bound and proves that the tensorized estimators achieve the optimal rate. Under mutually unbiased bases, efficient estimation is obtained through the fast Walsh-Hadamard transform (Mayer et al., 24 May 2026).

These applications clarify a central distinction from scalar quantum kernel methods. In the RKHM and QCE approaches, the kernel and the embedding are operator-valued, so POVMs, density operators, and multivariate relations are handled within one noncommutative framework. Scalarization via a faithful normal state or via trace is optional and task-dependent rather than intrinsic to the definition (Hashimoto et al., 2020).

6. Empirical methods, computational prospects, and limitations

Empirical operator-valued embeddings are obtained from weighted Dirac approximations. Given pairs HkH_k04 with HkH_k05,

HkH_k06

and the empirical inner product is

HkH_k07

The same framework defines operator-valued two-sample statistics and kernel PCA in RKHM. On climate data, the HkH_k08-valued MMD using a diagonal Gaussian matrix kernel achieved better acceptance rates when the samples came from the same type and lower acceptance when they differed than classical scalar MMDs. For quantum anomaly detection with density matrices containing phase or amplitude errors, RKHM kernel PCA achieved higher AUCs across eight error types than prior methods based on Hilbert–Schmidt inner products (Hashimoto et al., 2020).

In the pure-state setting, the main computational prospect is that overlap estimation depends on the size of the prepared quantum states rather than on explicit HkH_k09 kernel summation. The cited proposal shows how inner products and empirical MMD can be reduced to state preparation, overlap estimation, and normalization recovery; it also emphasizes that scalable preparation of superpositions of many nonorthogonal states, universal SWAP-test implementations in continuous-variable systems, and robustness to decoherence, photon loss, detector inefficiencies, and phase noise are unresolved practical constraints (Kübler et al., 2019).

Related developments broaden the surrounding algorithmic landscape. “Q-means using variational quantum feature embedding” constructs characteristic cluster quantum states

HkH_k10

and minimizes inter-cluster overlap, equivalently maximizing Hilbert–Schmidt distance between pure cluster representatives (Menon et al., 2021). “Entaglement-Based Quantum Mean Estimator Circuit” proposes a QRAM-based circuit for estimating empirical means with stated complexity HkH_k11 (Tamirat, 2019). “Near-Optimal Quantum Algorithms for Multivariate Mean Estimation” gives covariance-sensitive Euclidean guarantees in a binary oracle model, proves matching lower bounds up to logarithmic factors, and shows that the phase-oracle model is strictly weaker for mean estimation (Cornelissen et al., 2021). These works address coherent cluster representatives and mean-estimation primitives rather than the RKHM or QCE definitions themselves, but they illuminate the computational subroutines and access models that quantum mean-embedding methods may rely on.

Across the literature, the principal limitations are consistent. The operator-valued line requires bounded HkH_k12-kernels, finite regularity assumptions, and care with left and right integrals in noncommutative settings; injectivity-equivalence with universality is fully established only in finite-dimensional operator algebras (Hashimoto et al., 2020). The tensorized tomography line is developed in finite-dimensional quantum systems and requires additional structure to extend to infinite dimensions (Mayer et al., 24 May 2026). The pure-state line depends on efficient state preparation and overlap estimation that have not yet been realized at scale in continuous-variable hardware (Kübler et al., 2019). Quantum mean embeddings therefore form a mathematically coherent family of constructions with strong representational and metric properties, but their algorithmic advantages remain conditional on demanding physical and computational assumptions.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quantum Mean Embeddings.