arXiv:2602.18364 · cs.IT · uncurated · rendered via ar5iv

Quantum Maximum Likelihood Prediction via Hilbert Space Embeddings

Title and authors will populate once this paper is indexed.
This paper is rendered from ar5iv. Reproductions and verdicts are not yet available — but you can leave a comment below.

Quantum Maximum Likelihood Prediction via Hilbert Space Embeddings

Sreejith Sreekumar S. SreekumarL2S, CNRS, CentraleSupélec, University of Paris-Saclay, France Email address: sreejith.sreekumar@centralesupelec.fr and Nir Weinberger N. Weinberger Electrical and Computer Engineering, Technion, Israel Email address: nirwein@technion.ac.il
Abstract.

Recent works have proposed various explanations for the ability of modern large language models (LLMs) to perform in-context prediction. We propose an alternative conceptual viewpoint from an information-geometric and statistical perspective. Motivated by Bach 2023, we model training as learning an embedding of probability distributions into the space of quantum density operators, and in-context learning as maximum-likelihood prediction over a specified class of quantum models. We provide an interpretation of this predictor in terms of quantum reverse information projection and quantum Pythagorean theorem when the class of quantum models is sufficiently expressive. We further derive non-asymptotic performance guarantees in terms of convergence rates and concentration inequalities, both in trace norm and quantum relative entropy. Our approach provides a unified framework to handle both classical and quantum LLMs.

Key words and phrases: 
Rényi divergence, deviation inequality, variational estimator, smoothed plug-in estimator, differential privacy

1. Introduction

Prediction is a primitive task with numerous applications in machine learning, statistics, information theory, physics, finance, and engineering. The basic prediction problem pertains to providing an informed guess about the next outcome, Xn+1X_{n+1}, of a sequence, given the previous observations X1,…,XnX_{1},\ldots,X_{n}. This problem has been studied from multiple perspectives, e.g., machine learning (Cesa-Bianchi and Lugosi 2006) and information theory (Merhav and Feder 1998).

At their core, and with much simplification, modern large language models (LLMs) are such predictors, in the sense that during inference they induce a probability distribution over the next token (symbol, word, sentence, etc.) based on previous ones. Nonetheless, the recent remarkable success of LLMs is challenging to theoretically explain and align with the standard classic results. In the classical theory, the performance of the predictor degrades with the dimension of the parameter vector used to determine the predictor. Specifically, under the common log loss (cross-entropy), the expected regret in predicting that a sample from a probability distribution PP follows a probability distribution QQ is given by the Kullback–Leibler (KL) divergence, 𝖣𝖪𝖫​(P∥Q)\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q\right). In the minimax framework, the regret scale linearly with this dimension of the model class of QQ (e.g., Krichevsky and Trofimov 1981; Rissanen 1983; Yang and Barron 1999; Haussler and Opper 1997, Polyanskiy and Wu 2025). For LLMs, the dimensionality of the parameter may be attributed to either (i)(i) the number of parameters in the architecture (which can be on the order of billions) and various refinements of effective dimension (e.g. Golowich et al. 2020), or (i​i)(ii) the cardinality of the vocabulary, assuming that the architecture is expressive enough to allow any probability distribution over the vocabulary. The vocabulary 𝒲\mathcal{W} of the tokens corresponds to ones used in a useful language, and thus is typically large, say on the order of hundred thousands. Even in a simplistic setting, in which the model operates on independent and identically distributed (i.i.d.) sentences of tokens, say of length kk, the resulting vocabulary of sentences is astronomical |𝒲|k|\mathcal{W}|^{k}. This suggests that training and inference must rely on some inductive bias, whether explicit or implicit.

Moreover, following the LLM training, the ability of the model to perform in-context learning (ICL) emerges: Given only a short prompt, the model is capable of accurate prediction of the next tokens (e.g., as an answer to a question described in the prompt), even without any fine-tuning for this specific task. Various theoretical works suggest that ICL can be viewed as an inference-time activation of a simple statistical procedure induced by the learned representations. For example, in stylized generative settings, pretrained sequence models were shown to perform implicit Bayesian inference over latent concepts, turning a short context into a posterior predictive rule (Xie et al. 2022). Other works show that transformers implement standard estimators and learning dynamics in-context, e.g., ridge/least-squares rules and gradient-based updates (Akyürek et al. 2023). The function-class ICL framework models a prompt as i.i.d. samples from an underlying task prior, and shows that LLMs can match various standard statistical inference procedures such as optimal least squares, even on unseen tasks. This suggests that the core of the prediction is achieved by learning a representation in which prompt-conditioned prediction reduces to a low-complexity update (Garg et al. 2022). Recent results substantially broaden this point of view, showing that transformers can realize a family of in-context procedures (least squares, ridge, Lasso, generalized linear models, gradient descent) and even select among them based on the sequence, hence reinforcing the interpretation of ICL as statistical decision rules instantiated at inference time (Bai et al. 2023).

From a bird’s-eye view, an LLM takes a token sequence as input and embeds each token as a vector in a Hilbert space. The model architecture is designed to capture dependencies and relations between tokens at various scales. For example, in the transformer, this is achieved by cascading several multi-head attention units and feedforward neural nets that capture dependencies between different features in neighboring tokens by projecting features and computing their interactions. The embedding into a Hilbert space provides a geometry in which token similarity is quantified by inner products, whereas the original discrete space lacks an intrinsic geometric structure. Additionally, this Hilbert space equipped with the notion of orthogonality provides a natural setting where optimization algorithms such as stochastic gradient descent (SGD) can be performed efficiently and analyzed.

In this paper, we propose and analyze a simple conceptual model of ICL based on embedding probability distributions as quantum density operators, and we characterize how such embeddings can improve prediction relative to classical prediction approaches. Our analysis leads to several useful insights on properties of efficient embeddings and models. Our model assumes that during training, an effective embedding of sequences of tokens x=(w1,w2,…,wk)∈𝒳=𝒲kx=(w_{1},w_{2},\ldots,w_{k})\in\mathcal{X}=\mathcal{W}^{k} to vectors |φ⁡(x)⟩|\varphi(x)\rangle in a Hilbert space has been learned. Intuitively, since the embedding is to a finite-dimensional Hilbert space of dimension much smaller than the vocabulary, the curse of large vocabulary is alleviated, and the discrete geometry between words in the vocabulary (Hamming distance or “zero-one” similarity) is replaced by the inner product in the embedded space. To model the prompt during the in-context learning phase, we assume that a sequence of nn i.i.d. symbols X1n=(X1,X2,…,Xn)X_{1}^{n}=(X_{1},X_{2},\ldots,X_{n}) from an unknown distribution PP is observed, and the model predicts the next symbol Xn+1X_{n+1} via a probability distribution QQ, while aiming to minimize the mean log loss −𝔼P​[log⁡Q⁡(Xn+1)]-\mathbb{E}_{P}[\log Q(X_{n+1})].

Our proposed predictor utilizes the learned embedding by a mapping of the empirical distribution of the symbols X1nX_{1}^{n} into the embedded domain. A natural baseline is the mean embedding, in which a probability distribution QQ is mapped to 𝔼X∼Q​[|φ​(X)⟩]\mathbb{E}_{X\sim Q}[|\varphi(X)\rangle]. Although widely used (Muandet et al. 2017), this embedding induces a Euclidean geometry on the space of probability distributions, which does not align with the log lossm the geometry for the probability simplex, and information-theoretic objectives. As recently argued and explored by Bach 2023, a more natural embedding of probability distributions is to the covariance operator 𝔼X∼Q​[|φ⁡(X)⟩​⟨φ⁡(X)|]\mathbb{E}_{X\sim Q}[|\varphi(X)\rangle\langle\varphi(X)|], or, in quantum-information terms (Wilde 2017; Hayashi 2016), as a density operator. The resulting geometry is based on the quantum relative entropy, which is a natural generalization of the KL divergence (which is the expected log loss up to an entropy correction).

This induces the bias that closeness in quantum relative entropy correlates with predictive accuracy after processing them back to classical probability distributions over the output. Therefore, our proposed simple predictor for the in-context learning step is the quantum maximum likelihood predictor (QMLP), based on the embedding of the empirical distribution of X1nX_{1}^{n} to a density operator.

Given a density operator, a classical output distribution is obtained by applying a measurement and using the Born rule. While the choice of measurement also induces bias, an accurate QMLP in terms of the quantum relative entropy directly implies an accurate predictor in terms of measured relative entropies, i.e., the maximum KL divergence between probability distributions induced by quantum measurements. This is because any processing of the density operator to a probability distribution over a classical vocabulary is a quantum measurement channel, and by the quantum date-processing inequality, the KL divergence between the measurement output distributions is smaller than the quantum relative entropy between the density operators. Hence, as an additional benefit, our model allows to address prediction in the context of quantum LLMs (see e.g., (Basile and Tamburini 2017; Kim et al. 2025)) on the same footing. In such systems (Nielsen and Chuang 2001), a quantum state is prepared, then processed by quantum gates, and finally measured by a positive operator-valued measure (POVM) to obtain a classical probability distribution over the output vocabulary.

Given the above context for our proposed predictor, several natural basic questions emerge: What are the information-geometric and non-asymptotic statistical properties of performing MLP in the space of embedded states rather than the original space of probability distributions? As we show below, the smaller dimension of the Hilbert space (e.g., in the context of LLMs), compared to the original alphabet size of the discrete distributions (which can be large or even infinite), enables QMLP to have a much better convergence rate than its analogue in the distribution space.

1.1. Contributions

Our main contributions can be summarized as follows:

  1. (i)

    We show that under model-class symmetries that are natural for learning via embedding (unitary invariance and closure under pinching operation), the QMLP objective reduces to a classical KL divergence objective on eigenvalues (Proposition 1), and provide a geometric interpretation of this equivalence in terms of a refined version of the quantum Pythagorean theorem (Theorem 1).

  2. (ii)

    We obtain non-asymptotic upper bounds (Theorem 2) quantifying the expected rate of convergence of QMLP (and MLP) to the target state both in trace norm and quantum relative entropy. We also obtain the corresponding concentration inequalities. These bounds depend on the dimension dd of the Hilbert space, the prompt length nn, and the minimal positive eigenvalue of the embedded quantum state corresponding to the true data distribution. For instance, our bounds show that the rate of convergence in trace norm is O~​(d/n)\tilde{O}(d/\sqrt{n}) (up to an additive approximation slack factor) in general and O~​(d3/n)\tilde{O}(d^{3}/n) when the class of quantum models is sufficiently expressive, where O~​(⋅)\tilde{O}(\cdot) hides logarithmic factors and dependence on minimal eigenvalue. Under additional conditions on the expressivity of quantum models measured in terms of quantum relative entropy, the corresponding rates of convergence under quantum relative entropy are O~​(d/n)\tilde{O}(d/\sqrt{n}) and O~​(d2/n)\tilde{O}(d^{2}/n), respectively.

The proof of Proposition 1 relies on elementary arguments involving quantum measurements and data-processing inequality. The proof of quantum Pythagorean theorem involves adapting the proof of the corresponding classical result given in Csiszár and Shields 2004 to the non-commutative setting. The essential ingredients in the proof of Theorem 2 are the variational expression for quantum relative entropy (see (2)), matrix Hoeffding and Bernstein inequalities, a second order Taylor expansion for quantum relative entropy and Proposition 2, which relates trace norm between QMLP and embedded state (corresponding to true distribution) to terms involving quantum relative entropy. Our bounds are tailored to embedded empirical states and QMLP, giving explicit dependence on embedding dimension and spectral conditioning. This yields prediction-oriented bounds relating the prompt length and the embedding dimension, which differs from existing tomography-oriented bounds, e.g., (Koltchinskii and Xia 2015; Ferrie and Blume-Kohout 2016).

1.2. Related work

Several recent studies have attempted to unlock the learning phenomenon in LLMs from different viewpoints, e.g., modeling the transformer as a finite state machine and quantifying the ability of transformers for learning via approximation of linear functions. For instance, Basu et al. 2023 considers Markov models for both data and transformer and shows that the average empirical loss as measured by the log loss function converges to the conditional entropy asymptotically, or equivalently that the asymptotic regret in prediction vanishes. Edelman et al. 2024 show that ICL can be explained by the emergence of statistical induction heads in transformers, which implement simple Markovian predictors over token sequences, revealing ICL as the activation of low-complexity statistical rules encoded during training. Jeon et al. 2024 provide an information-theoretic characterization of ICL, showing that in-context predictions in transformers correspond to optimal inference under implicit information constraints, where the prompt supplies limited mutual information about the task that is efficiently exploited by the pretrained model. Sander and Peyré 2025 investigate the expressiveness of transformers for next token prediction by considering embedding of tokens into a reproducing kernel Hilbert space (RKHS). Pan et al. 2025 proposed a theoretical framework for LLM scaling laws and knowledge acquisition by modeling training as an information-theoretic compression process governed by a hierarchical generative model of syntax and knowledge.

Embedding probability distributions into Hilbert spaces for inference has been explored in a variety of other contexts. For instance, the mean embedding (Berlinet and Thomas-Agnan 2004; Muandet et al. 2017) and the associated maximum mean discrepancy (MMD) metric has been used for designing kernel based two-sample tests (Gretton et al. 2006), defining independence/dependence measures (Fukumizu et al. 2004), feature extraction (Smola et al. 2007) and graphical models (Song et al. 2010) among other applications. The covariance embedding (Bach 2023) of probability distributions into density operators has also found several applications. To mention a few, Hoyos-Osorio and Sanchez-Giraldo 2024 considered a representation Jensen-Shannon divergence defined in terms of von-Neumann entropy of embedded density operators, Kachaiev and Recanatesi 2024 proposed unsupervised learning of the kernel via maximum von-Neumann entropy, and Santoro and Panaretos 2025 proposed a kernel-based likelihood test utilizing both the mean and covariance embedding. The covariance embedding of probability distributions and the associated QMLP also captures at a high-level the problem of prediction in quantum LLMs (Basile and Tamburini 2017), where the expressivity of quantum architecture used for prediction is reflected in the class of models over which QMLP is optimized. Another related topic corresponds to quantum generative modeling and simulation of probability distributions, in which the hope is to use quantum models to efficiently simulate probability distributions which are difficult to model classically. Two popular frameworks used in this regard pertains to quantum circuit Born machines (Liu and Wang 2018; Benedetti et al. 2019) and quantum Boltzmann machines (Benedetti et al. 2017; Kieferová and Wiebe 2017; Amin et al. 2018), which uses quantum circuits and thermal (or Gibbs) states, respectively, to achieve the modeling objective.

2. Preliminaries

2.1. Notation

Let 𝒳\mathcal{X} be a discrete set or a subset of ℝd\mathbb{R}^{d}. Denote the set of all Borel probability measures whose support is contained in 𝒳\mathcal{X} by 𝒫⁡(𝒳)\mathcal{P}(\mathcal{X}). Let μ\mu denote a sigma-finite measure on 𝒳\mathcal{X}. For P≪μP\ll\mu (i.e., PP absolutely continuous with respect to μ\mu), let pp denote its Radon-Nikodym derivative with respect to μ\mu. Unless specified otherwise, we will take μ\mu to be the counting measure when 𝒳\mathcal{X} is discrete or Lebesgue measure when 𝒳⊆ℝd\mathcal{X}\subseteq\mathbb{R}^{d}, in which case pp becomes the usual probability mass function (pmf) or probability density function (pdf).

Let ℍ\mathbb{H} denote a complex (or real) separable Hilbert space. Unless specified otherwise, we will assume that ℍ\mathbb{H} is complex. When ℍ\mathbb{H} is of dimension dd, we will denote it as ℍd\mathbb{H}_{d}. For an inner product ⟨⋅,⋅⟩ℍ\langle\cdot,\cdot\rangle_{\mathbb{H}} on ℍ\mathbb{H}, we will use the physics inspired convention in which the inner product is anti-linear (or conjugate) in the first argument and linear in the second. Whenever there is no confusion, we will denote ⟨⋅,⋅⟩ℍ\langle\cdot,\cdot\rangle_{\mathbb{H}} simply by ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle. The space of continuous linear operators on ℍ\mathbb{H} is denoted by ℒ⁡(ℍ)\mathcal{L}(\mathbb{H}), equipped with operator norm topology. The set of density operators or quantum states is denoted as 𝒮⁡(ℍ)\mathcal{S}(\mathbb{H}), i.e., a self adjoint operator ρ\rho such that ρ≥0\rho\geq 0 and Tr⁡[ρ]=1\operatorname{Tr}{\left[\rho\right]}=1. We will employ the bra-ket notation from quantum information theory (see e.g. Hayashi 2016). To mention it briefly, let hh and h~\tilde{h} be any two elements of some Hilbert space ℍ\mathbb{H}. Then, |h⟩|h\rangle, ⟨h~|\langle\tilde{h}| and |h⟩​⟨h~||h\rangle\langle\tilde{h}| corresponds, respectively, to an element h∈ℍh\in\mathbb{H}, a linear functional on ℍ\mathbb{H} with action ⟨h~||h⟩=⟨h~,h⟩\langle\tilde{h}||h\rangle=\langle\tilde{h},h\rangle, and a linear operator with action |h⟩​⟨h~|​|h¯⟩=⟨h~,h¯⟩​|h⟩|h\rangle\langle\tilde{h}||\bar{h}\rangle=\langle\tilde{h},\bar{h}\rangle|h\rangle for every h¯∈ℍ\bar{h}\in\mathbb{H}, respectively. For L∈ℒ⁡(ℍ)L\in\mathcal{L}(\mathbb{H}), λL\lambda_{L} denotes the vector composed of eigenvalues of LL. When ρ∈𝒮⁡(ℍ)\rho\in\mathcal{S}(\mathbb{H}), λρ\lambda_{\rho} is a pmf. The support of L∈ℒ⁡(ℍ)L\in\mathcal{L}(\mathbb{H}), which is defined as the orthogonal complement of kernel of LL in ℍ\mathbb{H}, is denoted by spt⁡(L)\mathrm{spt}(L). L1≪L2L_{1}\ll L_{2} denotes that spt⁡(L1)⊆spt⁡(L2)\mathrm{spt}(L_{1})\subseteq\mathrm{spt}(L_{2}) and L1 /≪L2L_{1}\mathchoice{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\displaystyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\textstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.98611pt\kern-4.45831pt$\scriptstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.40282pt\kern-3.95834pt$\scriptscriptstyle\not$\hss}{\ll}}}L_{2} means that spt⁡(L1)⊊spt⁡(L2)\mathrm{spt}(L_{1})\subsetneq\mathrm{spt}(L_{2}). For a,b∈ℝa,b\in\mathbb{R}, a∨ba\vee b and a∧ba\wedge b denote max⁡{a,b}\max\{a,b\} and min⁡{a,b}\min\{a,b\}, respectively.

Next, we introduce the preliminary notions used in the paper.

2.2. Quantum relative entropy and measured relative entropy

The quantum relative entropy between ρ,σ∈𝒮⁡(ℍ)\rho,\sigma\in\mathcal{S}(\mathbb{H}) is

(1) 𝖣⁡(ρ∥σ)≔{Tr⁡[ρ⁡(log⁡ρ−log⁡σ)], if ​ρ≪σ,∞,otherwise.\displaystyle\mathsf{D}\left(\rho\middle\|\sigma\right)\coloneqq\begin{cases}\operatorname{Tr}{\left[\rho(\log\rho-\log\sigma)\right]},&\mbox{ if }\rho\ll\sigma,\\ \infty,&\mbox{otherwise}.\end{cases}

The quantum relative entropy admits the variational expression (Petz 1988; Berta et al. 2015):

(2) 𝖣⁡(ρ∥σ)=supHTr⁡[H​ρ]−log⁡Tr⁡[eH+log⁡σ]=supHTr⁡[H​ρ]−Tr⁡[eH+log⁡σ]+1.\displaystyle\mathsf{D}\left(\rho\middle\|\sigma\right)=\sup_{H}\operatorname{Tr}{\left[H\rho\right]}-\log\operatorname{Tr}{\left[e^{H+\log\sigma}\right]}=\sup_{H}\operatorname{Tr}{\left[H\rho\right]}-\operatorname{Tr}{\left[e^{H+\log\sigma}\right]}+1.

The measured relative entropy (Donald 1986; Piani 2009) between ρ,σ∈𝒮⁡(ℍ)\rho,\sigma\in\mathcal{S}(\mathbb{H}) is defined as

(3) 𝖣𝖬​(ρ∥σ)≔sup𝒵,{Mz}z∈𝒵∑z∈𝒵Tr⁡[Mz​ρ]​log⁡(Tr⁡[Mz​ρ]Tr⁡[Mz​σ]),\mathsf{D}_{\mathsf{\mathsf{M}}}\left(\rho\middle\|\sigma\right)\coloneqq\sup_{\mathcal{Z},\left\{M_{z}\right\}_{z\in\mathcal{Z}}}\sum_{z\in\mathcal{Z}}\operatorname{Tr}{\left[M_{z}\rho\right]}\log\!\left(\frac{\operatorname{Tr}{\left[M_{z}\rho\right]}}{\operatorname{Tr}{\left[M_{z}\sigma\right]}}\right),

where the supremum is over all finite sets 𝒵\mathcal{Z} and positive operator-valued measures11 1 A POVM {Mz}z∈𝒵\left\{M_{z}\right\}_{z\in\mathcal{Z}} on a separable Hilbert space ℍ\mathbb{H}, indexed by a discrete 𝒵\mathcal{Z}, is a set of positive semi-definite operators MzM_{z} such that ∑z∈𝒵Mz\sum_{z\in\mathcal{Z}}M_{z} equals the identity operator on ℍ\mathbb{H}. (POVMs) {Mz}z∈𝒵\left\{M_{z}\right\}_{z\in\mathcal{Z}} indexed by 𝒵\mathcal{Z}. By data-processing inequality for quantum relative entropy, 𝖣⁡(ρ∥σ)≥𝖣𝖬​(ρ∥σ)\mathsf{D}\left(\rho\middle\|\sigma\right)\geq\mathsf{D}_{\mathsf{\mathsf{M}}}\left(\rho\middle\|\sigma\right). This shows that if two density operators ρ\rho and σ\sigma are close in the quantum relative entropy, then the KL divergence between any two measured probability distributions is only lower (or equal). Moreover, when ρ,σ>0\rho,\sigma>0, equality holds if and only if ρ\rho and σ\sigma commute, and then this common value also coincides with 𝖣𝖪𝖫​(λρ∥λσ)\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right), where λρ\lambda_{\rho} denotes the probability mass function (pmf) composed of eigenvalues of ρ\rho and the KL divergence between probability measures P,Q∈𝒫⁡(𝒳)P,Q\in\mathcal{P}(\mathcal{X}) is

(4) 𝖣𝖪𝖫​(P∥Q)≔{𝔼P​[log⁡d​Pd​Q], if ​P≪Q,∞,otherwise.\displaystyle\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q\right)\coloneqq\begin{cases}\mathbb{E}_{P}\left[\log\frac{dP}{dQ}\right],&\mbox{ if }P\ll Q,\\ \infty,&\mbox{otherwise}.\end{cases}

3. Prediction task

Let m,n∈ℕm,n\in\mathbb{N} and 𝒳\mathcal{X} be a discrete set or a subset of ℝm\mathbb{R}^{m}. Let 𝒬⊆𝒫⁡(𝒳)\mathcal{Q}\subseteq\mathcal{P}(\mathcal{X}) be a class of probability measures. We will assume that 𝒬\mathcal{Q} is a compact convex set and contains a Q>0Q>0. The classical prediction problem can then be framed as determining the best predictor (or model for prediction) Q^n:𝒳n→𝒬\hat{Q}_{n}:\mathcal{X}^{n}\rightarrow\mathcal{Q} based on the samples Xn∼P⊗nX^{n}\sim P^{\otimes n}, where P∈𝒫⁡(𝒳)P\in\mathcal{P}(\mathcal{X}). The accuracy of prediction is measured by a loss function d:𝒳×𝒫⁡(𝒳)→[0,∞]\mathrm{d}:\mathcal{X}\times\mathcal{P}(\mathcal{X})\rightarrow[0,\infty]. A particular loss function of interest is the log loss function dL​(x,Q)≔−log⁡q⁡(x)\mathrm{d}_{\mathrm{L}}(x,Q)\coloneqq-\log q(x), where qq denotes the probability mass function (p.m.f.) in the discrete case and probability density function (p.d.f.) in the continuous case. Let {Q^n​(⋅)}\{\hat{Q}_{n}(\cdot)\} be the shorthand for {Q^n​(xn)}xn∈𝒳n\{\hat{Q}_{n}(x^{n})\}_{x^{n}\in\mathcal{X}^{n}}. Given xnx^{n}, we find the predictor that minimizes the cumulative (or equivalently the average) empirical loss according to the log loss function. Consider the case of discrete 𝒳\mathcal{X}. Since the empirical loss can be written as

(5) infQ∈𝒬1n​∑i=1ndL​(xi,Q)=H⁡(P^xn)+infQ∈𝒬𝖣𝖪𝖫​(P^xn∥Q),\displaystyle\inf_{Q\in\mathcal{Q}}\frac{1}{n}\sum_{i=1}^{n}\mathrm{d}_{\mathrm{L}}(x_{i},Q)=H(\hat{P}_{x^{n}})+\inf_{Q\in\mathcal{Q}}\mathsf{D}_{\mathsf{KL}}\left(\hat{P}_{x^{n}}\middle\|Q\right),

where H⁡(P)H(P) denotes the Shannon entropy of PP, this procedure is equivalent to finding the predictor

(6) Q^n⋆(xn)≔arg​minQ∈𝒬𝖣𝖪𝖫(P^xn∥Q)=arg​maxQ∈𝒬∏i=1nq(xi),\displaystyle\hat{Q}_{n}^{\star}(x^{n})\coloneqq\argmin_{Q\in\mathcal{Q}}\mathsf{D}_{\mathsf{KL}}\left(\hat{P}_{x^{n}}\middle\|Q\right)=\argmax_{Q\in\mathcal{Q}}\prod_{i=1}^{n}q(x_{i}),

when the minimum (and maximum) above exists. We refer to Q^n⋆​(xn)\hat{Q}_{n}^{\star}(x^{n}) as an MLP when it exists. MLP when 𝒳⊆ℝm\mathcal{X}\subseteq\mathbb{R}^{m} can be defined similarly using the first equality in (6). When multiple solutions to the optimization in (6) exist, MLP will mean any one of them chosen arbitrarily.

Consider the optimization (minimization) problem in (6). Fixing xn∈𝒳nx^{n}\in\mathcal{X}^{n} and setting Q=Q^n​(xn)Q=\hat{Q}_{n}(x^{n}), one may without loss of generality consider the following optimization problem:

(7) infQ∈𝒬𝖣𝖪𝖫​(P∥Q)=minQ∈𝒬⁡𝖣𝖪𝖫​(P∥Q)=𝖣𝖪𝖫​(P∥QP⋆).\displaystyle\inf_{Q\in\mathcal{Q}}\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q\right)=\min_{Q\in\mathcal{Q}}\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q\right)=\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q_{P}^{\star}\right).

In the above, the equalities follow by noting that the resulting infimum is achieved by some QP⋆Q_{P}^{\star} (due to lower semi-continuity of 𝖣𝖪𝖫​(P∥Q)\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q\right) in (P,Q)(P,Q) and compactness of 𝒬\mathcal{Q}). Since 𝒬\mathcal{Q} is also convex, there exists a distribution Q′Q^{\prime} whose support contains the support of all other Q∈𝒬Q\in\mathcal{Q}. Define the support of 𝒬\mathcal{Q}, spt⁡(𝒬)=spt⁡(Q′)\mathrm{spt}(\mathcal{Q})=\mathrm{spt}(Q^{\prime}), for such a Q′Q^{\prime}. When spt⁡(P)=spt⁡(𝒬)\mathrm{spt}(P)=\mathrm{spt}(\mathcal{Q}), QP⋆Q_{P}^{\star} is unique.

Even when 𝒳\mathcal{X} is discrete and 𝒬=𝒫⁡(𝒳)\mathcal{Q}=\mathcal{P}(\mathcal{X}), solving (6) to find the maximum likelihood estimate quickly becomes infeasible when |𝒳||\mathcal{X}| is large, since it involves optimization over a simplex of dimension |𝒳|−1|\mathcal{X}|-1. This is a typical case in LLMs, for example, when 𝒳=𝒲⊗k\mathcal{X}=\mathcal{W}^{\otimes k} is the set of all possible sentences of length kk composed of tokens or words selected from vocabulary 𝒲\mathcal{W}. Further, although (6) is a convex optimization problem, common algorithms such as SGD are not directly applicable on an arbitrary discrete set 𝒳\mathcal{X} without a metric structure. Indeed, as explained below, modern LLMs overcome the latter challenge by representing tokens or words as vectors in a Euclidean space where gradient-based optimization algorithms can be applied. In the following, we interpret this through Hilbert-space embeddings, quantum information projection, and bounds on QMLP performance.

3.1. Embeddings and Quantum Maximum Likelihood Predictor

When considering an embedding of probability distributions into Hilbert spaces, a natural possibility, which has been extensively studied in the context of RKHSs, is the mean embedding P↦𝔼P​[φ​(X)]P\mapsto\mathbb{E}_{P}[\varphi(X)], where φ\varphi is the feature map corresponding to an RKHS (see Appendix B). However, as noted in Bach 2023, the mean embedding induces an MMD metric between probability distributions in the RKHS, which does not have a direct connection to log loss (and information theory). Accordingly, Bach 2023 proposed a second-order covariance embedding as a suitable framework to study interaction between probability distributions and perform sample-based inference. To define it, let ℍ\mathbb{H} be a Hilbert space and φ:𝒳→ℍ\varphi:\mathcal{X}\rightarrow\mathbb{H} be a Borel-measurable map such that ‖φ⁡(x)‖ℍ=1\left\|\varphi(x)\right\|_{\mathbb{H}}=1 for all x∈𝒳x\in\mathcal{X}. For a probability measure PP with density pp with respect to a dominating positive σ\sigma-finite measure μ\mu (counting measure in the discrete case and Lebesgue measure in the continuous case), set

(8) ρp=∫𝒳p⁡(x)​|φ⁡(x)⟩​⟨φ⁡(x)|​𝑑μ​(x).\displaystyle\rho_{p}=\int_{\mathcal{X}}p(x)|\varphi(x)\rangle\langle\varphi(x)|d\mu(x).

The covariance embedding ϕ:𝒫⁡(𝒳)→ℒ⁡(ℍ)\phi:\mathcal{P}(\mathcal{X})\rightarrow\mathcal{L}(\mathbb{H}) is then the linear map induced by (8). Here, we explore the utility of covariance embeddings for prediction. Then, ρp∈𝒮⁡(ℍ)\rho_{p}\in\mathcal{S}(\mathbb{H}) since it is positive semidefinite and has unit trace (see (74) in Appendix B). Hence, ϕ\phi is a map of 𝒫⁡(𝒳)\mathcal{P}(\mathcal{X}) into 𝒮⁡(ℍ)\mathcal{S}(\mathbb{H}). Also, recall that 𝒮⁡(ℍ)\mathcal{S}(\mathbb{H}) is a subset of trace-class operators on ℍ\mathbb{H}, and hence lies in a Hilbert space within22 2 For ℍd\mathbb{H}_{d}, the whole ℒ⁡(ℍd)\mathcal{L}(\mathbb{H}_{d}) becomes a Hilbert space equipped with the Hilbert-Schmidt inner product. ℒ⁡(ℍ)\mathcal{L}(\mathbb{H}) equipped with the Hilbert-Schmidt inner product ⟨ρ,σ⟩≔Tr⁡[ρ∗​σ]\langle\rho,\sigma\rangle\coloneqq\operatorname{Tr}{\left[\rho^{*}\sigma\right]}, where ρ∗\rho^{*} denotes the adjoint of ρ\rho. Several interesting properties of the map ϕ\phi when φ\varphi is the feature map corresponding to an RKHS with kernel KK were studied in Bach 2023. As noted therein, the image of ϕ\phi lies within a Hilbert space that is isomorphic to the RKHS generated by the kernel K2K^{2}. Also, the quantum data-processing inequality yields 𝖣𝖪𝖫​(P∥Q)≥𝖣⁡(ρp∥ρq)\mathsf{D}_{\mathsf{KL}}\left(P\middle\|Q\right)\geq\mathsf{D}\left(\rho_{p}\middle\|\rho_{q}\right).

Given the embedding of probability distributions as density operators in a Hilbert space (which we interpret as an internal representation), we model ICL as selecting a density operator σ\sigma for prediction from a model class Σ\Sigma determined by the QMLP. To obtain a classical distribution on the output vocabulary, we apply a measurement channel (or POVM) ℳn\mathcal{M}_{n}, viewed as a quantum-to-classical channel. The appropriate embedding φ\varphi and measurement are selected during training and then held fixed during ICL. Let

(9) ρ^n​(xn)≔1n​∑i=1n|φ⁡(xi)⟩​⟨φ⁡(xi)|,\displaystyle\hat{\rho}_{n}(x^{n})\coloneqq\frac{1}{n}\sum_{i=1}^{n}|\varphi(x_{i})\rangle\langle\varphi(x_{i})|,

denote the embedding of the empirical distribution p^n\hat{p}_{n} of xnx^{n}, i.e., ρ^n​(xn)=ρp^n≔ϕ⁡(p^n)\hat{\rho}_{n}(x^{n})=\rho_{\hat{p}_{n}}\coloneqq\phi(\hat{p}_{n}). Let P^n\hat{P}_{n} and Q^n\hat{Q}_{n} denote the measurement-output distributions corresponding to ρ^n​(xn)\hat{\rho}_{n}(x^{n}) and σ\sigma. Prediction accuracy is quantified by the minimal average log loss, which is equivalent to minQ∈𝒬𝖣𝖪𝖫(P^n∥Q)\min_{Q\in\mathcal{Q}}\mathsf{D}_{\mathsf{KL}}\big(\hat{P}_{n}\|Q\big). Here, 𝒬≔{ℳn​(σ):σ∈Σ}\mathcal{Q}\coloneqq\{\mathcal{M}_{n}(\sigma):\sigma\in\Sigma\} and ℳn​(σ)\mathcal{M}_{n}(\sigma) denotes the classical distribution obtained as the output of the measurement channel with input σ\sigma. Since the measurement ℳn\mathcal{M}_{n} is unspecified, one may consider the above optimization with measured relative entropy in place of KL divergence and replacing P^n\hat{P}_{n}, QQ and 𝒬\mathcal{Q} by ρ^n​(xn),σ\hat{\rho}_{n}(x^{n}),\sigma and Σ\Sigma, respectively. However, the measured relative entropy is typically intractable, as it requires optimizing over all possible measurements, leading to a nonconvex inner problem without a closed form in general. We therefore define the QMLP given samples xn∈𝒳nx^{n}\in\mathcal{X}^{n} as any minimizer of

(10) infσ∈Σ𝖣⁡(ρ^n​(xn)∥σ),\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}\left(\hat{\rho}_{n}(x^{n})\middle\|\sigma\right),

whenever the infimum is attained. This formulation has the additional advantage that it leads to convergence guarantees for the MLP in terms of quantum relative entropy, which is a stronger discrepancy measure than measured relative entropy.

When Σ\Sigma is a compact33 3 In what follows, the compactness assumption is used only to guarantee that the relevant infimum is achieved, and hence can be dispensed with if the minimum is known to exist. This is a useful relaxation, especially, in infinite dimensional Hilbert space settings, where compactness could be a restrictive assumption. set, the infimum in (10) is achieved. Moreover, when Σ\Sigma is also convex and44 4 Since Σ\Sigma is a compact convex set of positive semi-definite operators, it is easy to see that there exists an element σ∈Σ\sigma\in\Sigma such that σ′≪σ\sigma^{\prime}\ll\sigma for every σ′∈Σ\sigma^{\prime}\in\Sigma. Define spt⁡(Σ)≔spt⁡(σ)\mathrm{spt}(\Sigma)\coloneqq\mathrm{spt}(\sigma) for such a σ\sigma. To see that such a σ\sigma exists, note that spt⁡(σ1)∪spt⁡(σ2)=spt⁡(α​σ1+(1−α)​σ2)\mathrm{spt}(\sigma_{1})\cup\mathrm{spt}(\sigma_{2})=\mathrm{spt}(\alpha\sigma_{1}+(1-\alpha)\sigma_{2}) for any σ1,σ2∈𝒮⁡(ℍ)\sigma_{1},\sigma_{2}\in\mathcal{S}(\mathbb{H}) and α∈(0,1)\alpha\in(0,1). Using this, it is possible to construct either a finite or infinite sequence of density operators σn∈Σ\sigma_{n}\in\Sigma with strictly increasing support. In the finite case, the last element of the sequence gives the desired σ\sigma and in the infinite case, take σ\sigma to be any limit point. spt⁡(ρ^n​(xn))=spt⁡(Σ)\mathrm{spt}\left(\hat{\rho}_{n}(x^{n})\right)=\mathrm{spt}(\Sigma), this minimum is unique. However, the last condition is restrictive and hard to ensure for all xn∈𝒳nx^{n}\in\mathcal{X}^{n}. Accordingly, we call the ”QMLP” an arbitrary minimizer of (10), when the minimizer is not unique. The motivation behind considering QMLP stems from the possibility that with an appropriately chosen embedding φ\varphi into a Hilbert space ℍd\mathbb{H}_{d} of dimension d≪|𝒳|d\ll|\mathcal{X}|, ρ^n​(xn)\hat{\rho}_{n}(x^{n}) is a good proxy of p^n\hat{p}_{n} for the prediction task while simultaneously enabling optimization over a subset of a much smaller Hilbert space ℒ⁡(ℍd)\mathcal{L}(\mathbb{H}_{d}), i.e., over the space of d×dd\times d matrices. This occurs, for instance, when “neighboring symbols” which should lead to similar prediction outcomes are embedded to closely aligned elements in the Hilbert space, so that the span of {φ⁡(x):x∈𝒳}\{\varphi(x):x\in\mathcal{X}\} has a low effective dimension compared to orthogonal embedding. Another rationale, as will become evident in Section 4.2, is that the minimal eigenvalue of ρp\rho_{p} increases in general when multiple elements of 𝒳\mathcal{X} are mapped to non-orthogonal elements. From an optimization standpoint, (10) can be solved by optimization algorithms over Hilbert spaces that can exploit its rich structure such as orthogonality and inner products, and lack in 𝒫⁡(𝒳)\mathcal{P}(\mathcal{X}). In fact, there is a rich theory of optimization in Hilbert spaces (e.g., Houska and Chachuat 2017), and gradient-based algorithms can exploit the aforementioned structure while performing optimization.

4. Main Results

We next obtain performance guarantees for QMLP. From (10), the optimization problem of interest for determining QMLP is the analogue of (7) in ℒ⁡(ℍ)\mathcal{L}(\mathbb{H}), i.e.,

(11) infσ∈Σ𝖣⁡(ρ∥σ),\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}\left(\rho\middle\|\sigma\right),

where Σ\Sigma is a non-empty compact subset of 𝒮⁡(ℍ)\mathcal{S}(\mathbb{H}). Note that when Σ\Sigma is also convex, (11) is a convex optimization problem owing to the joint convexity of quantum relative entropy in its arguments (see e.g. Wilde 2017). In the following, we characterize some information-geometric and statistical properties of QMLP.

4.1. Geometric Properties of Quantum Maximum Likelihood Predictor

Solving (11) involves optimization of quantum relative entropy over a class of density operators. It is of interest to determine conditions under which this optimization reduces to its relatively simpler classical analogue given in (7). We show that this indeed happens when Σ\Sigma has sufficiently rich structure. To state the condition precisely, let ℰρ≔{|ei​(ρ)⟩}i=1∞\mathcal{E}_{\rho}\coloneqq\{|e_{i}(\rho)\rangle\}_{i=1}^{\infty} denote an orthonormal eigenbasis of ρ\rho and 𝖯i​(ρ)≔|ei​(ρ)⟩​⟨ei​(ρ)|\mathsf{P}_{i}(\rho)\coloneqq|e_{i}(\rho)\rangle\langle e_{i}(\rho)| denote the orthogonal projection corresponding to |ei​(ρ)⟩|e_{i}(\rho)\rangle. For Σ⊆𝒮⁡(ℍ)\Sigma\subseteq\mathcal{S}(\mathbb{H}), define the following set obtained by pinching55 5 This is slightly different from standard pinching, where projectors of similar eigenvalues are combined, (e.g., Hayashi 2002). the elements of Σ\Sigma by the rank-one orthogonal projections {𝖯i​(ρ)}i=1∞\{\mathsf{P}_{i}(\rho)\}_{i=1}^{\infty}:

(12) 𝒥⁡(ℰρ,Σ)≔{∑i=1∞𝖯i​(ρ)​σ​𝖯i​(ρ):σ∈Σ}.\displaystyle\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\coloneqq\left\{\sum_{i=1}^{\infty}\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho):\sigma\in\Sigma\right\}.

It is easy to verify that the operators in 𝒥⁡(ℰρ,Σ)\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right) commute with ρ\rho. Next, we call a set Σ⊆ℒ⁡(ℍ)\Sigma\subseteq\mathcal{L}(\mathbb{H}) unitarily invariant if for all σ∈Σ\sigma\in\Sigma and unitaries UU, U​σ​U†∈ΣU\sigma U^{{\dagger}}\in\Sigma. We have the following proposition that provides conditions on Σ\Sigma under which QMLP reduces to an MLP.

Proposition 1 (Relation between MLP and QMLP).

Let ρ∈𝒮⁡(ℍ)\rho\in\mathcal{S}(\mathbb{H}), ℰρ\mathcal{E}_{\rho} be any orthonormal eigenbasis of ρ\rho, and Σ⊆𝒮⁡(ℍ)\Sigma\subseteq\mathcal{S}(\mathbb{H}) be a non-empty set. If 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma, then

(13) infσ∈Σ𝖣(ρ∥σ)=infσ∈𝒥⁡(ℰρ,Σ)𝖣𝖪𝖫(λρ∥λσ).\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}(\rho\|\sigma)=\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right).

If Σ\Sigma is also unitarily invariant, then the above terms also equal infσ∈Σ𝖣𝖪𝖫​(λρ∥λσ)\inf_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right).

The proof of Proposition 1 given below in Section 5.1 is based on elementary arguments involving data processing inequality for quantum relative entropy, quantum measurements and the unitary invariance of Σ\Sigma.

Proposition 1 has an interesting interpretation from the prism of quantum information geometry (see e.g., Amari and Nagaoka 2000; Csiszár and Matus 2003; Csiszár and Shields 2004; Hayashi 2016). To introduce the relevant notions, consider a non-empty compact convex set 𝒮¯⊆𝒮⁡(ℍ)\bar{\mathcal{S}}\subseteq\mathcal{S}(\mathbb{H}). The information projection (or I−I-projection) of σ∈𝒮⁡(ℍ)\sigma\in\mathcal{S}(\mathbb{H}) into 𝒮¯\bar{\mathcal{S}} is

(14) ρσ,𝒮¯⋆≔arg​minρ∈𝒮¯⁡𝖣​(ρ∥σ),\displaystyle\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\coloneqq\argmin_{\rho\in\bar{\mathcal{S}}}\mathsf{D}\left(\rho\middle\|\sigma\right),

if it exists. When spt⁡(𝒮¯)⊆spt⁡(σ)\mathrm{spt}(\bar{\mathcal{S}})\subseteq\mathrm{spt}(\sigma), 𝖣⁡(ρ∥σ)\mathsf{D}\left(\rho\middle\|\sigma\right) is a continuous66 6 In general, 𝖣⁡(ρ∥σ)\mathsf{D}\left(\rho\middle\|\sigma\right) is a lower semi-continuous convex function of its arguments (see e.g. Polyanskiy and Wu 2025). strictly convex function of ρ\rho over the compact set 𝒮¯\bar{\mathcal{S}}. Hence, ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}} exists and is unique. We emphasize that information projection is a minimization of relative entropy in the first argument, while QMLP involves minimization over the second argument (which is thus a quantum reverse I−I-projection, (Csiszár and Shields 2004)).

Although solving QMLP and information-projection are distinct problems, we will see below that an interpretation of Proposition 1 can be obtained by combining them. This connecting link will be provided by the so-called quantum Pythagorean theorem from information geometry (see e.g., Amari and Nagaoka 2000; Hayashi 2016; Hayashi and Ito 2025). However, we will need a generalized version of this theorem, than available in the literature to the best of our knowledge.

To state our version of quantum Pythagorean theorem, we need to introduce a few notions. Call a set 𝒮⊆𝒮⁡(ℍ)\mathcal{S}\subseteq\mathcal{S}(\mathbb{H}) of density operators linearly closed if for every ρ,ρ~∈𝒮\rho,\tilde{\rho}\in\mathcal{S} and α∈ℝ\alpha\in\mathbb{R} such that α​ρ+(1−α)​ρ~∈𝒮⁡(ℍ)\alpha\rho+(1-\alpha)\tilde{\rho}\in\mathcal{S}(\mathbb{H}). Denote the set of bounded linear operators by ℬ⁡(ℍ)\mathcal{B}(\mathbb{H}), and let 𝒞={Li}i=1k⊆ℬ⁡(ℍ)\mathcal{C}=\{L_{i}\}_{i=1}^{k}\subseteq\mathcal{B}(\mathbb{H}) be a finite set. For a given ρ0∈𝒮⁡(ℍ)\rho_{0}\in\mathcal{S}(\mathbb{H}) and 𝒞\mathcal{C}, the set of all density operators ρ∈𝒮⁡(ℍ)\rho\in\mathcal{S}(\mathbb{H}) such that Tr⁡[ρ​Li]=Tr⁡[ρ0​Li]\operatorname{Tr}{\left[\rho L_{i}\right]}=\operatorname{Tr}{\left[\rho_{0}L_{i}\right]}, for 1≤i≤k1\leq i\leq k, is called a mixture or linear family generated by 𝒞\mathcal{C} (and ρ0\rho_{0}), and denoted by ℳ⁡(ρ0,𝒞)\mathcal{M}(\rho_{0},\mathcal{C}). For a sub-density operator σ0\sigma_{0}, i.e., σ0≥0\sigma_{0}\geq 0 and Tr⁡[σ0]∈[0,1]\operatorname{Tr}{\left[\sigma_{0}\right]}\in[0,1], and 𝒞\mathcal{C}, the set of all density operators of the form

ρ=elog⁡σ0+∑i=1kβi​Lic⁡(σ0,𝜷,𝒞),where𝜷=(β1,…,βk)∈ℂk and c⁡(σ0,𝜷,𝒞)≔Tr⁡[elog⁡σ0+∑i=1kβi​Li],\displaystyle\rho=\frac{e^{\log\sigma_{0}+\sum_{i=1}^{k}\beta_{i}L_{i}}}{c(\sigma_{0},\bm{\beta},\mathcal{C})},\quad\text{where}\quad\bm{\beta}=(\beta_{1},\ldots,\beta_{k})\in\mathbb{C}^{k}\quad\mbox{ and }\quad c(\sigma_{0},\bm{\beta},\mathcal{C})\coloneqq\operatorname{Tr}{\left[e^{\log\sigma_{0}+\sum_{i=1}^{k}\beta_{i}L_{i}}\right]},

is called exponential family generated by 𝒞\mathcal{C} (and ρ0\rho_{0}), and denoted by Exp⁡(ρ0,𝒞)\mathrm{Exp}(\rho_{0},\mathcal{C}). Here, c⁡(ρ0,𝜷,𝒞)c(\rho_{0},\bm{\beta},\mathcal{C}) is the normalization factor to make Tr⁡[ρ]=1\operatorname{Tr}{\left[\rho\right]}=1 and elog⁡σ0+∑i=1kβi​Lie^{\log\sigma_{0}+\sum_{i=1}^{k}\beta_{i}L_{i}} is interpreted to act as the zero operator on the kernel of σ0\sigma_{0}. Note that since 𝒞\mathcal{C} can contain non self-adjoint operators, and so not all 𝜷\bm{\beta} in the definition of exponential family corresponds to a density operator. Specifically, 𝜷\bm{\beta} and 𝒞\mathcal{C} have to be such that ∑i=1kβi​Li\sum_{i=1}^{k}\beta_{i}L_{i} is self-adjoint. Also, observe that a linearly closed set is convex by definition and mixture families are linearly closed. On the other hand, the exponential family is not closed nor linearly closed.

We can now state our version of the quantum Pythagorean theorem (illustrated in Figure 1).

Theorem 1 (Quantum Pythagorean Theorem).

Let σ∈𝒮⁡(ℍ)\sigma\in\mathcal{S}(\mathbb{H}) and 𝒮¯⊆𝒮⁡(ℍ)\bar{\mathcal{S}}\subseteq\mathcal{S}(\mathbb{H}) be a non-empty compact convex set. Then, the following hold:

  1. (i)

    If spt⁡(𝒮¯)⊆spt⁡(σ)\mathrm{spt}(\bar{\mathcal{S}})\subseteq\mathrm{spt}(\sigma), the I−I-projection ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}} satisfies spt⁡(ρσ,𝒮¯⋆)=spt⁡(𝒮¯)\mathrm{spt}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)=\mathrm{spt}(\bar{\mathcal{S}}) and

    (15) 𝖣(ρ∥σ)≥𝖣(ρ∥ρσ,𝒮¯⋆)+𝖣(ρσ,𝒮¯⋆∥σ),∀ρ∈𝒮¯,\displaystyle\mathsf{D}\left(\rho\middle\|\sigma\right)\geq\mathsf{D}\big(\rho\|\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)+\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\|\sigma\big),\quad\forall~\rho\in\bar{\mathcal{S}},

    with equality holding in (15) if 𝒮¯\bar{\mathcal{S}} is linearly closed.

  2. (ii)

    Suppose spt⁡(𝒮¯)⊊spt⁡(σ)\mathrm{spt}(\bar{\mathcal{S}})\subsetneq\mathrm{spt}(\sigma). Setting 𝒮¯σ≔{ρ∈𝒮¯:ρ≪σ}\bar{\mathcal{S}}_{\sigma}\coloneqq\big\{\rho\in\bar{\mathcal{S}}:\rho\ll\sigma\big\}, Part (i)(i) holds with 𝒮¯\bar{\mathcal{S}} replaced by 𝒮¯σ\bar{\mathcal{S}}_{\sigma} if 𝒮¯σ\bar{\mathcal{S}}_{\sigma} is non-empty; in particular, ρσ,𝒮¯⋆∈𝒮¯σ\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\in\bar{\mathcal{S}}_{\sigma} and spt⁡(ρσ,𝒮¯⋆)=spt⁡(𝒮¯σ)\mathrm{spt}(\rho^{\star}_{\sigma,\bar{\mathcal{S}}})=\mathrm{spt}(\bar{\mathcal{S}}_{\sigma}). If 𝒮¯σ\bar{\mathcal{S}}_{\sigma} is empty, then both sides of (15) are infinite and any ρ∈𝒮¯\rho\in\bar{\mathcal{S}} could be taken as ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}}.

  3. (iii)

    For a finite set 𝒞⊆ℬ⁡(ℍ)\mathcal{C}\subseteq\mathcal{B}(\mathbb{H}), let ℳ⁡(ρ0,𝒞)\mathcal{M}(\rho_{0},\mathcal{C}) be a compact mixture family generated by 𝒞\mathcal{C}. Let \macc@depthΔ\macc@set@skewchar\macc@nested@a111≔σ\macc@depthΔ\macc@set@skewchar\macc@nested@a111(ρ0,𝒞)σ≔{ρ∈ℳ(ρ0,𝒞):ρ≪σ}\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}\coloneqq\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}(\rho_{0},\mathcal{C})\coloneqq\big\{\rho\in\mathcal{M}(\rho_{0},\mathcal{C}):\rho\ll\sigma\big\} be non-empty and 𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}} be the projection onto the support of \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}. Then, ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆∈Exp(𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σσ𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ,𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ𝒞𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ)∩\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\in\mathrm{Exp}\big(\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\sigma\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}},\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\mathcal{C}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\big)\cap\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}, and

    (16) 𝖣(ρ∥σ)=𝖣(ρ∥ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆)+𝖣(ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆∥σ),∀ρ∈ℳ(ρ0,𝒞).\displaystyle\mathsf{D}\left(\rho\middle\|\sigma\right)=\mathsf{D}\big(\rho\|\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\big)+\mathsf{D}\big(\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\|\sigma\big),\quad\forall~\rho\in\mathcal{M}(\rho_{0},\mathcal{C}).
  4. (iv)

    Let ρ,σ∈𝒮⁡(ℍd)\rho,\sigma\in\mathcal{S}(\mathbb{H}_{d}) be such that ρ≪σ\rho\ll\sigma, and ℰρ\mathcal{E}_{\rho} be an orthonormal eigenbasis of ρ\rho. Set 𝒮¯​(ℰρ)\bar{\mathcal{S}}(\mathcal{E}_{\rho}) as the set of density operators with eigenbasis ℰρ\mathcal{E}_{\rho}. Then, (16) holds with ρσ,𝒮¯​(ℰρ)⋆=∑i=1d𝖯i​(ρ)​σ​𝖯i​(ρ)∈𝒥⁡(ℰρ,{σ})\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}=\sum_{i=1}^{d}\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho)\in\mathcal{J}\left(\mathcal{E}_{\rho},\{\sigma\}\right).

Refer to caption
Figure 1. The Quantum Pythagorean theorem.

The proof of Theorem 1 is given in Section 5.2 below. It extends the proof of Csiszár and Shields 2004 to the non-commutative setting, carefully accounting for support conditions. By specializing Part (i)(i) to the commutative setting, the classical result with 0<σ∈𝒮⁡(ℍd)0<\sigma\in\mathcal{S}(\mathbb{H}_{d}), as stated in Csiszár and Shields 2004, is recovered. Moreover, Part (i​i​i)(iii) considers a more general exponential and mixture families generated by bounded linear operators than we are aware of. This generalization is used in the proof of Part (i​v)(iv), which involves exponential and mixture families generated by the bounded (non necessarily self-adjoint) class 𝒞={|ei​(ρ)⟩​⟨ej​(ρ)|}1≤i≠j≤d\mathcal{C}=\{|e_{i}(\rho)\rangle\langle e_{j}(\rho)|\}_{1\leq i\neq j\leq d}, where {ei​(ρ)}i=1∞\{e_{i}(\rho)\}_{i=1}^{\infty} denotes an orthonormal eigenbasis of ρ\rho. It is also interesting that the I−I-projection of σ∈𝒮⁡(ℍd)\sigma\in\mathcal{S}(\mathbb{H}_{d}) to 𝒮¯​(ℰρ)\bar{\mathcal{S}}(\mathcal{E}_{\rho}) is simply characterized as the pinched operator ∑i=1d𝖯i​(ρ)​σ​𝖯i​(ρ)\sum_{i=1}^{d}\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho).

We can now provide an interpretation of Proposition 1 in terms of Theorem 1, when ℍ\mathbb{H} is finite dimensional. To this end, consider the interesting case where Σρ≔{σ∈Σ:ρ≪σ}\Sigma_{\rho}\coloneqq\{\sigma\in\Sigma:\rho\ll\sigma\} is non-empty (otherwise, both sides of (28) are infinite). The idea is to consider any σ∈Σρ\sigma\in\Sigma_{\rho} and apply the quantum Pythagorean theorem with equality given in (15) with 𝒮¯=𝒮¯​(ℰρ)\bar{\mathcal{S}}=\bar{\mathcal{S}}(\mathcal{E}_{\rho}), i.e., the set of all density operators with the same eigenbasis as ρ\rho, which is a compact convex set. This implies that 𝖣⁡(ρ∥σ)\mathsf{D}\left(\rho\middle\|\sigma\right) is lower bounded by 𝖣(ρ∥ρσ,𝒮¯​(ℰρ)⋆)=D𝖪𝖫(λρ∥λρσ,𝒮¯​(ℰρ)⋆)\mathsf{D}\big(\rho\|\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\big)=D_{\mathsf{KL}}\big(\lambda_{\rho}\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\big) for ρσ,𝒮¯​(ℰρ)⋆∈𝒥⁡(ℰρ,{σ})\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\in\mathcal{J}\left(\mathcal{E}_{\rho},\{\sigma\}\right), where the equality is because ρσ,𝒮¯​(ℰρ)⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})} and ρ\rho commute. Hence infσ∈Σ𝖣⁡(ρ∥σ)≥infσ∈𝒥⁡(ℰρ,Σ)𝖣⁡(λρ∥λσ)\inf_{\sigma\in\Sigma}\mathsf{D}\left(\rho\middle\|\sigma\right)\geq\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)}\mathsf{D}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right). The opposite inequality is obtained from Theorem 1(i​v)(iv) and the condition 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma, and both inequalities show (13). Given (13), the last claim in Proposition 1 can be easily argued using the unitary invariance of Σ\Sigma. See details in Section 5.3 below.

4.2. Statistical Properties of Quantum Maximum Likelihood Predictor

Having seen some information-geometric aspects of QMLP, we next study its statistical behaviour. The following technical proposition will play a key role towards this purpose.

Proposition 2 (QMLP distance bound).

Let ρ,ρ~∈𝒮⁡(ℍ)\rho,\tilde{\rho}\in\mathcal{S}(\mathbb{H}) and Σ⊆𝒮⁡(ℍ)\Sigma\subseteq\mathcal{S}(\mathbb{H}) be compact. Let

(17) σ⋆≔arg​minσ∈Σ𝖣(ρ∥σ)andσ~⋆≔arg​minσ∈Σ𝖣(ρ~∥σ).\displaystyle\sigma^{\star}\coloneqq\argmin_{\sigma\in\Sigma}\mathsf{D}(\rho\|\sigma)\quad\text{and}\quad\tilde{\sigma}^{\star}\coloneqq\argmin_{\sigma\in\Sigma}\mathsf{D}(\tilde{\rho}\|\sigma).

If Σ\Sigma satisfies 𝖣(ρ∥σ⋆)≤ϵ\mathsf{D}(\rho\|\sigma^{\star})\leq\epsilon for some ϵ≥0\epsilon\geq 0, then

(18a) ‖σ~⋆−σ⋆‖12\displaystyle\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}^{2} ≤4​(𝖣⁡(ρ~∥σ⋆)−𝖣⁡(ρ∥σ⋆))+4​‖ρ~−ρ‖12+12​ϵ,\displaystyle\leq 4\big(\mathsf{D}\left(\tilde{\rho}\middle\|\sigma^{\star}\right)-\mathsf{D}\left(\rho\middle\|\sigma^{\star}\right)\mspace{-3mu}\big)+4\left\|\tilde{\rho}-\rho\right\|_{1}^{2}+12\epsilon,
(18b) ‖σ~⋆−ρ‖1\displaystyle\left\|\tilde{\sigma}^{\star}-\rho\right\|_{1} ≤‖σ~⋆−σ⋆‖1+2​ϵ.\displaystyle\leq\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}+\sqrt{2\epsilon}.

Additionally, if Σ\Sigma is unitarily invariant and 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma (see (12)) for some orthonormal eigenbasis ℰρ\mathcal{E}_{\rho} of ρ\rho, then (18a) holds with 𝖣⁡(ρ~∥σ⋆)−𝖣⁡(ρ∥σ⋆)\mathsf{D}\left(\tilde{\rho}\middle\|\sigma^{\star}\right)-\mathsf{D}\left(\rho\middle\|\sigma^{\star}\right) replaced by 𝖣𝖪𝖫​(λρ~∥λσ⋆)−𝖣𝖪𝖫​(λρ∥λσ⋆)\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\tilde{\rho}}\middle\|\lambda_{\sigma^{\star}}\right)-\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma^{\star}}\right).

Proposition 2, proved in Section 5.4, is based on elementary arguments involving quantum Pinsker’s inequality (see, e.g., Hayashi 2016). We will use it to prove Theorem 2 which provides statistical non-asymptotic performance guarantees for QMLP.

To this end, we specialize to embeddings into ℍd\mathbb{H}_{d} for some d∈ℕd\in\mathbb{N}. Embeddings into finite dimensional Hilbert spaces are practically important, since LLMs and QLLMs are based on such embeddings. For ρ,σ>0\rho,\sigma>0, let the Thompson metric (Thompson 1963) on the space of positive density operators be T(ρ,σ)≔log(∥σ−1/2ρσ−1/2∥∨∥ρ−1/2σρ−1/2∥)T(\rho,\sigma)\coloneqq\log\!\big(\big\|\sigma^{-1/2}\rho\sigma^{-1/2}\big\|\vee\big\|\rho^{-1/2}\sigma\rho^{-1/2}\big\|\big). Note that T⁡(ρ,σ)=0T(\rho,\sigma)=0 if and only if ρ=σ\rho=\sigma.

For technical reasons, we will consider a slightly perturbed version of ρ^n​(xn)\hat{\rho}_{n}(x^{n}) obtained using the maximally mixed state πd\pi_{d} in ℍd\mathbb{H}_{d} such that the perturbation vanishes asymptotically with nn. Accordingly, define

(19) ρn​(xn)≔(1−1n)​ρ^n​(xn)+1n​πd,\displaystyle\rho_{n}(x^{n})\coloneqq\left(1-\frac{1}{n}\right)\hat{\rho}_{n}(x^{n})+\frac{1}{n}\pi_{d},

where ρ^n​(xn)\hat{\rho}_{n}(x^{n}) is as defined in (9), and set

(20) σ^n⋆(xn)≔(1−1n)σn⋆(xn)+1nπdwith σn⋆(xn)≔arg​minσ∈Σ𝖣(ρn(xn)∥σ).\displaystyle\hat{\sigma}_{n}^{\star}(x^{n})\coloneqq\left(1-\frac{1}{n}\right)\sigma_{n}^{\star}(x^{n})+\frac{1}{n}\pi_{d}\quad\mbox{with }\quad\sigma_{n}^{\star}(x^{n})\coloneqq\argmin_{\sigma\in\Sigma}\mathsf{D}(\rho_{n}(x^{n})\|\sigma).

Note that the definition in (19) involves a perturbation of ρ^n​(xn)\hat{\rho}_{n}(x^{n}) with πd\pi_{d}, which requires knowledge of ℍd\mathbb{H}_{d}. However, this can be determined given the embedding φ\varphi and knowledge of the support of PP, as the span of {φ(x):p(x)>0,x∈𝒳}\{\varphi(x):p(x)>0,~x\in\mathcal{X}\}.

The next theorem establishes consistency and convergence properties of QMLP.

Theorem 2 (Consistency and concentration of QMLP).

Let ρp>0\rho_{p}>0 and ρn​(xn)>0\rho_{n}(x^{n})>0 be density operators on ℍd\mathbb{H}_{d} as defined in (8) and (19), respectively. Suppose Σ\Sigma is a compact convex set with spt⁡(Σ)=ℍd\mathrm{spt}(\Sigma)=\mathbb{H}_{d} such that σp⋆≔arg​minσ∈Σ𝖣(ρp∥σ)\sigma_{p}^{\star}\coloneqq\argmin_{\sigma\in\Sigma}\mathsf{D}(\rho_{p}\|\sigma) satisfies 𝖣⁡(ρp∥σp⋆)≤ϵ\mathsf{D}\left(\rho_{p}\middle\|\sigma_{p}^{\star}\right)\leq\epsilon. Set

(21) bn≔log⁡‖σp⋆−1‖∨log⁡(d​n)∨T⁡(ρp,σp⋆) and b¯n≔log⁡(d​n)∨log⁡‖ρp−1‖.\displaystyle b_{n}\coloneqq\log\left\|\sigma_{p}^{\star-1}\right\|\vee\log(dn)\vee T(\rho_{p},\sigma_{p}^{\star})\quad\text{ and }\quad\bar{b}_{n}\coloneqq\log(dn)\vee\log\left\|\rho_{p}^{-1}\right\|.

Then, with σn⋆​(xn)\sigma_{n}^{\star}(x^{n}) and σ^n⋆​(xn)\hat{\sigma}_{n}^{\star}(x^{n}) as defined in (20), the following hold for Xn∼P⊗nX^{n}\sim P^{\otimes n}:

  1. (i)

    Performance guarantees under (squared) trace norm:

    (22) 𝔼⁡[‖σn⋆​(Xn)−ρp‖12]≤{16​d​(bn+4)​(2​log⁡(2​d)+π/2)​n−12+16​bn​n−1+64​n−2+28​ϵ, if ​ϵ>0,(32​d​‖ρp−1‖+8​d2)​(8n2+28​dn), if ​ϵ=0.\displaystyle\mathbb{E}\big[\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\big]\leq\begin{cases}16d(b_{n}+4)\big(\sqrt{2\log(2d)}+\sqrt{\pi/2}\big)n^{-\frac{1}{2}}\\ \qquad\qquad+16b_{n}n^{-1}+64n^{-2}+28\epsilon,&\text{ if }\epsilon>0,\\ (32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\left(\frac{8}{n^{2}}+\frac{28d}{n}\right),&\text{ if }\epsilon=0.\end{cases}

    Moreover, for all t≥0t\geq 0, we have

    (23a) ℙ⁡(‖σn⋆​(Xn)−ρp‖12≥16​bnn+64n2+28​ϵ+8​d​(bn+4)​t)≤4​d​e−(n​t24∧3​n​t4), if ​ϵ>0,\displaystyle\mathbb{P}\left(\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\geq\frac{16b_{n}}{n}+\frac{64}{n^{2}}+28\epsilon+8d(b_{n}+4)t\right)\mspace{-3mu}\leq 4de^{-\left(\frac{nt^{2}}{4}\wedge\frac{3nt}{4}\right)},\mbox{ if }\epsilon>0,
    (23b) ℙ⁡(‖σn⋆​(Xn)−ρp‖12≥(32​d​‖ρp−1‖+8​d2)​(8n2+2​t))≤2​d​e−(n​t4∧3​n​t4), if ​ϵ=0.\displaystyle\mathbb{P}\left(\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\geq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\left(\frac{8}{n^{2}}+2t\right)\right)\leq 2de^{-\left(\frac{nt}{4}\wedge\frac{3n\sqrt{t}}{4}\right)},\text{ if }\epsilon=0.
  2. (ii)

    Performance guarantees under quantum relative entropy: If Σ\Sigma is such that

    (24) 𝔼⁡[𝖣⁡(ρn​(Xn)∥σn⋆​(Xn))]∧𝔼⁡[𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))]≤ϵ,\displaystyle\mathbb{E}\left[\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\sigma_{n}^{\star}(X^{n})\right)\right]\wedge\mathbb{E}\left[\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\right]\leq\epsilon,

    then

    (25) 𝔼⁡[𝖣⁡(ρp∥σ^n⋆​(Xn))]≤{(2​b¯n+log⁡d)​n−1+d​b¯n​(2​log⁡(2​d)+π/2)​n−12+ϵ, if ​ϵ>0,28​d2​‖ρp−1‖+2​log⁡dn if ​ϵ=0.\displaystyle\mathbb{E}\big[\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\big]\mspace{-3mu}\leq\mspace{-3mu}\begin{cases}\mspace{-3mu}(2\bar{b}_{n}+\log d)n^{-1}+d\bar{b}_{n}\left(\sqrt{2\log(2d)}+\sqrt{\pi/2}\right)n^{-\frac{1}{2}}+\epsilon,&\text{ if }\epsilon>0,\\ \mspace{-3mu}\frac{28d^{2}\left\|\rho_{p}^{-1}\right\|+2\log d}{n}&\text{ if }\epsilon=0.\end{cases}

    If Σ\Sigma also satisfies

    (26) 𝖣⁡(ρn​(Xn)∥σn⋆​(Xn))∧𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))≤ϵ,almost surely,\displaystyle\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\sigma_{n}^{\star}(X^{n})\right)\wedge\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\leq\epsilon,\quad\text{almost surely,}

    then for all t≥0t\geq 0,

    (27a) ℙ⁡(𝖣⁡(ρp∥σ^n⋆​(Xn))≥2​b¯nn+log⁡dn+ϵ+d​b¯n​t)≤2​d​e−(n​t24∧3​n​t4),if ​ϵ>0,\displaystyle\mathbb{P}\left(\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\geq\frac{2\bar{b}_{n}}{n}+\frac{\log d}{n}+\epsilon+d\bar{b}_{n}t\right)\leq 2de^{-\left(\frac{nt^{2}}{4}\wedge\frac{3nt}{4}\right)},\quad\text{if }\epsilon>0,
    (27b) ℙ⁡(𝖣⁡(ρp∥σ^n⋆​(Xn))≥2​d​t​‖ρp−1‖+2​log⁡dn)≤2​d​e−(n​t4∧3​n​t4),if ​ϵ=0.\displaystyle\mathbb{P}\left(\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\geq 2dt\left\|\rho_{p}^{-1}\right\|+\frac{2\log d}{n}\right)\leq 2de^{-\left(\frac{nt}{4}\wedge\frac{3n\sqrt{t}}{4}\right)},\quad\text{if }\epsilon=0.

The proof of Theorem 2 in Section 5.5 combines the variational form of quantum relative entropy (2) with Proposition 2 to control ‖σn⋆​(Xn)−ρp‖1\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1} and 𝖣⁡(ρp∥σ^n⋆​(Xn))\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right), and then applies matrix Bernstein/Hoeffding bounds (Theorem 3).

A few remarks are in order. In a finite-dimensional Hilbert space ℍd\mathbb{H}_{d}, a set Σ\Sigma satisfying the conditions in Theorem 2 exists. For instance, Σ=𝒮⁡(ℍd)\Sigma=\mathcal{S}(\mathbb{H}_{d}) is a convex compact set satisfying (24) and (26). More generally, any ϵ\epsilon-covering of 𝒮⁡(ℍd)\mathcal{S}(\mathbb{H}_{d}) in quantum relative entropy as a measure of separation suffices (see (Tang 2022) for relevant covering number bounds in the classical case). Thus, a smaller ϵ\epsilon can be achieved by increasing the expressivity of quantum models. Moreover, the assumption ρp>0\rho_{p}>0 is not very restrictive since ρ^n​(Xn)≪ρp\hat{\rho}_{n}(X^{n})\ll\rho_{p} almost surely (the complementary event requires Xi∉spt⁡(P)X_{i}\notin\mathrm{spt}(P) for some 1≤i≤n1\leq i\leq n, which has probability zero), and the support of Σ\Sigma can be restricted to support of ρp\rho_{p} which can be determined via knowledge of spt⁡(P)\mathrm{spt}(P) given an embedding. Next, observe that (22) implies a parametric rate of convergence with respect to nn for the QMLP to the target distribution (up to the approximation factor ϵ\epsilon) when ϵ>0\epsilon>0 and Od​(1/n)O_{d}(1/n) rate of convergence when ϵ=0\epsilon=0. Hence, there is no curse of dimensionality in the convergence rate. Also, note that (25) and (27), combined with Pinsker’s inequality, yield the analogues of (22) and (23), respectively, with ‖σn⋆​(Xn)−ρp‖1\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1} replaced by ‖σ^n⋆​(Xn)−ρp‖1\left\|\hat{\sigma}_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}. Finally, by data processing inequality for trace norm and quantum relative entropy, the claims in Theorem 2 also hold for the respective measured quantities; hence also to the output distributions of the LLM. Theorem 2 provides insights on certain properties that a good embedding should satisfy. Specifically, a good embedding φ\varphi should be such that the minimal eigenvalue of ρp\rho_{p} is as high as possible subject to satisfactory prediction performance. As alluded to in Section 3.1, this occurs when neighboring symbols are embedded into closely aligned elements in the Hilbert space, so that the minimal eigenvalue of ρp\rho_{p} is boosted up. In contrast, classical information-theoretic analyses for prediction obtains performance guarantees by considering only the source probability distribution without taking account of similarity or context, which corresponds to the scenario of orthogonal embedding. This could possibly explain the success of architectures such as the transformer from a high-level perspective, since non-orthogonal embeddings into Hilbert spaces naturally capture the degree of similarity via inner products.

5. Proofs

5.1. Proof of Proposition 1

Note that performing a quantum measurement in the eigenbasis ℰ⁡(ρ)\mathcal{E}(\rho) of ρ\rho and σ\sigma yields the pmfs λρ\lambda_{\rho} and λσ′\lambda_{\sigma^{\prime}} for σ′=∑i=1∞𝖯i​(ρ)​σ​𝖯i​(ρ)\sigma^{\prime}=\sum_{i=1}^{\infty}\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho). Then, data processing inequality for quantum relative entropy yields

𝖣(ρ∥σ)≥𝖣𝖪𝖫(λρ∥λσ).\displaystyle\mathsf{D}(\rho\|\sigma)\geq\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right).

Hence

(28) infσ∈Σ𝖣(ρ∥σ)≥infσ∈𝒥⁡(ℰρ,Σ)𝖣𝖪𝖫(λρ∥λσ).\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}(\rho\|\sigma)\geq\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right).

Since the opposite inequality holds when 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma (by using that infimum can only increase when taken over a subset), (13) follows.

Let Σ⁡(ℰρ)\Sigma(\mathcal{E}_{\rho}) denote the set of density operators in Σ\Sigma for which ℰρ\mathcal{E}_{\rho} is an eigenbasis. If 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma and Σ\Sigma is unitarily invariant, then the last claim in the proposition holds since

infσ∈Σ𝖣(ρ∥σ)≤infσ∈Σ⁡(ℰρ)𝖣(ρ∥σ)=infσ∈Σ⁡(ℰρ)𝖣𝖪𝖫(λρ∥λσ)=infσ∈Σ𝖣𝖪𝖫(λρ∥λσ)≤infσ∈𝒥⁡(ℰρ,Σ)𝖣𝖪𝖫(λρ∥λσ),\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}(\rho\|\sigma)\leq\inf_{\sigma\in\Sigma(\mathcal{E}_{\rho})}\mathsf{D}(\rho\|\sigma)=\inf_{\sigma\in\Sigma(\mathcal{E}_{\rho})}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right)=\inf_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right)\leq\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right),

and the quantities at left and right extremes are equal by (13). In the above equation, only the penultimate equality is non-trivial, i.e.,

infσ∈Σ⁡(ℰρ)𝖣𝖪𝖫​(λρ∥λσ)=infσ∈Σ𝖣𝖪𝖫​(λρ∥λσ).\displaystyle\inf_{\sigma\in\Sigma(\mathcal{E}_{\rho})}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right)=\inf_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right).

The ≥\geq implication is straightforward as Σ⁡(ℰρ)⊆Σ\Sigma(\mathcal{E}_{\rho})\subseteq\Sigma, while the ≤\leq implication follows from the fact that for any σ∈Σ\sigma\in\Sigma, there exists another σ′∈Σ⁡(ℰρ)\sigma^{\prime}\in\Sigma(\mathcal{E}_{\rho}) with the same eigenvalues λσ\lambda_{\sigma} since Σ\Sigma is unitarily invariant.

5.2. Proof of Theorem 1

While the proof closely follows that of Csiszár and Shields 2004, certain essential modifications are required to generalize to the non-commutative setting. Consider the proof of Part (i)(i). Assume that 𝒮¯\bar{\mathcal{S}} is convex and spt⁡(𝒮¯)⊆spt⁡(σ)\mathrm{spt}(\bar{\mathcal{S}})\subseteq\mathrm{spt}(\sigma). Then, 𝖣⁡(ρ∥σ)\mathsf{D}\left(\rho\middle\|\sigma\right) is continuous strictly convex function in ρ\rho for ρ∈𝒮¯\rho\in\bar{\mathcal{S}}. Hence, ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}} as defined in (14) exists (as 𝒮¯\bar{\mathcal{S}} is compact), and is unique. Fix an arbitrary ρ∈𝒮¯\rho\in\bar{\mathcal{S}}. For t∈[0,1]t\in[0,1], let ρt=(1−t)​ρσ,𝒮¯⋆+t​ρ∈𝒮¯\rho_{t}=(1-t)\rho^{\star}_{\sigma,\bar{\mathcal{S}}}+t\rho\in\bar{\mathcal{S}}. Since ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}} must satisfy

(29) 𝖣(ρt∥σ)−𝖣(ρ⋆σ,𝒮¯∥σ)t≥0,∀t∈(0,1),\displaystyle\frac{\mathsf{D}\left(\rho_{t}\middle\|\sigma\right)-\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\|\sigma\big)}{t}\geq 0,~\forall~t\in(0,1),

we have by the mean value theorem that there exists t~∈(0,t)\tilde{t}\in(0,t) such that

(30) dd​t𝖣(ρt∥σ)|t=t~≥0.\displaystyle\frac{d}{dt}\mathsf{D}\left(\rho_{t}\middle\|\sigma\right)_{\big|t=\tilde{t}}\geq 0.

Let f1​(t)≔Tr⁡[ρt​log⁡ρt]f_{1}(t)\coloneqq\operatorname{Tr}{\left[\rho_{t}\log\rho_{t}\right]} and f2​(t)≔Tr⁡[ρt​log⁡σ]f_{2}(t)\coloneqq\operatorname{Tr}{\left[\rho_{t}\log\sigma\right]}. Denoting the derivatives of f1f_{1} and f2f_{2} by f1′f_{1}^{\prime} and f2′f_{2}^{\prime}, respectively, we have

(31a) f1′​(t~)=Tr⁡[(ρ−ρσ,𝒮¯⋆)​log​ρt~]+Tr⁡[ρt~​dd​t​log​ρt|t=t~]=Tr⁡[(ρ−ρσ,𝒮¯⋆)​log​ρt~],\displaystyle f_{1}^{\prime}(\tilde{t})=\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\log\rho_{\tilde{t}}\right]}+\operatorname{Tr}{\left[\rho_{\tilde{t}}\frac{d}{dt}\log\rho_{t\big|t=\tilde{t}}\right]}=\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\log\rho_{\tilde{t}}\right]},
(31b) f2′​(t~)=Tr⁡[(ρ−ρσ,𝒮¯⋆)​log⁡σ],\displaystyle f_{2}^{\prime}(\tilde{t})=\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\log\sigma\right]},

where we used

Tr⁡[ρt~​dd​t​log⁡ρt|t=t~]\displaystyle\operatorname{Tr}{\left[\rho_{\tilde{t}}\frac{d}{dt}\log\rho_{t\big|t=\tilde{t}}\right]} =(a)Tr⁡[ρt~​∫0∞(τ​I+ρt~)−1​(ρ−ρσ,𝒮¯⋆)​(τ​I+ρt~)−1​𝑑τ]\displaystyle\stackrel{{\scriptstyle(a)}}{{=}}\operatorname{Tr}{\left[\rho_{\tilde{t}}\int_{0}^{\infty}\big(\tau I+\rho_{\tilde{t}}\big)^{-1}\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\big(\tau I+\rho_{\tilde{t}}\big)^{-1}d\tau\right]}
=(b)Tr⁡[(ρ−ρσ,𝒮¯⋆)​ρt~​∫0∞(τ​I+ρt~)−2​𝑑τ]\displaystyle\stackrel{{\scriptstyle(b)}}{{=}}\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\rho_{\tilde{t}}\int_{0}^{\infty}\big(\tau I+\rho_{\tilde{t}}\big)^{-2}d\tau\right]}
=(c)Tr⁡[ρ−ρσ,𝒮¯⋆]=(d)0,\displaystyle\stackrel{{\scriptstyle(c)}}{{=}}\operatorname{Tr}{\left[\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\right]}\stackrel{{\scriptstyle(d)}}{{=}}0,

where in (a)(a), we used an integral expression for logarithm of a operator A>0A>0:

(32) log⁡A\displaystyle\log A =∫0∞(1(τ+1)​I−1τ​I+A)​𝑑τ;\displaystyle=\int_{0}^{\infty}\left(\frac{1}{(\tau+1)I}-\frac{1}{\tau I+A}\right)d\tau;

(b)(b) follows by cyclicity of trace, (c)(c) is because the integral evaluates to ρt~−1\rho_{\tilde{t}}^{-1}, and (d)(d) is because Tr⁡[ρ]=Tr⁡[ρσ,𝒮¯⋆]=1\operatorname{Tr}{\left[\rho\right]}=\operatorname{Tr}{\left[\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\right]}=1. Hence

Tr⁡[(ρ−ρσ,𝒮¯⋆)​(log⁡ρt~−log⁡σ)]≥0,∀t~>0.\displaystyle\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\big(\log\rho_{\tilde{t}}-\log\sigma\big)\right]}\geq 0,~\forall~\tilde{t}>0.

Note that if ρ /≪ρσ,𝒮¯⋆\rho\mathchoice{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\displaystyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\textstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.98611pt\kern-4.45831pt$\scriptstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.40282pt\kern-3.95834pt$\scriptscriptstyle\not$\hss}{\ll}}}\rho^{\star}_{\sigma,\bar{\mathcal{S}}}, then the LHS above tends to −∞-\infty as t~↓0\tilde{t}\downarrow 0, thus ruling out this possibility. Hence, ρ≪ρσ,𝒮¯⋆\rho\ll\rho^{\star}_{\sigma,\bar{\mathcal{S}}} for all ρ∈𝒮¯\rho\in\bar{\mathcal{S}}, implying that spt⁡(ρσ,𝒮¯⋆)=spt⁡(𝒮¯)\mathrm{spt}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)=\mathrm{spt}(\bar{\mathcal{S}}). Taking limits t~↓0\tilde{t}\downarrow 0, we obtain that

Tr⁡[(ρ−ρσ,𝒮¯⋆)​(log⁡ρσ,𝒮¯⋆−log⁡σ)]≥0,∀ρ∈𝒮¯,\displaystyle\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\big(\log\rho^{\star}_{\sigma,\bar{\mathcal{S}}}-\log\sigma\big)\right]}\geq 0,~\forall~\rho\in\bar{\mathcal{S}},

which is equivalent to (15).

Now, consider that 𝒮¯\bar{\mathcal{S}} is also linearly closed. Then, for any ρ∈𝒮¯\rho\in\bar{\mathcal{S}}, there exists t−<0t^{-}<0 (depending on ρ\rho) such that for all t∈[t−,1]t\in[t^{-},1], ρt=(1−t)​ρσ,𝒮¯⋆+t​ρ∈𝒮¯\rho_{t}=(1-t)\rho^{\star}_{\sigma,\bar{\mathcal{S}}}+t\rho\in\bar{\mathcal{S}}. Hence, 𝖣⁡(ρt∥σ)\mathsf{D}\left(\rho_{t}\middle\|\sigma\right) is differentiable at t=0t=0 and the optimizer ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}} given in (14) must satisfy

(33) 0=dd​t𝖣(ρt∥σ)|t=0=Tr[(ρ−ρσ,𝒮¯⋆)(logρσ,𝒮¯⋆−logσ)],∀ρ∈𝒮¯,\displaystyle 0=\frac{d}{dt}\mathsf{D}\left(\rho_{t}\middle\|\sigma\right)_{\big|t=0}=\operatorname{Tr}{\left[\big(\rho-\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\big)\big(\log\rho^{\star}_{\sigma,\bar{\mathcal{S}}}-\log\sigma\big)\right]},~\forall~\rho\in\bar{\mathcal{S}},

which is equivalent to equality in (15).

To prove Part (i​i)(ii), note that 𝖣⁡(ρ∥σ)\mathsf{D}\left(\rho\middle\|\sigma\right) is infinite if ρ /≪σ\rho\mathchoice{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\displaystyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\textstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.98611pt\kern-4.45831pt$\scriptstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.40282pt\kern-3.95834pt$\scriptscriptstyle\not$\hss}{\ll}}}\sigma. Hence, if 𝒮¯σ\bar{\mathcal{S}}_{\sigma} is empty, the minimum in (14) is infinite and ρσ,𝒮¯⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}} can be chosen to be any ρ∈𝒮¯\rho\in\bar{\mathcal{S}}. In this case, both sides of (15) are infinite. On the other hand, if 𝒮¯σ\bar{\mathcal{S}}_{\sigma} is non-empty, then ρσ,𝒮¯⋆∈𝒮¯σ\rho^{\star}_{\sigma,\bar{\mathcal{S}}}\in\bar{\mathcal{S}}_{\sigma}. Note that 𝒮¯σ\bar{\mathcal{S}}_{\sigma} is also compact and convex, being the intersection of two compact convex sets. Moreover, if 𝒮¯\bar{\mathcal{S}} is linearly closed, so is 𝒮¯σ\bar{\mathcal{S}}_{\sigma}. Hence, by applying Part (i)(i) with 𝒮¯σ\bar{\mathcal{S}}_{\sigma} in place of 𝒮¯\bar{\mathcal{S}}, (15) holds for any ρ∈𝒮¯σ\rho\in\bar{\mathcal{S}}_{\sigma}. Also, for any ρ∈𝒮¯∖𝒮¯σ\rho\in\bar{\mathcal{S}}\setminus\bar{\mathcal{S}}_{\sigma}, both sides of (15) are infinite simultaneously.

Next, we prove Part (i​i​i)(iii). We will denote ℳ⁡(ρ0,𝒞)\mathcal{M}(\rho_{0},\mathcal{C}) by ℳ\mathcal{M} and \macc@depthΔ\macc@set@skewchar\macc@nested@a111(ρ0,𝒞)σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}(\rho_{0},\mathcal{C}) by \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} for simplicity. Note that since ℳ\mathcal{M} is compact and linearly closed, so is \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}. Applying Part (i​i)(ii), we obtain that the optimizer ρ⋆σ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ∈\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\in\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} with spt(ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆)=spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ\mathrm{spt}(\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}})=\mathrm{spt}(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}) since \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} is assumed to be non-empty. Hence, the proof will be completed if we show that

(34) ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆∈Exp(𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σσ𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ,𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ𝒞𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ),\displaystyle\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\in\mathrm{Exp}\big(\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\sigma\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}},\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\mathcal{C}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\big),

where 𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}} is the projection onto the support of \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}. To see this, let αi≔Tr⁡[ρ0​Li]\alpha_{i}\coloneqq\operatorname{Tr}{\left[\rho_{0}L_{i}\right]} and note that every ρ∈\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho\in\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} should satisfy

Tr⁡[ρ⁡(Li−αi​I)]=0.\displaystyle\operatorname{Tr}{\left[\rho(L_{i}-\alpha_{i}I)\right]}=0.

Since spt(ρ)⊆spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ\mathrm{spt}(\rho)\subseteq\mathrm{spt}(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}), this implies by cyclicity of trace that

(35) Tr[ρ𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ(Li−αiI)𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ]=0,\displaystyle\operatorname{Tr}{\left[\rho\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}(L_{i}-\alpha_{i}I)\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\right]}=0,

where II denotes the identity operator. Also, we have similarly from (33) that

(36) Tr[ρ𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ(logρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆−logσ−𝖣(ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆∥σ)I)𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ]=0.\displaystyle\operatorname{Tr}{\left[\rho\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\left(\log\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}-\log\sigma-\mathsf{D}\big(\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\|\sigma\big)I\right)\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\right]}=0.

Let 𝒜\mathcal{A} denote the subspace spanned by {𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ(Li−αiI)𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ}i=1k\{\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}(L_{i}-\alpha_{i}I)\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\}_{i=1}^{k}. Note that (35) means that ρ∈\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho\in\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} belongs to the orthogonal complement of 𝒜\mathcal{A} in spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ\mathrm{spt}(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}), denoted by 𝒜⟂\mathcal{A}^{\perp}. Moreover, since spt(ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆)=spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ\mathrm{spt}\big(\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\big)=\mathrm{spt}(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}), density operators within \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} span the real vector space of self-adjoint operators whose support is contained in 𝒜⟂\mathcal{A}^{\perp}. This can be seen by considering an orthogonal self-adjoint basis for this space, adding a scalar multiple of ρ⋆σ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}} to its each element to obtain a set of positive operators on spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ\mathrm{spt}(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}), and normalizing each such operator by the sum of its eigenvalues, to yield the desired basis of density operators (including ρ⋆σ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}). Given this, (36) holding for all ρ∈\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho\in\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} implies that

𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ(logρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆−logσ−𝖣(ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆∥σ)I)𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ=∑i=1kβi𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ(Li−αiI)𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ,\displaystyle\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\left(\log\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}-\log\sigma-\mathsf{D}\big(\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\|\sigma\big)I\right)\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}=\sum_{i=1}^{k}\beta_{i}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}(L_{i}-\alpha_{i}I)\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}},

for some 𝜷∈ℂk\bm{\beta}\in\mathbb{C}^{k}. Noting that spt(ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆)=spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ\mathrm{spt}(\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}})=\mathrm{spt}(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}), we obtain

ρ⋆σ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ=c𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σelog⁡σ+∑i=1kβi​Li𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ=celog(𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σσ𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ)+∑i=1kβi𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σLi𝖯\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ,\displaystyle\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}=c\mspace{2mu}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}e^{\log\sigma+\sum_{i=1}^{k}\beta_{i}L_{i}}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}=c\mspace{2mu}e^{\log\big(\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\sigma\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\big)+\sum_{i=1}^{k}\beta_{i}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}L_{i}\mathsf{P}_{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}},

for some cc, which implies (34).

Finally, we prove Part (i​v)(iv). Let ρ∈𝒮⁡(ℍd)\rho\in\mathcal{S}(\mathbb{H}_{d}) be such that ρ≪σ\rho\ll\sigma, and ℰρ≔{ei​(ρ)}i=1∞\mathcal{E}_{\rho}\coloneqq\{e_{i}(\rho)\}_{i=1}^{\infty} denote an orthonormal eigenbasis of ρ\rho. For 1≤i,j≤d1\leq i,j\leq d, let

Li,j=|ei​(ρ)⟩​⟨ej​(ρ)|and𝒞={Li,j:1≤i≠j≤d}.\displaystyle L_{i,j}=|e_{i}(\rho)\rangle\langle e_{j}(\rho)|\quad\text{and}\quad\mathcal{C}=\{L_{i,j}:1\leq i\neq j\leq d\}.

Consider the mixture family

ℳ≔ℳ⁡(ρ,𝒞)≔{ρ′∈𝒮⁡(ℍd):Tr⁡[ρ′​Li,j]=Tr⁡[ρ​Li,j]=0},\displaystyle\mathcal{M}\coloneqq\mathcal{M}(\rho,\mathcal{C})\coloneqq\left\{\rho^{\prime}\in\mathcal{S}(\mathbb{H}_{d}):\operatorname{Tr}{\left[\rho^{\prime}L_{i,j}\right]}=\operatorname{Tr}{\left[\rho L_{i,j}\right]}=0\right\},

generated by 𝒞\mathcal{C} and ρ\rho, and set

\macc@depthΔ\macc@set@skewchar\macc@nested@a111≔σ\macc@depthΔ\macc@set@skewchar\macc@nested@a111(ρ,𝒞)σ≔{ρ′∈ℳ(ρ,𝒞):ρ′≪σ},\displaystyle\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}\coloneqq\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}(\rho,\mathcal{C})\coloneqq\left\{\rho^{\prime}\in\mathcal{M}(\rho,\mathcal{C}):\rho^{\prime}\ll\sigma\right\},

as the set of density operators with eigenbasis ℰρ\mathcal{E}_{\rho} whose support is contained in that of σ\sigma. Observe that ℳ=𝒮¯​(ℰρ)\mathcal{M}=\bar{\mathcal{S}}(\mathcal{E}_{\rho}) and \macc@depthΔ\macc@set@skewchar\macc@nested@a111=σ𝒮¯σ(ℰρ)\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}=\bar{\mathcal{S}}_{\sigma}(\mathcal{E}_{\rho}). Further, note that \macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma} is non-empty and spt(\macc@depthΔ\macc@set@skewchar\macc@nested@a111)σ=spt(σ)\mathrm{spt}\big(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}\big)=\mathrm{spt}(\sigma). Hence, we obtain from Part (i​i​i)(iii) that

ρσ,ℳ⋆=ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆∈\macc@depthΔ\macc@set@skewchar\macc@nested@a111∩σExp(σ,𝒞).\displaystyle\rho^{\star}_{\sigma,\mathcal{M}}=\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}\in\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}\cap\mathrm{Exp}\big(\sigma,\mathcal{C}\big).

Hence

ρ⋆σ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ=elog⁡σ+∑1≤i≠j≤dβi,j​|ei​(ρ)⟩​⟨ej​(ρ)|,\displaystyle\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}=e^{\log\sigma+\sum_{1\leq i\neq j\leq d}\beta_{i,j}|e_{i}(\rho)\rangle\langle e_{j}(\rho)|},

where βi,j=−⟨ei​(ρ)|log⁡σ|ej​(ρ)⟩\beta_{i,j}=-\langle e_{i}(\rho)|\log\sigma|e_{j}(\rho)\rangle for all i,ji,j such that ei​(ρ),ej​(ρ)∈spt⁡(σ)e_{i}(\rho),e_{j}(\rho)\in\mathrm{spt}(\sigma) and 0 otherwise. Hence, the non-diagonal entries in the matrix representation of ρ⋆σ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}} in the orthonormal basis is ℰρ\mathcal{E}_{\rho} is zero. In other words,

ρσ,𝒮¯​(ℰρ)⋆=ρσ,\macc@depthΔ\macc@set@skewchar\macc@nested@a111σ⋆=∑i=1d𝖯i(ρ)σ𝖯i(ρ)∈𝒥(ℰρ,{σ}).\displaystyle\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}=\rho^{\star}_{\sigma,\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}_{\sigma}}=\sum_{i=1}^{d}\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho)\in\mathcal{J}\left(\mathcal{E}_{\rho},\{\sigma\}\right).

5.3. Interpretation of Proposition 1 in terms of Quantum Pythagorean Theorem

Let Σρ≔{σ∈Σ:ρ≪σ}\Sigma_{\rho}\coloneqq\{\sigma\in\Sigma:\rho\ll\sigma\}. If Σρ\Sigma_{\rho} is empty, then the left hand side of (13) is infinite. side. The right hand side of (13) is also infinite. This can be seen by noting that Σρ\Sigma_{\rho} being empty means that for any σ∈Σ\sigma\in\Sigma, there exists a 𝖯i​(ρ)\mathsf{P}_{i}(\rho) such that Tr⁡[𝖯i​(ρ)​σ]=0\operatorname{Tr}{\left[\mathsf{P}_{i}(\rho)\sigma\right]}=0 and Tr⁡[𝖯i​(ρ)​ρ]>0\operatorname{Tr}{\left[\mathsf{P}_{i}(\rho)\rho\right]}>0, which implies that Tr⁡[𝖯i​(ρ)​σ​𝖯i​(ρ)]=0\operatorname{Tr}{\left[\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho)\right]}=0. Hence ρ /≪∑i𝖯i​(ρ)​σ​𝖯i​(ρ)\rho\mathchoice{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\displaystyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\textstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.98611pt\kern-4.45831pt$\scriptstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.40282pt\kern-3.95834pt$\scriptscriptstyle\not$\hss}{\ll}}}\sum_{i}\mathsf{P}_{i}(\rho)\sigma\mathsf{P}_{i}(\rho) and λρ /≪λσ\lambda_{\rho}\mathchoice{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\displaystyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\textstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.98611pt\kern-4.45831pt$\scriptstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.40282pt\kern-3.95834pt$\scriptscriptstyle\not$\hss}{\ll}}}\lambda_{\sigma} implying the desired claim.

Now, assume that Σρ\Sigma_{\rho} in non-empty. Observe that 𝒮¯​(ℰρ)\bar{\mathcal{S}}(\mathcal{E}_{\rho}) as defined in Theorem 1(i​v)(iv), i.e., the set of all density operators that share the same eigenbasis, ℰρ\mathcal{E}_{\rho}, as that of ρ\rho, is compact and linearly closed. Fix any σ∈Σρ\sigma\in\Sigma_{\rho} and let 𝒮¯σ​(ρ)≔{ρ′∈𝒮¯​(ℰρ):ρ′≪σ}\bar{\mathcal{S}}_{\sigma}(\rho)\coloneqq\big\{\rho^{\prime}\in\bar{\mathcal{S}}(\mathcal{E}_{\rho}):\rho^{\prime}\ll\sigma\big\}. Since 𝒮¯σ​(ρ)\bar{\mathcal{S}}_{\sigma}(\rho) is also a non-empty compact linearly closed subset such that spt⁡(𝒮¯σ​(ρ))=spt⁡(σ)\mathrm{spt}\big(\bar{\mathcal{S}}_{\sigma}(\rho)\big)=\mathrm{spt}(\sigma), from Theorem 1(i)(i) with 𝒮¯=𝒮¯σ​(ρ)\bar{\mathcal{S}}=\bar{\mathcal{S}}_{\sigma}(\rho), we have ρσ,𝒮¯​(ℰρ)⋆∈𝒮¯σ​(ρ)\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\in\bar{\mathcal{S}}_{\sigma}(\rho) with spt⁡(ρσ,𝒮¯​(ℰρ)⋆)=spt⁡(σ)\mathrm{spt}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\big)=\mathrm{spt}(\sigma), and

(37) 𝖣(ρ∥σ)=𝖣(ρ∥ρσ,𝒮¯​(ℰρ)⋆)+𝖣(ρσ,𝒮¯​(ℰρ)⋆∥σ)=𝖣𝖪𝖫(λρ∥λρσ,𝒮¯​(ℰρ)⋆)+𝖣(ρσ,𝒮¯​(ℰρ)⋆∥σ).\displaystyle\mathsf{D}\left(\rho\middle\|\sigma\right)=\mathsf{D}\big(\rho\|\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\big)+\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\|\sigma\big)=\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)+\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\|\sigma\big).

The penultimate equality above is because ρσ,𝒮¯​(ℰρ)⋆\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})} and ρ\rho share the common eigenbasis ℰρ\mathcal{E}_{\rho}. Since quantum relative entropy is non-negative, minimizing σ\sigma over a Σ\Sigma yields

(38) infσ∈Σ𝖣⁡(ρ∥σ)=infσ∈Σρ𝖣⁡(ρ∥σ)≥infσ∈Σρ𝖣𝖪𝖫​(λρ∥λρσ,𝒮¯​(ℰρ)⋆)≥infσ∈Σ𝖣𝖪𝖫​(λρ∥λρσ,𝒮¯​(ℰρ)⋆).\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}\left(\rho\middle\|\sigma\right)=\inf_{\sigma\in\Sigma_{\rho}}\mathsf{D}\left(\rho\middle\|\sigma\right)\geq\inf_{\sigma\in\Sigma_{\rho}}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)\geq\inf_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right).

Now, assume that Σ\Sigma satisfies 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma. Then 𝒥⁡(ℰρ,Σρ)⊆Σρ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right)\subseteq\Sigma_{\rho}, and we have

infσ∈Σ𝖣⁡(ρ∥σ)\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}\left(\rho\middle\|\sigma\right) =infσ∈Σρ𝖣⁡(ρ∥σ)\displaystyle=\inf_{\sigma\in\Sigma_{\rho}}\mathsf{D}\left(\rho\middle\|\sigma\right)
=infσ∈Σρ𝖣𝖪𝖫(λρ∥λρσ,𝒮¯​(ℰρ)⋆)+𝖣(ρσ,𝒮¯​(ℰρ)⋆∥σ)\displaystyle=\inf_{\sigma\in\Sigma_{\rho}}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)+\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\|\sigma\big)
≤(a)infσ∈𝒥⁡(ℰρ,Σρ)𝖣𝖪𝖫(λρ∥λρσ,𝒮¯​(ℰρ)⋆)+𝖣(ρσ,𝒮¯​(ℰρ)⋆∥σ)\displaystyle\stackrel{{\scriptstyle(a)}}{{\leq}}\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)+\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\|\sigma\big)
=(b)infσ∈𝒥⁡(ℰρ,Σρ)𝖣𝖪𝖫​(λρ∥λρσ,𝒮¯​(ℰρ)⋆)\displaystyle\stackrel{{\scriptstyle(b)}}{{=}}\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)
=(c)infσ∈Σρ𝖣𝖪𝖫​(λρ∥λρσ,𝒮¯​(ℰρ)⋆)\displaystyle\stackrel{{\scriptstyle(c)}}{{=}}\inf_{\sigma\in\Sigma_{\rho}}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)
(39) =(d)infσ∈Σ𝖣𝖪𝖫​(λρ∥λρσ,𝒮¯​(ℰρ)⋆),\displaystyle\stackrel{{\scriptstyle(d)}}{{=}}\inf_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right),

where

  1. (a)

    is because 𝒥⁡(ℰρ,Σρ)⊆Σρ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right)\subseteq\Sigma_{\rho};

  2. (b)

    is because for σ∈𝒥⁡(ℰρ,Σρ)\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right), ρσ,𝒮¯​(ℰρ)⋆=σ\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}=\sigma, λρσ,𝒮¯​(ℰρ)⋆=λσ\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}=\lambda_{\sigma}, and 𝖣(ρσ,𝒮¯​(ℰρ)⋆∥σ)=0\mathsf{D}\big(\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\|\sigma\big)=0;

  3. (c)

    is because {λρσ,𝒮¯​(ℰρ)⋆:σ∈𝒥⁡(ℰρ,Σρ)}={λρσ,𝒮¯​(ℰρ)⋆:σ∈Σρ}\big\{\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}:\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right)\big\}=\big\{\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}:\sigma\in\Sigma_{\rho}\big\} since for any σ∈Σρ\sigma\in\Sigma_{\rho}, ρσ,𝒮¯​(ℰρ)⋆∈𝒥⁡(ℰρ,Σρ)\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right) by Theorem 1(i​v)(iv) and 𝒥⁡(ℰρ,Σρ)⊆Σρ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma_{\rho}\right)\subseteq\Sigma_{\rho};

  4. (d)

    is because for σ∈Σ∖Σρ\sigma\in\Sigma\setminus\Sigma_{\rho}, λρ /≪λρσ,𝒮¯​(ℰρ)⋆\lambda_{\rho}\mathchoice{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\displaystyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 5.0pt\kern-5.27776pt$\textstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.98611pt\kern-4.45831pt$\scriptstyle\not$\hss}{\ll}}}{\mathrel{\hbox to0.0pt{\kern 3.40282pt\kern-3.95834pt$\scriptscriptstyle\not$\hss}{\ll}}}\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}. Hence, 𝖣𝖪𝖫(λρ∥λρσ,𝒮¯​(ℰρ)⋆)=∞\mathsf{D}_{\mathsf{KL}}\big(\lambda_{\rho}\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\big)=\infty and hence such a σ\sigma cannot be the infimum within Σ\Sigma .

To summarize, (38) and (39) implies that when ℍ\mathbb{H} is finite dimensional and 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma,

infσ∈Σ𝖣⁡(ρ∥σ)=infσ∈Σ𝖣𝖪𝖫​(λρ∥λρσ,𝒮¯​(ℰρ)⋆)=infσ∈𝒥⁡(ℰρ,Σ)𝖣𝖪𝖫​(λρ∥λσ),\displaystyle\inf_{\sigma\in\Sigma}\mathsf{D}\left(\rho\middle\|\sigma\right)=\inf_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\rho^{\star}_{\sigma,\bar{\mathcal{S}}(\mathcal{E}_{\rho})}}\right)=\inf_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right),

thus establishing (13). The proof of the last claim in Proposition 1 follows analogous to the proof therein.

5.4. Proof of Proposition 2

We have

2​(𝖣⁡(ρ~∥σ~⋆)−𝖣⁡(ρ∥σ⋆))\displaystyle 2\big(\mathsf{D}\left(\tilde{\rho}\middle\|\tilde{\sigma}^{\star}\right)-\mathsf{D}\left(\rho\middle\|\sigma^{\star}\right)\big) ≥(a)‖ρ~−σ~⋆‖12−2​ϵ\displaystyle\stackrel{{\scriptstyle(a)}}{{\geq}}\left\|\tilde{\rho}-\tilde{\sigma}^{\star}\right\|_{1}^{2}-2\epsilon
≥(b)0.5​‖σ~⋆−σ⋆‖12−‖ρ~−σ⋆‖12−2​ϵ\displaystyle\stackrel{{\scriptstyle(b)}}{{\geq}}0.5\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}^{2}-\left\|\tilde{\rho}-\sigma^{\star}\right\|_{1}^{2}-2\epsilon
≥(c)0.5​‖σ~⋆−σ⋆‖12−2​‖ρ~−ρ‖12−2​‖ρ−σ⋆‖12−2​ϵ\displaystyle\stackrel{{\scriptstyle(c)}}{{\geq}}0.5\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}^{2}-2\left\|\tilde{\rho}-\rho\right\|_{1}^{2}-2\left\|\rho-\sigma^{\star}\right\|_{1}^{2}-2\epsilon
≥(d)0.5​‖σ~⋆−σ⋆‖12−2​‖ρ~−ρ‖12−6​ϵ,\displaystyle\stackrel{{\scriptstyle(d)}}{{\geq}}0.5\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}^{2}-2\left\|\tilde{\rho}-\rho\right\|_{1}^{2}-6\epsilon,

where (a)(a) and (d)(d) are due to 𝖣(ρ∥σ⋆)≤ϵ\mathsf{D}(\rho\|\sigma^{\star})\leq\epsilon and quantum Pinsker’s inequality: 2​𝖣​(ρ∥σ)≥‖ρ−σ‖122\mathsf{D}\left(\rho\middle\|\sigma\right)\geq\left\|\rho-\sigma\right\|_{1}^{2} for ρ,σ∈𝒮⁡(ℍ)\rho,\sigma\in\mathcal{S}(\mathbb{H}), while (b)(b) and (c)(c) follows by applying (a+b)2≤2​(a2+b2)(a+b)^{2}\leq 2(a^{2}+b^{2}). Hence, (18a) follows since

‖σ~⋆−σ⋆‖12\displaystyle\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}^{2} ≤4(𝖣(ρ~∥σ~⋆)−𝖣(ρ∥σ⋆))+4‖ρ~−ρ‖12+12ϵ\displaystyle\leq 4\left(\mathsf{D}\big(\tilde{\rho}\|\tilde{\sigma}^{\star}\big)-\mathsf{D}\big(\rho\|\sigma^{\star}\big)\right)+4\left\|\tilde{\rho}-\rho\right\|_{1}^{2}+12\epsilon
(40) ≤4(𝖣(ρ~∥σ⋆)−𝖣(ρ∥σ⋆))+4‖ρ~−ρ‖12+12ϵ.\displaystyle\leq 4\left(\mathsf{D}\big(\tilde{\rho}\|\sigma^{\star}\big)-\mathsf{D}\big(\rho\|\sigma^{\star}\big)\right)+4\left\|\tilde{\rho}-\rho\right\|_{1}^{2}+12\epsilon.

Equation (18b) is a simple consequence of triangle inequality for trace distance and quantum Pinsker’s inequality along with 𝖣(ρ∥σ⋆)≤ϵ\mathsf{D}(\rho\|\sigma^{\star})\leq\epsilon:

‖σ~⋆−ρ‖1≤‖σ~⋆−σ⋆‖1+‖σ⋆−ρ‖1≤‖σ~⋆−σ⋆‖1+2​ϵ.\displaystyle\left\|\tilde{\sigma}^{\star}-\rho\right\|_{1}\leq\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}+\left\|\sigma^{\star}-\rho\right\|_{1}\leq\left\|\tilde{\sigma}^{\star}-\sigma^{\star}\right\|_{1}+\sqrt{2\epsilon}.

Next, consider the case of unitary invariant Σ\Sigma such that 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma. Applying (13), we have

(41) 𝖣(ρ∥σ⋆)=minσ∈Σ𝖣(ρ∥σ)=minσ∈𝒥⁡(ℰρ,Σ)𝖣𝖪𝖫(λρ∥λσ)=𝖣𝖪𝖫(λρ∥λσ⋆).\displaystyle\mathsf{D}\big(\rho\|\sigma^{\star}\big)=\min_{\sigma\in\Sigma}\mathsf{D}\big(\rho\|\sigma\big)=\min_{\sigma\in\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma}\right)=\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\rho}\middle\|\lambda_{\sigma^{\star}}\right).

On the other hand

(42) 𝖣(ρ~∥σ~⋆)=minσ∈Σ𝖣(ρ~∥σ)=minσ∈Σ𝖣𝖪𝖫(λρ~∥λσ)≤𝖣𝖪𝖫(λρ~∥λσ⋆),\displaystyle\mathsf{D}\big(\tilde{\rho}\|\tilde{\sigma}^{\star}\big)=\min_{\sigma\in\Sigma}\mathsf{D}\big(\tilde{\rho}\|\sigma\big)=\min_{\sigma\in\Sigma}\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\tilde{\rho}}\middle\|\lambda_{\sigma}\right)\leq\mathsf{D}_{\mathsf{KL}}\left(\lambda_{\tilde{\rho}}\middle\|\lambda_{\sigma^{\star}}\right),

where the second equality above is due to the last statement in Proposition 1 which holds since Σ\Sigma is unitarily invariant, compact, and satisfies 𝒥⁡(ℰρ,Σ)⊆Σ\mathcal{J}\left(\mathcal{E}_{\rho},\Sigma\right)\subseteq\Sigma. Combining (40), (41) and (42) results in the final claim.

5.5. Proof of Theorem 2

First, we prove Part (i)(i). We require two concentration results. Let ‖⋅‖\left\|\cdot\right\| denote the operator norm on ℒ⁡(ℍ)\mathcal{L}(\mathbb{H}).

Theorem 3 (Matrix Hoeffding and Bernstein Inequalities, see e.g., (Vershynin 2018)).

Let {Hi}i=1n\{H_{i}\}_{i=1}^{n} be fixed Hermitian d×dd\times d matrices such that ‖Hi‖≤M\left\|H_{i}\right\|\leq M for all 1≤i≤n1\leq i\leq n. Let {εi}i=1n\{\varepsilon_{i}\}_{i=1}^{n} be i.i.d. Rademacher variables. Then

(43) ℙ⁡(‖∑i=1nεi​Hi‖≥t)≤2​d​e−t22​Vn2,∀t≥0,\displaystyle\mathbb{P}\left(\left\|\sum_{i=1}^{n}\varepsilon_{i}H_{i}\right\|\geq t\right)\leq 2de^{-\frac{t^{2}}{2V_{n}^{2}}},~\forall~t\geq 0,
(44) 𝔼⁡[‖∑i=1nεi​Hi‖]≤(2​log⁡(2​d)+π/2)​Vn,\displaystyle\mathbb{E}\left[\left\|\sum_{i=1}^{n}\varepsilon_{i}H_{i}\right\|\right]\leq\left(\sqrt{2\log(2d)}+\sqrt{\pi/2}\right)V_{n},

where Vn2≔‖∑i=1nHi2‖V_{n}^{2}\coloneqq\left\|\sum_{i=1}^{n}H_{i}^{2}\right\|. If {Hi}i=1d\{H_{i}\}_{i=1}^{d} are random independent zero-mean d×dd\times d Hermitian matrices such that ‖Hi‖≤M\left\|H_{i}\right\|\leq M almost surely, then

(45) ℙ⁡(‖∑i=1nHi‖≥t)≤2​d​e−(t24​V¯n2∧3​t4​M),∀t≥0,\displaystyle\mathbb{P}\left(\left\|\sum_{i=1}^{n}H_{i}\right\|\geq t\right)\leq 2de^{-\left(\frac{t^{2}}{4\bar{V}_{n}^{2}}\wedge\frac{3t}{4M}\right)},~\forall~t\geq 0,

where V¯n2≔‖∑i=1n𝔼⁡[Hi2]‖\bar{V}_{n}^{2}\coloneqq\left\|\sum_{i=1}^{n}\mathbb{E}\big[H_{i}^{2}\big]\right\|.

We proceed with the proof of (22) when ϵ>0\epsilon>0. Note that since Σ\Sigma is a compact convex set, σp⋆\sigma_{p}^{\star} is unique and σp⋆>0\sigma_{p}^{\star}>0. From (18), we have using (a+b)2≤2​(a2+b2)(a+b)^{2}\leq 2(a^{2}+b^{2}) that

(46) ‖σn⋆​(Xn)−ρp‖12\displaystyle\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2} ≤8​(𝖣⁡(ρn​(Xn)∥σp⋆)−𝖣⁡(ρp∥σp⋆))+8​‖ρn​(Xn)−ρp‖12+28​ϵ.\displaystyle\leq 8\left(\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\sigma_{p}^{\star}\right)-\mathsf{D}\left(\rho_{p}\middle\|\sigma_{p}^{\star}\right)\right)+8\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}+28\epsilon.

To control the first term in (46), we will use the variational expression for quantum relative entropy given in (2). When ρ,σ>0\rho,\sigma>0, the supremum in (2) is achieved by

H⋆​(ρ,σ)≔log⁡ρ−log⁡σ.\displaystyle H^{\star}(\rho,\sigma)\coloneqq\log\rho-\log\sigma.

Since ρp>0\rho_{p}>0 and σp⋆>0\sigma_{p}^{\star}>0, it follows that

(47) 𝖣⁡(ρp∥σp⋆)=supHTr⁡[ρp​H]−Tr⁡[eH+log⁡σp⋆]+1,\displaystyle\mathsf{D}\left(\rho_{p}\middle\|\sigma_{p}^{\star}\right)=\sup_{H}\operatorname{Tr}{\left[\rho_{p}H\right]}-\operatorname{Tr}{\left[e^{H+\log\sigma_{p}^{\star}}\right]}+1,

where the supremum is taken over HH such that

‖H‖≤‖H⋆​(ρp,σp⋆)‖\displaystyle\left\|H\right\|\leq\left\|H^{\star}(\rho_{p},\sigma_{p}^{\star})\right\| =max|v⟩:‖v‖2=1|⟨v|H⋆(ρp,σp⋆)|v⟩|\displaystyle=\max_{|v\rangle:\left\|v\right\|_{2}=1}\left|\langle v|H^{\star}(\rho_{p},\sigma_{p}^{\star})|v\rangle\right|
=log(max|v⟩:‖v‖2=1⟨v|ρp|v⟩⟨v|σp⋆|v⟩∨max|v⟩:‖v‖2=1⟨v|σp⋆|v⟩⟨v|ρp|v⟩)\displaystyle=\log\left(\max_{|v\rangle:\left\|v\right\|_{2}=1}\frac{\langle v|\rho_{p}|v\rangle}{\langle v|\sigma_{p}^{\star}|v\rangle}\vee\max_{|v\rangle:\left\|v\right\|_{2}=1}\frac{\langle v|\sigma_{p}^{\star}|v\rangle}{\langle v|\rho_{p}|v\rangle}\right)
≤T⁡(ρp,σp⋆).\displaystyle\leq T(\rho_{p},\sigma_{p}^{\star}).

Similarly

(48) 𝖣⁡(ρn​(Xn)∥σp⋆)=supHTr⁡[ρn​(Xn)​H]−Tr⁡[eH+log⁡σp⋆]+1,\displaystyle\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\sigma_{p}^{\star}\right)=\sup_{H}\operatorname{Tr}{\left[\rho_{n}(X^{n})H\right]}-\operatorname{Tr}{\left[e^{H+\log\sigma_{p}^{\star}}\right]}+1,

where the supremum is taken over HH such that

‖H‖≤‖H⋆​(ρn​(Xn),σp⋆)‖\displaystyle\left\|H\right\|\leq\left\|H^{\star}(\rho_{n}(X^{n}),\sigma_{p}^{\star})\right\| ≤−log⁡(minz∈𝒵⁡λσp⋆​(z))∨log⁡(d​n)=log⁡‖σp⋆−1‖∨log⁡(d​n).\displaystyle\leq-\log\left(\min_{z\in\mathcal{Z}}\lambda_{\sigma_{p}^{\star}}(z)\right)\vee\log(dn)=\log\left\|\sigma_{p}^{\star-1}\right\|\vee\log(dn).

In the above, we used that

max|v⟩:‖v‖2=1⟨v|ρn​(Xn)|v⟩⟨v|σp⋆|v⟩≤1min|v⟩:‖v‖2=1⟨v|σp⋆|v⟩≤1minz∈𝒵⁡λσp⋆​(z),\displaystyle\max_{|v\rangle:\left\|v\right\|_{2}=1}\frac{\langle v|\rho_{n}(X^{n})|v\rangle}{\langle v|\sigma_{p}^{\star}|v\rangle}\leq\frac{1}{\min_{|v\rangle:\left\|v\right\|_{2}=1}\langle v|\sigma_{p}^{\star}|v\rangle}\leq\frac{1}{\min_{z\in\mathcal{Z}}\lambda_{\sigma_{p}^{\star}}(z)},
max|v⟩:‖v‖2=1⟨v|σp⋆|v⟩⟨v|ρn​(Xn)|v⟩≤1min|v⟩:‖v‖2=1⟨v|ρn(Xn)|v⟩≤nd.\displaystyle\max_{|v\rangle:\left\|v\right\|_{2}=1}\frac{\langle v|\sigma_{p}^{\star}|v\rangle}{\langle v|\rho_{n}(X^{n})|v\rangle}\leq\frac{1}{\min_{|v\rangle:\left\|v\right\|_{2}=1}\langle v|\rho_{n}(X^{n})|v\rangle}\leq nd.

Hence, with bnb_{n} as in (21), we can upper bound the first term in the RHS above as follows:

|𝖣𝖪𝖫​(ρn​(Xn)∥σp⋆)−𝖣𝖪𝖫​(ρp∥σp⋆)|\displaystyle\left|\mathsf{D}_{\mathsf{KL}}\left(\rho_{n}(X^{n})\middle\|\sigma_{p}^{\star}\right)-\mathsf{D}_{\mathsf{KL}}\left(\rho_{p}\middle\|\sigma_{p}^{\star}\right)\right|
=|supH:‖H‖≤bnTr[ρn(Xn)H]−Tr[eH+log⁡σp⋆]−supH:‖H‖≤bnTr[ρpH]−Tr[eH+log⁡σp⋆]|\displaystyle=\left|\sup_{H:\left\|H\right\|\leq b_{n}}\operatorname{Tr}{\left[\rho_{n}(X^{n})H\right]}-\operatorname{Tr}{\left[e^{H+\log\sigma_{p}^{\star}}\right]}-\sup_{H:\left\|H\right\|\leq b_{n}}\operatorname{Tr}{\left[\rho_{p}H\right]}-\operatorname{Tr}{\left[e^{H+\log\sigma_{p}^{\star}}\right]}\right|
≤(a)supH:‖H‖≤bn|Tr[ρn(Xn)H]−Tr[ρpH]|.\displaystyle\stackrel{{\scriptstyle(a)}}{{\leq}}\sup_{H:\left\|H\right\|\leq b_{n}}\left|\operatorname{Tr}{\left[\rho_{n}(X^{n})H\right]}-\operatorname{Tr}{\left[\rho_{p}H\right]}\right|.
≤(b)(1−1n)supH:‖H‖≤bn|Tr[ρ^n(Xn)H]−Tr[ρpH]|+supH:‖H‖≤bn1n|Tr[πdH]|+1n|Tr[ρpH]|.\displaystyle\stackrel{{\scriptstyle(b)}}{{\leq}}\left(1-\frac{1}{n}\right)\sup_{H:\left\|H\right\|\leq b_{n}}\left|\operatorname{Tr}{\left[\hat{\rho}_{n}(X^{n})H\right]}-\operatorname{Tr}{\left[\rho_{p}H\right]}\right|+\sup_{H:\left\|H\right\|\leq b_{n}}\frac{1}{n}\left|\operatorname{Tr}{\left[\pi_{d}H\right]}\right|+\frac{1}{n}\left|\operatorname{Tr}{\left[\rho_{p}H\right]}\right|.
≤(c)‖ρ^n​(Xn)−ρp‖1​bn+2​bnn,\displaystyle\stackrel{{\scriptstyle(c)}}{{\leq}}\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}b_{n}+\frac{2b_{n}}{n},

where

  1. (a)

    follows from

    (49) |supt∈𝒯f⁡(t)−supt∈𝒯g⁡(t)|≤supt∈𝒯|f⁡(t)−g⁡(t)|,\displaystyle\left|\sup_{t\in\mathcal{T}}f(t)-\sup_{t\in\mathcal{T}}g(t)\right|\leq\sup_{t\in\mathcal{T}}\left|f(t)-g(t)\right|,

    for any functions f,gf,g on 𝒯\mathcal{T} when at least supt∈𝒯g⁡(t)\sup_{t\in\mathcal{T}}g(t) or supt∈𝒯f⁡(t)\sup_{t\in\mathcal{T}}f(t) is finite;

  2. (b)

    follows by applying definition of ρn​(Xn)\rho_{n}(X^{n}) and triangle inequality;

  3. (c)

    is via Hölders inequality.

Substituting this in (46) and using ‖ρn​(Xn)−ρp‖12≤2​(‖ρ^n​(Xn)−ρp‖12+(4/n2))\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}\leq 2\big(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}+(4/n^{2})\big), we obtain

(50) ‖σn⋆​(Xn)−ρp‖12\displaystyle\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2} ≤8​bn​‖ρ^n​(Xn)−ρp‖1+16​bnn+16​‖ρ^n​(Xn)−ρp‖12+64n2+28​ϵ.\displaystyle\leq 8b_{n}\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}+\frac{16b_{n}}{n}+16\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}+\frac{64}{n^{2}}+28\epsilon.

Taking expectations, we can bound the first term in the RHS as

𝔼⁡[‖ρ^n​(Xn)−ρp‖1]\displaystyle\mathbb{E}\big[\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\big] ≤(a)d​𝔼​[‖1n​∑i=1n(|φ⁡(Xi)⟩​⟨φ⁡(Xi)|−𝔼P​[|φ⁡(X)⟩​⟨φ⁡(X)|])‖]\displaystyle\stackrel{{\scriptstyle(a)}}{{\leq}}d~\mathbb{E}\left[\left\|\frac{1}{n}\sum_{i=1}^{n}\big(|\varphi(X_{i})\rangle\langle\varphi(X_{i})|-\mathbb{E}_{P}\big[|\varphi(X)\rangle\langle\varphi(X)|\big]\big)\right\|\right]
≤(b)2​d​𝔼​[‖1n​∑i=1nεi​|φ⁡(Xi)⟩​⟨φ⁡(Xi)|‖]\displaystyle\stackrel{{\scriptstyle(b)}}{{\leq}}2d~\mathbb{E}\left[\left\|\frac{1}{n}\sum_{i=1}^{n}\varepsilon_{i}|\varphi(X_{i})\rangle\langle\varphi(X_{i})|\right\|\right]
(51) ≤(c)2​d​(2​log⁡(2​d)+π/2)​n−12,\displaystyle\stackrel{{\scriptstyle(c)}}{{\leq}}2d\left(\sqrt{2\log(2d)}+\sqrt{\pi/2}\right)n^{-\frac{1}{2}},

where

  1. (a)

    is due to ‖H‖1≤d⁡‖H‖\left\|H\right\|_{1}\leq d\left\|H\right\| for a self-adjoint HH;

  2. (b)

    is due to the standard symmetrization inequality (see e.g. (Vershynin 2018, Lemma 6.4.2));

  3. (c)

    follows by an application of (44) with Hi=|φ⁡(xi)⟩​⟨φ⁡(xi)|/nH_{i}=|\varphi(x_{i})\rangle\langle\varphi(x_{i})|/n for a given Xn=xnX^{n}=x^{n}, and noting that

    Vn2\displaystyle V_{n}^{2} ≔1n2​‖∑i=1n|φ⁡(xi)⟩​⟨φ⁡(xi)|​|φ⁡(xi)⟩​⟨φ⁡(xi)|‖=1n2​‖∑i=1n⟨φ⁡(xi),φ⁡(xi)⟩​|φ⁡(xi)⟩​⟨φ⁡(xi)|‖≤1n,\displaystyle\coloneqq\frac{1}{n^{2}}\left\|\sum_{i=1}^{n}|\varphi(x_{i})\rangle\langle\varphi(x_{i})||\varphi(x_{i})\rangle\langle\varphi(x_{i})|\right\|=\frac{1}{n^{2}}\left\|\sum_{i=1}^{n}\langle\varphi(x_{i}),\varphi(x_{i})\rangle|\varphi(x_{i})\rangle\langle\varphi(x_{i})|\right\|\leq\frac{1}{n},

    where the final inequality uses ⟨φ⁡(x),φ⁡(x)⟩=1\langle\varphi(x),\varphi(x)\rangle=1 for all x∈𝒳x\in\mathcal{X}, ‖|φ⁡(xi)⟩​⟨φ⁡(xi)|‖≤1\left\||\varphi(x_{i})\rangle\langle\varphi(x_{i})|\right\|\leq 1 and triangle inequality for operator norm.

For the second term in (50), using 0.5​‖ρ^n​(Xn)−ρp‖1≤10.5\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\leq 1 and z2≤zz^{2}\leq z for 0≤z≤10\leq z\leq 1, (51) implies

(52) 𝔼⁡[‖ρ^n​(Xn)−ρp‖12]≤2​𝔼​[‖ρ^n​(Xn)−ρp‖1]≤4​d​(2​log⁡(2​d)+π/2)​n−12.\displaystyle\mathbb{E}\big[\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}\big]\leq 2\mathbb{E}\big[\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\big]\leq 4d\left(\sqrt{2\log(2d)}+\sqrt{\pi/2}\right)n^{-\frac{1}{2}}.

Substituting (51) and (52) in (50), we obtain (22) when ϵ>0\epsilon>0.

Before proving (22) when ϵ=0\epsilon=0, we first establish (23a). We have from (50) that for t≥0t\geq 0:

ℙ⁡(‖σn⋆​(Xn)−ρp‖12≥16​bnn+64n2+28​ϵ+8​d​(bn+4)​t)\displaystyle\mathbb{P}\left(\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\geq\frac{16b_{n}}{n}+\frac{64}{n^{2}}+28\epsilon+8d(b_{n}+4)t\right)
(53) ≤ℙ⁡(‖ρ^n​(Xn)−ρp‖1≥d​t)+ℙ⁡(‖ρ^n​(Xn)−ρp‖12≥2​d​t).\displaystyle\leq\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\geq dt\right)+\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}\geq 2dt\right).

For the first term in (53), an application of (45) with Hi=|φ⁡(Xi)⟩​⟨φ⁡(Xi)|−𝔼P​[|φ⁡(X)⟩​⟨φ⁡(X)|]H_{i}=|\varphi(X_{i})\rangle\langle\varphi(X_{i})|-\mathbb{E}_{P}\big[|\varphi(X)\rangle\langle\varphi(X)|\big] yields

(54) ℙ⁡(‖ρ^n​(Xn)−ρp‖1≥d​t)≤ℙ⁡(‖ρ^n​(Xn)−ρp‖≥t)≤2​d​e−(n​t24∧3​n​t4),\displaystyle\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\geq dt\right)\leq\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\geq t\right)\leq 2de^{-\left(\frac{nt^{2}}{4}\wedge\frac{3nt}{4}\right)},

where we used ‖Hi‖≤1\left\|H_{i}\right\|\leq 1 and ‖∑i=1nHi2‖≤∑i=1n‖Hi2‖≤∑i=1n‖Hi‖≤n\left\|\sum_{i=1}^{n}H_{i}^{2}\right\|\leq\sum_{i=1}^{n}\left\|H_{i}^{2}\right\|\leq\sum_{i=1}^{n}\left\|H_{i}\right\|\leq n. For the second term in (53), we have via (45) that

ℙ⁡(‖ρ^n​(Xn)−ρ‖12≥2​d​t)\displaystyle\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho\right\|_{1}^{2}\geq 2dt\right) ≤ℙ⁡(‖ρ^n​(Xn)−ρ‖124≥d​t2)\displaystyle\leq\mathbb{P}\left(\frac{\left\|\hat{\rho}_{n}(X^{n})-\rho\right\|_{1}^{2}}{4}\geq\frac{dt}{2}\right)
≤ℙ⁡(‖ρ^n​(Xn)−ρ‖12≥d​t2)\displaystyle\leq\mathbb{P}\left(\frac{\left\|\hat{\rho}_{n}(X^{n})-\rho\right\|_{1}}{2}\geq\frac{dt}{2}\right)
≤ℙ⁡(‖ρ^n​(Xn)−ρ‖≥t)\displaystyle\leq\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho\right\|\geq t\right)
≤2​d​e−(n​t24∧3​n​t4).\displaystyle\leq 2de^{-\left(\frac{nt^{2}}{4}\wedge\frac{3nt}{4}\right)}.

Substituting this and (54) in (53) yields (23a).

Next, we show (22) when ϵ=0\epsilon=0, i.e., σp⋆=ρp\sigma_{p}^{\star}=\rho_{p}. Then, (46) yields that

(55) ‖σn⋆​(Xn)−ρp‖12\displaystyle\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2} ≤8​𝖣​(ρn​(Xn)∥ρp)+8​‖ρn​(Xn)−ρp‖12.\displaystyle\leq 8\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\rho_{p}\right)+8\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}.

Applying a second order Taylor’s expansion as in (Sreekumar and Berta 2025, Equation 41), we have

𝖣⁡(ρn​(Xn)∥ρp)\displaystyle\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\rho_{p}\right) =2​Tr⁡[∫01(1−t)​(ρn​(Xn)−ρp)​∫0∞u1​(ρn​(Xn),ρp,τ,t)​𝑑τ]​𝑑t\displaystyle=2\operatorname{Tr}\mspace{-2mu}\bigg[\int_{0}^{1}(1-t)(\rho_{n}(X^{n})-\rho_{p})\int_{0}^{\infty}\mspace{-2mu}u_{1}(\rho_{n}(X^{n}),\rho_{p},\tau,t)d\tau\bigg]dt
(56) −2∫01(1−t)Tr[((1−t)ρp+tρn(Xn))∫0∞u2(ρn(Xn),ρp,τ,t)dτ]dt,\displaystyle\qquad-2\int_{0}^{1}(1-t)\operatorname{Tr}\bigg[\big((1-t)\rho_{p}+t\rho_{n}(X^{n})\big)\int_{0}^{\infty}u_{2}(\rho_{n}(X^{n}),\rho_{p},\tau,t)d\tau\bigg]dt,

where

(57a) v⁡(ρn​(Xn),ρp,τ,t)\displaystyle v(\rho_{n}(X^{n}),\rho_{p},\tau,t) :=(τ​I+(1−t)​ρp+t​ρn​(Xn))−1,\displaystyle:=\big(\tau I+(1-t)\rho_{p}+t\rho_{n}(X^{n})\big)^{-1},
(57b) u1​(ρn​(Xn),ρp,τ,t)\displaystyle u_{1}(\rho_{n}(X^{n}),\rho_{p},\tau,t) :=v⁡(ρn​(Xn),ρp,τ,t)​(ρn​(Xn)−ρp)​v​(ρn​(Xn),ρp,τ,t),\displaystyle:=v(\rho_{n}(X^{n}),\rho_{p},\tau,t)(\rho_{n}(X^{n})-\rho_{p})v(\rho_{n}(X^{n}),\rho_{p},\tau,t),
(57c) u2​(ρn​(Xn),ρp,τ,t)\displaystyle u_{2}(\rho_{n}(X^{n}),\rho_{p},\tau,t) =u1​(ρn​(Xn),ρp,τ,t)​(ρn​(Xn)−ρp)​v​(ρn​(Xn),ρp,τ,t).\displaystyle=u_{1}(\rho_{n}(X^{n}),\rho_{p},\tau,t)(\rho_{n}(X^{n})-\rho_{p})v(\rho_{n}(X^{n}),\rho_{p},\tau,t).

Using Hölders inequality and sub-multiplicavity of Schatten norms, we obtain

Tr⁡[∫01(1−t)​(ρn​(Xn)−ρp)​∫0∞u1​(ρn​(Xn),ρp,τ,t)​𝑑τ]​𝑑t\displaystyle\operatorname{Tr}\bigg[\int_{0}^{1}(1-t)(\rho_{n}(X^{n})-\rho_{p})\int_{0}^{\infty}u_{1}(\rho_{n}(X^{n}),\rho_{p},\tau,t)d\tau\bigg]dt
≤‖ρn​(Xn)−ρp‖1​∫01(1−t)​[∫0∞‖u1​(ρn​(Xn),ρp,τ,t)‖​𝑑τ]​𝑑t\displaystyle\leq\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\int_{0}^{1}(1-t)\bigg[\int_{0}^{\infty}\left\|u_{1}(\rho_{n}(X^{n}),\rho_{p},\tau,t)\right\|d\tau\bigg]dt
≤‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​∫01(1−t)​∫0∞‖(τ​I+(1−t)​ρp+t​ρn​(Xn))−1‖2​𝑑τ​𝑑t\displaystyle\leq\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\int_{0}^{1}(1-t)\int_{0}^{\infty}\left\|\big(\tau I+(1-t)\rho_{p}+t\rho_{n}(X^{n})\big)^{-1}\right\|^{2}d\tau~dt
≤‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​∫01(1−t)​∫0∞‖(τ​I+(1−t)​ρp)−1‖2​𝑑τ​𝑑t\displaystyle\leq\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\int_{0}^{1}(1-t)\int_{0}^{\infty}\left\|\big(\tau I+(1-t)\rho_{p}\big)^{-1}\right\|^{2}d\tau~dt
≤‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​∫01(1−t)​∫0∞(τ+(1−t)​λρpmin)−2​𝑑τ​𝑑t\displaystyle\leq\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\int_{0}^{1}(1-t)\int_{0}^{\infty}(\tau+(1-t)\lambda_{\rho_{p}}^{\min})^{-2}d\tau~dt
(58) ≤‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​‖ρp−1‖.\displaystyle\leq\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\left\|\rho_{p}^{-1}\right\|.

Similarly, we have

∫01(1−t)​Tr⁡[((1−t)​ρp+t​ρn​(Xn))​∫0∞u2​(ρn​(Xn),ρp,τ,t)​𝑑τ]\displaystyle\int_{0}^{1}(1-t)\operatorname{Tr}\bigg[\big((1-t)\rho_{p}+t\rho_{n}(X^{n})\big)\int_{0}^{\infty}u_{2}(\rho_{n}(X^{n}),\rho_{p},\tau,t)d\tau\bigg]
≤(a)‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​∫01(1−t)​[∫0∞‖(τ​I+(1−t)​ρp)−1‖2​𝑑τ]​𝑑t\displaystyle\stackrel{{\scriptstyle(a)}}{{\leq}}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\int_{0}^{1}(1-t)\bigg[\int_{0}^{\infty}\left\|\big(\tau I+(1-t)\rho_{p}\big)^{-1}\right\|^{2}d\tau\bigg]~dt
(59) ≤‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​‖ρp−1‖,\displaystyle\leq\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\left\|\rho_{p}^{-1}\right\|,

where ‖(1−t)​ρp+t​ρn​(Xn)‖​‖(τ​I+(1−t)​ρp+t​ρn​(Xn))−1‖≤1\left\|(1-t)\rho_{p}+t\rho_{n}(X^{n})\right\|\big\|\big(\tau I+(1-t)\rho_{p}+t\rho_{n}(X^{n})\big)^{-1}\big\|\leq 1. Substituting (58) and (59) in (56), we obtain

𝖣⁡(ρn​(Xn)∥ρp)≤4​‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​‖ρp−1‖.\displaystyle\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\rho_{p}\right)\leq 4\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\left\|\rho_{p}^{-1}\right\|.

Substituting the above inequality in (55), we obtain

‖σn⋆​(Xn)−ρp‖12\displaystyle\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2} ≤32​‖ρn​(Xn)−ρp‖1​‖ρn​(Xn)−ρp‖​‖ρp−1‖+8​‖ρn​(Xn)−ρp‖12\displaystyle\leq 32\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\rho_{n}(X^{n})-\rho_{p}\right\|\left\|\rho_{p}^{-1}\right\|+8\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}
≤32​d​‖ρn​(Xn)−ρp‖2​‖ρp−1‖+8​‖ρn​(Xn)−ρp‖12\displaystyle\leq 32d\left\|\rho_{n}(X^{n})-\rho_{p}\right\|^{2}\left\|\rho_{p}^{-1}\right\|+8\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}
(60) ≤(32​d​‖ρp−1‖+8​d2)​‖ρn​(Xn)−ρp‖2,\displaystyle\leq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\left\|\rho_{n}(X^{n})-\rho_{p}\right\|^{2},

where the final inequality uses ‖ρn​(Xn)−ρp‖1≤d⁡‖ρn​(Xn)−ρp‖\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}\leq d\left\|\rho_{n}(X^{n})-\rho_{p}\right\|. Taking expectations, we obtain

(61) 𝔼⁡[‖σn⋆​(Xn)−ρp‖12]≤(32​d​‖ρp−1‖+8​d2)​𝔼​[‖ρn​(Xn)−ρp‖2].\displaystyle\mathbb{E}\left[\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\right]\leq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\mathbb{E}\left[\left\|\rho_{n}(X^{n})-\rho_{p}\right\|^{2}\right].

We will show that the last expectation is O⁡(1/n)O(1/n). An application of (45) with Hi=|φ⁡(Xi)⟩​⟨φ⁡(Xi)|−𝔼P​[|φ⁡(X)⟩​⟨φ⁡(X)|]H_{i}=|\varphi(X_{i})\rangle\langle\varphi(X_{i})|-\mathbb{E}_{P}\big[|\varphi(X)\rangle\langle\varphi(X)|\big] yields

(62) ℙ⁡(‖ρ^n​(Xn)−ρp‖≥t)≤2​d​e−(n​t24∧3​n​t4),\displaystyle\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\geq t\right)\leq 2de^{-\left(\frac{nt^{2}}{4}\wedge\frac{3nt}{4}\right)},

where we used ‖Hi‖≤1\left\|H_{i}\right\|\leq 1 and ‖∑i=1nHi2‖≤∑i=1n‖Hi2‖≤∑i=1n‖Hi‖≤n\left\|\sum_{i=1}^{n}H_{i}^{2}\right\|\leq\sum_{i=1}^{n}\left\|H_{i}^{2}\right\|\leq\sum_{i=1}^{n}\left\|H_{i}\right\|\leq n. Thus, we have

𝔼⁡[‖ρ^n​(Xn)−ρp‖2]\displaystyle\mathbb{E}\left[\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|^{2}\right] =∫0∞ℙ⁡(‖ρ^n​(Xn)−ρp‖≥t)​𝑑t\displaystyle=\int_{0}^{\infty}\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\geq\sqrt{t}\right)dt
≤2​d​∫0∞e−(n​t4∧3​n​t4)​𝑑t\displaystyle\leq 2d\int_{0}^{\infty}e^{-\left(\frac{nt}{4}\wedge\frac{3n\sqrt{t}}{4}\right)}dt
=2​d​∫01e−n​t4​𝑑t+2​d​∫1∞e−3​n​t4​𝑑t\displaystyle=2d\int_{0}^{1}e^{-\frac{nt}{4}}dt+2d\int_{1}^{\infty}e^{-\frac{3n\sqrt{t}}{4}}dt
(63) =8​dn+16​d​e−3​n43​n​(1+43​n).\displaystyle=\frac{8d}{n}+\frac{16de^{-\frac{3n}{4}}}{3n}\left(1+\frac{4}{3n}\right).

Substituting (63) in (61) and using ‖ρn​(Xn)−ρp‖12≤2​(‖ρ^n​(Xn)−ρp‖12+(4/n2))\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}\leq 2\big(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}+(4/n^{2})\big), we obtain

𝔼⁡[‖σn⋆​(Xn)−ρp‖12]\displaystyle\mathbb{E}\left[\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\right] ≤(32​d​‖ρp−1‖+8​d2)​𝔼​[‖ρn​(Xn)−ρp‖2]\displaystyle\leq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\mathbb{E}\left[\left\|\rho_{n}(X^{n})-\rho_{p}\right\|^{2}\right]
≤(32​d​‖ρp−1‖+8​d2)​(8n2+16​dn+32​d​e−3​n43​n​(1+43​n))\displaystyle\leq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\left(\frac{8}{n^{2}}+\frac{16d}{n}+\frac{32de^{-\frac{3n}{4}}}{3n}\left(1+\frac{4}{3n}\right)\right)
≤(32​d​‖ρp−1‖+8​d2)​(8n2+28​dn),\displaystyle\leq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\left(\frac{8}{n^{2}}+\frac{28d}{n}\right),

thus proving (22) when ϵ=0\epsilon=0.

The proof of Part (i)(i) is completed by noting that (23b) follows using (60) and ‖ρn​(Xn)−ρp‖12≤2​(‖ρ^n​(Xn)−ρp‖12+(4/n2))\left\|\rho_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}\leq 2\big(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}^{2}+(4/n^{2})\big) as follows:

ℙ⁡(‖σn⋆​(Xn)−ρp‖12≥(32​d​‖ρp−1‖+8​d2)​(8n2+2​t))\displaystyle\mathbb{P}\left(\left\|\sigma_{n}^{\star}(X^{n})-\rho_{p}\right\|_{1}^{2}\geq(32d\left\|\rho_{p}^{-1}\right\|+8d^{2})\left(\frac{8}{n^{2}}+2t\right)\right) ≤ℙ⁡(‖ρ^n​(Xn)−ρp‖2≥t)≤2​d​e−(n​t4∧3​n​t4).\displaystyle\leq\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|^{2}\geq t\right)\leq 2de^{-\left(\frac{nt}{4}\wedge\frac{3n\sqrt{t}}{4}\right)}.

Next, we prove Part (i​i)(ii) starting with the proof of (25) when ϵ>0\epsilon>0. We have

𝖣⁡(ρp∥σ^n⋆​(Xn))\displaystyle\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right) =𝖣⁡(ρp∥σ^n⋆​(Xn))−𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))+𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))\displaystyle=\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)-\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)+\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)
≤(a)𝖣⁡(ρp∥σ^n⋆​(Xn))−𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))+𝖣⁡(ρn​(Xn)∥σn⋆​(Xn))+1n​𝖣​(ρn​(Xn)∥πd)\displaystyle\stackrel{{\scriptstyle(a)}}{{\leq}}\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)-\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)+\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\sigma_{n}^{\star}(X^{n})\right)+\frac{1}{n}\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\pi_{d}\right)
(64) ≤(b)𝖣⁡(ρp∥σ^n⋆​(Xn))−𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))+𝖣⁡(ρn​(Xn)∥σn⋆​(Xn))+log⁡dn,\displaystyle\stackrel{{\scriptstyle(b)}}{{\leq}}\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)-\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)+\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\sigma_{n}^{\star}(X^{n})\right)+\frac{\log d}{n},

where (a)(a) follows by convexity of quantum relative entropy and (b)(b) follows since 𝖣⁡(ρn​(Xn)∥πd)≤log⁡d\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\pi_{d}\right)\leq\log d. Taking expectations with respect to Xn∼P⊗nX^{n}\sim P^{\otimes n}, we obtain under the assumption (24) that

(65) 𝔼⁡[𝖣⁡(ρp∥σ^n⋆​(Xn))]≤𝔼⁡[𝖣⁡(ρp∥σ^n⋆​(Xn))−𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))]+log⁡dn+ϵ.\displaystyle\mathbb{E}\left[\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\right]\leq\mathbb{E}\left[\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)-\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\right]+\frac{\log d}{n}+\epsilon.

Since ρp>0\rho_{p}>0 and σ^n⋆​(xn)>0\hat{\sigma}_{n}^{\star}(x^{n})>0 for every xn∈𝒳nx^{n}\in\mathcal{X}^{n}, it follows that

(66) 𝖣⁡(ρp∥σ^n⋆​(Xn))=supHTr⁡[ρp​H]−Tr⁡[eH+log⁡σ^n⋆​(Xn)]+1,\displaystyle\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)=\sup_{H}\operatorname{Tr}{\left[\rho_{p}H\right]}-\operatorname{Tr}{\left[e^{H+\log\hat{\sigma}_{n}^{\star}(X^{n})}\right]}+1,

where the supremum is over all HH such that

‖H‖≤‖H⋆​(ρp,σ^n⋆​(Xn))‖≤log⁡(d​n)∨log⁡‖ρp−1‖.\displaystyle\left\|H\right\|\leq\left\|H^{\star}\big(\rho_{p},\hat{\sigma}_{n}^{\star}(X^{n})\big)\right\|\leq\log(dn)\vee\log\left\|\rho_{p}^{-1}\right\|.

Similarly,

(67) 𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))=supHTr⁡[ρn​(Xn)​H]−Tr⁡[eH+log⁡σ^n⋆​(Xn)]+1,\displaystyle\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)=\sup_{H}\operatorname{Tr}{\left[\rho_{n}(X^{n})H\right]}-\operatorname{Tr}{\left[e^{H+\log\hat{\sigma}_{n}^{\star}(X^{n})}\right]}+1,

where the supremum is over all HH such that

‖H‖≤‖H⋆​(ρn​(Xn),σ^n⋆​(Xn))‖≤log⁡(d​n).\displaystyle\left\|H\right\|\leq\left\|H^{\star}\big(\rho_{n}(X^{n}),\hat{\sigma}_{n}^{\star}(X^{n})\big)\right\|\leq\log(dn).

Hence, we can restrict the suprema in (66) and (67) over HH such that ‖H‖≤b¯n≔log⁡(d​n)∨log⁡‖ρp−1‖\left\|H\right\|\leq\bar{b}_{n}\coloneqq\log(dn)\vee\log\left\|\rho_{p}^{-1}\right\|. Then, we obtain

|𝖣⁡(ρp∥σ^n⋆​(Xn))−𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))|\displaystyle\left|\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)-\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\right| ≤(a)supH:‖H‖≤b¯n|Tr[(ρn(Xn)−ρp)H]|\displaystyle\stackrel{{\scriptstyle(a)}}{{\leq}}\sup_{H:\left\|H\right\|\leq\bar{b}_{n}}\left|\operatorname{Tr}{\left[\big(\rho_{n}(X^{n})-\rho_{p}\big)H\right]}\right|
≤(b)supH:‖H‖≤b¯n|Tr⁡[H]|d​n+|Tr⁡[ρp​H]|n+|Tr[(ρ^n(Xn)−ρp)H]|\displaystyle\stackrel{{\scriptstyle(b)}}{{\leq}}\sup_{H:\left\|H\right\|\leq\bar{b}_{n}}\frac{\left|\operatorname{Tr}{\left[H\right]}\right|}{dn}+\frac{\left|\operatorname{Tr}{\left[\rho_{p}H\right]}\right|}{n}+\left|\operatorname{Tr}{\left[\big(\hat{\rho}_{n}(X^{n})-\rho_{p}\big)H\right]}\right|
≤(c)2​b¯nn+supH:‖H‖≤b¯n|Tr[(ρ^n(Xn)−ρp)H]|\displaystyle\stackrel{{\scriptstyle(c)}}{{\leq}}\frac{2\bar{b}_{n}}{n}+\sup_{H:\left\|H\right\|\leq\bar{b}_{n}}\left|\operatorname{Tr}{\left[\big(\hat{\rho}_{n}(X^{n})-\rho_{p}\big)H\right]}\right|
≤(d)2​b¯nn+d​b¯n​‖ρ^n​(Xn)−ρp‖,\displaystyle\stackrel{{\scriptstyle(d)}}{{\leq}}\frac{2\bar{b}_{n}}{n}+d\bar{b}_{n}\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|,

where

  1. (a)

    follows by applying (49);

  2. (b)

    follows by using the definition of ρn​(Xn)\rho_{n}(X^{n});

  3. (c)

    is because |Tr⁡[H]|≤d​b¯n\left|\operatorname{Tr}{\left[H\right]}\right|\leq d\bar{b}_{n} and by Hölder’s inequality, |Tr⁡[ρp​H]|≤‖ρp‖1​‖H‖≤b¯n\left|\operatorname{Tr}{\left[\rho_{p}H\right]}\right|\leq\left\|\rho_{p}\right\|_{1}\left\|H\right\|\leq\bar{b}_{n};

  4. (d)

    is again via Hölder’s inequality and ‖H‖1≤d​b¯n\left\|H\right\|_{1}\leq d\bar{b}_{n}.

Hence, applying (44) in Theorem 3 similar to (51), we obtain

𝔼⁡[|𝖣⁡(ρp∥σ^n⋆​(Xn))−𝖣⁡(ρn​(Xn)∥σ^n⋆​(Xn))|]\displaystyle\mathbb{E}\left[\left|\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)-\mathsf{D}\left(\rho_{n}(X^{n})\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\right|\right] ≤2​b¯nn+d​b¯n​𝔼​[‖ρ^n​(Xn)−ρp‖]\displaystyle\leq\frac{2\bar{b}_{n}}{n}+d\bar{b}_{n}\mathbb{E}\left[\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\right]
≤2​b¯n​n−1+d​b¯n​(2​log⁡(2​d)+π/2)​n−12.\displaystyle\leq 2\bar{b}_{n}n^{-1}+d\bar{b}_{n}\left(\sqrt{2\log(2d)}+\sqrt{\pi/2}\right)n^{-\frac{1}{2}}.

The claim in (25) for the case ϵ>0\epsilon>0 then follows by substituting this in (65).

To obtain the bound in (25) for the case ϵ=0\epsilon=0, we note that (24) and non-negativity of quantum relative entropy implies that either σn⋆​(Xn)=ρn​(Xn)\sigma_{n}^{\star}(X^{n})=\rho_{n}(X^{n}) or σ^n⋆​(Xn)=ρn​(Xn)\hat{\sigma}_{n}^{\star}(X^{n})=\rho_{n}(X^{n}) holds almost surely. In both cases, we have using convexity of quantum relative entropy and the definitions in (19)-(20) that

(68) 𝖣⁡(ρp∥σ^n⋆​(Xn))\displaystyle\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right) ≤𝖣⁡(ρp∥ρn​(Xn))+log⁡dn≤𝖣⁡(ρp∥ρ^n​(Xn))+2​log⁡dn.\displaystyle\leq\mathsf{D}\left(\rho_{p}\middle\|\rho_{n}(X^{n})\right)+\frac{\log d}{n}\leq\mathsf{D}\left(\rho_{p}\middle\|\hat{\rho}_{n}(X^{n})\right)+\frac{2\log d}{n}.

Applying a second order Taylor’s expansion as in (Sreekumar and Berta 2025, Equation 41), we have

𝖣⁡(ρp∥ρ^n​(Xn))\displaystyle\mathsf{D}\left(\rho_{p}\middle\|\hat{\rho}_{n}(X^{n})\right) =2​∫01(1−t)​Tr⁡[ρp​∫0∞u2​(ρ^n​(Xn),ρp,τ,t)​𝑑τ]​𝑑t\displaystyle=2\int_{0}^{1}(1-t)\operatorname{Tr}\bigg[\rho_{p}\int_{0}^{\infty}u_{2}(\hat{\rho}_{n}(X^{n}),\rho_{p},\tau,t)d\tau\bigg]dt
−Tr⁡[ρp​∫0∞(τ​I+ρp)−1​(ρ^n​(Xn)−ρp)​(τ​I+ρp)−1​𝑑τ]\displaystyle\qquad-\operatorname{Tr}{\left[\rho_{p}\int_{0}^{\infty}\left(\tau I+\rho_{p}\right)^{-1}\big(\hat{\rho}_{n}(X^{n})-\rho_{p}\big)\left(\tau I+\rho_{p}\right)^{-1}d\tau\right]}
≤2​‖ρ^n​(Xn)−ρp‖1​‖ρ^n​(Xn)−ρp‖​‖ρp−1‖\displaystyle\leq 2\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\left\|\rho_{p}^{-1}\right\|
(69) ≤2​d​‖ρ^n​(Xn)−ρp‖2​‖ρp−1‖.\displaystyle\leq 2d\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|^{2}\left\|\rho_{p}^{-1}\right\|.

Here, the penultimate inequality uses that

Tr⁡[ρp​∫0∞(τ​I+ρp)−1​(ρ^n​(Xn)−ρp)​(τ​I+ρp)−1​𝑑τ]=0,\displaystyle\operatorname{Tr}{\left[\rho_{p}\int_{0}^{\infty}\left(\tau I+\rho_{p}\right)^{-1}\big(\hat{\rho}_{n}(X^{n})-\rho_{p}\big)\left(\tau I+\rho_{p}\right)^{-1}d\tau\right]}=0,

which follows using cyclicity of trace as shown in Sreekumar and Berta 2025, and

Tr⁡[(1−t)​ρp​∫0∞u2​(ρ^n​(Xn),ρp,τ,t)​𝑑τ]​𝑑t≤‖ρ^n​(Xn)−ρp‖1​‖ρ^n​(Xn)−ρp‖​‖ρp−1‖.\displaystyle\operatorname{Tr}\bigg[(1-t)\rho_{p}\int_{0}^{\infty}u_{2}(\hat{\rho}_{n}(X^{n}),\rho_{p},\tau,t)d\tau\bigg]dt\leq\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|_{1}\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\left\|\rho_{p}^{-1}\right\|.

Substituting (69) in (68), taking expectations on both sides and using (63) yields

𝔼⁡[𝖣⁡(ρp∥σ^n⋆​(Xn))]≤28​d2​‖ρp−1‖+2​log⁡dn,\displaystyle\mathbb{E}\left[\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\right]\leq\frac{28d^{2}\left\|\rho_{p}^{-1}\right\|+2\log d}{n},

as desired.

Next, we prove (27a) given (26) holds. Under this assumption, following the same steps as in expectation bounds in Part (i​i)(ii) for the case ϵ>0\epsilon>0 yields almost surely that

𝖣⁡(ρp∥σ^n⋆​(Xn))≤2​b¯nn+d​b¯n​‖ρ^n​(Xn)−ρp‖+log⁡dn+ϵ.\displaystyle\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\leq\frac{2\bar{b}_{n}}{n}+d\bar{b}_{n}\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|+\frac{\log d}{n}+\epsilon.

Hence, (27a) follows:

ℙ⁡(𝖣⁡(ρp∥σ^n⋆​(Xn))≥2​b¯nn+log⁡dn+ϵ+d​b¯n​t)\displaystyle\mathbb{P}\left(\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\geq\frac{2\bar{b}_{n}}{n}+\frac{\log d}{n}+\epsilon+d\bar{b}_{n}t\right) ≤ℙ⁡(‖ρ^n​(Xn)−ρp‖≥t)≤2​d​e−(n​t24∧3​n​t4).\displaystyle\leq\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|\geq t\right)\leq 2de^{-\left(\frac{nt^{2}}{4}\wedge\frac{3nt}{4}\right)}.

Finally, (27b) is an outcome of substituting (69) in (68) and using the resulting bound to obtain

ℙ⁡(𝖣⁡(ρp∥σ^n⋆​(Xn))≥2​d​t​‖ρp−1‖+2​log⁡dn)\displaystyle\mathbb{P}\left(\mathsf{D}\left(\rho_{p}\middle\|\hat{\sigma}_{n}^{\star}(X^{n})\right)\geq 2dt\left\|\rho_{p}^{-1}\right\|+\frac{2\log d}{n}\right) ≤ℙ⁡(‖ρ^n​(Xn)−ρp‖2≥t)≤2​d​e−(n​t4∧3​n​t4).\displaystyle\leq\mathbb{P}\left(\left\|\hat{\rho}_{n}(X^{n})-\rho_{p}\right\|^{2}\geq t\right)\leq 2de^{-\left(\frac{nt}{4}\wedge\frac{3n\sqrt{t}}{4}\right)}.

6. Discussion and Future Work

We proposed a conceptual model for ICL: A QMLP obtained by embedding into a learned Hilbert space. We explored information-geometric properties of QMLP and established statistical performance guarantees given an arbitrary embedding. Our performance guarantees indicate that a good embedding should aim for minimal embedded Hilbert space dimension and maximal smallest eigenvalue of ρp\rho_{p}. Often, additional properties for embeddings may be desirable such as injectivity for specific sub-classes of probability distributions. In the context of embeddings into RKHS generated by a symmetric positive definite translation-invariant kernel, a necessary and sufficient condition that the corresponding feature map is injective (or kernel is characteristic) for sub-classes of distributions was obtained by Gretton et al. 2006; Sriperumbudur et al. 2008; Fukumizu et al. 2009. Relaxing the assumption of translation-invariance of kernels, integral strict positive definiteness was shown to be a sufficient condition for a kernel to be characteristic by Sriperumbudur et al. 2010. However, the latter condition is tailored towards the kernels being injective over the entire 𝒫⁡(𝒳)\mathcal{P}(\mathcal{X}), and hence is too restrictive if the class of probability distributions PP of interest is a strict subset. Hence, it is worthwhile to investigate in depth, when embeddings are injective for specific sub-classes of 𝒫⁡(𝒳)\mathcal{P}(\mathcal{X}) when the associated kernel is not translation invariant.

A simple criteria for injectivity can be obtained as follows. Suppose 𝒫⊆𝒫⁡(𝒳)\mathcal{P}\subseteq\mathcal{P}(\mathcal{X}) is a class of discrete or continuous distributions on ℝm\mathbb{R}^{m} of interest. Consider the class of pairwise differences of densities (with respect to counting or Lebesgue measure) within 𝒫\mathcal{P}, i.e., 𝒫2≔{p−p′:P≠P′,P,P′∈𝒫}\mathcal{P}_{2}\coloneqq\big\{p-p^{\prime}:P\neq P^{\prime},~P,P^{\prime}\in\mathcal{P}\big\}. Then, it is clear that the feature map φ:𝒳→ℍ\varphi:\mathcal{X}\rightarrow\mathbb{H} corresponding to a symmetric positive definite kernel KK (see Appendix B) is injective on 𝒫\mathcal{P} if and only if 𝒫2\mathcal{P}_{2} lies in the support of KK viewed as an element of ℒ⁡(ℍ)\mathcal{L}(\mathbb{H}). It would be fruitful to explore the interplay between specific kernels and 𝒫\mathcal{P} for which they are injective from this viewpoint or determine alternative criteria that are simpler to verify. Another aspect to explore pertains to contraction coefficients for specific embeddings which quantifies how much the quantum relative entropy in the embedded domain decreases compared to KL divergence in the distribution space (see the recent study by Belzig et al. 2025). It would also be beneficial to establish the optimality (or gap thereof) of the performance guarantees in Theorem 2. Finally, it is of interest to develop computationally practical algorithms and associated theoretical guarantees for solving the optimization problem in (11), for which (Csiszár and Shields 2004, Chapter 5) and (Wilde 2025) could be starting points for investigation.

Acknowledgement

S. Sreekumar is partially supported by the CNRS-L2S-CentraleSupélec funding WRP630. N. Weinberger is partially supported by the Israel Science Foundation (ISF), grant no. 1782/22. S. Sreekumar thanks Gereon Koßmann for interesting discussions on topics related to the paper.

Appendix A Background: Classical and Quantum Transformer-based Large Language Models

Modern LLMs are transformer-based models composed of an input (embedding) layer followed by multi-head (masked self) attention units, feedforward nets, and finally an output layer which produces probabilities over a vocabulary. The input layer converts data (text, images etc.) into tokens and further represents them as vectors in a Euclidean space. Each multi-head attention unit consists of a stack of attention units which are processed in parallel, each head performing independent projections of tokens within the context window into some internal representation space and computing correlations among tokens, which are concatenated at its output. To describe in more detail, let 𝒲\mathcal{W} be a finite set of tokens and kk be the context window. The input embedding layer stacks a sequence of tokens w1,…,wkw_{1},\ldots,w_{k} as a k×di​nk\times d_{in} matrix Z=(z1,…,zk)TZ=(z_{1},\ldots,z_{k})^{T}, where the row vector zj∈ℝdi​nz_{j}\in\mathbb{R}^{d_{in}} is the representation of token wjw_{j} for 1≤j≤k1\leq j\leq k. Each attention head mechanism involves three matrices of dimension di​n×dm​o​dd_{in}\times d_{mod}, the query matrix MQM_{Q}, key matrix MKM_{K} and the value matrix MVM_{V}, which are learned during the training phase. Using these, the output of the attention mechanism is computed as

(70) A=softmax​(mask​(Q​KTdm​o​d))​V,\displaystyle A=\textrm{softmax}\left(\textrm{mask}\left(\frac{QK^{T}}{\sqrt{d_{mod}}}\right)\right)V,

where Q=Z​WQQ=ZW_{Q}, K=Z​WKK=ZW_{K} and V=Z​WVV=ZW_{V}. In the above, the masking operation enforces causality (i.e. dependence of tokens only on past tokens) by setting the relevant matrix entries to a sufficiently large negative value and softmax performs the standard softmax operation (taking exponential of each entry and normalizing by row sum to produce a probability distribution). The output from the attention units (say LL of them) are concatenated into a matrix of size k×L​dm​o​dk\times Ld_{mod}, each row of which is processed by a feedforward network. Finally, the output projection matrix WOW_{O} takes as input the output of the feedforward net of size k×L​dm​o​dk\times Ld_{mod} and outputs a matrix of size k×|𝒱|k\times|\mathcal{V}|, where the rows correspond to the prediction probabilities over the vocabulary 𝒱\mathcal{V}.

Quantum LLMs (QLLMs) have a similar mechanism when the input layer operation is viewed as embeddings into a Hilbert space. The desired classical and quantum computations such as (70) are then implemented using a hybrid classical-quantum architecture involving classical computations and quantum gates (which are unitary operators on the underlying Hilbert space). These operations induce a quantum state as input to the output layer to which a POVM ℳ={Mv}v∈𝒱\mathcal{M}=\{M_{v}\}_{v\in\mathcal{V}} is applied, which produces outcomes according to some probability distribution over the vocabulary 𝒱\mathcal{V}. Denoting the set of all possible output probability distributions induced by such measurements by 𝒬^n\hat{\mathcal{Q}}_{n}, the QLLM optimization problem to find the optimal predictor is equivalent to solving (6).

Appendix B Reproducing Kernel Hilbert Space (RKHS) and Covariance Embedding

While reproducing kernels (Aronszajn 1950) have appeared in several different contexts in learning theory and machine learning, their utility for the task of prediction has remained underexplored. Consider a kernel function K:𝒳×𝒳→ℂK:\mathcal{X}\times\mathcal{X}\rightarrow\mathbb{C} (or ℝ\mathbb{R}) which satisfies the following:

  • •

    KK is a continuous and positive definite kernel on 𝒳\mathcal{X}, i.e.,

    (71) K⁡(x,y)=K​(y,x)∗and∑i,j=1nci∗​cj​K​(xi,xj)≥0,\displaystyle K(x,y)=K(y,x)^{*}\quad\mbox{and}\quad\sum_{i,j=1}^{n}c_{i}^{*}c_{j}K(x_{i},x_{j})\geq 0,

    for every xn∈𝒳nx^{n}\in\mathcal{X}^{n} and cn∈ℂnc^{n}\in\mathbb{C}^{n} (or ℝn\mathbb{R}^{n}), such that K⁡(x,x)=1K(x,x)=1 for all x∈𝒳x\in\mathcal{X}.

Every such KK defines a Hilbert space ℍ\mathbb{H} of functions f:𝒳→ℂf:\mathcal{X}\rightarrow\mathbb{C} (or ℝ\mathbb{R}), called an RKHS, as well as a map φ:𝒳→ℍ\varphi:\mathcal{X}\rightarrow\mathbb{H} known as the feature map, such that for all x,y∈𝒳x,y\in\mathcal{X},

(72) f(x)=⟨K(⋅,x),f⟩,φ(x)≔K(⋅,x),andK(x,y)≔⟨K(⋅,x),K(⋅,y)⟩.\displaystyle f(x)=\langle K(\cdot,x),f\rangle,\quad\varphi(x)\coloneqq K(\cdot,x),\quad\mbox{and}\quad K(x,y)\coloneqq\langle K(\cdot,x),K(\cdot,y)\rangle.

Any function ff in ℍ\mathbb{H} can be obtained as linear combinations of kernel functions, i.e.,

(73) f⁡(x)=∑i=1kαi​K​(x,xi),for some𝜶∈ℂk,𝒙∈𝒳k,\displaystyle f(x)=\sum_{i=1}^{k}\alpha_{i}K(x,x_{i}),\quad\mbox{for some}\quad\bm{\alpha}\in\mathbb{C}^{k},\bm{x}\in\mathcal{X}^{k},

or limits of such functions in ℍ\mathbb{H}. Note that the above properties implies that ‖φ⁡(x)‖ℍ=1\left\|\varphi(x)\right\|_{\mathbb{H}}=1 for all x∈𝒳x\in\mathcal{X}. We refer to Berlinet and Thomas-Agnan 2004 for further details.

The feature map induces the so-called mean embedding of probability distributions into the associated RKHS, and has been used in a variety of applications (see e.g.(Muandet et al. 2017)). Recently, the covariance embedding ϕ\phi (see Section 3.1) induced by (8) was studied in Bach 2023, which embeds probability distributions into the subclass of density operators 𝒮⁡(ℍ)\mathcal{S}(\mathbb{H}) within ℒ⁡(ℍ)\mathcal{L}(\mathbb{H}). This can be seen by noting that ϕ\phi is a positive linear map, and hence the image ρp\rho_{p} of each probability distribution PP satisfies ρp≥0\rho_{p}\geq 0. Moreover, Tr⁡[ρp]=1\operatorname{Tr}{\left[\rho_{p}\right]}=1. Denoting by {ei}i=1∞\{e_{i}\}_{i=1}^{\infty} an orthonormal basis of ℍ\mathbb{H}, the latter follows as

Tr⁡[ρp]≔∑i=1∞⟨ei,ρp​ei⟩\displaystyle\operatorname{Tr}{\left[\rho_{p}\right]}\coloneqq\sum_{i=1}^{\infty}\langle e_{i},\rho_{p}e_{i}\rangle =∫𝒳∑i=1∞⟨ei||φ⁡(x)⟩​⟨φ⁡(x)||ei⟩​p​(x)​𝑑μ​(x)\displaystyle=\int_{\mathcal{X}}\sum_{i=1}^{\infty}\langle e_{i}||\varphi(x)\rangle\langle\varphi(x)||e_{i}\rangle p(x)d\mu(x)
=∫𝒳∑i=1∞⟨φ⁡(x),ei⟩​⟨ei,φ⁡(x)⟩​p​(x)​𝑑μ​(x)\displaystyle=\int_{\mathcal{X}}\sum_{i=1}^{\infty}\langle\varphi(x),e_{i}\rangle\langle e_{i},\varphi(x)\rangle p(x)d\mu(x)
=∫𝒳‖φ⁡(x)‖ℍ2​p​(x)​𝑑μ​(x)\displaystyle=\int_{\mathcal{X}}\left\|\varphi(x)\right\|_{\mathbb{H}}^{2}p(x)d\mu(x)
(74) =1,\displaystyle=1,

where the last equality is because ‖φ⁡(x)‖ℍ=1\left\|\varphi(x)\right\|_{\mathbb{H}}=1 for every x∈𝒳x\in\mathcal{X} and ∫p​𝑑μ=1\int pd\mu=1. Density operators are trace-class and hence lies within the class of Hilbert-Schmidt operators equipped with the Hilbert-Schmidt inner-product:

⟨ρ,σ⟩≔Tr⁡[ρ∗​σ]≔∑i=1∞⟨ρ​ei,σ​ei⟩,∀ρ,σ∈ℒ⁡(ℍ),\displaystyle\langle\rho,\sigma\rangle\coloneqq\operatorname{Tr}{\left[\rho^{*}\sigma\right]}\coloneqq\sum_{i=1}^{\infty}\langle\rho e_{i},\sigma e_{i}\rangle,\forall\rho,\sigma\in\mathcal{L}(\mathbb{H}),

where ρ∗\rho^{*} denotes the adjoint of ρ\rho.

References

  • Akyürek et al. [2023] E. Akyürek, D. Schuurmans, J. Andreas, T. Ma, and D. Zhou. What learning algorithm is in-context learning? Investigations with linear models. In International Conference on Learning Representations, 2023.
  • Amari and Nagaoka [2000] S. Amari and H. Nagaoka. Methods of Information Geometry. American Mathematical Society, Oxford University Press, 2000.
  • Amin et al. [2018] M. H. Amin, E. Andriyash, J. Rolfe, B. Kulchytskyy, and R. Melko. Quantum Boltzmann machine. Phys. Rev. X, 8:021050, May 2018. doi: 10.1103/PhysRevX.8.021050.
  • Aronszajn [1950] N. Aronszajn. Theory of reproducing kernels. Transactions of the American Mathematical Society, 68(3):337–404, 1950.
  • Bach [2023] F. Bach. Information theory with kernel methods. IEEE Transactions on Information Theory, 69(2):752–775, 2023. doi: 10.1109/TIT.2022.3211077.
  • Bai et al. [2023] Y. Bai, F. Chen, H. Wang, C. Xiong, and S. Mei. Transformers as statisticians: Provable in-context learning with in-context algorithm selection. In Advances in Neural Information Processing Systems, volume 36, 2023.
  • Basile and Tamburini [2017] I. Basile and F. Tamburini. Towards quantum language models. In M. Palmer, R. Hwa, and S. Riedel, editors, Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 1840–1849, Copenhagen, Denmark, Sept. 2017. Association for Computational Linguistics. doi: 10.18653/v1/D17-1196.
  • Basu et al. [2023] S. Basu, M. Choraria, and L. R. Varshney. Transformers are universal predictors. ArXiv, abs/2307.07843, 2023.
  • Belzig et al. [2025] P. Belzig, L. Gao, G. Smith, and P. Wu. Reverse-type data processing inequality. Communications in Mathematical Physics, 406(12):295, 2025.
  • Benedetti et al. [2017] M. Benedetti, J. Realpe-Gómez, R. Biswas, and A. Perdomo-Ortiz. Quantum-assisted learning of hardware-embedded probabilistic graphical models. Phys. Rev. X, 7:041052, Nov 2017. doi: 10.1103/PhysRevX.7.041052.
  • Benedetti et al. [2019] M. Benedetti, D. Garcia-Pintos, O. Perdomo, V. Leyton-Ortega, Y. Nam, and A. Perdomo-Ortiz. A generative modeling approach for benchmarking and training shallow quantum circuits. npj Quantum Information, 5(1):45, 2019. doi: 10.1038/s41534-019-0157-8.
  • Berlinet and Thomas-Agnan [2004] A. Berlinet and C. Thomas-Agnan. Reproducing Kernel Hilbert Spaces in Probability and Statistics. Kluwer Academic Publishers, Boston, MA, USA, 2004. ISBN 978-1-4020-7679-4. doi: 10.1007/978-1-4419-9096-9.
  • Berta et al. [2015] M. Berta, O. Fawzi, and M. Tomamichel. On variational expressions for quantum relative entropies. Letters in Mathematical Physics, 107(12):2239–2265, Dec. 2015. doi: 10.1007/s11005-017-0990-7.
  • Cesa-Bianchi and Lugosi [2006] N. Cesa-Bianchi and G. Lugosi. Prediction, learning, and games. Cambridge university press, 2006.
  • Csiszár and Matus [2003] I. Csiszár and F. Matus. Information projections revisited. IEEE Transactions on Information Theory, 49(6):1474–1490, 2003.
  • Csiszár and Shields [2004] I. Csiszár and P. C. Shields. Information theory and statistics: A tutorial. Foundations and Trends® in Communications and Information Theory, 1(4):417–528, 2004.
  • Donald [1986] M. J. Donald. On the relative entropy. Communications in Mathematical Physics, 105(1):13–34, 1986. ISSN 1432-0916. doi: 10.1007/BF01212339.
  • Edelman et al. [2024] E. Edelman, N. Tsilivis, B. L. Edelman, E. Malach, and S. Goel. The evolution of statistical induction heads: In-context learning markov chains. Advances in neural information processing systems, 37:64273–64311, 2024.
  • Ferrie and Blume-Kohout [2016] C. Ferrie and R. Blume-Kohout. Minimax quantum tomography: estimators and relative entropy bounds. Physical Review Letters, 116(9):090407, 2016.
  • Fukumizu et al. [2004] K. Fukumizu, F. R. Bach, and M. I. Jordan. Dimensionality reduction for supervised learning with reproducing kernel Hilbert spaces. Journal of Machine Learning Research, 5:73–99, 2004.
  • Fukumizu et al. [2009] K. Fukumizu, F. R. Bach, and M. I. Jordan. Kernel dimension reduction in regression. The Annals of Statistics, 37(4):1871–1905, 2009.
  • Garg et al. [2022] S. Garg, D. Tsipras, P. Liang, and G. Valiant. What Can Transformers Learn In-Context? A Case Study of Simple Function Classes. In Advances in Neural Information Processing Systems, volume 35, 2022.
  • Golowich et al. [2020] N. Golowich, A. Rakhlin, and O. Shamir. Size-independent sample complexity of neural networks. Information and Inference: A Journal of the IMA, 9(2):473–504, 2020.
  • Gretton et al. [2006] A. Gretton, K. M. Borgwardt, M. Rasch, B. Schölkopf, and A. J. Smola. A kernel method for the two-sample-problem. In Proceedings of the 20th International Conference on Neural Information Processing Systems, NIPS’06, page 513–520, Cambridge, MA, USA, 2006. MIT Press.
  • Haussler and Opper [1997] D. Haussler and M. Opper. Mutual information, metric entropy and cumulative relative entropy risk. The Annals of Statistics, 25(6):2451–2492, 1997.
  • Hayashi [2002] M. Hayashi. Optimal sequence of quantum measurements in the sense of Stein’s lemma in quantum hypothesis testing. Journal of Physics A: Mathematical and General, 35(50):10759, Dec. 2002.
  • Hayashi [2016] M. Hayashi. Quantum Information Theory: Mathematical Foundation. Springer Berlin, Heidelberg, 2016.
  • Hayashi and Ito [2025] M. Hayashi and Y. Ito. Entanglement measures for detectability. IEEE Transactions on Information Theory, 71(6):4385–4405, 2025. doi: 10.1109/TIT.2025.3557056.
  • Houska and Chachuat [2017] B. Houska and B. Chachuat. Global optimization in Hilbert space. Mathematical Programming, 173, 12 2017. doi: 10.1007/s10107-017-1215-7.
  • Hoyos-Osorio and Sanchez-Giraldo [2024] J. K. Hoyos-Osorio and L. G. Sanchez-Giraldo. The representation Jensen-Shannon divergence, 2024.
  • Jeon et al. [2024] H. J. Jeon, J. D. Lee, Q. Lei, and B. Van Roy. An information-theoretic analysis of in-context learning. In Forty-first International Conference on Machine Learning, 2024.
  • Kachaiev and Recanatesi [2024] O. Kachaiev and S. Recanatesi. Learning to embed distributions via maximum kernel entropy. Advances in Neural Information Processing Systems, 37:44710–44734, 2024.
  • Kieferová and Wiebe [2017] M. Kieferová and N. Wiebe. Tomography and generative training with quantum Boltzmann machines. Phys. Rev. A, 96:062327, Dec 2017. doi: 10.1103/PhysRevA.96.062327.
  • Kim et al. [2025] S. H. Kim, J. Mei, C. Girotto, M. Yamada, and M. Roetteler. Quantum large language model fine-tuning. In 2025 IEEE International Conference on Quantum Computing and Engineering (QCE), volume 01, pages 01–12, 2025. doi: 10.1109/QCE65121.2025.00258.
  • Koltchinskii and Xia [2015] V. Koltchinskii and D. Xia. Optimal estimation of low rank density matrices. J. Mach. Learn. Res., 16(53):1757–1792, 2015.
  • Krichevsky and Trofimov [1981] R. Krichevsky and V. Trofimov. The performance of universal encoding. IEEE Transactions on Information Theory, 27(2):199–207, 1981. doi: 10.1109/TIT.1981.1056331.
  • Liu and Wang [2018] J.-G. Liu and L. Wang. Differentiable learning of quantum circuit born machines. Phys. Rev. A, 98:062324, Dec 2018. doi: 10.1103/PhysRevA.98.062324.
  • Merhav and Feder [1998] N. Merhav and M. Feder. Universal prediction. IEEE Transactions on Information Theory, 44(6):2124–2147, 1998.
  • Muandet et al. [2017] K. Muandet, K. Fukumizu, B. Sriperumbudur, and B. Schölkopf. Kernel mean embedding of distributions: A review and beyond. Foundations and Trends in Machine Learning, 10(1-2):1–141, 2017. doi: 10.1561/2200000060.
  • Nielsen and Chuang [2001] M. A. Nielsen and I. L. Chuang. Quantum computation and quantum information, volume 2. Cambridge university press Cambridge, 2001.
  • Pan et al. [2025] Z. Pan, S. Wang, L. Pengfei, and J. Li. Understanding LLM behaviors via compression: Data generation, knowledge acquisition and scaling laws. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.
  • Petz [1988] D. Petz. A variational expression for the relative entropy. Communications in Mathematical Physics, 114(2):345–349, 1988. ISSN 1432-0916.
  • Piani [2009] M. Piani. Relative entropy of entanglement and restricted measurements. Physical Review Letters, 103(16):160504, Oct. 2009. doi: 10.1103/PhysRevLett.103.160504.
  • Polyanskiy and Wu [2025] Y. Polyanskiy and Y. Wu. Information Theory: From Coding to Learning. Cambridge University Press, 2025.
  • Rissanen [1983] J. Rissanen. Universal coding, information, prediction, and estimation. IEEE Transactions on Information theory, 30(4):629–636, 1983.
  • Sander and Peyré [2025] M. E. Sander and G. Peyré. Towards understanding the universality of transformers for next-token prediction. In The Thirteenth International Conference on Learning Representations, 2025.
  • Santoro and Panaretos [2025] L. V. Santoro and V. M. Panaretos. Likelihood ratio tests by kernel Gaussian embedding. arXiv preprint, Aug 2025.
  • Smola et al. [2007] A. Smola, A. Gretton, L. Song, and B. Schölkopf. A Hilbert space embedding for distributions. In M. Hutter, R. A. Servedio, and E. Takimoto, editors, Algorithmic Learning Theory, pages 13–31, Berlin, Heidelberg, 2007. Springer Berlin Heidelberg.
  • Song et al. [2010] L. Song, A. Gretton, and C. Guestrin. Nonparametric tree graphical models. In Y. W. Teh and M. Titterington, editors, Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, volume 9 of Proceedings of Machine Learning Research, pages 765–772, Chia Laguna Resort, Sardinia, Italy, 13–15 May 2010. PMLR.
  • Sreekumar and Berta [2025] S. Sreekumar and M. Berta. Limit distribution theory for quantum divergences. IEEE Transactions on Information Theory, 71(1):459–484, 2025.
  • Sriperumbudur et al. [2008] B. K. Sriperumbudur, A. Gretton, K. Fukumizu, G. R. G. Lanckriet, and B. Scholkopf. Injective Hilbert space embeddings of probability measures. In Annual Conference Computational Learning Theory, 2008.
  • Sriperumbudur et al. [2010] B. K. Sriperumbudur, A. Gretton, K. Fukumizu, B. Schölkopf, and G. R. Lanckriet. Hilbert space embeddings and metrics on probability measures. J. Mach. Learn. Res., 11:1517–1561, Aug. 2010. ISSN 1532-4435.
  • Tang [2022] J. Tang. Divergence Covering. Ph.d. thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2022.
  • Thompson [1963] A. C. Thompson. On certain contraction mappings in a partially ordered vector space. Proceedings of the American Mathematical Society, 14:438–443, 1963. ISSN 0002-9939, 1088-6826. doi: 10.1090/S0002-9939-1963-0149237-7.
  • Vershynin [2018] R. Vershynin. High-Dimensional Probability: An Introduction with Applications in Data Science. Cambridge University Press, Cambridge, 2018.
  • Wilde [2017] M. M. Wilde. Quantum Information Theory. Cambridge University Press, second edition, 2017. doi: 10.1017/9781316809976.001.
  • Wilde [2025] M. M. Wilde. Fundamentals of quantum Boltzmann machine learning with visible and hidden units. arXiv: 2512.19819, 2025.
  • Xie et al. [2022] S. M. Xie, A. Raghunathan, P. Liang, and T. Ma. An explanation of in-context learning as implicit Bayesian inference. In International Conference on Learning Representations, 2022.
  • Yang and Barron [1999] Y. Yang and A. Barron. Information-theoretic determination of minimax rates of convergence. Annals of Statistics, pages 1564–1599, 1999.

Comments

· 0
Be the first to comment on this paper.