Introduction
Linear models provide a widely used alternative to gradient-based learning methods in classical machine learning, owing in part to their favorable training properties and the availability of efficient optimization procedures [1 , 2 , 3 , 4 ] . A similar distinction arises in quantum machine learning (QML) [5 , 6 ] . While much attention has focused on variational quantum algorithms [7 ] , their trainability can be severely hindered by phenomena such as barren plateaus [8 , 9 , 10 , 11 ] and, more generally, exponential concentration [12 , 13 , 14 , 15 , 16 ] . Non-variational quantum learning architectures, in which the quantum processing is fixed and only a classical model is optimized during training therefore provide a promising alternative. Many such architectures share a common structure that we refer to as quantum linear regression : a fixed quantum device maps input data into a quantum feature space, while inference is performed through a linear combination of expectation values of observables measured at its output, with the corresponding weights learned classically from training data. Equivalently, these architectures implement linear models in quantum feature space [17 , 18 , 19 , 20 ] . Prominent examples include quantum reservoir computing [21 , 22 ] , quantum extreme learning machines (QELMs) [20 , 23 , 24 , 25 , 26 , 27 ] , and quantum kernel methods [18 , 28 , 29 , 30 , 31 , 32 , 33 ] ; the same structure also underlies the training of recently proposed quantum Gaussian processes [34 , 35 ] .
Despite inheriting the favorable training properties of classical linear models, quantum linear regression introduces a fundamental complication with no direct counterpart when classical features are exactly accessible: quantum features cannot be read out directly, but must be estimated from a finite number of measurement shots. Their intrinsic sampling noise, therefore, makes the number of shots N N N per training example an additional computational resource, alongside the number of training examples n t r n_{\mathrm{tr}} n tr themselves. Understanding how these two resources jointly determine learning performance is thus key to assess the practical requirements of non-variational QML [31 , 36 , 37 , 38 , 39 , 40 ] . In this work, we characterize this interplay and show that finite-shot estimation fundamentally alters the behavior of quantum linear regression, giving rise to intrinsic ill-conditioning and to a nontrivial trade-off between dataset size and per-state measurement statistics.
More specifically, the features estimated using N N N shots per state are collected into a finite resource feature matrix P ^ N \hat{P}_N P ^ N , which converges in the infinite-shot limit to the ideal feature matrix P P P . Collecting training labels in a matrix Y Y Y , linear regression seeks W W W such that
Figure 1. Panel a): The ideal probability matrix has rank ( P ) = d 2 \operatorname{rank}(P)=d^2 rank ( P ) = d 2 , while the empirical frequency matrix P ^ N = P + N − 1 / 2 Ξ ^ \hat{P}_N=P+N^{-1/2}\hat{\Xi} P ^ N = P + N − 1/2 Ξ ^ , constructed by measuring each state N N N times, is full rank with high probability. The spurious directions carry singular values at the noise scale N − 1 / 2 N^{-1/2} N − 1/2 , so P ^ N + \hat{P}_N^+ P ^ N + develops a part that grows as N \sqrt{N} N and maps coker ( P ) \operatorname{coker}(P) coker ( P ) into ker ( P ) \operatorname{ker}(P) ker ( P ) (eq. (27) ). Exact targets (y ∈ supp ( P ) y\in\operatorname{supp}(P) y ∈ supp ( P ) ) and exact test probabilities (p σ ∈ im ( P ) p_\sigma\in\operatorname{im}(P) p σ ∈ im ( P ) ) are orthogonal to these subspaces, so the divergence cancels from the prediction y T P ^ N + p σ y^T\hat{P}_N^+p_\sigma y T P ^ N + p σ . Isotropic target noise and the test covariance Σ σ \Sigma_\sigma Σ σ instead both have components in ker ( P ) \operatorname{ker}(P) ker ( P ) : only when the two occur together does the divergence survive and the error grow with N N N — quantum overfitting. Panel b): The error splits according to its origin. Training shot noise alone produces a systematic bias b 2 / N 2 b^2/N^2 b 2 / N 2 and a fluctuation V / ( N n t r ) V/(Nn_{\rm tr}) V / ( N n tr ) (eq. (46) ), neither of which has a counterpart in classical regression with exact features. Target noise of variance γ 2 \gamma^2 γ 2 acts classically: an irreducible γ 2 \gamma^2 γ 2 from the test labels, and an O ( γ 2 / n t r ) O(\gamma^2/n_{\rm tr}) O ( γ 2 / n tr ) floor on the training variance. Finite test statistics add w O Σ σ w O T / M w_O\Sigma_\sigma w_O^T/M w O Σ σ w O T / M , a floor that no amount of training data can remove (eq. (49) ). Only the product of all three — training shots, target noise and test shots — reaches the divergence of a), giving γ 2 N C / M \gamma^2NC/M γ 2 N C / M with C = ( n o u t − d 2 ) / ( n t r − n o u t − 1 ) C=(n_{\rm out}-d^2)/(n_{\rm tr}-n_{\rm out}-1) C = ( n out − d 2 ) / ( n tr − n out − 1 ) , whose numerator counts the directions populated by noise alone: the amplification is a direct measure of the rank mismatch. Panel c): Schematic MSE versus N N N at fixed n t r n_{\rm tr} n tr . With exact targets and exact test features (teal, M → ∞ M\to\infty M → ∞ ) the bias N − 2 N^{-2} N − 2 dominates at low statistics and the fluctuation ( N n t r ) − 1 (Nn_{\rm tr})^{-1} ( N n tr ) − 1 at high statistics; the two balance at N ∼ n t r N\sim n_{\rm tr} N ∼ n tr , so it is the training-set size that fixes where the decay slows down. Finite test statistics arrest the decay at the 1 / M 1/M 1/ M floor (grey). With noisy targets (orange) the term γ 2 N C / M \gamma^2NC/M γ 2 N C / M eventually dominates and the curve turns upward: the MSE is minimized at a finite N ⋆ N^\star N ⋆ , beyond which additional shots per training state actively hurt, and N ⋆ N^\star N ⋆ moves to larger values only if M M M is increased with it. Inset: at fixed N N N , more training states suppress the fluctuation but leave the N − 2 N^{-2} N − 2 bias floor — unlike classical regression, data alone cannot push the error below it.
Y ≃ W P ^ N Y\simeq W\hat{P}_N Y ≃ W P ^ N , with minimum-norm least-squares solution W = Y P ^ N + W=Y\hat{P}_N^+ W = Y P ^ N + . However, ideal and empirical feature matrices have different rank structures: P P P is rank deficient, while stochastic fluctuations make P ^ N \hat{P}_N P ^ N full rank with high probability. This rank discontinuity manifests itself as divergences in P ^ N + \hat{P}_N^+ P ^ N + [41 , 42 , 43 , 44 ] , posing a central technical obstacle to training these models. As we show in § 4 , the argument only relies on the dimension of the space in which the features live, and is therefore independent of how they are generated: whether they are measurement probabilities, as in QELMs, or overlaps between states, as in quantum fidelity kernels, the ill-conditioning is a generic feature of quantum linear regression.
While the statistical properties of classical linear regression have been studied extensively [45 , 46 , 47 , 48 , 49 , 50 , 51 , 52 , 53 , 54 ] , particularly in high-dimensional regimes where both the feature dimension and the dataset size grow large, these analyses typically assume exactly known features. Noise in the features is instead the subject of errors-in-variables models [55 , 56 , 57 ] , where it is known to bias least-squares estimators by an amount that does not vanish as the dataset grows. Much less is known rigorously when the feature noise has the structure typical of quantum models [39 , 40 , 58 , 59 , 60 , 61 ] . We address this gap by initiating a systematic study of the effects of shot noise on quantum linear regression, focusing in particular on the QELM paradigm. We provide two separate approaches to analytically control the rank discontinuity, isolate the singular part of the empirical pseudoinverse, and identify how it affects predictions. Although the pseudoinverse contains terms that diverge as N → ∞ N \to\infty N → ∞ , we show that these singular contributions do not affect physical predictions when the training targets are known exactly.
We derive the scaling of the average mean-squared prediction error (MSE) on N N N and n t r n_{\mathrm{tr}} n tr , identifying two main regimes: in the high statistics regime N ≳ n t r N \gtrsim n_{\mathrm{tr}} N ≳ n tr , the MSE is dominated by stochastic fluctuations due to finite training statistics and scales as ( N n t r ) − 1 (N n_{\mathrm{tr}})^{-1} ( N n tr ) − 1 ; in the low statistics regime N ≲ n t r N \lesssim n_{\mathrm{tr}} N ≲ n tr , these fluctuations become subleading and the MSE is dominated by a quantum-induced systematic bias, arising from the rank increase and associated ill-conditioning produced by finite-shot noise, and scales as N − 2 N^{-2} N − 2 . The low-statistics regime is where the departure from regression with exactly known features is the sharpest: as the sampling noise sits in the features, it produces a bias that is insensitive to the size of the training set. Consequently, at fixed N N N , increasing the number of training states eventually ceases to improve the prediction error: beyond n t r ∼ N n_{\mathrm{tr}} \sim N n tr ∼ N , the MSE saturates at a floor set by the finite measurement statistics available for each training state. Performance is thus governed by two resources rather than one, and increasing the size of the training dataset does not help unless the per-state measurement budget is increased as well. This bias is the quantum counterpart of the attenuation bias of errors-in-variables regression [55 , 62 ] , with two novel features: the noise strength is set by the per-state measurement budget, which is under the experimenter’s control, and the noise also populates directions orthogonal to the span of the ideal features, which reshapes the bias through a Schur complement of the noise covariance.
We then proceed to also study the effect of noise on the training targets themselves, modelling scenarios in which preparation errors cause the training states to not be precisely characterized. The singular directions, previously harmless, now couple to this noise and resurface in the prediction error. While label noise amplification caused by minimum-norm least squares along poorly conditioned directions is familiar from the variance peak of double descent [53 , 63 ] , what is specific to the quantum setting is that these directions exist only because shot noise lifts the rank of the ideal feature matrix: the effect is a direct signature of the fact that quantum features are confined to a subspace fixed by the dimension of the Hilbert space, while their estimates are not. The phenomenon causes an unexpected interplay between training statistics N N N and test statistics M M M that contributes to the MSE a term scaling as N / M N/M N / M . This means that increasing the training statistics without correspondingly increasing the statistics used at inference time can counterintuitively worsen performances, a behavior we identify as a form of quantum overfitting . This phenomenon contrasts with the benign overfitting studied in quantum models in Ref. [64], as in our case increasing the training statistics degrades test performances.
Figure 2 summarizes the resulting picture. All the contributions to the prediction error are represented schematically, grouped according to the bias–variance splittings at training and at test time, and each is tagged with its physical origin: shot noise in the estimated features, or noise in the training targets. Crucially, our analysis is not limited to the qualitative structure of this decomposition. We determine explicitly the coefficients multiplying each scaling, in terms of the POVM, the training ensemble, and the target observable, and we find them to be in excellent agreement with numerical simulations across a broad set of regimes and model parameters.
Figure 2. Decomposition of the MSE in terms of the different sources of noise. The effect of finite resource during the training is manifestly represented by the training bias, while test sampling contributes to the test variance. Target noise induces corrections that also appear in the more familiar setting of classical linear regression. The only exception is the term γ 2 N C / M \gamma^{2}NC/M γ 2 N C / M , which combines training and test shot noise with target noise and gives rise to a quantum overfitting phenomenon that amplifies the uncertainty introduced during the training stage. The coefficients b b b , V V V , A A A , C C C , and Var ( w O ) \operatorname{Var}(w_{\mathcal{O}}) Var ( w O ) depend only on the dimension d d d of the system.
Overall, by combining ideas from quantum machine learning and random matrix theory, our results indicate that familiar intuitions from classical learning must be revised to account for constraints imposed by the geometry of quantum state space. More broadly, our work highlights that finite statistics can qualitatively alter conclusions drawn from idealized, infinite-sample analyses, motivating a more statistics-aware approach to quantum machine learning.
The remainder of the manuscript is organized as follows. § 2 reviews classical linear regression, and § 3 introduces its quantum counterpart. § 4 identifies the rank-changing instability, and § 5 gives a complementary structural analysis of its Schur-complement mechanism. § 6 recovers the resource laws in a homogeneous Gaussian reference model. The main bias-variance result and its resource scaling are presented in § 7 , and finally section VIII discusses the amplification mechanism that appears when the training targets are noisy, before we conclude with the resulting resource-allocation perspective in section IX.
Classical linear regression theory
To understand what changes when we account for the shot-noise in measurement probabilities, we first review the classical linear regression setting where the input features are assumed to be known exactly, and the noise may only be in the targets. In this setting, noise affects performances in a relatively straightforward way, creating an irreducible error due to the fundamental unsolvability of the problem, and increasing the expected variance of the corresponding estimator. Notably, it does not enter its bias. We will see in § 3 how this picture changes significantly when we account for the structure of the experimental noise in both training and inference phases.
In the standard treatment of linear regression [2 , 53 , 65 ] , the relation between an input x ∈ R d x \in\mathbb{R}^{d} x ∈ R d and a response y ∈ R y \in\mathbb{R} y ∈ R is assumed to be linear: y = ⟨ w , x ⟩ + η y = \langle w, x \rangle+ \eta y = ⟨ w , x ⟩ + η , where w ∈ R d w \in\mathbb{R}^{d} w ∈ R d is the regression vector we want to estimate, and η \eta η is stochastic noise, typically assumed to be conditionally independent and homoscedastic, i.e. E [ η ∣ x ] = 0 \mathbb{E}[\eta|x] = 0 E [ η ∣ x ] = 0 and E [ η 2 ∣ x ] = γ 2 \mathbb{E}[\eta^{2}|x] = \gamma^{2} E [ η 2 ∣ x ] = γ 2 . Notably, this setting accounts for noise in y y y but not in x x x . In the training phase, the input–output pairs ( x , y ) (x,y) ( x , y ) are drawn from a distribution D \mathcal{D} D , and the training objective is to minimize the risk , that is, some suitable function quantifying how well w w w reproduces the functional relation in the training data. A standard choice is to quantify the quality of a candidate regressor w ^ \hat{w} w ^ is via the population mean-squared error (MSE):
MSE ( w ^ ) = E ( x , y ) ∼ D [ ( y − w ^ T x ) 2 ] . (1) \operatorname{MSE}(\hat{w}) = \mathbb{E}_{(x,y)\sim\mathcal{D}}\left[\left(y-\hat{w}^{T}x\right)^{2}\right]. \tag*{(1)} MSE ( w ^ ) = E ( x , y ) ∼ D [ ( y − w ^ T x ) 2 ] . (1)
This decomposes as
MSE ( w ^ ) = γ 2 + ∥ w − w ^ ∥ Σ 2 , (2) \operatorname{MSE}(\hat{w}) = \gamma^{2} + \lVert w-\hat{w}\rVert_{\Sigma}^{2}, \tag*{(2)} MSE ( w ^ ) = γ 2 + ∥ w − w ^ ∥ Σ 2 , (2)
where Σ = E D [ x x T ] \Sigma= \mathbb{E}_{\mathcal{D}}[xx^{T}] Σ = E D [ x x T ] is the second moment matrix, and ∥ v ∥ Σ 2 = v T Σ v \lVert v\rVert_{\Sigma}^{2} = v^{T}\Sigma v ∥ v ∥ Σ 2 = v T Σ v . The γ 2 \gamma^{2} γ 2 term in eq. (2) is referred to as the irreducible noise , and corresponds to white noise intrinsic to the data that cannot be reduced by any choice of w ^ \hat{w} w ^ . On the other hand, ∥ w − w ^ ∥ Σ 2 \lVert w-\hat{w}\rVert_{\Sigma}^{2} ∥ w − w ^ ∥ Σ 2 is the excess risk , and represents error terms due to the training not producing the ideal regressor w w w .
In practice, in the training phase one has only access to a finite training set E t r ≡ { ( x i , y i ) } i = 1 n t r \mathcal{E}_{\mathrm{tr}} \equiv\{(x_i,y_i)\}_{i=1}^{n_{\mathrm{tr}}} E tr ≡ {( x i , y i ) } i = 1 n tr , and the objective is to minimize the empirical risk — in this case the empirical MSE — estimated on these examples, that is,
R t r ( w ) = 1 n t r ∑ i = 1 n t r ( y i − w T x i ) 2 . (3) R_{\mathrm{tr}}(w) = \frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}(y_i-w^{T}x_i)^{2}. \tag*{(3)} R tr ( w ) = n tr 1 i = 1 ∑ n tr ( y i − w T x i ) 2 . (3)
This least-squares problem can be solved explicitly writing it as R t r ( w ) = n t r − 1 ∥ Y − w X ∥ 2 R_{\mathrm{tr}}(w)=n_{\mathrm{tr}}^{-1}\lVert Y-wX\rVert^{2} R tr ( w ) = n tr − 1 ∥ Y − w X ∥ 2 , denoting with X ∈ R d × n t r X\in\mathbb{R}^{d\times n_{\mathrm{tr}}} X ∈ R d × n tr the training matrix whose i i i -th column is x i x_i x i , and with Y Y Y the row vector of training labels. The w w w minimizing R t r ( w ) R_{\mathrm{tr}}(w) R tr ( w ) is then given by
w ^ t r T = y T X + = w T X X + + η T X + , (4) \hat{w}_{\mathrm{tr}}^{T}=y^{T}X^{+}=w^{T}XX^{+}+\eta^{T}X^{+}, \tag*{(4)} w ^ tr T = y T X + = w T X X + + η T X + , (4)
where X + X^{+} X + denotes the Moore-Penrose pseudoinverse of X X X .
The MSE in eq. (2) depends on the training set E t r \mathcal{E}_{\mathrm{tr}} E tr and is therefore random with respect to both X X X and η \eta η through its excess risk term. Averaging this excess risk with respect to η \eta η we get a further decomposition:
E η ∥ w ^ t r − w ∥ Σ 2 = bias 2 ( X ) + Var ( X ) , (5) \mathbb{E}_{\eta}\lVert\hat{w}_{\mathrm{tr}}-w\rVert_{\Sigma}^{2}=\operatorname{bias}^{2}(X)+\operatorname{Var}(X), \tag*{(5)} E η ∥ w ^ tr − w ∥ Σ 2 = bias 2 ( X ) + Var ( X ) , (5)
where Var ( X ) ≡ E η ∥ w ^ t r − E η [ w ^ t r ] ∥ Σ 2 \operatorname{Var}(X)\equiv\mathbb{E}_{\eta}\lVert\hat{w}_{\mathrm{tr}}-\mathbb{E}_{\eta}[\hat{w}_{\mathrm{tr}}]\rVert_{\Sigma}^{2} Var ( X ) ≡ E η ∥ w ^ tr − E η [ w ^ tr ] ∥ Σ 2 measures the sensitivity of the estimator with respect to noise realizations, and bias 2 ( X ) ≡ ∥ w − E η [ w ^ t r ] ∥ Σ 2 \operatorname{bias}^{2}(X)\equiv\lVert w-\mathbb{E}_{\eta}[\hat{w}_{\mathrm{tr}}]\rVert_{\Sigma}^{2} bias 2 ( X ) ≡ ∥ w − E η [ w ^ tr ] ∥ Σ 2 measures the average error of w ^ \hat{w} w ^ . For the empirical least-squares estimator in eq. (4) , these equal
bias 2 ( X ) = ∥ ( X X + − I ) w ∥ Σ 2 , \operatorname{bias}^{2}(X)=\lVert(XX^{+}-I)w\rVert_{\Sigma}^{2}, bias 2 ( X ) = ∥( X X + − I ) w ∥ Σ 2 ,
Var ( X ) = E η ∥ ( X + ) T η ∥ Σ 2 = γ 2 Tr [ X + Σ ( X + ) T ] . (6) \operatorname{Var}(X)=\mathbb{E}_{\eta}\lVert(X^{+})^{T}\eta\rVert_{\Sigma}^{2}=\gamma^{2}\operatorname{Tr}\left[X^{+}\Sigma(X^{+})^{T}\right]. \tag*{(6)} Var ( X ) = E η ∥( X + ) T η ∥ Σ 2 = γ 2 Tr [ X + Σ ( X + ) T ] . (6)
The bias is exactly zero in the underparametrized regime , n t r ≥ d n_{\mathrm{tr}}\ge d n tr ≥ d , provided rank ( X ) = d \operatorname{rank}(X)=d rank ( X ) = d , since then X X + = I d XX^{+}=I_{d} X X + = I d .
This conclusion hinges on the exact knowledge of the features. When the inputs are themselves observed with noise, as in errors-in-variables models, the least-squares estimator acquires the so-called attenuation, or regression-dilution, bias, which does not vanish as n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ [55 , 62 ] . In § 7 we show that the finite-statistics bias of quantum linear regression has the same structure, reshaped by the rank deficiency of the ideal feature matrix.
Quantum linear regression
We use the term quantum linear regression to refer to linear regression tasks in which the input features x x x are estimates of probabilities obtained by measuring quantum states with finite resources. The training data thus consist of pairs ( ρ , y ) ∼ D (\rho,y)\sim\mathcal{D} ( ρ , y ) ∼ D , where each state ρ \rho ρ is evolved under fixed quantum dynamics and subsequently measured. We describe the overall measurement procedure by an effective POVM μ = { μ a } a = 1 n o u t \mu=\{\mu_{a}\}_{a=1}^{n_{\mathrm{out}}} μ = { μ a } a = 1 n out over n o u t n_{\mathrm{out}} n out measurement outcomes; this can be understood as the Heisenberg-evolved measurement: if the input states evolve through a quantum map Φ \Phi Φ and are then measured with a physical POVM μ p h y s \mu^{\mathrm{phys}} μ phys , then μ a ≡ Φ † ( μ a p h y s ) \mu_{a}\equiv\Phi^{\dagger}(\mu_{a}^{\mathrm{phys}}) μ a ≡ Φ † ( μ a phys ) [20 ] , where Φ † \Phi^{\dagger} Φ † denotes the adjoint of Φ \Phi Φ . The probability vector corresponding to measuring an input state ρ \rho ρ is p ( ρ ) ≡ ⟨ μ p h y s ∣ Φ ( ρ ) ⟩ = ⟨ μ a ∣ ρ ⟩ ∈ R n o u t p(\rho)\equiv\langle\mu^{\mathrm{phys}}|\Phi(\rho)\rangle=\langle\mu_{a}|\rho\rangle\in\mathbb{R}^{n_{\mathrm{out}}} p ( ρ ) ≡ ⟨ μ phys ∣Φ ( ρ )⟩ = ⟨ μ a ∣ ρ ⟩ ∈ R n out , where we use the notation ⟨ A , B ⟩ ≡ Tr ( A † B ) \langle A,B\rangle\equiv\operatorname{Tr}(A^{\dagger}B) ⟨ A , B ⟩ ≡ Tr ( A † B ) . The learning problem is to find a matrix W W W such that y ≃ W ⟨ μ , ρ ⟩ y\simeq W\langle\mu,\rho\rangle y ≃ W ⟨ μ , ρ ⟩ .
We will focus on the cases where the target is a scalar and is achievable, meaning that it can be expressed as the expectation value of some observable in the real linear span of the effective POVM elements [20 ] . In these cases, following the conventions introduced in section SM1, W W W becomes a row vector w O w_{\mathcal{O}} w O , and we write y = ⟨ O , ρ ⟩ y = \langle O,\rho\rangle y = ⟨ O , ρ ⟩ for some observable O O O . The condition ⟨ O , ρ ⟩ = w O p ( ρ ) \langle O,\rho\rangle= w_O p(\rho) ⟨ O , ρ ⟩ = w O p ( ρ ) for all ρ \rho ρ is then equivalent to
O = w O μ ≡ ∑ a w a μ a , O = w_O\mu\equiv\sum_a w_a\mu_a, O = w O μ ≡ a ∑ w a μ a ,
with w a w_a w a the elements of w O w_O w O .
We first assume that the training targets y = { y i } i = 1 n t r y = \{y_i\}_{i=1}^{n_{\mathrm{tr}}} y = { y i } i = 1 n tr are known exactly, so that any training error comes from the measured input features. The consequences of also having noise in the targets will be discussed in section VIII. By contrast, the input features are affected by statistical noise because the probabilities ⟨ μ , ρ ⟩ \langle\mu,\rho\rangle ⟨ μ , ρ ⟩ must be estimated on a quantum device using finitely many shots. More precisely, we assume that each training state ρ \rho ρ is measured N N N times, and let n ^ ( ρ ) = { n ^ a ( ρ ) } a = 1 n o u t \hat{n}(\rho) = \{\hat{n}_a(\rho)\}_{a=1}^{n_{\mathrm{out}}} n ^ ( ρ ) = { n ^ a ( ρ ) } a = 1 n out be the count vector, whose a a a -th component records how many times outcome a a a is observed. The empirical probability vector is then
p ^ N ( ρ ) = n ^ ( ρ ) / N , n ^ ( ρ ) ∼ Mult ( N , p ( ρ ) ) , (7) \hat{p}_N(\rho) = \hat{n}(\rho)/N,\qquad\hat{n}(\rho) \sim\operatorname{Mult}(N,p(\rho)), \tag*{(7)} p ^ N ( ρ ) = n ^ ( ρ ) / N , n ^ ( ρ ) ∼ Mult ( N , p ( ρ )) , (7)
where Mult ( N , p ( ρ ) ) \operatorname{Mult}(N,p(\rho)) Mult ( N , p ( ρ )) denotes the multinomial distribution with N N N trials and probability vector p ( ρ ) p(\rho) p ( ρ ) . By construction,
E [ p ^ N ( ρ ) ] = p ( ρ ) , \mathbb{E}[\hat{p}_N(\rho)] = p(\rho), E [ p ^ N ( ρ )] = p ( ρ ) ,
Cov [ p ^ N ( ρ ) ] = N − 1 Σ ( p ( ρ ) ) , (8) \operatorname{Cov}[\hat{p}_N(\rho)] = N^{-1}\Sigma(p(\rho)), \tag*{(8)} Cov [ p ^ N ( ρ )] = N − 1 Σ ( p ( ρ )) , (8)
where Σ ( p ) ≡ diag ( p ) − p p T \Sigma(p) \equiv\operatorname{diag}(p) - pp^T Σ ( p ) ≡ diag ( p ) − p p T is the categorical covariance matrix. In what follows, we use p ^ σ \hat{p}_\sigma p ^ σ as shorthand for the empirical frequency p ^ N ( σ ) \hat{p}_N(\sigma) p ^ N ( σ ) , leaving its dependence on the statistics implicit. Similarly, we use p σ ≡ p ( σ ) p_\sigma\equiv p(\sigma) p σ ≡ p ( σ ) for the exact probability vector and Σ σ \Sigma_\sigma Σ σ for its categorical covariance matrix.
To study how finite measurement resources affect training performances, we consider the finite-statistics MSE , defined as the squared error for a fixed choice of measurement, test state, and target observable, averaged over the possible noise realizations at the inference stage with statistics M M M :
MSE ( w ^ , M ) = E p ^ σ [ ( w ^ p ^ σ − w O p σ ) 2 ] , (9) \operatorname{MSE}(\hat{w},M) = \mathbb{E}_{\hat{p}_\sigma}\left[(\hat{w}\hat{p}_\sigma-w_O p_\sigma)^2\right], \tag*{(9)} MSE ( w ^ , M ) = E p ^ σ [ ( w ^ p ^ σ − w O p σ ) 2 ] , (9)
where the dependence on M M M is hidden in the frequency vector p ^ σ ≡ p ^ M ( σ ) \hat{p}_\sigma\equiv\hat{p}_M(\sigma) p ^ σ ≡ p ^ M ( σ ) . This MSE is defined with respect to an arbitrary estimator w ^ \hat{w} w ^ and does not depend on the actual training method used to derive it; we will discuss later on how w ^ \hat{w} w ^ is derived from the training dataset and how this choice affects the scaling of the MSE. By contrast, w O w_O w O is the ideal estimator, the one that would be obtained if measuring each training states with infinite precision; by construction, this satisfies ⟨ O , ρ ⟩ = w O p ( ρ ) \langle O,\rho\rangle= w_O p(\rho) ⟨ O , ρ ⟩ = w O p ( ρ ) for every state ρ \rho ρ , hence w ^ p ^ σ − w O p σ \hat{w}\hat{p}_\sigma-w_O p_\sigma w ^ p ^ σ − w O p σ is the estimation error for a single realization involving M M M measures of the state σ \sigma σ to estimate p σ p_\sigma p σ , and using the estimator w ^ \hat{w} w ^ . The finite-statistics MSE admits a bias-variance decomposition separating the errors due to an imprecise w ^ \hat{w} w ^ from the errors due to fluctuations caused by the finite test budget:
MSE ( w ^ , M ) = bias t e s t 2 ( w ^ ) + Var t e s t ( w ^ , M ) , (10) \operatorname{MSE}(\hat{w},M) = \operatorname{bias}_{\mathrm{test}}^2(\hat{w}) + \operatorname{Var}_{\mathrm{test}}(\hat{w},M), \tag*{(10)} MSE ( w ^ , M ) = bias test 2 ( w ^ ) + Var test ( w ^ , M ) , (10)
where the test bias and test variance are defined by
bias t e s t 2 ( w ^ ) ≡ ( E p ^ σ [ w ^ p ^ σ ] − w O p σ ) 2 , \operatorname{bias}_{\mathrm{test}}^2(\hat{w}) \equiv\left(\mathbb{E}_{\hat{p}_\sigma}[\hat{w}\hat{p}_\sigma]-w_O p_\sigma\right)^2, bias test 2 ( w ^ ) ≡ ( E p ^ σ [ w ^ p ^ σ ] − w O p σ ) 2 ,
Var t e s t ( w ^ , M ) ≡ E p ^ σ [ ( w ^ p ^ σ ) 2 ] − ( w ^ p σ ) 2 . (11) \operatorname{Var}_{\mathrm{test}}(\hat{w},M) \equiv\mathbb{E}_{\hat{p}_\sigma}\left[(\hat{w}\hat{p}_\sigma)^2\right]-(\hat{w}p_\sigma)^2. \tag*{(11)} Var test ( w ^ , M ) ≡ E p ^ σ [ ( w ^ p ^ σ ) 2 ] − ( w ^ p σ ) 2 . (11)
Using eq. (8) , these two quantities can be evaluated explicitly:
bias t e s t 2 ( w ^ ) = [ ( w ^ − w O ) p σ ] 2 , \operatorname{bias}_{\mathrm{test}}^2(\hat{w}) = \left[(\hat{w}-w_O)p_\sigma\right]^2, bias test 2 ( w ^ ) = [ ( w ^ − w O ) p σ ] 2 ,
Var t e s t ( w ^ , M ) = M − 1 w ^ Σ σ w ^ T . (12) \operatorname{Var}_{\mathrm{test}}(\hat{w},M) = M^{-1}\hat{w}\Sigma_\sigma\hat{w}^T. \tag*{(12)} Var test ( w ^ , M ) = M − 1 w ^ Σ σ w ^ T . (12)
The interpretation of the two terms in eq. (12) is straightforward. The test bias is the squared systematic prediction error due to the discrepancy between the ideal readout w O w_O w O and its estimate w ^ \hat{w} w ^ . The test variance quantifies fluctuations in the prediction caused by shot noise at test time. Indeed, the test variance vanishes as M → ∞ M \to\infty M → ∞ , whereas the test bias is independent of M M M and survives in this limit. Thus, increasing the number of test shots cannot reduce the bias caused by the choice of w ^ \hat{w} w ^ . We therefore refer to the test bias as the infinite-statistics MSE and denote it by MSE ( w ^ , ∞ ) \operatorname{MSE}(\hat{w},\infty) MSE ( w ^ , ∞ ) . We obtain the following useful decomposition:
MSE ( w ^ , M ) = MSE ( w ^ , ∞ ) + w ^ Σ σ w ^ T M . (13) \operatorname{MSE}(\hat{w},M) = \operatorname{MSE}(\hat{w},\infty) + \frac{\hat{w}\Sigma_\sigma\hat{w}^T}{M}. \tag*{(13)} MSE ( w ^ , M ) = MSE ( w ^ , ∞ ) + M w ^ Σ σ w ^ T . (13)
Equation (13) shows that we can take M → ∞ M \to\infty M → ∞ to remove test sampling contributions and expose the error term MSE ( w ^ , ∞ ) \operatorname{MSE}(\hat{w},\infty) MSE ( w ^ , ∞ ) , which is entirely caused by the training noise. Note that, when the readout is taken to be ideal, the infinite statistics MSE identically vanishes, and the coefficient
Var ( w O ) ≡ w O Σ σ w O T (14) \operatorname{Var}(w_O) \equiv w_O\Sigma_\sigma w_O^T \tag*{(14)} Var ( w O ) ≡ w O Σ σ w O T (14)
acquires a special meaning: it is the single-shot variance of the estimator that would be obtained with exact knowledge of the dynamics, which typically coincides with the variance obtained via a shadow-tomography approach [20 , 66 ] [67]. Going beyond the ideal case, we now specialize to the case where w ^ \hat{w} w ^ is derived via pseudoinverse on the noisy probability matrix holding the measurement data, and then average that remaining error over the training noise realizations.
Let P ∈ R n o u t × n t r P \in\mathbb{R}^{n_{\mathrm{out}} \times n_{\mathrm{tr}}} P ∈ R n out × n tr denote the matrix of exact measurement probabilities for the n t r n_{\mathrm{tr}} n tr training states, with i i i -th column p ( ρ i ) p(\rho_i) p ( ρ i ) . Its rank satisfies
rank ( P ) ≤ min ( d 2 , n o u t , n t r ) , (15) \operatorname{rank}(P) \le\min(d^2,n_{\mathrm{out}},n_{\mathrm{tr}}), \tag*{(15)} rank ( P ) ≤ min ( d 2 , n out , n tr ) , (15)
because the real vector space of Hermitian operators on a d d d -dimensional Hilbert space has dimension d 2 d^2 d 2 . If the training states span this operator space and the effective POVM is informationally complete, then rank ( P ) = d 2 \operatorname{rank}(P)=d^2 rank ( P ) = d 2 . We focus on the overcomplete regime n t r , n o u t > d 2 n_{\mathrm{tr}},n_{\mathrm{out}} > d^2 n tr , n out > d 2 , under these spanning and informational-completeness assumptions. In this regime, P P P is necessarily rank deficient. We show in § 4 and § 5 how this rank constraint controls the stability of quantum linear regression.
In realistic settings, only finite measurement resources are available and one must work with a noisy empirical version of P P P . If N N N measurements are performed independently on each training state, we define the empirical frequency matrix P ^ N \hat{P}_{N} P ^ N by taking its i i i -th column as
p ^ i = n ^ ( i ) / N , n ^ ( i ) ∼ Mult ( N , p i ) . (16) \hat{p}_{i} = \hat{n}^{(i)}/N,\qquad\hat{n}^{(i)} \sim\operatorname{Mult}(N,p_{i}). \tag*{(16)} p ^ i = n ^ ( i ) / N , n ^ ( i ) ∼ Mult ( N , p i ) . (16)
Under the assumptions above, when n t r , n o u t > d 2 n_{\mathrm{tr}},n_{\mathrm{out}}>d^{2} n tr , n out > d 2 , the regression problem is exactly solvable for any target observable O \mathcal{O} O [20 ] . Let y = ( y 1 , … , y n t r ) T y=(y_{1},\ldots,y_{n_{\mathrm{tr}}})^{T} y = ( y 1 , … , y n tr ) T be the vector of training targets. Among the generally nonunique exact solutions, which correspond to different choices of dual frame for the effective POVM [68 , 69 ] [67], the canonical minimum-norm solution is w O = y T P + w_{\mathcal{O}}=y^{T}P^{+} w O = y T P + . Shot-noise fluctuations in P ^ N \hat{P}_{N} P ^ N generally prevent the exact recovery of these ideal weights from finite data. The standard unregularized pseudoinverse training rule instead yields the estimator
w ^ N = y T P ^ N + . (17) \hat{w}_{N}=y^{T}\hat{P}_{N}^{+}. \tag*{(17)} w ^ N = y T P ^ N + . (17)
The estimator w ^ N \hat{w}_{N} w ^ N is a random variable that depends nonlinearly on the particular realization of the training shot noise through the Moore–Penrose pseudoinverse P ^ N + \hat{P}_{N}^{+} P ^ N + .
To characterize the effect of shot noise during the training stage, we average the infinite-test-statistics MSE over realizations of the training noise, and define
MSE ( N , ∞ ) ≡ E P ^ N [ MSE ( w ^ N , ∞ ) ] . (18) \operatorname{MSE}(N,\infty)\equiv\mathbb{E}_{\hat{P}_{N}}\left[\operatorname{MSE}(\hat{w}_{N},\infty)\right]. \tag*{(18)} MSE ( N , ∞ ) ≡ E P ^ N [ MSE ( w ^ N , ∞ ) ] . (18)
Here and below, we suppress the dependence on the exact design matrix P P P and the fixed POVM μ \mu μ . As before, the averaged MSE can be decomposed into a training bias and a training variance:
fore, the averaged MSE can be decomposed into a training bias and a training variance :
MSE ( N , ∞ ) = bias 2 ( N ) + Var t r ( N ) , \operatorname{MSE}(N,\infty)=\operatorname{bias}^{2}(N)+\operatorname{Var}_{\mathrm{tr}}(N), MSE ( N , ∞ ) = bias 2 ( N ) + Var tr ( N ) ,
bias 2 ( N ) ≡ ∥ w O − E P ^ N [ w ^ N ] ∥ ρ 2 , \operatorname{bias}^{2}(N)\equiv\left\lVert w_{\mathcal{O}}-\mathbb{E}_{\hat{P}_{N}}[\hat{w}_{N}]\right\rVert_{\rho}^{2}, bias 2 ( N ) ≡ w O − E P ^ N [ w ^ N ] ρ 2 ,
Var t r ( N ) ≡ E P ^ N [ ( w ^ N − E P ^ N [ w ^ N ] ) ρ ] 2 . (19) \operatorname{Var}_{\mathrm{tr}}(N)\equiv\mathbb{E}_{\hat{P}_{N}}\left[\left(\hat{w}_{N}-\mathbb{E}_{\hat{P}_{N}}[\hat{w}_{N}]\right)\rho\right]^{2}. \tag*{(19)} Var tr ( N ) ≡ E P ^ N [ ( w ^ N − E P ^ N [ w ^ N ] ) ρ ] 2 . (19)
The training variance Var t r ( N ) \operatorname{Var}_{\mathrm{tr}}(N) Var tr ( N ) quantifies the fluctuations of the prediction around its mean over realizations of the training noise. The training bias bias 2 ( N ) \operatorname{bias}^{2}(N) bias 2 ( N ) is the squared difference between the target prediction and this mean prediction. Its source is explicit in eq. (19) : in general, E P ^ N [ w ^ N ] ≠ w O \mathbb{E}_{\hat{P}_{N}}[\hat{w}_{N}]\ne w_{\mathcal{O}} E P ^ N [ w ^ N ] = w O because the pseudoinverse depends nonlinearly on the empirical frequency matrix. The same nonlinearity makes the dependence of the bias and variance on both N N N and the number of training states n t r n_{\mathrm{tr}} n tr highly nontrivial.
Our main objective is to show that, despite the nonlinear dependence of the MSE on the training noise, its dependence on the resources used in the protocol can be derived explicitly. These resources are the number of training shots per state N N N , the number of training states n t r n_{\mathrm{tr}} n tr , and the number of test shots M M M . Anticipating the results of the following sections, we find that the scaling of the MSE with N N N , n t r n_{\mathrm{tr}} n tr , and M M M can be characterized compactly as the sum of six contributions. This decomposition is shown schematically in Figure 2 . Each term originates from one of the three sources of noise discussed in this paper: training shot noise, test shot noise, and label noise. Label noise is the type usually considered in classical linear regression. It can be thought of as the error arising from incomplete knowledge of the states, for instance due to noisy state preparation on a quantum device. All the constants appearing in Figure 2 depend only on the dimension of the input system, and are studied explicitly in § 7 and VIII. Despite its apparent simplicity, this compact expansion captures all the interesting regimes of QELM, as supported by the numerical results shown in Figure 3 to Figure 6 and in section SM6.
Figure 3. MSE as a function of N N N in the limit M → ∞ M \to\infty M → ∞ (noiseless test features), for a single-qubit MUB measurement (thus d = 2 d=2 d = 2 , n o u t = d ( d + 1 ) = 6 n_{\mathrm{out}}=d(d+1)=6 n out = d ( d + 1 ) = 6 ), for n t r = 10 2 n_{\mathrm{tr}}=10^2 n tr = 1 0 2 (green), 10 3 10^3 1 0 3 (blue), and 10 4 10^4 1 0 4 (orange). Markers and solid lines show the median MSE; shaded bands indicate the 10th–90th percentile range. The red dash-dotted line indicates the small-N N N bias contribution E σ , O [ b 2 ] / N 2 \mathbb{E}_{\sigma,O}[b^2]/N^2 E σ , O [ b 2 ] / N 2 , independent of n t r n_{\mathrm{tr}} n tr , and black dashed lines indicate the large-N N N variance contribution E σ , O [ V ] / ( N n t r ) \mathbb{E}_{\sigma,O}[V]/(Nn_{\mathrm{tr}}) E σ , O [ V ] / ( N n tr ) , where E σ , O [ b 2 ] = ( d − 1 ) ( d + 2 ) 2 / ( d + 1 ) \mathbb{E}_{\sigma,O}[b^2]=(d-1)(d+2)^2/(d+1) E σ , O [ b 2 ] = ( d − 1 ) ( d + 2 ) 2 / ( d + 1 ) and E σ , O [ V ] = d ( d − 1 ) ( d + 2 ) / ( d + 1 ) \mathbb{E}_{\sigma,O}[V]=d(d-1)(d+2)/(d+1) E σ , O [ V ] = d ( d − 1 ) ( d + 2 ) / ( d + 1 ) . Other parameters are n t e s t = 100 n_{\mathrm{test}}=100 n test = 100 and n o b s = 50 n_{\mathrm{obs}}=50 n obs = 50 target observables, with n r e p s = 50 n_{\mathrm{reps}}=50 n reps = 50 independent draws of the training, test, and target ensembles and n r e a l = 100 n_{\mathrm{real}}=100 n real = 100 independent shot-noise realizations per draw.
Figure 6. MSE as a function of N N N in the presence of training label noise, for a single-qubit MUB measurement (thus d = 2 d=2 d = 2 , n o u t = d ( d + 1 ) = 6 n_{\rm out}=d(d+1)=6 n out = d ( d + 1 ) = 6 ), with Gaussian noise of standard deviation γ = 0 \gamma=0 γ = 0 (green), 0.1 0.1 0.1 (blue), and 0.2 0.2 0.2 (orange) added to the training targets; test targets are noiseless. Markers and solid lines show the median MSE; shaded bands indicate the 10th–90th percentile range. The black dashed line indicates the large-N N N floor Var ( w O ) / M \operatorname{Var}(w_O)/M Var ( w O ) / M , where Var ( w O ) = ( d − 1 ) ( d + 2 ) / [ d ( d + 1 ) ] \operatorname{Var}(w_O)=(d-1)(d+2)/[d(d+1)] Var ( w O ) = ( d − 1 ) ( d + 2 ) / [ d ( d + 1 )] , and red dash-dotted lines indicate the label-noise amplification γ 2 N C / M \gamma^2NC/M γ 2 N C / M , where C = ( n o u t − d 2 ) / ( n t r − n o u t − 1 ) C=(n_{\rm out}-d^2)/(n_{\rm tr}-n_{\rm out}-1) C = ( n out − d 2 ) / ( n tr − n out − 1 ) . For γ > 0 \gamma>0 γ > 0 the MSE reaches a minimum around N ∼ 10 2 N\sim10^2 N ∼ 1 0 2 and then grows linearly in N N N , since more precise training features increasingly amplify the label noise. Other parameters are M = 10 2 M=10^2 M = 1 0 2 , n t r = 100 n_{\rm tr}=100 n tr = 100 , n t e s t = 100 n_{\rm test}=100 n test = 100 , and n o b s = 50 n_{\rm obs}=50 n obs = 50 target observables, with n r e p s = 50 n_{\rm reps}=50 n reps = 50 independent draws of the training, test, and target ensembles and n r e a l = 50 n_{\rm real}=50 n real = 50 independent shot-noise realizations per draw.
Quantum linear regression is ill-conditioned
The MSE decomposition in § 3 , in particular eqs. (17) and (19) , reduced the problem to characterizing the behaviour of the learned readout y T P ^ N + y^{T}\hat{P}_{N}^{+} y T P ^ N + . The main obstruction to do this is determining how errors in P ^ N \hat{P}_{N} P ^ N propagate to its pseudoinverse. Indeed, for an informationally complete POVM and spanning training states with n o u t , n t r > d 2 n_{\mathrm{out}},n_{\mathrm{tr}}>d^{2} n out , n tr > d 2 , shot noise can increase the rank of P P P , and the Moore–Penrose pseudoinverse is discontinuous under perturbations that change the rank. More precisely, if rank ( P + δ P ) ≠ rank ( P ) \operatorname{rank}(P+\delta P)\ne\operatorname{rank}(P) rank ( P + δ P ) = rank ( P ) , then lim δ P → 0 ( P + δ P ) + \lim_{\delta P\to0}(P+\delta P)^{+} lim δ P → 0 ( P + δ P ) + does not generally converge to P + P^{+} P + [41 , 42 , 43 , 44 ] .
The notion of acute perturbations in matrix perturbation theory is key to understanding the behaviour of the Moore–Penrose pseudoinverse under noise. When the rank increases, new singular values emerge at the noise scale, and their inversion produces contributions that diverge as the noise vanishes.
More formally, let A ∈ C n × m A\in\mathbb{C}^{n\times m} A ∈ C n × m and A ^ τ = A + τ E ^ \widehat{A}_{\tau}=A+\tau\widehat{E} A τ = A + τ E , where τ > 0 \tau>0 τ > 0 is a generic perturbation parameter. We say that τ E ^ \tau\widehat{E} τ E is an acute perturbation for A A A if
∥ A ^ τ A ^ τ + − A A + ∥ o p < 1 and ∥ A ^ τ + A ^ τ − A + A ∥ o p < 1. \left\lVert\widehat{A}_{\tau}\widehat{A}_{\tau}^{+}-AA^{+}\right\rVert_{\mathrm{op}}<1
\quad\text{and}\quad
\left\lVert\widehat{A}_{\tau}^{+}\widehat{A}_{\tau}-A^{+}A\right\rVert_{\mathrm{op}}<1. A τ A τ + − A A + op < 1 and A τ + A τ − A + A op < 1.
Here A A + AA^{+} A A + is the projector onto the image of A A A , while A + A A^{+}A A + A is the projector onto the row space of A A A .
The acuteness of a perturbation tells us whether the inverse of a matrix is stable under perturbation. In particular, the instability for non-acute perturbations can be quantified as follows:
Theorem 1 ([42 ] ). If τ E ^ \tau\widehat{E} τ E is not an acute perturbation for A A A ,
∥ A ^ τ + − A + ∥ o p ≥ τ − 1 ∥ E ^ ∥ o p − 1 . (20) \left\lVert\widehat{A}_{\tau}^{+}-A^{+}\right\rVert_{\mathrm{op}}\geq\tau^{-1}\left\lVert\widehat{E}\right\rVert_{\mathrm{op}}^{-1}. \tag*{(20)} A τ + − A + op ≥ τ − 1 E op − 1 . (20) If, further, rank ( A ^ τ ) ≥ rank ( A ) \operatorname{rank}(\widehat{A}_{\tau})\geq\operatorname{rank}(A) rank ( A τ ) ≥ rank ( A ) , then
∥ A ^ τ + ∥ o p ≥ τ − 1 ∥ E ^ ∥ o p − 1 . (21) \left\lVert\widehat{A}_{\tau}^{+}\right\rVert_{\mathrm{op}}\geq\tau^{-1}\left\lVert\widehat{E}\right\rVert_{\mathrm{op}}^{-1}. \tag*{(21)} A τ + op ≥ τ − 1 E op − 1 . (21)
For a fixed rank-increasing direction E ^ \widehat{E} E for which nonacuteness persists as τ → 0 \tau\to0 τ → 0 , these bounds exhibit the resulting τ − 1 \tau^{-1} τ − 1 divergence. The following rank criterion is also useful:
Theorem 2 ([41 ] ). If two matrices A , B ∈ C n × m A,B\in\mathbb{C}^{n\times m} A , B ∈ C n × m are acute with respect to one another, then rank ( A ) = rank ( B ) \operatorname{rank}(A)=\operatorname{rank}(B) rank ( A ) = rank ( B ) . If rank ( A ) = rank ( B ) \operatorname{rank}(A)=\operatorname{rank}(B) rank ( A ) = rank ( B ) and ∥ B − A ∥ o p ≤ ∥ A + ∥ o p − 1 \lVert B-A\rVert_{\mathrm{op}}\leq\lVert A^{+}\rVert_{\mathrm{op}}^{-1} ∥ B − A ∥ op ≤ ∥ A + ∥ op − 1 , then they are acute with respect to one another.
For instance, when the ideal matrix is square and invertible, as are the calibration matrices inverted in readout-error mitigation [70 , 71 ] , the second statement guarantees that sufficiently small perturbations are acute, so that finite calibration statistics only induce a regular error in the inverse. By contrast, in the overcomplete regime considered here, shot noise generically increases the rank:
rank ( P ) = d 2 < rank ( P ^ N ) = min ( n o u t , n t r ) . (22) \operatorname{rank}(P)=d^{2}<\operatorname{rank}(\widehat{P}_{N})=\min(n_{\mathrm{out}},n_{\mathrm{tr}}). \tag*{(22)} rank ( P ) = d 2 < rank ( P N ) = min ( n out , n tr ) . (22)
On this full-rank event the perturbation is nonacute, and writing the perturbation as P ^ N = P + N − 1 / 2 Ξ ^ \widehat{P}_{N}=P+N^{-1/2}\widehat{\Xi} P N = P + N − 1/2 Ξ , we have
∥ P ^ N + ∥ o p ≥ N ∥ Ξ ^ ∥ o p − 1 . (23) \left\lVert\widehat{P}_{N}^{+}\right\rVert_{\mathrm{op}}\geq\sqrt{N}\left\lVert\widehat{\Xi}\right\rVert_{\mathrm{op}}^{-1}. \tag*{(23)} P N + op ≥ N Ξ op − 1 . (23)
This growth is intrinsic to the unregularized pseudoinverse estimator in the overcomplete setting. The same mechanism affects quantum fidelity kernels: the ideal Gram matrix K i j = tr ( ρ i ρ j ) K_{ij}=\operatorname{tr}(\rho_i\rho_j) K ij = tr ( ρ i ρ j ) of n t r n_{\mathrm{tr}} n tr training states has rank at most d 2 d^{2} d 2 , whereas its finite-shot estimate is generically full rank. Finite-shot effects on estimated kernel matrices have been discussed in [60 , 61 ] .
Equation (23) concerns the norm of the full pseudoinverse and does not by itself imply that physical predictions diverge. We will show in § 5 that its singular block is annihilated by left and right multiplication by y T y^{T} y T and ρ σ \rho_{\sigma} ρ σ . Nevertheless, this does not mean that the singularity has no effect at all: it becomes relevant when the target y y y is noisy, as we will discuss in section VIII.
Perturbative analysis of noise perturbations
As discussed in § 4 , in the regime n t r , n o u t > d 2 n_{\mathrm{tr}},n_{\mathrm{out}}>d^{2} n tr , n out > d 2 , the pseudoinverse P ^ N + \widehat{P}_{N}^{+} P N + diverges in the same N → ∞ N\to\infty N → ∞ limit where the measured probabilities become exact, due to the rank increase caused by shot noise. However, as per eq. (17) , the learned readout is the product w ^ N = y T P ^ N + \widehat{w}_{N}=y^{T}\widehat{P}_{N}^{+} w N = y T P N + , which leaves some hope that the divergences of P ^ N + \widehat{P}_{N}^{+} P N + do not translate into divergences of w ^ N \widehat{w}_{N} w N . Furthermore, the infinite-test-statistics MSE is w ^ N ρ σ = y T P ^ N + ρ σ \widehat{w}_{N}\rho_{\sigma}=y^{T}\widehat{P}_{N}^{+}\rho_{\sigma} w N ρ σ = y T P N + ρ σ , which might further regularize the singular behaviour of P ^ N + \widehat{P}_{N}^{+} P N + . We will show here that this is precisely what happens by developing, in the n t r > n o u t > d 2 n_{\mathrm{tr}}>n_{\mathrm{out}}>d^{2} n tr > n out > d 2 regime, for any fixed noise realization, a tailored perturbative approach for the pseudoinverse that isolates its divergences in specific matrix blocks. This will be used to derive the MSE scaling results in § 6 .
We decompose the noisy probability matrix as P ^ N = P + Ξ ^ / N \widehat{P}_{N}=P+\widehat{\Xi}/\sqrt{N} P N = P + Ξ / N , where the columns ξ ^ i \widehat{\xi}_{i} ξ i represent the centered and rescaled multinomial fluctuations. Each column is independent but not identically distributed, as Cov ( ξ ^ i ) = Σ i \operatorname{Cov}(\widehat{\xi}_{i})=\Sigma_{i} Cov ( ξ i ) = Σ i . The N − 1 / 2 N^{-1/2} N − 1/2 rescaling makes Ξ ^ \widehat{\Xi} Ξ only depend on N N N via its third and higher moments, and we thus suppress its explicit N N N dependence for sake of notation here. We also fix the regime n t r > n o u t n_{\mathrm{tr}}>n_{\mathrm{out}} n tr > n out . With high probability, P ^ N \widehat{P}_{N} P N is surjective, and its pseudoinverse can be written as P ^ N + = P ^ N T ( P ^ N P ^ N T ) − 1 \widehat{P}_{N}^{+}=\widehat{P}_{N}^{T}(\widehat{P}_{N}\widehat{P}_{N}^{T})^{-1} P N + = P N T ( P N P N T ) − 1 . The discontinuity of the pseudoinverse therefore arises from the inverse of the n o u t × n o u t n_{\mathrm{out}}\times n_{\mathrm{out}} n out × n out matrix
P ^ N P ^ N T = P P T + 1 N ( P Ξ ^ T + Ξ ^ P T ) + 1 N Ξ ^ Ξ ^ T . (24) \widehat{P}_{N}\widehat{P}_{N}^{T}
=
PP^{T}
+\frac{1}{\sqrt{N}}\left(P\widehat{\Xi}^{T}+\widehat{\Xi}P^{T}\right)
+\frac{1}{N}\widehat{\Xi}\widehat{\Xi}^{T}. \tag*{(24)} P N P N T = P P T + N 1 ( P Ξ T + Ξ P T ) + N 1 Ξ Ξ T . (24)
To distinguish directions carrying ideal probabilities data from directions populated only by noise, we use the row and column spaces of P P P . Rank deficiency then causes nontrivial complementary kernel and cokernel subspaces. Choose isometries V 1 , V 2 V_{1},V_{2} V 1 , V 2 in the space and U 1 , U 2 U_1,U_2 U 1 , U 2 in the outcome space such that the corresponding orthogonal projectors are
Π 1 ≡ Π supp ( P ) = P + P = V 1 V 1 T , Π ‾ 1 ≡ Π im ( P ) = P P + = U 1 U 1 T . (25) \begin{aligned}
\Pi_1 &\equiv\Pi_{\operatorname{supp}(P)}=P^{+}P=V_1V_1^T,\\
\overline{\Pi}_1 &\equiv\Pi_{\operatorname{im}(P)}=PP^{+}=U_1U_1^T. \tag*{(25)}
\end{aligned} Π 1 Π 1 ≡ Π supp ( P ) = P + P = V 1 V 1 T , ≡ Π im ( P ) = P P + = U 1 U 1 T . (25)
Write Π 2 ≡ I − Π 1 = V 2 V 2 T \Pi_2\equiv I-\Pi_1=V_2V_2^T Π 2 ≡ I − Π 1 = V 2 V 2 T for the projector onto ker ( P ) \operatorname{ker}(P) ker ( P ) and Π ‾ 2 ≡ I − Π ‾ 1 = U 2 U 2 T \overline{\Pi}_2\equiv I-\overline{\Pi}_1=U_2U_2^T Π 2 ≡ I − Π 1 = U 2 U 2 T for the projector onto coker ( P ) \operatorname{coker}(P) coker ( P ) . By suitable changes of basis in the input and output spaces, we write P ^ N \widehat{P}_N P N in block form as
P ^ N = ( P 11 + N − 1 / 2 Ξ ^ 11 N − 1 / 2 Ξ ^ 12 N − 1 / 2 Ξ ^ 21 N − 1 / 2 Ξ ^ 22 ) . (26) \widehat{P}_N=
\begin{pmatrix}
P_{11}+N^{-1/2}\widehat{\Xi}_{11} & N^{-1/2}\widehat{\Xi}_{12}\\
N^{-1/2}\widehat{\Xi}_{21} & N^{-1/2}\widehat{\Xi}_{22}
\end{pmatrix}. \tag*{(26)} P N = ( P 11 + N − 1/2 Ξ 11 N − 1/2 Ξ 21 N − 1/2 Ξ 12 N − 1/2 Ξ 22 ) . (26)
where Ξ ^ m n ≡ U m T Ξ ^ V n \widehat{\Xi}_{mn}\equiv U_m^T\widehat{\Xi}V_n Ξ mn ≡ U m T Ξ V n and P 11 ≡ U 1 T P V 1 P_{11}\equiv U_1^TPV_1 P 11 ≡ U 1 T P V 1 . By definition, P = Π ‾ 1 P Π 1 P=\overline{\Pi}_1P\Pi_1 P = Π 1 P Π 1 and P 11 ∈ R d 2 2 × d 2 2 P_{11}\in\mathbb{R}^{d_2^2\times d_2^2} P 11 ∈ R d 2 2 × d 2 2 is invertible.
Using eq. (26) , one can find a fixed-realization asymptotic expansion for P ^ N + \widehat{P}_N^{+} P N + . We show in section SM2 that Δ P ^ N + ≡ P ^ N + − P + \Delta\widehat{P}_N^{+}\equiv\widehat{P}_N^{+}-P^{+} Δ P N + ≡ P N + − P + has leading terms
( Δ P ^ N + ) 11 = − N − 1 / 2 P 11 + ( Ξ ^ / Ξ ^ 22 ) P 11 + + O ( N − 1 ) , (\Delta\widehat{P}_N^{+})_{11}=-N^{-1/2}P_{11}^{+}(\widehat{\Xi}/\widehat{\Xi}_{22})P_{11}^{+}+O(N^{-1}), ( Δ P N + ) 11 = − N − 1/2 P 11 + ( Ξ / Ξ 22 ) P 11 + + O ( N − 1 ) ,
( Δ P ^ N + ) 12 = − P 11 + Ξ ^ 12 Ξ ^ 22 + + O ( N − 1 / 2 ) , (\Delta\widehat{P}_N^{+})_{12}=-P_{11}^{+}\widehat{\Xi}_{12}\widehat{\Xi}_{22}^{+}+O(N^{-1/2}), ( Δ P N + ) 12 = − P 11 + Ξ 12 Ξ 22 + + O ( N − 1/2 ) ,
( Δ P ^ N + ) 21 = − Ξ ^ 22 + Ξ ^ 21 P 11 + + O ( N − 1 / 2 ) , (\Delta\widehat{P}_N^{+})_{21}=-\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}P_{11}^{+}+O(N^{-1/2}), ( Δ P N + ) 21 = − Ξ 22 + Ξ 21 P 11 + + O ( N − 1/2 ) ,
( Δ P ^ N + ) 22 = N Ξ ^ 22 + + O ( 1 ) . (27) (\Delta\widehat{P}_N^{+})_{22}=\sqrt{N}\widehat{\Xi}_{22}^{+}+O(1). \tag*{(27)} ( Δ P N + ) 22 = N Ξ 22 + + O ( 1 ) . (27)
where we introduced the generalized Schur complement
Ξ ^ / Ξ ^ 22 = Ξ ^ 11 − Ξ ^ 12 Ξ ^ 22 + Ξ ^ 21 . (28) \widehat{\Xi}/\widehat{\Xi}_{22}=\widehat{\Xi}_{11}-\widehat{\Xi}_{12}\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}. \tag*{(28)} Ξ / Ξ 22 = Ξ 11 − Ξ 12 Ξ 22 + Ξ 21 . (28)
It is evident from eq. (27) that Δ P ^ N + \Delta\widehat{P}_N^{+} Δ P N + does not converge to zero as N → ∞ N\to\infty N → ∞ : the off-diagonal blocks approach finite stochastic limits, whereas the ( 2 , 2 ) (2,2) ( 2 , 2 ) block diverges as N \sqrt{N} N . Notably, the discontinuity is primarily controlled by Ξ ^ 22 + \widehat{\Xi}_{22}^{+} Ξ 22 + .
Using the pseudoinverse estimator w ^ N \widehat{w}_N w N as given in eq. (17) , the MSE for a given training noise realization and test state σ \sigma σ , at infinite test statistics, is
( Δ o ^ ) 2 ≡ ∥ ( w ^ N − w O ) p σ ∥ 2 = [ y T Δ P ^ N + p σ ] 2 . (29) (\Delta\widehat{o})^2\equiv\left\|(\widehat{w}_N-w_O)p_\sigma\right\|^2=\left[y^T\Delta\widehat{P}_N^{+}p_\sigma\right]^2. \tag*{(29)} ( Δ o ) 2 ≡ ∥ ( w N − w O ) p σ ∥ 2 = [ y T Δ P N + p σ ] 2 . (29)
By construction, p σ ≡ ⟨ μ , σ ⟩ p_\sigma\equiv\langle\mu,\sigma\rangle p σ ≡ ⟨ μ , σ ⟩ satisfies Π ‾ 2 p σ = 0 \overline{\Pi}_2p_\sigma=0 Π 2 p σ = 0 , and y T ≡ ⟨ O , ρ ⟩ y^T\equiv\langle O,\rho\rangle y T ≡ ⟨ O , ρ ⟩ satisfies y T Π 2 = 0 y^T\Pi_2=0 y T Π 2 = 0 . In words, these amount to saying that p σ p_\sigma p σ is in the column space of P P P while y T y^T y T is in its row space. Thus the divergent ( 2 , 2 ) (2,2) ( 2 , 2 ) block in eq. (27) does not enter MSE ( w ^ N , ∞ ) \operatorname{MSE}(\widehat{w}_N,\infty) MSE ( w N , ∞ ) . Expanding eq. (29) via eq. (27) gives
Δ o ^ = w O T U 1 ( A 1 N + A 2 N ) V 1 T ⟨ ρ ~ , σ ⟩ + O ( 1 N 3 / 2 ) . (30) \Delta\widehat{o}=w_O^T U_1\left(\frac{A_1}{\sqrt{N}}+\frac{A_2}{N}\right)V_1^T\langle\widetilde{\rho},\sigma\rangle+O\left(\frac{1}{N^{3/2}}\right). \tag*{(30)} Δ o = w O T U 1 ( N A 1 + N A 2 ) V 1 T ⟨ ρ , σ ⟩ + O ( N 3/2 1 ) . (30)
where we kept the first two nontrivial orders in N N N of ( Δ P ^ N + ) 11 (\Delta\widehat{P}_N^{+})_{11} ( Δ P N + ) 11 , and used w O ≡ ⟨ μ ~ , O ⟩ w_O\equiv\langle\widetilde{\mu},O\rangle w O ≡ ⟨ μ , O ⟩ . Here μ ~ \widetilde{\mu} μ and ρ ~ \widetilde{\rho} ρ are, respectively, the canonical dual measurement and training frames defined in § 13.4 . The operators A 1 , A 2 A_1,A_2 A 1 , A 2 are given by
A 1 = − Ξ ^ / Ξ ^ 22 , A_1=-\widehat{\Xi}/\widehat{\Xi}_{22}, A 1 = − Ξ / Ξ 22 ,
A 2 = ( Ξ ^ / Ξ ^ 22 ) P 11 + ( Ξ ^ / Ξ ^ 22 ) − Ξ ^ 12 Q ^ Ξ ^ 21 P 11 + T Z ^ . (31) A_2=(\widehat{\Xi}/\widehat{\Xi}_{22})P_{11}^{+}(\widehat{\Xi}/\widehat{\Xi}_{22})-\widehat{\Xi}_{12}\widehat{Q}\widehat{\Xi}_{21}P_{11}^{+T}\widehat{Z}. \tag*{(31)} A 2 = ( Ξ / Ξ 22 ) P 11 + ( Ξ / Ξ 22 ) − Ξ 12 Q Ξ 21 P 11 + T Z . (31)
where Q ^ ≡ I − Ξ ^ 22 + Ξ ^ 22 \widehat{Q}\equiv I-\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{22} Q ≡ I − Ξ 22 + Ξ 22 is the projector onto ker ( Ξ ^ 22 ) \operatorname{ker}(\widehat{\Xi}_{22}) ker ( Ξ 22 ) , and Z ^ ≡ I + Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 \widehat{Z}\equiv I+\widehat{\Xi}_{21}(\widehat{\Xi}_{22}\widehat{\Xi}_{22}^{T})^{-1}\widehat{\Xi}_{21} Z ≡ I + Ξ 21 ( Ξ 22 Ξ 22 T ) − 1 Ξ 21 . When n t r = n o u t n_{\rm tr}=n_{\rm out} n tr = n out , the block Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 is square; if it is nonsingular, then Q ^ = 0 \widehat{Q}=0 Q = 0 . Thus Q ^ \widehat{Q} Q captures the additional kernel present in the rectangular case. Here O ( N − 3 / 2 ) O(N^{-3/2}) O ( N − 3/2 ) denotes the next term in the formal expansion at a fixed noise realization for which the required block inverses exist: it is not a uniform probabilistic remainder bound. In particular, the nonlinear random coefficients Ξ ^ 22 + \widehat{\Xi}_{22}^{+} Ξ 22 + , Q ^ \widehat{Q} Q , and Z ^ \widehat{Z} Z cannot be averaged term by term without additional condition-ing estimates.
Equation (30) exposes the nontrivial consequences of computing the pseudoinverse in a non-acute perturbation regime: exact targets and test probabilities protect the prediction from the divergent contribution, without eliminating the finite-shot noise. However, the resulting random coefficients A 1 , A 2 A_1,A_2 A 1 , A 2 are nonlinear functions of Ξ ^ \widehat{\Xi} Ξ and depend in particular on the diverging term Ξ ^ 22 + \widehat{\Xi}_{22}^{+} Ξ 22 + , and therefore cannot be averaged term by term without additional control. We will show how to handle this issue first in § 6 , in a homogeneous centered Gaussian noise model, and then present in § 7 an alternative proof strategy that directly operates on the multinomial noise.
Homogeneous Gaussian approximation
The perturbative expression in eq. (30) contains, hidden in the A 1 A_1 A 1 and A 2 A_2 A 2 operators, a generalized Schur complement and the projector Q ^ \widehat{Q} Q , both of which are nonlinear functions of the shot-noise matrix. We now show that these quantities can be averaged explicitly in a homogeneous reference model, meaning that we assume the shot noise distribution to be Gaussian and state-independent. The purpose of this construction is to expose the origin of the N − 2 N^{-2} N − 2 squared bias and the ( N n t r ) − 1 (Nn_{\rm tr})^{-1} ( N n tr ) − 1 training variance in a setting where the relevant averages can be computed analytically. Interestingly, although there is, in a priori, little reason to expect a noise model that neglects the state dependence of the covariance matrices to reproduce the multinomial case accurately, the resulting MSE agrees remarkably well with both the multinomial prediction and our numerical observations. In section SM6 we further present several simulations clearly showing that this assumption reproduces extremely well the MSE results, even in the regime with low N N N . The derivation operating directly on the multinomial noise requires different techniques and will be discussed separately in § 7 .
In the homogeneous Gaussian model, we assume that Ξ ^ \widehat{\Xi} Ξ follows a matrix-normal distribution [72 ] :
Ξ ^ ∼ M N ( 0 , Σ ‾ , I n t r ) , Σ ‾ ≡ 1 n t r ∑ i = 1 n t r Σ ( i ) . (32) \widehat{\Xi} \sim\mathcal{MN}(0,\overline{\Sigma},I_{n_{\mathrm{tr}}}),\qquad\overline{\Sigma}\equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\Sigma^{(i)}. \tag*{(32)} Ξ ∼ M N ( 0 , Σ , I n tr ) , Σ ≡ n tr 1 i = 1 ∑ n tr Σ ( i ) . (32)
Thus the columns of Ξ ^ \widehat{\Xi} Ξ are independent centered Gaussian vectors, all with the same covariance matrix Σ ‾ \overline{\Sigma} Σ . Using the same block coordinates of eq. (26) , we write Σ ‾ a b ≡ U a T Σ ‾ U b \overline{\Sigma}_{ab}\equiv U_a^{T}\overline{\Sigma}U_b Σ ab ≡ U a T Σ U b , and assume Σ ‾ 22 \overline{\Sigma}_{22} Σ 22 is positive definite. Its Schur complement is
Σ ‾ e f f ≡ Σ ‾ 11 − Σ ‾ 12 Σ ‾ 22 − 1 Σ ‾ 21 . (33) \overline{\Sigma}_{\mathrm{eff}}\equiv\overline{\Sigma}_{11}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}. \tag*{(33)} Σ eff ≡ Σ 11 − Σ 12 Σ 22 − 1 Σ 21 . (33)
Fix d d d and n o u t n_{\mathrm{out}} n out and let n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ . Since n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out , Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 has full row rank almost surely, so Q ^ \widehat{Q} Q is the orthogonal projector onto ker ( Ξ ^ 22 ) \operatorname{ker}(\widehat{\Xi}_{22}) ker ( Ξ 22 ) and has rank n t r − n o u t n_{\mathrm{tr}}-n_{\mathrm{out}} n tr − n out . Conditionally on a realization of Ξ ^ 21 \widehat{\Xi}_{21} Ξ 21 and Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 , the generalized Schur complement Ξ ^ / Ξ ^ 22 \widehat{\Xi}/\widehat{\Xi}_{22} Ξ / Ξ 22 becomes linear in the remaining noise matrix terms, and thus also follows a matrix-normal distribution; this conditional distribution will then depend on Z ^ \widehat{Z} Z :
Ξ ^ / Ξ ^ 22 ∣ ( Ξ ^ 21 , Ξ ^ 22 ) ∼ M N ( 0 , Σ ‾ e f f , Z ^ ) . (34) \widehat{\Xi}/\widehat{\Xi}_{22}\mid(\widehat{\Xi}_{21},\widehat{\Xi}_{22})\sim\mathcal{MN}(0,\overline{\Sigma}_{\mathrm{eff}},\widehat{Z}). \tag*{(34)} Ξ / Ξ 22 ∣ ( Ξ 21 , Ξ 22 ) ∼ M N ( 0 , Σ eff , Z ) . (34)
Under the same conditioning, Ξ ^ 12 Q ^ Ξ ^ 12 T \widehat{\Xi}_{12}\widehat{Q}\widehat{\Xi}_{12}^{T} Ξ 12 Q Ξ 12 T is a random Wishart matrix with scale Σ ‾ e f f \overline{\Sigma}_{\mathrm{eff}} Σ eff and n t r − n o u t n_{\mathrm{tr}}-n_{\mathrm{out}} n tr − n out degrees of freedom, and it is independent of the generalized Schur complement. This means that we can perform all the averages in the following way: first we average any polynomial in the Schur complement and Ξ ^ 12 Q ^ Ξ ^ 12 T \widehat{\Xi}_{12}\widehat{Q}\widehat{\Xi}_{12}^{T} Ξ 12 Q Ξ 12 T , using standard formulas for Gaussian and Wishart distributions [73 ] ; then, we average the resulting moments with respect to Z ^ \widehat{Z} Z . In fact, let us remember that Z ^ = I + Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 T \widehat{Z}=I+\widehat{\Xi}_{21}(\widehat{\Xi}_{22}\widehat{\Xi}_{22}^{T})^{-1}\widehat{\Xi}_{21}^{T} Z = I + Ξ 21 ( Ξ 22 Ξ 22 T ) − 1 Ξ 21 T and that Ξ ^ 21 , Ξ ^ 22 \widehat{\Xi}_{21},\widehat{\Xi}_{22} Ξ 21 , Ξ 22 are independent. Moreover, ( Ξ ^ 22 Ξ ^ 22 T ) − 1 (\widehat{\Xi}_{22}\widehat{\Xi}_{22}^{T})^{-1} ( Ξ 22 Ξ 22 T ) − 1 is known to be distributed as an inverse Wishart matrix and moments are explicitly known. For instance, it can be seen that, for n t r > n o u t + 1 n_{\mathrm{tr}}>n_{\mathrm{out}}+1 n tr > n out + 1 ,
E [ Z ^ ] = n t r − d 2 − 1 n t r − n o u t − 1 I . (35) \mathbb{E}[\widehat{Z}]=\frac{n_{\mathrm{tr}}-d^{2}-1}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}I. \tag*{(35)} E [ Z ] = n tr − n out − 1 n tr − d 2 − 1 I . (35)
The conditional Gaussian calculation in lemma 2 allows us to compute the first and second moments of the terms depending on A 1 A_1 A 1 and A 2 A_2 A 2 in eq. (30) , at least when n t r > n o u t + 3 n_{\mathrm{tr}}>n_{\mathrm{out}}+3 n tr > n out + 3 . The terms most relevant to our discussion are:
E [ w O T U 1 A 2 V 1 T ⟨ ρ ~ , σ ⟩ ] = − ( 1 − d 2 + 1 n t r ) b h o m , \mathbb{E}\left[w_{O}^{T}U_{1}A_{2}V_{1}^{T}\langle\widetilde{\rho},\sigma\rangle\right]=-\left(1-\frac{d^{2}+1}{n_{\mathrm{tr}}}\right)b_{\mathrm{hom}}, E [ w O T U 1 A 2 V 1 T ⟨ ρ , σ ⟩ ] = − ( 1 − n tr d 2 + 1 ) b hom ,
Var [ w O T U 1 A 1 V 1 T ⟨ ρ ~ , σ ⟩ ] = V h o m n t r n t r − d 2 − 1 n t r − n o u t − 1 . (36) \operatorname{Var}\left[w_{O}^{T}U_{1}A_{1}V_{1}^{T}\langle\widetilde{\rho},\sigma\rangle\right]=\frac{V_{\mathrm{hom}}}{n_{\mathrm{tr}}}\frac{n_{\mathrm{tr}}-d^{2}-1}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}. \tag*{(36)} Var [ w O T U 1 A 1 V 1 T ⟨ ρ , σ ⟩ ] = n tr V hom n tr − n out − 1 n tr − d 2 − 1 . (36)
where we defined the coefficients:
b h o m ≡ n t r w O T U 1 Σ ‾ e f f P 11 T V 1 T ⟨ ρ , σ ⟩ , b_{\mathrm{hom}}\equiv n_{\mathrm{tr}}\,w_{O}^{T}U_{1}\overline{\Sigma}_{\mathrm{eff}}P_{11}^{T}V_{1}^{T}\langle\rho,\sigma\rangle, b hom ≡ n tr w O T U 1 Σ eff P 11 T V 1 T ⟨ ρ , σ ⟩ ,
V h o m ≡ n t r ∥ ⟨ ρ , σ ⟩ ∥ 2 2 w O T U 1 Σ ‾ e f f U 1 T w O . (37) V_{\mathrm{hom}}\equiv n_{\mathrm{tr}}\left\|\langle\rho,\sigma\rangle\right\|_{2}^{2}w_{O}^{T}U_{1}\overline{\Sigma}_{\mathrm{eff}}U_{1}^{T}w_{O}. \tag*{(37)} V hom ≡ n tr ∥ ⟨ ρ , σ ⟩ ∥ 2 2 w O T U 1 Σ eff U 1 T w O . (37)
We recall that ρ ~ \widetilde{\rho} ρ is the dual training frame defined in § 13.4 . The subscript h o m hom h o m in eq. (37) distinguishes these two coefficients from their counterparts in the full multinomial model discussed in § 7 . In section SM4.7, we show that the coefficient b h o m b_{\mathrm{hom}} b hom obtained from the homogeneous Gaussian model in fact coincides with its multinomial counterpart, defined in eq. (46) . The variance contribution, by contrast, differs from the multinomial one in eq. (46) ; the two coincide only when the homogeneity condition is imposed on the training covariance matrices Σ i \Sigma_i Σ i .
The moments help distinguish the different roles of the two perturbative orders in eq. (30) : A 1 / N A_1/\sqrt{N} A 1 / N is centered and supplies the leading training variance, while A 2 / N A_2/N A 2 / N contributes the bias and at subleading order the variance. Defining the second-order truncation
Δ σ ^ ( 2 ) ≡ w O T U 1 ( A 1 N + A 2 N ) V 1 T ⟨ ρ ~ , σ ⟩ , (38) \Delta\widehat{\sigma}^{(2)}\equiv w_{O}^{T}U_{1}\left(\frac{A_{1}}{\sqrt{N}}+\frac{A_{2}}{N}\right)V_{1}^{T}\langle\widetilde{\rho},\sigma\rangle, \tag*{(38)} Δ σ ( 2 ) ≡ w O T U 1 ( N A 1 + N A 2 ) V 1 T ⟨ ρ , σ ⟩ , (38)
its expectation value is exactly − ( 1 − ( d 2 + 1 ) / n t r ) b / N -(1-(d^{2}+1)/n_{\mathrm{tr}})b/N − ( 1 − ( d 2 + 1 ) / n tr ) b / N , and thus for large N , n t r N,n_{\mathrm{tr}} N , n tr at fixed d d d , we have
E [ Δ σ ^ ( 2 ) ] = − b h o m N + O ( 1 N n t r ) , \mathbb{E}\left[\Delta\widehat{\sigma}^{(2)}\right]=-\frac{b_{\mathrm{hom}}}{N}+O\left(\frac{1}{Nn_{\mathrm{tr}}}\right), E [ Δ σ ( 2 ) ] = − N b hom + O ( N n tr 1 ) ,
Var ( Δ σ ^ ( 2 ) ) = V h o m N n t r + O ( 1 N n t r 2 + 1 N 2 n t r ) . (39) \operatorname{Var}\left(\Delta\widehat{\sigma}^{(2)}\right)=\frac{V_{\mathrm{hom}}}{Nn_{\mathrm{tr}}}+O\left(\frac{1}{Nn_{\mathrm{tr}}^{2}}+\frac{1}{N^{2}n_{\mathrm{tr}}}\right). \tag*{(39)} Var ( Δ σ ( 2 ) ) = N n tr V hom + O ( N n tr 2 1 + N 2 n tr 1 ) . (39)
Consequently,
E [ ( Δ σ ^ ( 2 ) ) 2 ] = b h o m 2 N 2 + V h o m N n t r + O ( 1 N 2 n t r + 1 N n t r 2 ) . (40) \mathbb{E}\left[\left(\Delta\widehat{\sigma}^{(2)}\right)^{2}\right]=\frac{b_{\mathrm{hom}}^{2}}{N^{2}}+\frac{V_{\mathrm{hom}}}{Nn_{\mathrm{tr}}}+O\left(\frac{1}{N^{2}n_{\mathrm{tr}}}+\frac{1}{Nn_{\mathrm{tr}}^{2}}\right). \tag*{(40)} E [ ( Δ σ ( 2 ) ) 2 ] = N 2 b hom 2 + N n tr V hom + O ( N 2 n tr 1 + N n tr 2 1 ) . (40)
Thus the centered first-order fluctuation produces the ( N n t r ) − 1 (Nn_{\mathrm{tr}})^{-1} ( N n tr ) − 1 training variance, whereas the second-order mean produces the N − 2 N^{-2} N − 2 squared bias.
The above analysis relies on two main assumptions: first, that the Gaussian homogeneous model provides a good approximation, and second, that the remainder of the Moore–Penrose expansion is well behaved. Although the numerical evidence presented in section SM6 suggests that both assumptions hold, proving them rigorously is not straightforward. For instance, attempting to average higher-order terms in the Moore–Penrose expansion reveals that stronger conditions on n t r n_{\mathrm{tr}} n tr are required to ensure the existence of the relevant moments of the Wishart distributions. Moreover, finiteness of every coefficient up to a fixed order does not by itself justify averaging the entire perturbative series or its truncated remainder. The fixed-realization expansion has a random radius of convergence controlled by the smallest relevant singular values. Rare realizations in which Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 or the effective Schur complement is nearly singular can therefore prevent the interchange of expectation with an infinite series and can invalidate a remainder estimate that is not uniform in the noise realization. This is why the Gaussian calculation provides exact moments for fixed coefficients but is not, by itself, a proof of an all-orders MSE expansion.
For these reasons, we rely on the more rigorous analysis of § 7 to circumvent these issues. Nevertheless, the Gaussian model and the Moore–Penrose expansion remain useful tools for obtaining accurate estimates efficiently.
Bias–variance decomposition and resource scaling
The Gaussian calculation in § 6 establishes a nontrivial competition between bias and variance contribution to the infinite-test-statistics MSE, under the homogeneous Gaussian noise model, for large N N N . We now complement this analysis with an approach that works directly with the multinomial noise and that, although asymptotic in n t r n_{\mathrm{tr}} n tr , remains valid at small N N N . This method relies on an exact decomposition of the infinite-test-statistics estimation error Δ o ^ = y T ( P ^ N + − P + ) p σ \Delta\hat{o}=y^{T}(\hat{P}_{N}^{+}-P^{+})p_{\sigma} Δ o ^ = y T ( P ^ N + − P + ) p σ into a deterministic component, a centered fluctuation, and a remainder that collects all nonlinear contributions. We then show that, at fixed N N N , n o u t n_{\mathrm{out}} n out , and d d d , the remainder is subleading with high probability for large n t r n_{\mathrm{tr}} n tr . The analysis holds for any fixed choice of training states, target observable, and test state and, as in the previous sections, assumes exact targets and infinite test statistics. We further assume that the nonzero eigenvalues of n t r − 1 P P T n_{\mathrm{tr}}^{-1}P P^{T} n tr − 1 P P T and of the noise-covariance block Σ ˉ 22 \bar{\Sigma}_{22} Σ ˉ 22 are bounded below by positive constants κ 11 \kappa_{11} κ 11 and κ 22 \kappa_{22} κ 22 , respectively; see eq. (129) . The full proof is given in sections SM4 and § 17 .
Exact decomposition of infinite-test-statistics error — Specifically, we prove in section SM4 that
Δ o ^ = − b N / N + L ^ + R ^ , \Delta\hat{o}=-b_N/N+\hat{L}+\hat{R}, Δ o ^ = − b N / N + L ^ + R ^ ,
E Ξ [ L ^ ] = 0 , E Ξ [ L ^ 2 ] = V N N n t r + O ( 1 N 2 n t r ) , (41) \mathbb{E}_{\Xi}[\hat{L}]=0,\qquad\mathbb{E}_{\Xi}[\hat{L}^{2}]=\frac{V_N}{Nn_{\mathrm{tr}}}+O\left(\frac{1}{N^{2}n_{\mathrm{tr}}}\right), \tag*{(41)} E Ξ [ L ^ ] = 0 , E Ξ [ L ^ 2 ] = N n tr V N + O ( N 2 n tr 1 ) , (41)
where
b N = w O T Σ ˉ e f f S e f f − 1 p σ , b_N=w_O^{T}\bar{\Sigma}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}p_{\sigma}, b N = w O T Σ ˉ eff S eff − 1 p σ ,
V N = 1 n t r ∑ i = 1 n t r ( p i T S e f f − 1 p σ ) 2 ( w O e f f ) T Σ ˉ i w O e f f , (42) V_N=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(p_i^{T}S_{\mathrm{eff}}^{-1}p_{\sigma}\right)^2(w_O^{\mathrm{eff}})^{T}\bar{\Sigma}_i w_O^{\mathrm{eff}}, \tag*{(42)} V N = n tr 1 i = 1 ∑ n tr ( p i T S eff − 1 p σ ) 2 ( w O eff ) T Σ ˉ i w O eff , (42)
with S e f f = n t r − 1 P P T + N − 1 Σ ˉ e f f S_{\mathrm{eff}}=n_{\mathrm{tr}}^{-1}PP^{T}+N^{-1}\bar{\Sigma}_{\mathrm{eff}} S eff = n tr − 1 P P T + N − 1 Σ ˉ eff . The effective weight vector w O e f f ≡ ( I n o u t − U 2 Σ ˉ 22 − 1 Σ ˉ 21 U 1 T ) w O w_O^{\mathrm{eff}}\equiv(I_{n_{\mathrm{out}}}-U_2\bar{\Sigma}_{22}^{-1}\bar{\Sigma}_{21}U_1^{T})w_O w O eff ≡ ( I n out − U 2 Σ ˉ 22 − 1 Σ ˉ 21 U 1 T ) w O is a deformation of w O w_O w O induced by the Schur complement of the noise covariance. Here, b N b_N b N is the leading deterministic bias coefficient, L ^ \hat{L} L ^ is the centered first-order fluctuation, and R ^ \hat{R} R ^ contains all higher-order and nonlinear Schur-complement contributions. Note that eq. (41) organizes the terms differently from the large-N N N expansion in eq. (30) : R ^ \hat{R} R ^ is not simply an O ( N − 3 / 2 ) O(N^{-3/2}) O ( N − 3/2 ) remainder, as it contains contributions from both the N − 1 / 2 N^{-1/2} N − 1/2 and the N − 1 N^{-1} N − 1 terms of that expansion. The main technical difficulty is now controlling R ^ \hat{R} R ^ with high probability.
Remainder control — In theorem 5 we show that R ^ = O P ( N − 1 / 2 n t r − 1 ) \hat{R}=O_P(N^{-1/2}n_{\mathrm{tr}}^{-1}) R ^ = O P ( N − 1/2 n tr − 1 ) ; more explicitly, for sufficiently large n t r n_{\mathrm{tr}} n tr , with probability at least 1 − δ 1-\delta 1 − δ ,
∣ R ^ ∣ ≲ log ( 1 / δ ) N n t r , (43) |\hat{R}|\lesssim\frac{\log(1/\delta)}{\sqrt{N}\,n_{\mathrm{tr}}}, \tag*{(43)} ∣ R ^ ∣ ≲ N n tr log ( 1/ δ ) , (43)
where the implicit constant may depend on the training states and the POVM, but not on N N N or n t r n_{\mathrm{tr}} n tr . As the confidence level 1 − δ 1-\delta 1 − δ approaches one, the bound loosens only logarithmically: increasingly large values of R ^ \hat{R} R ^ can occur, but only on increasingly improbable events. This is the key feature of theorem 5, since it ensures that such events make a finite and, at large n t r n_{\mathrm{tr}} n tr , subleading contribution to the relevant averages.
MSE control — Accounting also for the low-probability, ill-conditioned events, we prove in theorem 8 that the expected infinite-test-statistics MSE is
E Ξ [ Δ o ^ 2 ] = b N 2 N 2 + V N N n t r + O ( E r r N , n t r ) . (44) \mathbb{E}_{\Xi}[\Delta\hat{o}^{2}]=\frac{b_N^{2}}{N^{2}}+\frac{V_N}{Nn_{\mathrm{tr}}}+O(\mathrm{Err}_{N,n_{\mathrm{tr}}}). \tag*{(44)} E Ξ [ Δ o ^ 2 ] = N 2 b N 2 + N n tr V N + O ( Err N , n tr ) . (44)
The error term E r r N , n t r \mathrm{Err}_{N,n_{\mathrm{tr}}} Err N , n tr , defined in eq. (212) , vanishes in the large-n t r n_{\mathrm{tr}} n tr limit at fixed d d d , n o u t n_{\mathrm{out}} n out , and N N N . The proof, given in § 16.6 , must additionally control rare realizations in which the relevant matrices are nearly singular. For fixed dimensions, a sufficient condition for these events to have a negligible effect on the second moment, compared with the polynomial error terms in eq. (44) , is n t r / log ( 2 + N ) → ∞ n_{\mathrm{tr}}/\log(2+N)\to\infty n tr / log ( 2 + N ) → ∞ , which includes the limit n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ at fixed N N N . We do not expect this condition to be necessary: it originates from a rather crude bound on these ill-conditioned events, and a more refined analysis would likely remove it.
This asymptotic MSE has two features that are absent from the Gaussian model. First, both the training bias and the training variance depend explicitly on N N N through the deformed population matrix S e f f S_{\mathrm{eff}} S eff , which contains an N − 1 N^{-1} N − 1 correction. Because this dependence is retained exactly rather than expanded in 1 / N 1/N 1/ N , the expressions for the bias and variance remain valid at small N N N , provided n t r n_{\mathrm{tr}} n tr is large. Second, the remainder E r r N , n t r \mathrm{Err}_{N,n_{\mathrm{tr}}} Err N , n tr is now explicitly controlled and vanishes as n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ for any fixed N N N .
Large-N N N asymptotics — For large N N N , the MSE takes a simpler form in terms of N N N -independent coefficients,
E Ξ [ Δ o ^ 2 ] = b 2 N 2 + V N n t r + O ( E r r N , n t r + N − 3 ) , (45) \mathbb{E}_{\Xi}[\Delta\hat{o}^{2}]=\frac{b^{2}}{N^{2}}+\frac{V}{Nn_{\mathrm{tr}}}+O\left(\mathrm{Err}_{N,n_{\mathrm{tr}}}+N^{-3}\right), \tag*{(45)} E Ξ [ Δ o ^ 2 ] = N 2 b 2 + N n tr V + O ( Err N , n tr + N − 3 ) , (45)
where
b = 1 n t r ∑ i = 1 n t r Cov i ( w O e f f , n t r ⟨ μ ~ , σ ~ ⟩ ) , b=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{Cov}_i(w_O^{\mathrm{eff}},n_{\mathrm{tr}}\langle\tilde{\mu},\tilde{\sigma}\rangle), b = n tr 1 i = 1 ∑ n tr Cov i ( w O eff , n tr ⟨ μ ~ , σ ~ ⟩) ,
V = 1 n t r ∑ i = 1 n t r ( n t r ⟨ ρ ~ i , σ ⟩ ) 2 Var i ( w O e f f ) , (46) V=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}(n_{\mathrm{tr}}\langle\tilde{\rho}_i,\sigma\rangle)^2\operatorname{Var}_i(w_O^{\mathrm{eff}}), \tag*{(46)} V = n tr 1 i = 1 ∑ n tr ( n tr ⟨ ρ ~ i , σ ⟩ ) 2 Var i ( w O eff ) , (46)
with Cov i ( a , b ) ≡ a T Σ i b \operatorname{Cov}_i(a,b)\equiv a^{\mathsf{T}}\Sigma_i b Cov i ( a , b ) ≡ a T Σ i b , and Var i ( a ) ≡ Cov i ( a , a ) \operatorname{Var}_i(a)\equiv\operatorname{Cov}_i(a,a) Var i ( a ) ≡ Cov i ( a , a ) . This form, derived in section SM5.1, trades the exact N N N dependence of b N b_N b N and V N V_N V N for simpler, N N N -independent coefficients, at the cost of an additional O ( N − 3 ) O(N^{-3}) O ( N − 3 ) error.
Assuming homogeneous covariances, Σ i = Σ ‾ \Sigma_i=\overline{\Sigma} Σ i = Σ for all i i i , the coefficients in eq. (46) coincide exactly with those obtained within the Gaussian approximation, eq. (37) , as shown in section SM4.7. Even in this homogeneous case, however, the Gaussian approximation does not reproduce the exact N N N -dependent coefficients of eq. (42) ; the discrepancy is of order N − 3 N^{-3} N − 3 , independently of n t r n_{\mathrm{tr}} n tr . As expected, the Gaussian approximation thus loses accuracy at small N N N . This fixed-N N N control is a further advantage of the exact decomposition developed here over the large-N N N expansions of § 5 and § 6 .
The decomposition in eq. (41) thus identifies the two leading contributions to the infinite-test-statistics squared error. The training bias originates from the deterministic N − 1 N^{-1} N − 1 covariance shift in the effective Schur complement, whereas the training variance is generated by the centered linear fluctuation L ^ \hat{L} L ^ . In particular, at fixed N N N and large n t r n_{\mathrm{tr}} n tr , the variance contribution becomes negligible and the MSE approaches a bias floor b N 2 / N 2 = O ( N − 2 ) b_N^2/N^2=O(N^{-2}) b N 2 / N 2 = O ( N − 2 ) .
Quantum vs classical linear regression — It is instructive to contrast this behavior with classical linear regression. There, if the feature vectors are known exactly and the label noise has zero mean, the least-squares estimator is unbiased in the overparameterized regime: for a design matrix X ∈ R p × n t r X\in\mathbb{R}^{p\times n_{\mathrm{tr}}} X ∈ R p × n tr with n t r ≥ p n_{\mathrm{tr}}\ge p n tr ≥ p and rank ( X ) = p \operatorname{rank}(X)=p rank ( X ) = p , one has X X + = I p XX^+=I_p X X + = I p . This conclusion does not carry over to the quantum setting considered here. The crucial difference is that the input vectors themselves are subject to stochastic noise: the ideal feature matrix P P P is replaced by the finite-shot frequency matrix P ^ N \hat{P}_N P ^ N . Although the rank of P P P is at most the dimension d 2 d^2 d 2 of the operator space, P ^ N \hat{P}_N P ^ N has rank min ( n o u t , n t r ) \min(n_{\mathrm{out}},n_{\mathrm{tr}}) min ( n out , n tr ) with high probability. Finite-shot noise can therefore change the rank of the design matrix and, consequently, induce discontinuous changes in its Moore–Penrose pseudoinverse.
As a result, even in the quantum analogue of the underparameterized regime, n t r > n o u t n_{\mathrm{tr}}>n_{\mathrm{out}} n tr > n out , the pseudoinverse estimator acquires a systematic bias at finite N N N . Provided the leading coefficients are nonzero and the stated conditioning and growth assumptions hold, our analysis shows that the bias scales as N − 1 N^{-1} N − 1 , and hence the squared bias as N − 2 N^{-2} N − 2 , while the training variance scales as ( N n t r ) − 1 (N n_{\mathrm{tr}})^{-1} ( N n tr ) − 1 . Enlarging the training set therefore suppresses fluctuations across shot-noise realizations, but it neither changes the N − 2 N^{-2} N − 2 scaling of the squared bias nor, in general, suppresses the bias floor by an additional factor of n t r − 1 n_{\mathrm{tr}}^{-1} n tr − 1 . Once the variance becomes subleading, adding training states yields no generic leading-order improvement unless the number of shots per training state is increased as well. Input noise is, of course, not specific to the quantum setting: it defines errors-in-variables regression, where it is well known to bias least-squares estimators by an amount that does not vanish as the dataset grows [55 , 62 ] . The bias in eq. (42) has precisely this structure. Using N − 1 Σ ˉ e f f S e f f − 1 = I − n t r − 1 P P T S e f f − 1 N^{-1}\bar{\Sigma}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}=I-n_{\mathrm{tr}}^{-1}PP^{T}S_{\mathrm{eff}}^{-1} N − 1 Σ ˉ eff S eff − 1 = I − n tr − 1 P P T S eff − 1 , the leading-order mean prediction can be written as w O T ρ σ − b N / N = w O T ( n t r − 1 P P T ) S e f f − 1 ρ σ w_{\mathrm{O}}^{T}\rho_{\sigma}-b_{N}/N=w_{\mathrm{O}}^{T}(n_{\mathrm{tr}}^{-1}PP^{T})S_{\mathrm{eff}}^{-1}\rho_{\sigma} w O T ρ σ − b N / N = w O T ( n tr − 1 P P T ) S eff − 1 ρ σ . This is the multivariate attenuation formula with measurement-error covariance Σ ˉ e f f / N \bar{\Sigma}_{\mathrm{eff}}/N Σ ˉ eff / N , and the N − 1 Σ ˉ e f f N^{-1}\bar{\Sigma}_{\mathrm{eff}} N − 1 Σ ˉ eff term in S e f f S_{\mathrm{eff}} S eff acts as an implicit Tikhonov regularizer, in line with the classic equivalence between training with input noise and regularization [45 ] . Two features are nonetheless specific to the quantum setting. First, the noise covariance is fixed by the Born rule and by the number of shots per state, so that the reliability of the features is a resource under the experimenter’s control rather than a property of an external instrument. Second, the noise also populates coker ( P ) \operatorname{coker}(P) coker ( P ) , which carries no signal: noise in these directions generates the singular block of P ^ N + \hat{P}_{N}^{+} P ^ N + discussed in § 5 and, through its correlations with the signal-carrying directions, replaces the bare covariance Σ ˉ 11 \bar{\Sigma}_{11} Σ ˉ 11 with its Schur complement Σ ˉ e f f \bar{\Sigma}_{\mathrm{eff}} Σ ˉ eff .
Explicit coefficients in symmetric models — The leading coefficients can be evaluated exactly in a symmetric reference model, in which the training states form a complex projective two-design, the POVM is given by a fixed balanced rank-one tight frame [74 ] , and the test state σ \sigma σ and target projector O O O are drawn independently from the Haar measure. As shown in § 17.3 , the corresponding averages are then
E σ , O [ b 2 ] = ( d − 1 ) ( d + 2 ) 2 d + 1 , \mathbb{E}_{\sigma,O}[b^{2}] = \frac{(d-1)(d+2)^{2}}{d+1}, E σ , O [ b 2 ] = d + 1 ( d − 1 ) ( d + 2 ) 2 ,
E σ , O [ V ] = d ( d − 1 ) ( d + 2 ) d + 1 . (47) \mathbb{E}_{\sigma,O}[V] = \frac{d(d-1)(d+2)}{d+1}. \tag*{(47)} E σ , O [ V ] = d + 1 d ( d − 1 ) ( d + 2 ) . (47)
Both averages scale as d 2 d^{2} d 2 for large d d d . Although a finite i.i.d. Haar-random training set is not an exact two-design, it approximately satisfies the same frame identities when its empirical frame is sufficiently well conditioned.
Numerical results — These resource scalings are clearly visible in our numerical simulations. Figure 3 shows the MSE as a function of the training statistics N N N for several values of n t r n_{\mathrm{tr}} n tr . At small N N N , the error is dominated by the squared bias and follows the predicted N − 2 N^{-2} N − 2 behavior, independently of the training-set size.
At larger N N N , the training variance dominates and the MSE crosses over to the ( N n t r ) − 1 (N n_{\mathrm{tr}})^{-1} ( N n tr ) − 1 scaling. The numerical results agree quantitatively with both theoretical contributions throughout the crossover.
A complementary view is obtained by fixing N N N and increasing n t r n_{\mathrm{tr}} n tr . As shown in Figure 4 , the MSE initially decreases with n t r n_{\mathrm{tr}} n tr as the training variance is suppressed, but eventually saturates at the finite-statistics bias floor, beyond which additional training states no longer improve the prediction. For all dimensions considered, the asymptotic values observed numerically closely follow the theoretical finite-N N N prediction.
Figure 4. MSE as a function of the training-set size n t r n_{\mathrm{tr}} n tr at fixed N = 10 2 N=10^2 N = 1 0 2 and in the limit M → ∞ M \to\infty M → ∞ (noiseless test features), for MUB measurements in dimension d = 2 d=2 d = 2 (green), 3 3 3 (blue), 5 5 5 (orange), and 7 7 7 (red), with n o u t = d ( d + 1 ) n_{\mathrm{out}}=d(d+1) n out = d ( d + 1 ) . Markers and solid lines show the median MSE; shaded bands indicate the 10th–90th percentile range. Black dashed lines indicate the large-n t r n_{\mathrm{tr}} n tr floor E σ , O [ b 2 ] / ( N + d ( d + 2 ) ) 2 \mathbb{E}_{\sigma,O}[b^2]/(N+d(d+2))^2 E σ , O [ b 2 ] / ( N + d ( d + 2 ) ) 2 , where E σ , O [ b 2 ] = ( d − 1 ) ( d + 2 ) 2 / ( d + 1 ) \mathbb{E}_{\sigma,O}[b^2]=(d-1)(d+2)^2/(d+1) E σ , O [ b 2 ] = ( d − 1 ) ( d + 2 ) 2 / ( d + 1 ) , set by the finite-N N N bias, which additional training states cannot remove. Other parameters are n t e s t = 100 n_{\mathrm{test}}=100 n test = 100 and n o b s = 50 n_{\mathrm{obs}}=50 n obs = 50 target observables, with n r e p s = 50 n_{\mathrm{reps}}=50 n reps = 50 independent draws of the training, test, and target ensembles and n r e a l = 100 n_{\mathrm{real}}=100 n real = 100 independent shot-noise realizations per draw.
Finally, Figure 5 resolves the two contributions separately. The rescaled quantities N 2 b i a s t r 2 N^{2}\mathrm{bias}_{\mathrm{tr}}^{2} N 2 bias tr 2 and N n t r V t r N n_{\mathrm{tr}}V_{\mathrm{tr}} N n tr V tr approach the coefficients b 2 b^{2} b 2 and V V V of eq. (46) , respectively, and their dependence on the Hilbert-space dimension is accurately captured by the two-design averages in eq. (47) . The theory thus reproduces not only the asymptotic resource scalings of the total MSE but also the individual bias and variance coefficients.
Figure 5. Training bias (top) and training variance (bottom) as functions of the training-set size n t r n_{\mathrm{tr}} n tr , at fixed shots per training state N = 10 4 N = 10^{4} N = 1 0 4 , for d = 2 , 3 , 5 , 7 d = 2, 3, 5, 7 d = 2 , 3 , 5 , 7 and the MUB measurement (n o u t = d ( d + 1 ) n_{\mathrm{out}} = d(d + 1) n out = d ( d + 1 ) ). Each point refers to 100 independent draws of the n t r n_{\mathrm{tr}} n tr Haar-random pure training states, of 100 Haar-random test states σ \sigma σ and of 50 Haar-random rank-one targets O O O ; test probabilities are exact. For each draw, the mean and variance of the prediction W ^ N p σ \hat{W}_{N}p_{\sigma} W ^ N p σ are estimated over independent shot-noise realizations of P ^ N \hat{P}_{N} P ^ N and averaged over test states and targets. Top: N 2 b i a s t r 2 N^{2}\mathrm{bias}_{\mathrm{tr}}^{2} N 2 bias tr 2 (solid lines and markers), the coefficient b 2 b^{2} b 2 of eq. (46) evaluated on the same ensembles (dashed lines), and the tight-design average eq. (47) (dash-dotted lines). Bottom: the same for N n t r V a r t r Nn_{\mathrm{tr}}\mathrm{Var}_{\mathrm{tr}} N n tr Var tr , V V V , and E σ , O ( V ) E_{\sigma,O}(V) E σ , O ( V ) . Solid and dashed lines are medians over the draws; shaded bands and error bars span the 10th to 90th percentiles. Both square bias and variance use 100 shot-noise realizations per draw.
Target noise amplification
As discussed in § 5 , the divergent terms of P ^ N + \hat{P}_{N}^{+} P ^ N + do not affect the MSE when considering infinite-test-statistics and exact features. This cancellation relies on the identity y T V 2 = 0 y^{T}V_{2}=0 y T V 2 = 0 , where the columns of V 2 V_{2} V 2 span ker ( P ) \operatorname{ker}(P) ker ( P ) . However, while this holds when y = ( ρ , O ) y=(\rho,O) y = ( ρ , O ) , it fails when y y y comes with its own estimation error. Such an error can be due to imperfect preparation of the states on noisy quantum hardware.
Let the target observed for a test state σ \sigma σ be y ^ σ = w ρ σ + η ^ σ \hat{y}_{\sigma}=w\rho_{\sigma}+\hat{\eta}_{\sigma} y ^ σ = w ρ σ + η ^ σ , where η ^ σ ∼ N ( 0 , γ 2 ) \hat{\eta}_{\sigma}\sim\mathcal{N}(0,\gamma^{2}) η ^ σ ∼ N ( 0 , γ 2 ) is independent of the empirical test frequency ρ ^ σ \hat{\rho}_{\sigma} ρ ^ σ . For any fixed weight vector w ^ \hat{w} w ^ , the finite-statistics MSE then becomes
MSE ( w ^ , M , γ ) = E ρ ^ σ , η ^ σ [ ( w ^ ρ ^ σ − y ^ σ ) 2 ] = γ 2 + [ ( w ^ − w ) ρ σ ] 2 + 1 M w ^ Σ σ w ^ T . (48) \begin{aligned}
\operatorname{MSE}(\hat{w},M,\gamma)=\mathbb{E}_{\hat{\rho}_{\sigma},\hat{\eta}_{\sigma}}\left[(\hat{w}\hat{\rho}_{\sigma}-\hat{y}_{\sigma})^{2}\right] \\
&=\gamma^{2}+[(\hat{w}-w)\rho_{\sigma}]^{2}+\frac{1}{M}\hat{w}\Sigma_{\sigma}\hat{w}^{T}. \tag*{(48)}
\end{aligned} MSE ( w ^ , M , γ ) = E ρ ^ σ , η ^ σ [ ( w ^ ρ ^ σ − y ^ σ ) 2 ] = γ 2 + [( w ^ − w ) ρ σ ] 2 + M 1 w ^ Σ σ w ^ T . (48)
The first term is precisely the irreducible noise of classical regression in eq. (2) . It survives even when the ideal readout and the exact test probabilities are known. The last term has a related, but operationally distinct, status. At fixed test budget M M M it is a noise floor that no amount of training data can remove, although it can be suppressed by increasing M M M . In particular, even the ideal readout w O w_{\mathrm{O}} w O has the residual test error
MSE ( w O , M , γ ) = γ 2 + M − 1 w O Σ σ w O T . (49) \operatorname{MSE}(w_{\mathrm{O}},M,\gamma)=\gamma^{2}+M^{-1}w_{\mathrm{O}}\Sigma_{\sigma}w_{\mathrm{O}}^{T}. \tag*{(49)} MSE ( w O , M , γ ) = γ 2 + M − 1 w O Σ σ w O T . (49)
As a consequence, we may interpret the test variance as an additional irreducible source of noise specific to the quantum setting. Although it can be reduced by increasing the number of measurements during testing, it can never be completely eliminated in realistic scenarios.
Target noise has an additional effect when it is present during training. We model the training targets by
y ^ = y + η ^ , η ^ ∣ ( Ξ ^ , P ) ∼ N ( 0 , γ 2 I n t r ) , (50) \hat{y} = y + \hat{\eta}, \qquad\hat{\eta}\mid(\hat{\Xi},P)\sim\mathcal{N}(0,\gamma^{2}I_{n_{\mathrm{tr}}}), \tag*{(50)} y ^ = y + η ^ , η ^ ∣ ( Ξ ^ , P ) ∼ N ( 0 , γ 2 I n tr ) , (50)
and take η ^ \hat{\eta} η ^ , η ^ σ \hat{\eta}_{\sigma} η ^ σ , and the test sampling to be mutually independent. This homoscedastic Gaussian model isolates the rank effect; it also describes unbiased target-estimation errors when correlations with the feature noise can be neglected. The corresponding estimator is
w ^ N , γ = y ^ T P ^ N + = w ^ N + η ^ T P ^ N + . (51) \hat{w}_{N,\gamma}=\hat{y}^{\mathsf{T}}\hat{P}_{N}^{+}=\hat{w}_{N}+\hat{\eta}^{\mathsf{T}}\hat{P}_{N}^{+}. \tag*{(51)} w ^ N , γ = y ^ T P ^ N + = w ^ N + η ^ T P ^ N + . (51)
Because the second term is conditionally centered, target noise does not change the training bias. It does, however, change both variances in the finite-statistics error decomposition.
Consider first the test variance. Averaging the fixed-readout expression in eq. (12) over the training randomness gives the exact identity
E Ξ ^ , η ^ [ Var t e s t ( w ^ N , γ , M ) ] = E Ξ ^ [ Var t e s t ( w ^ N , M ) ] + Δ Var t e s t ( η ) ( N , M ) , (52) \mathbb{E}_{\hat{\Xi},\hat{\eta}}\!\left[\operatorname{Var}_{\mathrm{test}}(\hat{w}_{N,\gamma},M)\right]
= \mathbb{E}_{\hat{\Xi}}\!\left[\operatorname{Var}_{\mathrm{test}}(\hat{w}_{N},M)\right] + \Delta\operatorname{Var}_{\mathrm{test}}^{(\eta)}(N,M), \tag*{(52)} E Ξ ^ , η ^ [ Var test ( w ^ N , γ , M ) ] = E Ξ ^ [ Var test ( w ^ N , M ) ] + Δ Var test ( η ) ( N , M ) , (52)
where we defined extra noise-dependent reads:
Δ Var t e s t ( η ) ( N , M ) ≡ γ 2 M E Ξ ^ Tr [ P ^ N + Σ σ ( P ^ N + ) T ] . (53) \Delta\operatorname{Var}_{\mathrm{test}}^{(\eta)}(N,M)\equiv\frac{\gamma^{2}}{M}\mathbb{E}_{\hat{\Xi}}\operatorname{Tr}\!\left[\hat{P}_{N}^{+}\Sigma_{\sigma}(\hat{P}_{N}^{+})^{\mathsf{T}}\right]. \tag*{(53)} Δ Var test ( η ) ( N , M ) ≡ M γ 2 E Ξ ^ Tr [ P ^ N + Σ σ ( P ^ N + ) T ] . (53)
Unlike the exact targets y y y , the isotropic noise η ^ \hat{\eta} η ^ and the categorical covariance matrix Σ σ \Sigma_{\sigma} Σ σ have a component in ker ( P ) \ker(P) ker ( P ) . They therefore probes the divergent ( 2 , 2 ) (2,2) ( 2 , 2 ) block of P ^ N + \hat{P}_{N}^{+} P ^ N + in eq. (27) .
The same target fluctuations also contribute to the training variance. If Var t r ( N , γ ) \operatorname{Var}_{\mathrm{tr}}(N,\gamma) Var tr ( N , γ ) denotes the variance of w ^ N , γ p σ \hat{w}_{N,\gamma}p_{\sigma} w ^ N , γ p σ over both Ξ ^ \hat{\Xi} Ξ ^ and η ^ \hat{\eta} η ^ , the law of total variance gives
Var t r ( N , γ ) = Var t r ( N ) + Δ Var t r ( η ) ( N ) , (54) \operatorname{Var}_{\mathrm{tr}}(N,\gamma)=\operatorname{Var}_{\mathrm{tr}}(N)+\Delta\operatorname{Var}_{\mathrm{tr}}^{(\eta)}(N), \tag*{(54)} Var tr ( N , γ ) = Var tr ( N ) + Δ Var tr ( η ) ( N ) , (54)
Δ Var t r ( η ) ( N ) ≡ γ 2 E Ξ ^ ∥ P ^ N + p σ ∥ 2 2 . \Delta\operatorname{Var}_{\mathrm{tr}}^{(\eta)}(N)\equiv\gamma^{2}\mathbb{E}_{\hat{\Xi}}\lVert\hat{P}_{N}^{+}p_{\sigma}\rVert_{2}^{2}. Δ Var tr ( η ) ( N ) ≡ γ 2 E Ξ ^ ∥ P ^ N + p σ ∥ 2 2 .
This expression contains the right projection by the physical probability vector p σ ∈ im ( P ) p_{\sigma}\in\operatorname{im}(P) p σ ∈ im ( P ) and therefore does not probe the divergent ( 2 , 2 ) (2,2) ( 2 , 2 ) block directly. However, it probes the ( 2 , 1 ) (2,1) ( 2 , 1 ) block that approaches a constant as N → ∞ N\to\infty N → ∞ . This difference between eqs. (53) and (54) is responsible for their markedly different scaling with N N N . Combining the two stages, the MSE averaged over training-target noise, training-feature noise, test sampling, and test-target noise is therefore
MSE ( N , M , γ ) = γ 2 + bias 2 ( N ) + Var t r ( N , γ ) + E Ξ ^ , η ^ [ Var t e s t ( w ^ N , γ , M ) ] . (55) \operatorname{MSE}(N,M,\gamma)=\gamma^{2}+\operatorname{bias}^{2}(N)+\operatorname{Var}_{\mathrm{tr}}(N,\gamma)
+\mathbb{E}_{\hat{\Xi},\hat{\eta}}\!\left[\operatorname{Var}_{\mathrm{test}}(\hat{w}_{N,\gamma},M)\right]. \tag*{(55)} MSE ( N , M , γ ) = γ 2 + bias 2 ( N ) + Var tr ( N , γ ) + E Ξ ^ , η ^ [ Var test ( w ^ N , γ , M ) ] . (55)
The leading coefficients can be evaluated explicitly in the homogeneous Gaussian reference model of § 6 . The derivation is given in § 15.3 . Assuming that the training and test ensembles have the same average categorical covariance, E σ [ Σ σ ] = Σ ˉ \mathbb{E}_{\sigma}[\Sigma_{\sigma}]=\bar{\Sigma} E σ [ Σ σ ] = Σ ˉ , one obtains for large N N N
E σ [ Δ Var t e s t ( η ) ( N , M ) ] = N γ 2 M C + O ( γ 2 N M ) , (56) \mathbb{E}_{\sigma}\!\left[\Delta\operatorname{Var}_{\mathrm{test}}^{(\eta)}(N,M)\right]
=\frac{N\gamma^{2}}{M}C+O\!\left(\frac{\gamma^{2}\sqrt{N}}{M}\right), \tag*{(56)} E σ [ Δ Var test ( η ) ( N , M ) ] = M N γ 2 C + O ( M γ 2 N ) , (56)
where we introduced the coefficient C C C that depends on n t r n_{\mathrm{tr}} n tr , n o u t n_{\mathrm{out}} n out and d d d only as:
C = n o u t − d 2 n t r − n o u t − 1 . (57) C=\frac{n_{\mathrm{out}}-d^{2}}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}. \tag*{(57)} C = n tr − n out − 1 n out − d 2 . (57)
The inverse-Wishart mean in this expression exists for n t r > n o u t + 1 n_{\rm tr} > n_{\rm out} + 1 n tr > n out + 1 . This coefficient has the same form as the classical finite-sample variance factor p / ( n − p − 1 ) p/(n-p-1) p / ( n − p − 1 ) of ridgeless least squares with p p p Gaussian features and n n n samples [53 ] , with p = n o u t − d 2 p = n_{\rm out} - d^2 p = n out − d 2 noise-only directions spanning coker ( P ) \operatorname{coker}(P) coker ( P ) and n = n t r − d 2 n = n_{\rm tr} - d^2 n = n tr − d 2 effective samples. Thus, for fixed nonzero γ \gamma γ , target noise produces a test-variance contribution proportional to N / M N/M N / M . Increasing the number of training shots drives P ^ N \hat{P}_N P ^ N closer to the rank-deficient matrix P P P and makes the unregularized inverse more sensitive to the component of η ^ \hat{\eta} η ^ in ker ( P ) \ker(P) ker ( P ) . This is the same mechanism behind the variance peak of double descent [53 , 63 ] , except that here the poorly conditioned directions are created by shot noise and become more poorly conditioned as N N N grows.
By contrast, the training-variance correction is
Δ Var t r ( η ) ( N ) = γ 2 ( C + 1 ) ∥ P − 1 p σ ∥ 2 2 + O ( γ 2 N ) . (58) \Delta\operatorname{Var}_{\rm tr}^{(\eta)}(N) = \gamma^2(C+1)\left\lVert P^{-1}p_\sigma\right\rVert_2^2 + O\left(\frac{\gamma^2}{\sqrt{N}}\right). \tag*{(58)} Δ Var tr ( η ) ( N ) = γ 2 ( C + 1 ) P − 1 p σ 2 2 + O ( N γ 2 ) . (58)
This norm is explicit in the symmetric reference model already used in § 17.3 . Indeed, P 11 − 1 p σ , 1 = ⟨ ρ ~ , σ ⟩ P_{11}^{-1}p_{\sigma,1}=\langle\tilde{\rho},\sigma\rangle P 11 − 1 p σ , 1 = ⟨ ρ ~ , σ ⟩ , and the tight dual frame in eq. (228) gives, for any density operator σ \sigma σ ,
∥ P + p σ ∥ 2 2 = ∑ i = 1 n t r ⟨ ρ ~ i , σ ⟩ 2 = d n t r [ ( d + 1 ) tr ( σ 2 ) − 1 ] . (59) \left\lVert P^+p_\sigma\right\rVert_2^2 = \sum_{i=1}^{n_{\rm tr}}\langle\tilde{\rho}_i,\sigma\rangle^2 = \frac{d}{n_{\rm tr}}\left[(d+1)\operatorname{tr}(\sigma^2)-1\right]. \tag*{(59)} P + p σ 2 2 = i = 1 ∑ n tr ⟨ ρ ~ i , σ ⟩ 2 = n tr d [ ( d + 1 ) tr ( σ 2 ) − 1 ] . (59)
In particular, for the pure test states considered there this reduces exactly to d 2 / n t r d^2/n_{\rm tr} d 2 / n tr . Thus the leading target-noise contribution in eq. (58) is γ 2 d 2 ( C + 1 ) / n t r \gamma^2d^2(C+1)/n_{\rm tr} γ 2 d 2 ( C + 1 ) / n tr in that model. Hence, at leading order, finite-shot training features leave the multiplicative excess
C + 1 = n t r − d 2 − 1 n t r − n o u t − 1 = 1 + n o u t − d 2 n t r − n o u t − 1 . (60) C+1=\frac{n_{\rm tr}-d^2-1}{n_{\rm tr}-n_{\rm out}-1}=1+\frac{n_{\rm out}-d^2}{n_{\rm tr}-n_{\rm out}-1}. \tag*{(60)} C + 1 = n tr − n out − 1 n tr − d 2 − 1 = 1 + n tr − n out − 1 n out − d 2 . (60)
Consequently, target noise adds an O ( γ 2 / n t r ) O(\gamma^2/n_{\rm tr}) O ( γ 2 / n tr ) training-variance floor, but no factor growing with N N N . For n t r ≫ n o u t n_{\rm tr}\gg n_{\rm out} n tr ≫ n out at fixed d d d , the relative inflation in eq. (60) is only O ( n o u t / n t r ) O(n_{\rm out}/n_{\rm tr}) O ( n out / n tr ) , while the test-variance correction remains O ( N γ 2 n o u t / ( M n t r ) ) O(N\gamma^2n_{\rm out}/(Mn_{\rm tr})) O ( N γ 2 n out / ( M n tr )) . Increasing M M M or n t r n_{\rm tr} n tr therefore suppresses the amplified test contribution; increasing N N N alone does not.
The resulting amplification is illustrated in Figure 6 . For nonzero γ \gamma γ , the MSE first decreases as the finite-training-statistics error is suppressed, reaches a minimum, and eventually grows linearly with N N N . The simulations are in excellent agreement with the N / M N/M N / M contribution predicted in eq. (56) , while in the absence of target noise the error approaches the usual test-shot-noise floor.
Conclusions and perspectives
We analyze how finite measurement statistics affect quantum linear regression with probability features,
focusing on the unregularized pseudoinverse training method. Unlike many classical settings, the feature (probability) matrix generated by an informationally complete measurement and a sufficiently rich training set is intrinsically constrained by the geometry of quantum state space: in the ideal, infinite-shot limit, it is rank-deficient, while in realistic experiments its empirical estimate is perturbed by shot noise and becomes effectively full rank. This seemingly innocuous mismatch turns finite sampling into a qualitatively nontrivial source of error, since learning depends on solving a linear inversion problem whose sensitivity is strongly amplified by rank-increasing fluctuations.
To address this, we developed a perturbative approach tailored to the rank-changing regime induced by shot noise. This framework revealed an explicit bias–variance decomposition of the mean-squared prediction error, first at fixed noise realization and then after averaging over noise using standard concentration arguments. A key outcome is that the dominant contributions exhibit distinct and operationally meaningful scalings: the squared bias term can persist even in the quantum analogue of the underparametrized regime (n t r > n o u t n_{\rm tr}>n_{\rm out} n tr > n out ) and scales as N − 2 N^{-2} N − 2 , whereas the variance scales as ( N n t r ) − 1 (Nn_{\rm tr})^{-1} ( N n tr ) − 1 . These behaviors highlight a trade-off that departs from the intuition built on regression with exactly known features: increasing the number of training states is not necessarily beneficial if the per-state measurement budget is too small, because the irreducible bias induced by rank-increasing noise cannot be mitigated by more data alone.
Beyond the specific QELM setting, our results suggest a broader lesson for quantum machine learning: resource estimates and performance guarantees must explicitly account for finite-shot effects. In particular, the analysis motivates training protocols and benchmarking criteria that treat the total experimental budget as a joint allocation problem between the number of training states and the number of shots per state, rather than prioritizing dataset size in isolation.
Several directions follow naturally from this work. First, in a companion paper [75 ] we will explore additional operating regimes in which finite sampling alone can induce double-descent–like behavior, and we will characterize how the location and sharpness of these transitions depend on the measurement budget and on the structure of the feature matrix. Second, it will be important to extend our analysis to other quantum linear regression paradigms—most notably fidelity-kernel methods and quantum reservoir computing—where the features have a different statistical origin but are still estimated from finite-shot data.
In the same spirit, a systematic comparison of learning strategies based on regularized estimators (e.g., ridge/Tikhonov-type schemes, truncated inverses, early stopping) and alternative linear solvers is left for future work, with the goal of identifying when regularization mitigates shot noise–induced bias without overly inflating variance. Finally, a pressing open question is how these effects propagate beyond linear models: it is natural to ask to what extent rank-mismatch and finite-statistics corrections persist, or are amplified, in more general QML architectures—such as variational circuits, hybrid models, and deep quantum kernels—and whether they can be leveraged to derive resource-aware training principles across quantum machine learning.
Acknowledgements
We thank Alessandro Romancino for helpful discussions. GLM acknowledges funding from the European Union–NextGenerationEU through the Italian Ministry of University and Research under PNRR-M4C2-I1.3 Project PE-00000019 “HEAL ITALIA” (CUP B73C22001250006). SL, AF, and GMP acknowledge support by MUR under PRIN Project No. 2022FEXLYB, Quantum Reservoir Computing (QuReCo). LI, SL, MP, and GMP acknowledge funding from the “National Centre for HPC, Big Data and Quantum Computing (HPC)” Project CN00000013, HyQELM–Spoke 10. MP is grateful for support from the Royal Society Wolfson Fellowship (RSWF/R3/183013), the Department for the Economy of Northern Ireland under the US-Ireland R&D Partnership Programme, the PNRR PE Italian National Quantum Science and Technology Institute (PE00000023), and the EU Horizon Europe EIC Pathfinder project QuCoM (GA no. 10032223).
Data availability
The data and code supporting the findings of this study are publicly available in the GitHub repository at https://github.com/salvatore-lorenzo/MTR .
Supplemental Materials
Preliminaries
We review in this section the notation used throughout the main text and the Supplemental Material. In particular, section SM1.1 translates operators and operator collections into real vectors and matrices, ?? reviews the Landau notation for deterministic sequences and sequences of random variables used in the main text and the appendix, section SM1.2 introduces the signal, kernel, and cokernel blocks of the ideal probability matrix, and § 13.3 records the pseudoinverse identities used throughout sections SM2 and SM4. Lowercase bold letters, such as v \boldsymbol{v} v , denote vectors, with components v k v_k v k , whereas uppercase bold letters, such as M \boldsymbol{M} M , denote matrices.
Vectorized notation
This subsection connects the operator language of quantum states, POVMs, and frames with the real matrix coordinates used in all subsequent calculations. In particular, it makes the frame operators of § 13.4 and the probability-matrix blocks of section SM1.2 part of one consistent notation. Given a Hilbert space H \mathcal{H} H of dimension d d d , let L ( H ) \mathcal{L}(\mathcal{H}) L ( H ) denote its space of linear operators, equipped with the Hilbert–Schmidt inner product ⟨ A , B ⟩ = Tr ( A † B ) \langle A,B\rangle= \operatorname{Tr}(A^\dagger B) ⟨ A , B ⟩ = Tr ( A † B ) . Our coordinate matrices represent the real Hilbert space Herm ( H ) ⊂ L ( H ) \operatorname{Herm}(\mathcal{H}) \subset\mathcal{L}(\mathcal{H}) Herm ( H ) ⊂ L ( H ) using a Hermitian orthonormal basis; hence its dimension is d 2 d^2 d 2 , its coordinate vectors are real, and matrix adjoints reduce to transposes. Ordinary uppercase Roman and Greek letters denote operators. For a vector ψ ∈ H \psi\in\mathcal{H} ψ ∈ H , we write P ( ψ ) = P ψ ≡ ∣ ψ ⟩ ⟨ ψ ∣ \mathrm{P}(\psi) = \mathrm{P}_{\psi} \equiv|\psi\rangle\langle\psi| P ( ψ ) = P ψ ≡ ∣ ψ ⟩ ⟨ ψ ∣ . We also use the same symbol for the rank-one superoperator generated by A ∈ L ( H ) A \in\mathcal{L}(\mathcal{H}) A ∈ L ( H ) :
P ( A ) : L ( H ) → L ( H ) , P ( A ) ( B ) ≡ ⟨ A , B ⟩ A = Tr ( A † B ) A . (61) \mathrm{P}(A) : \mathcal{L}(\mathcal{H}) \to\mathcal{L}(\mathcal{H}), \qquad\mathrm{P}(A)(B) \equiv\langle A,B\rangle A = \operatorname{Tr}(A^\dagger B)A. \tag*{(61)} P ( A ) : L ( H ) → L ( H ) , P ( A ) ( B ) ≡ ⟨ A , B ⟩ A = Tr ( A † B ) A . (61)
This superoperator is an orthogonal projector when ⟨ A , A ⟩ = 1 \langle A,A\rangle= 1 ⟨ A , A ⟩ = 1 ; otherwise it is the corresponding unnormalized rank-one outer product.
Given a Hermitian orthonormal operator basis ( P i ) i = 1 d 2 (P_i)_{i=1}^{d^2} ( P i ) i = 1 d 2 (for example, normalized Pauli operators), any O ∈ Herm ( H ) O \in\operatorname{Herm}(\mathcal{H}) O ∈ Herm ( H ) has the real vectorized representation v O = vec ( O ) \boldsymbol{v}_O = \operatorname{vec}(O) v O = vec ( O ) and ( v O ) i = Tr ( P i † O ) (v_O)_i = \operatorname{Tr}(P_i^\dagger O) ( v O ) i = Tr ( P i † O ) . Collections of Hermitian operators are denoted by bold Greek letters, as in the POVM μ = ( μ a ) a = 1 m \boldsymbol{\mu} = (\mu_a)_{a=1}^{m} μ = ( μ a ) a = 1 m . Such a collection is represented by the matrix
M μ = ∑ a = 1 m v μ a e a T = ∑ a = 1 m vec ( μ a ) e a T , (62) M_{\boldsymbol{\mu}} = \sum_{a=1}^{m} \boldsymbol{v}_{\mu_a}e_a^{T} = \sum_{a=1}^{m}\operatorname{vec}(\mu_a)e_a^{T}, \tag*{(62)} M μ = a = 1 ∑ m v μ a e a T = a = 1 ∑ m vec ( μ a ) e a T , (62)
where e a e_a e a is the a a a th canonical basis vector of R m \mathbb{R}^{m} R m .
Block decompositions
We decompose noisy matrices with respect to the support and image of the exact probability matrix. These coordinates isolate the rank-preserving and rank-increasing directions and are used both in the formal expansion of section SM2 and in the direct remainder analysis of section SM4. In particular, in these coordinates,
Ξ ^ = ( Ξ ^ 11 Ξ ^ 12 Ξ ^ 21 Ξ ^ 22 ) , (63) \widehat{\Xi} =
\begin{pmatrix}
\widehat{\Xi}_{11} & \widehat{\Xi}_{12} \\
\widehat{\Xi}_{21} & \widehat{\Xi}_{22}
\end{pmatrix}, \tag*{(63)} Ξ = ( Ξ 11 Ξ 21 Ξ 12 Ξ 22 ) , (63)
where the block decomposition is induced by the support and image of the noiseless probability matrix P P P . More explicitly, let
Π 1 ≡ Π s u p p ( P ) = V 1 V 1 T , Π 2 ≡ I − Π 1 = V 2 V 2 T , Π 1 ′ ≡ Π i m ( P ) = U 1 U 1 T , Π 2 ′ ≡ I − Π 1 ′ = U 2 U 2 T . (64) \Pi_1 \equiv\Pi_{\mathrm{supp}(P)} = V_1V_1^{T}, \qquad
\Pi_2 \equiv I-\Pi_1 = V_2V_2^{T}, \qquad
\Pi_1' \equiv\Pi_{\mathrm{im}(P)} = U_1U_1^{T}, \qquad
\Pi_2' \equiv I-\Pi_1' = U_2U_2^{T}. \tag*{(64)} Π 1 ≡ Π supp ( P ) = V 1 V 1 T , Π 2 ≡ I − Π 1 = V 2 V 2 T , Π 1 ′ ≡ Π im ( P ) = U 1 U 1 T , Π 2 ′ ≡ I − Π 1 ′ = U 2 U 2 T . (64)
We write r ≡ rank ( P ) = d 2 r \equiv\operatorname{rank}(P) = d^2 r ≡ rank ( P ) = d 2 . Thus V 1 ∈ R n t r × r V_1 \in\mathbb{R}^{n_{\mathrm{tr}}\times r} V 1 ∈ R n tr × r , V 2 ∈ R n t r × ( n t r − r ) V_2 \in\mathbb{R}^{n_{\mathrm{tr}}\times(n_{\mathrm{tr}}-r)} V 2 ∈ R n tr × ( n tr − r ) , U 1 ∈ R n o u t × r U_1 \in\mathbb{R}^{n_{\mathrm{out}}\times r} U 1 ∈ R n out × r , and U 2 ∈ R n o u t × ( n o u t − r ) U_2 \in\mathbb{R}^{n_{\mathrm{out}}\times(n_{\mathrm{out}}-r)} U 2 ∈ R n out × ( n out − r ) . The blocks of Ξ ^ \widehat{\Xi} Ξ are then Ξ ^ a b ≡ U a T Ξ ^ V b \widehat{\Xi}_{ab} \equiv U_a^{T}\widehat{\Xi}V_b Ξ ab ≡ U a T Ξ V b , where a , b ∈ { 1 , 2 } a,b \in\{1,2\} a , b ∈ { 1 , 2 } . Here and below the index a a a labels the image/cokernel block, while b b b labels the support/kernel block. The normalized kernel-block covariances introduced below require n t r − r > 0 n_{\mathrm{tr}}-r>0 n tr − r > 0 . When n t r = r n_{\mathrm{tr}}=r n tr = r there is no kernel block, and the corresponding statements are read after deleting every block with second index 2 2 2 .
Throughout this section, the training states ρ = ( ρ 1 , … , ρ n t r ) \rho= (\rho_1,\ldots,\rho_{n_{\mathrm{tr}}}) ρ = ( ρ 1 , … , ρ n tr ) are fixed and all averages are conditional on them; the only randomness is the training shot noise. We write the columns of Ξ ^ \widehat{\Xi} Ξ as
Ξ ^ = [ ξ ^ 1 , … , ξ ^ n t r ] , ξ ^ i = N ( p ^ i − p i ) , Σ i ≡ Σ ( ρ i ) ≡ E [ ξ ^ i ξ ^ i T ∣ ρ ] = diag ( p i ) − p i p i T . (65) \widehat{\Xi} = [\widehat{\xi}_1,\ldots,\widehat{\xi}_{n_{\mathrm{tr}}}], \qquad
\widehat{\xi}_i = \sqrt{N}(\widehat{p}_i-p_i), \qquad
\Sigma_i \equiv\Sigma(\rho_i) \equiv\mathbb{E}[\widehat{\xi}_i\widehat{\xi}_i^{T}\mid\rho] = \operatorname{diag}(p_i)-p_ip_i^{T}. \tag*{(65)} Ξ = [ ξ 1 , … , ξ n tr ] , ξ i = N ( p i − p i ) , Σ i ≡ Σ ( ρ i ) ≡ E [ ξ i ξ i T ∣ ρ ] = diag ( p i ) − p i p i T . (65)
where p i = ⟨ μ , ρ i ⟩ p_i = \langle\mu,\rho_i\rangle p i = ⟨ μ , ρ i ⟩ , p ^ i = 1 N n ^ ( i ) \hat{p}_i = \frac{1}{N}\hat{n}^{(i)} p ^ i = N 1 n ^ ( i ) , n ^ ( i ) ∼ Mult ( N , p i ) \hat{n}^{(i)} \sim\operatorname{Mult}(N,p_i) n ^ ( i ) ∼ Mult ( N , p i ) . Conditionally on ρ \rho ρ , the columns ξ ^ i \hat{\xi}_i ξ ^ i are independent and centered, with covariance matrices Σ i \Sigma_i Σ i . They become asymptotically Gaussian as N → ∞ N \to\infty N → ∞ , but no Gaussian approximation is assumed here.
It will be useful to introduce the following normalized covariance blocks. Given a nonzero projection Π ∈ R n t r × n t r \Pi\in\mathbb{R}^{n_{\mathrm{tr}}\times n_{\mathrm{tr}}} Π ∈ R n tr × n tr and an isometry U ∈ R n o u t × m U \in\mathbb{R}^{n_{\mathrm{out}}\times m} U ∈ R n out × m , define C ^ U , Π ≡ 1 Tr ( Π ) U T Ξ ^ Π Ξ ^ T U \hat{C}_{U,\Pi} \equiv\frac{1}{\operatorname{Tr}(\Pi)} U^{T}\hat{\Xi}\Pi\hat{\Xi}^{T}U C ^ U , Π ≡ Tr ( Π ) 1 U T Ξ ^ Π Ξ ^ T U , and C U , Π ≡ 1 Tr ( Π ) ∑ i = 1 n t r Π i i U T Σ i U C_{U,\Pi} \equiv\frac{1}{\operatorname{Tr}(\Pi)}\sum_{i=1}^{n_{\mathrm{tr}}}\Pi_{ii}U^{T}\Sigma_iU C U , Π ≡ Tr ( Π ) 1 ∑ i = 1 n tr Π ii U T Σ i U , and note that E [ C ^ U , Π ] = C U , Π \mathbb{E}[\hat{C}_{U,\Pi}] = C_{U,\Pi} E [ C ^ U , Π ] = C U , Π . The off-diagonal entries of Π \Pi Π do not contribute to the expectation because distinct columns of Ξ ^ \hat{\Xi} Ξ ^ are independent and centered. For the blocks relevant to the perturbative expansion we use the shorthand
C ^ α β ≡ U α T Ξ ^ Π 2 Ξ ^ T U β n t r − r = Ξ ^ α 2 Ξ ^ β 2 T n t r − r , C α β ≡ E [ C ^ α β ] = 1 n t r − r ∑ i ( Π 2 ) i i U α T Σ i U β , α , β ∈ { 1 , 2 } . (66) \hat{C}_{\alpha\beta} \equiv\frac{U_\alpha^{T}\hat{\Xi}\Pi_2\hat{\Xi}^{T}U_\beta}{n_{\mathrm{tr}}-r} = \frac{\hat{\Xi}_{\alpha2}\hat{\Xi}_{\beta2}^{T}}{n_{\mathrm{tr}}-r}, \qquad C_{\alpha\beta} \equiv\mathbb{E}[\hat{C}_{\alpha\beta}] = \frac{1}{n_{\mathrm{tr}}-r}\sum_i(\Pi_2)_{ii}U_\alpha^{T}\Sigma_iU_\beta,\qquad\alpha,\beta\in\{1,2\}. \tag*{(66)} C ^ α β ≡ n tr − r U α T Ξ ^ Π 2 Ξ ^ T U β = n tr − r Ξ ^ α 2 Ξ ^ β 2 T , C α β ≡ E [ C ^ α β ] = n tr − r 1 i ∑ ( Π 2 ) ii U α T Σ i U β , α , β ∈ { 1 , 2 } . (66)
Thus C ^ 11 ∈ R r × r \hat{C}_{11}\in\mathbb{R}^{r\times r} C ^ 11 ∈ R r × r , C ^ 12 ∈ R r × ( n o u t − r ) \hat{C}_{12}\in\mathbb{R}^{r\times(n_{\mathrm{out}}-r)} C ^ 12 ∈ R r × ( n out − r ) , C ^ 21 ∈ R ( n o u t − r ) × r \hat{C}_{21}\in\mathbb{R}^{(n_{\mathrm{out}}-r)\times r} C ^ 21 ∈ R ( n out − r ) × r , and C ^ 22 ∈ R ( n o u t − r ) × ( n o u t − r ) \hat{C}_{22}\in\mathbb{R}^{(n_{\mathrm{out}}-r)\times(n_{\mathrm{out}}-r)} C ^ 22 ∈ R ( n out − r ) × ( n out − r ) . Moreover, C 11 , C 22 ≥ 0 C_{11},C_{22}\ge0 C 11 , C 22 ≥ 0 and tr ( C 11 ) + tr ( C 22 ) ≤ 1 \operatorname{tr}(C_{11})+\operatorname{tr}(C_{22})\le1 tr ( C 11 ) + tr ( C 22 ) ≤ 1 . Because Π 2 \Pi_2 Π 2 projects onto supp ( P ) ⊥ \operatorname{supp}(P)^\perp supp ( P ) ⊥ , tr ( Π 2 ) = ∑ i ( Π 2 ) i i = n t r − r \operatorname{tr}(\Pi_2)=\sum_i(\Pi_2)_{ii}=n_{\mathrm{tr}}-r tr ( Π 2 ) = ∑ i ( Π 2 ) ii = n tr − r ; hence the normalization prevents C α β C_{\alpha\beta} C α β from acquiring a generic factor of n t r n_{\mathrm{tr}} n tr . The diagonal weights can be made explicit. Since
Π 1 = P + P = P T ( P P T ) + P = M ρ T F ρ − 1 M ρ , \Pi_1 = P^{+}P = P^{T}(PP^{T})^{+}P = M_{\rho}^{T}\mathcal{F}_{\rho}^{-1}M_{\rho}, Π 1 = P + P = P T ( P P T ) + P = M ρ T F ρ − 1 M ρ ,
we have ( Π 1 ) i i = ⟨ ρ i , F − 1 ( ρ i ) ⟩ = ⟨ ρ i , ρ ~ i ⟩ (\Pi_1)_{ii}=\langle\rho_i,\mathcal{F}^{-1}(\rho_i)\rangle=\langle\rho_i,\tilde{\rho}_i\rangle ( Π 1 ) ii = ⟨ ρ i , F − 1 ( ρ i )⟩ = ⟨ ρ i , ρ ~ i ⟩ and ( Π 2 ) i i = 1 − ⟨ ρ i , ρ ~ i ⟩ (\Pi_2)_{ii}=1-\langle\rho_i,\tilde{\rho}_i\rangle ( Π 2 ) ii = 1 − ⟨ ρ i , ρ ~ i ⟩ . In the special case where the training states are pure and form a complex-projective 2-design, we get ( Π 2 ) i i = 1 − d 2 / n t r = ( n t r − r ) / n t r (\Pi_2)_{ii}=1-d^2/n_{\mathrm{tr}}=(n_{\mathrm{tr}}-r)/n_{\mathrm{tr}} ( Π 2 ) ii = 1 − d 2 / n tr = ( n tr − r ) / n tr , and thus C α β = U α T Σ ˉ U β C_{\alpha\beta}=U_\alpha^{T}\bar{\Sigma}U_\beta C α β = U α T Σ ˉ U β where Σ ˉ ≡ 1 n t r ∑ i = 1 n t r Σ i \bar{\Sigma}\equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\Sigma_i Σ ˉ ≡ n tr 1 ∑ i = 1 n tr Σ i is the average covariance matrix. The 2-design property is also sufficient to get an explicit deterministic formula for Σ ˉ \bar{\Sigma} Σ ˉ , which in this case equals
Σ ˉ a b = tr ( μ a ) d δ a b − tr ( μ a ) tr ( μ b ) + tr ( μ a μ b ) d ( d + 1 ) . (67) \bar{\Sigma}_{ab}=\frac{\operatorname{tr}(\mu_a)}{d}\delta_{ab}-\frac{\operatorname{tr}(\mu_a)\operatorname{tr}(\mu_b)+\operatorname{tr}(\mu_a\mu_b)}{d(d+1)}. \tag*{(67)} Σ ˉ ab = d tr ( μ a ) δ ab − d ( d + 1 ) tr ( μ a ) tr ( μ b ) + tr ( μ a μ b ) . (67)
If we further assume that the POVM is balanced and rank-one, i.e. μ a = d n o u t ∣ ϕ a ⟩ ⟨ ϕ a ∣ \mu_a=\frac{d}{n_{\mathrm{out}}}|\phi_a\rangle\langle\phi_a| μ a = n out d ∣ ϕ a ⟩ ⟨ ϕ a ∣ for some pure states ∣ ϕ a ⟩ |\phi_a\rangle ∣ ϕ a ⟩ satisfying 1 n o u t ∑ a = 1 n o u t ∣ ϕ a ⟩ ⟨ ϕ a ∣ = I d \frac{1}{n_{\mathrm{out}}}\sum_{a=1}^{n_{\mathrm{out}}}|\phi_a\rangle\langle\phi_a|=\frac{I}{d} n out 1 ∑ a = 1 n out ∣ ϕ a ⟩ ⟨ ϕ a ∣ = d I , then C 12 = 0 C_{12}=0 C 12 = 0 and C 22 = I n o u t C_{22}=\frac{I}{n_{\mathrm{out}}} C 22 = n out I . These formulas will be used in § 17.3 and in the Gaussian consistency check of § 15.2 .
Properties of pseudoinverses
We review here some basic facts about pseudoinverses that will be useful in the proofs.
Definition via SVD — The pseudoinverse of a rectangular matrix is most conveniently expressed through its compact singular value decomposition (SVD). Given a matrix A A A , write A = U D V † A=UDV^\dagger A = U D V † , where U , V U,V U , V are isometries and D > 0 D>0 D > 0 is diagonal. Its pseudoinverse then reads A + = V D − 1 U † A^{+}=VD^{-1}U^\dagger A + = V D − 1 U † . If A A A is n × m n\times m n × m , then U U U is n × r n\times r n × r , D D D is r × r r\times r r × r , and V V V is m × r m\times r m × r , where r ≡ rank ( A ) r\equiv\operatorname{rank}(A) r ≡ rank ( A ) . In dyadic notation, this amounts to A = ∑ k d k u k v k † A=\sum_k d_k u_kv_k^\dagger A = ∑ k d k u k v k † having pseudoinverse A + = ∑ k d k − 1 v k u k † A^{+}=\sum_k d_k^{-1}v_ku_k^\dagger A + = ∑ k d k − 1 v k u k † .
Properties of the pseudoinverse — The pseudoinverse A + A^{+} A + is a true (left and right) inverse iff A A A is invertible. More generally, A + A^{+} A + is a left inverse, A + A = I A^{+}A=I A + A = I , if and only if A A A is injective, and it is a right inverse, A A + = I AA^{+}=I A A + = I , if and only if A A A is surjective. If A A A is not full-rank, then A + A^{+} A + is neither a left nor a right inverse, but it can still be seen as an inverse on the range of support of A A A . In general, A + A = Π supp ( A ) A^{+}A=\Pi_{\operatorname{supp}(A)} A + A = Π supp ( A ) is the orthogonal projector onto the row space of A A A , whereas A A + = Π im ( A ) AA^{+}=\Pi_{\operatorname{im}(A)} A A + = Π im ( A ) projects onto its image.
Explicit formulas for special cases — The pseudoinverse can be given an explicit formula when A A A is injective or surjective. For injective A A A , we have A + = ( A † A ) − 1 A † A^{+}=(A^{\dagger}A)^{-1}A^{\dagger} A + = ( A † A ) − 1 A † . For surjective A A A , we have A + = A † ( A A † ) − 1 A^{+}=A^{\dagger}(AA^{\dagger})^{-1} A + = A † ( A A † ) − 1 .
Product formulas — It is not generally the case that ( A B ) + = B + A + (AB)^{+}=B^{+}A^{+} ( A B ) + = B + A + . However, it does hold when A A A is injective and B B B is surjective. Indeed, the compact SVD of B B B is B = U B D B V B † B=U_BD_BV_B^{\dagger} B = U B D B V B † , with U B U_B U B unitary, whereas that of A A A is A = U A D A V A † A=U_AD_AV_A^{\dagger} A = U A D A V A † with V A V_A V A unitary. Therefore
A B = U A D A V A † U B D B V B † . (68) AB=U_AD_AV_A^{\dagger}U_BD_BV_B^{\dagger}. \tag*{(68)} A B = U A D A V A † U B D B V B † . (68)
where V A † U B V_A^{\dagger}U_B V A † U B is unitary and D A , D B D_A,D_B D A , D B are square and invertible. Hence C ≡ D A V A † U B D B C\equiv D_AV_A^{\dagger}U_BD_B C ≡ D A V A † U B D B is also square and invertible. Let C = U C D C V C † C=U_CD_CV_C^{\dagger} C = U C D C V C † be its SVD. Then
A B = ( U A U C ) D C ( V B V C ) † . (69) AB=(U_AU_C)D_C(V_BV_C)^{\dagger}. \tag*{(69)} A B = ( U A U C ) D C ( V B V C ) † . (69)
is an SVD for A B AB A B , with U C , V C U_C,V_C U C , V C unitaries, hence
( A B ) + = ( V B V C ) D C − 1 ( U A U C ) † = V B C − 1 U A † (70) (AB)^+ = (V_BV_C)D_C^{-1}(U_AU_C)^\dagger= V_BC^{-1}U_A^\dagger \tag*{(70)} ( A B ) + = ( V B V C ) D C − 1 ( U A U C ) † = V B C − 1 U A † (70)
which equals B + A + B^+A^+ B + A + .
Block inverses and Schur complements — Given an invertible square matrix M = ( A B C D ) M = \begin{pmatrix} A & B \\ C & D \end{pmatrix} M = ( A C B D ) , its inverse can be written in terms of Schur complements [76 ] as
M − 1 = ( A − 1 + A − 1 B ( M / A ) − 1 C A − 1 − A − 1 B ( M / A ) − 1 − ( M / A ) − 1 C A − 1 ( M / A ) − 1 ) = ( ( M / D ) − 1 − ( M / D ) − 1 B D − 1 − D − 1 C ( M / D ) − 1 D − 1 + D − 1 C ( M / D ) − 1 B D − 1 ) (71) \begin{aligned}
M^{-1} =
\begin{pmatrix}
A^{-1}+A^{-1}B(M/A)^{-1}CA^{-1} & -A^{-1}B(M/A)^{-1} \\
-(M/A)^{-1}CA^{-1} & (M/A)^{-1}
\end{pmatrix} \\
&=
\begin{pmatrix}
(M/D)^{-1} & -(M/D)^{-1}BD^{-1} \\
-D^{-1}C(M/D)^{-1} & D^{-1}+D^{-1}C(M/D)^{-1}BD^{-1}
\end{pmatrix} \tag*{(71)}
\end{aligned} M − 1 = ( A − 1 + A − 1 B ( M / A ) − 1 C A − 1 − ( M / A ) − 1 C A − 1 − A − 1 B ( M / A ) − 1 ( M / A ) − 1 ) = ( ( M / D ) − 1 − D − 1 C ( M / D ) − 1 − ( M / D ) − 1 B D − 1 D − 1 + D − 1 C ( M / D ) − 1 B D − 1 ) (71)
where
( M / A ) ≡ D − C A − 1 B , ( M / D ) ≡ A − B D − 1 C . (72) (M/A) \equiv D-CA^{-1}B,\qquad(M/D) \equiv A-BD^{-1}C. \tag*{(72)} ( M / A ) ≡ D − C A − 1 B , ( M / D ) ≡ A − B D − 1 C . (72)
The first representation assumes that A A A is invertible, whereas the second assumes that D D D is invertible. This identity is used by both the complementary structural analysis and the direct proof below.
Frame operators
The block formulas describe the inverse in matrix coordinates, but the conditioning constants and prediction coefficients must ultimately be expressed in terms of the states and the POVM. The formalism of frame operators is useful to provide this link. In particular, their eigenvalues quantify how well training states and POVM elements cover the operator space, and their canonical duals give the ideal readout weights. We thus review here the basic language of operator frames which will be useful for some of the later results in § 17 .
We make frequent use of frames and frame operators [77 , 78 , 79 ] . For a finite-dimensional inner-product space V V V , a frame is a collection ( v k ) k ⊂ V (v_k)_k \subset V ( v k ) k ⊂ V for which
α ∥ w ∥ 2 ≤ ∑ k ∣ ⟨ v k , w ⟩ ∣ 2 ≤ β ∥ w ∥ 2 (73) \alpha\lVert w\rVert^2 \le\sum_k \lvert\langle v_k,w\rangle\rvert^2 \le\beta\lVert w\rVert^2 \tag*{(73)} α ∥ w ∥ 2 ≤ k ∑ ∣⟨ v k , w ⟩ ∣ 2 ≤ β ∥ w ∥ 2 (73)
for some 0 < α ≤ β < ∞ 0 < \alpha\le\beta< \infty 0 < α ≤ β < ∞ . Frames generalize orthonormal bases by allowing overcompleteness. Given any dual frame ( v ~ k ) k (\tilde{v}_k)_k ( v ~ k ) k , every w ∈ V w \in V w ∈ V admits the reconstructions
w = ∑ k ⟨ v k , w ⟩ v ~ k = ∑ k ⟨ v ~ k , w ⟩ v k . (74) w = \sum_k \langle v_k,w\rangle\tilde{v}_k = \sum_k \langle\tilde{v}_k,w\rangle v_k. \tag*{(74)} w = k ∑ ⟨ v k , w ⟩ v ~ k = k ∑ ⟨ v ~ k , w ⟩ v k . (74)
The canonical dual is v ~ k = F − 1 ( v k ) \tilde{v}_k = \mathcal{F}^{-1}(v_k) v ~ k = F − 1 ( v k ) , where the positive, invertible frame operator is F = ∑ k v k v k † \mathcal{F} = \sum_k v_kv_k^\dagger F = ∑ k v k v k † . An overcomplete frame has nonunique duals.
If we take V V V to be the Hilbert space of linear operators on H \mathcal{H} H , i.e., V = L ( H ) V = \mathcal{L}(\mathcal{H}) V = L ( H ) , then both the set of training states ρ \rho ρ and the POVM μ \mu μ can be thought of as frames in L ( H ) \mathcal{L}(\mathcal{H}) L ( H ) , provided that n t r , n o u t ≥ d 2 n_{\mathrm{tr}}, n_{\mathrm{out}} \ge d^2 n tr , n out ≥ d 2 and that each ensemble contains at least d 2 d^2 d 2 linearly independent elements. This means that any operator O ∈ L ( H ) \mathcal{O} \in\mathcal{L}(\mathcal{H}) O ∈ L ( H ) can be decomposed as
O = ∑ i = 1 n t r ⟨ O , ρ ~ i ⟩ ρ i = ∑ a = 1 n o u t ⟨ O , μ ~ a ⟩ μ a , (75) \mathcal{O} = \sum_{i=1}^{n_{\mathrm{tr}}}\langle\mathcal{O},\tilde{\rho}_i\rangle\rho_i = \sum_{a=1}^{n_{\mathrm{out}}}\langle\mathcal{O},\tilde{\mu}_a\rangle\mu_a, \tag*{(75)} O = i = 1 ∑ n tr ⟨ O , ρ ~ i ⟩ ρ i = a = 1 ∑ n out ⟨ O , μ ~ a ⟩ μ a , (75)
where ρ ~ = { ρ ~ i } i = 1 n t r \tilde{\rho} = \{\tilde{\rho}_i\}_{i=1}^{n_{\mathrm{tr}}} ρ ~ = { ρ ~ i } i = 1 n tr and μ ~ = { μ ~ a } a = 1 n o u t \tilde{\mu} = \{\tilde{\mu}_a\}_{a=1}^{n_{\mathrm{out}}} μ ~ = { μ ~ a } a = 1 n out are the dual training-state ensemble and the dual POVM, respectively. As mentioned above, whenever n t r , n o u t > d 2 n_{\mathrm{tr}}, n_{\mathrm{out}} > d^2 n tr , n out > d 2 , the dual frame is not unique. However, there is a canonical choice, which we will always adopt:
ρ ~ = F ρ − 1 ( ρ ) , μ ~ = F μ − 1 ( μ ) , (76) \tilde{\rho} = \mathcal{F}_{\rho}^{-1}(\rho),\qquad\tilde{\mu} = \mathcal{F}_{\mu}^{-1}(\mu), \tag*{(76)} ρ ~ = F ρ − 1 ( ρ ) , μ ~ = F μ − 1 ( μ ) , (76)
where F ρ \mathcal{F}_{\rho} F ρ is the superoperator defined by F ρ ( O ) = ∑ i = 1 n t r Tr ( O ρ i ) ρ i \mathcal{F}_{\rho}(\mathcal{O}) = \sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{Tr}(\mathcal{O}\rho_i)\rho_i F ρ ( O ) = ∑ i = 1 n tr Tr ( O ρ i ) ρ i , and F μ \mathcal{F}_{\mu} F μ is defined analogously.
In the vectorized formalism, the frame operator associated with the training set ρ \rho ρ can be written as F ρ = M ρ M ρ T \mathcal{F}_{\rho}=M_{\rho}M_{\rho}^{\mathrm{T}} F ρ = M ρ M ρ T and the frame operator associated with the POVM as μ \mu μ , F μ = M μ M μ T \mathcal{F}_{\mu}=M_{\mu}M_{\mu}^{\mathrm{T}} F μ = M μ M μ T . They are both intimately related to the probability matrix P ≡ ⟨ μ , ρ ⟩ ≡ M μ T M ρ P\equiv\langle\mu,\rho\rangle\equiv M_{\mu}^{\mathrm{T}}M_{\rho} P ≡ ⟨ μ , ρ ⟩ ≡ M μ T M ρ . In particular, this relation naturally emerges by looking at their singular values. The singular values of the probability matrix are by definition the square roots of the eigenvalues of P P T = M μ T M ρ M ρ T M μ PP^{\mathrm{T}}=M_{\mu}^{\mathrm{T}}M_{\rho}M_{\rho}^{\mathrm{T}}M_{\mu} P P T = M μ T M ρ M ρ T M μ that in turn are the same as the nonzero eigenvalues of M ρ M ρ T M μ M μ T = F ρ F μ M_{\rho}M_{\rho}^{\mathrm{T}}M_{\mu}M_{\mu}^{\mathrm{T}}=\mathcal{F}_{\rho}\mathcal{F}_{\mu} M ρ M ρ T M μ M μ T = F ρ F μ . We therefore conclude that the nonzero singular values of P P P are equal to the square roots of the nonzero eigenvalues of F μ F ρ \mathcal{F}_{\mu}\mathcal{F}_{\rho} F μ F ρ .
Case of symmetric states and measurement — In particular, if the training states are pure, ρ k = P ( ψ k ) \rho_k=\mathbb{P}(\psi_k) ρ k = P ( ψ k ) , and form a complex-projective 2-design, then in superoperator notation
F ρ = ∑ k = 1 n t r P ( ρ k ) = n t r Id + P ( I ) d ( d + 1 ) . (77) \mathcal{F}_{\rho}=\sum_{k=1}^{n_{\mathrm{tr}}}\mathbb{P}(\rho_k)=n_{\mathrm{tr}}\frac{\operatorname{Id}+\mathbb{P}(I)}{d(d+1)}. \tag*{(77)} F ρ = k = 1 ∑ n tr P ( ρ k ) = n tr d ( d + 1 ) Id + P ( I ) . (77)
where Id \operatorname{Id} Id is the identity superoperator and P ( I ) ( X ) = Tr ( X ) I \mathbb{P}(I)(X)=\operatorname{Tr}(X)I P ( I ) ( X ) = Tr ( X ) I , with I I I the identity operator on H \mathcal{H} H . Note that, as a linear operator, this F ρ \mathcal{F}_{\rho} F ρ has eigenvalues n t r d \frac{n_{\mathrm{tr}}}{d} d n tr and n t r d ( d + 1 ) \frac{n_{\mathrm{tr}}}{d(d+1)} d ( d + 1 ) n tr , with degeneracies 1 1 1 and d 2 − 1 d^2-1 d 2 − 1 , respectively. If the training states are independent Haar-random pure states, then their normalized empirical frame operator approaches this form with high probability as n t r n_{\mathrm{tr}} n tr grows. Similarly, symmetric rank-one POVMs have the form μ b = d n o u t P ( ϕ b ) \mu_b=\frac{d}{n_{\mathrm{out}}}\mathbb{P}(\phi_b) μ b = n out d P ( ϕ b ) with the states ∣ ϕ b ⟩ \lvert\phi_b\rangle ∣ ϕ b ⟩ such that ∑ b = 1 n o u t P ( ϕ b ) = n o u t d I \sum_{b=1}^{n_{\mathrm{out}}}\mathbb{P}(\phi_b)=\frac{n_{\mathrm{out}}}{d}I ∑ b = 1 n out P ( ϕ b ) = d n out I . If these states further form a complex-projective 2-design, then the frame superoperator reads
F μ = ∑ b = 1 n o u t P ( μ b ) = d 2 n o u t Id + P ( I ) d ( d + 1 ) . (78) \mathcal{F}_{\mu}=\sum_{b=1}^{n_{\mathrm{out}}}\mathbb{P}(\mu_b)=\frac{d^2}{n_{\mathrm{out}}}\frac{\operatorname{Id}+\mathbb{P}(I)}{d(d+1)}. \tag*{(78)} F μ = b = 1 ∑ n out P ( μ b ) = n out d 2 d ( d + 1 ) Id + P ( I ) . (78)
Furthermore, if both states and POVM have these symmetric properties, then we find
F ρ ∘ F μ = n t r d 2 n o u t [ d ( d + 1 ) ] 2 ( Id + P ( I ) ) 2 = n t r n o u t ( d + 1 ) 2 ( Id + ( 2 + d ) P ( I ) ) , (79) \mathcal{F}_{\rho}\circ\mathcal{F}_{\mu}=\frac{n_{\mathrm{tr}}d^2}{n_{\mathrm{out}}[d(d+1)]^2}\bigl(\operatorname{Id}+\mathbb{P}(I)\bigr)^2=\frac{n_{\mathrm{tr}}}{n_{\mathrm{out}}(d+1)^2}\bigl(\operatorname{Id}+(2+d)\mathbb{P}(I)\bigr), \tag*{(79)} F ρ ∘ F μ = n out [ d ( d + 1 ) ] 2 n tr d 2 ( Id + P ( I ) ) 2 = n out ( d + 1 ) 2 n tr ( Id + ( 2 + d ) P ( I ) ) , (79)
whose eigenvalues are
σ ( F ρ ∘ F μ ) ∈ { n t r n o u t , n t r n o u t ( d + 1 ) 2 } . (80) \sigma(\mathcal{F}_{\rho}\circ\mathcal{F}_{\mu})\in\left\{\frac{n_{\mathrm{tr}}}{n_{\mathrm{out}}},\frac{n_{\mathrm{tr}}}{n_{\mathrm{out}}(d+1)^2}\right\}. \tag*{(80)} σ ( F ρ ∘ F μ ) ∈ { n out n tr , n out ( d + 1 ) 2 n tr } . (80)
The eigenvector corresponding to n t r n o u t \frac{n_{\mathrm{tr}}}{n_{\mathrm{out}}} n out n tr is the rescaled identity, I / d I/\sqrt{d} I / d , while the other eigenvalue has degeneracy d 2 − 1 d^2-1 d 2 − 1 , and eigenspace spanned by any choice of orthonormal basis for the space of Hermitian traceless d × d d\times d d × d operators. The singular values of P P P are then the square roots of the eigenvalues of F ρ ∘ F μ \mathcal{F}_{\rho}\circ\mathcal{F}_{\mu} F ρ ∘ F μ . Thus all d 2 d^2 d 2 nonzero singular values of the n o u t × n t r n_{\mathrm{out}}\times n_{\mathrm{tr}} n out × n tr probability matrix scale as n t r / n o u t \sqrt{n_{\mathrm{tr}}/n_{\mathrm{out}}} n tr / n out (with the two dimension-dependent prefactors shown above).
Perturbative pseudoinverse expansion
We discussed in the main text how the full empirical pseudoinverse diverges even though physical predictions can remain finite. In this section we present a perturbative analysis of the pseudoinverse of the empirical probability matrix, identifying where exactly divergences arise. The main results are the expansions in eqs. (92) and (SM34). The signal block in eq. (92) is used later in the homogeneous Gaussian calculation of § 15 , while the remaining blocks in eq. (94) are needed for the target-noise correction.
Discontinuity of pseudoinverses under rank-increasing perturbations — The main technical difficulty we seek to overcome is that matrix inversion is not continuous with respect to perturbations that change the rank, and the same is true for the Moore-Penrose pseudoinverse [42 , 43 , 44 ] . Let P P P be the unperturbed matrix and let P ^ τ = P + τ Ξ ^ \widehat{P}_{\tau}=P+\tau\widehat{\Xi} P τ = P + τ Ξ . Here τ \tau τ is a generic parameter; we will use τ = N − 1 / 2 \tau=N^{-1/2} τ = N − 1/2 when specializing the discussion to the empirical frequency matrix. If P P P is rank deficient and the perturbation Ξ ^ \widehat{\Xi} Ξ has components outside the row or column spaces of P P P , then τ ↦ P ^ τ + \tau\mapsto\widehat{P}_{\tau}^{+} τ ↦ P τ + is discontinuous at τ = 0 \tau=0 τ = 0 , and in particular P ^ τ + \widehat{P}_{\tau}^{+} P τ + can diverge as τ → 0 \tau\to0 τ → 0 . More precisely, when the perturbation changes the rank, one has the lower bound [43 ]
∥ P ^ τ + − P + ∥ o p ≥ 1 τ ∥ Ξ ^ ∥ o p . (81) \left\|\widehat{P}_{\tau}^{+}-P^{+}\right\|_{\mathrm{op}}\geq\frac{1}{\tau\left\|\widehat{\Xi}\right\|_{\mathrm{op}}}. \tag*{(81)} P τ + − P + op ≥ τ Ξ op 1 . (81)
For finite-dimensional matrices, continuity of the pseudoinverse is equivalent to the rank being stable under the perturbation. However, the stochastic setting considered here generally does cause the rank to increase, being P P P has rank at most d 2 d^2 d 2 , while shot noise makes P ^ \hat{P} P ^ have maximal rank min ( n t r , n o u t ) \min(n_{\mathrm{tr}}, n_{\mathrm{out}}) min ( n tr , n out ) with high probability. Here and throughout, ∥ ⋅ ∥ o p \lVert\cdot\rVert_{\mathrm{op}} ∥ ⋅ ∥ op denotes the spectral norm, i.e. the largest singular value.
Rank-increasing perturbations for square matrices — We can show more explicitly the effects of the discontinuity leveraging the block formula in eq. (71) . Before discussing the rectangular case, consider first a symmetric singular matrix M M M that undergoes a rank-increasing perturbation M τ ≡ M + τ X M_{\tau} \equiv M+\tau X M τ ≡ M + τ X , and let x ∈ supp ( M ) x\in\operatorname{supp}(M) x ∈ supp ( M ) and y ∈ im ( M ) y\in\operatorname{im}(M) y ∈ im ( M ) . In a basis adapted to supp ( M ) ⊕ ker ( M ) \operatorname{supp}(M)\oplus\ker(M) supp ( M ) ⊕ ker ( M ) , we can write these as
M = ( M 11 0 0 0 ) , M τ = ( M 11 + τ X 11 τ X 12 τ X 21 τ X 22 ) , x = ( x 1 0 ) , y = ( y 1 0 ) . (82) M=\begin{pmatrix}M_{11}&0\\0&0\end{pmatrix},\qquad M_{\tau}=\begin{pmatrix}M_{11}+\tau X_{11}&\tau X_{12}\\\tau X_{21}&\tau X_{22}\end{pmatrix},\qquad x=\begin{pmatrix}x_1\\0\end{pmatrix},\qquad y=\begin{pmatrix}y_1\\0\end{pmatrix}. \tag*{(82)} M = ( M 11 0 0 0 ) , M τ = ( M 11 + τ X 11 τ X 21 τ X 12 τ X 22 ) , x = ( x 1 0 ) , y = ( y 1 0 ) . (82)
The Schur-complement identities in eq. (71) then give
x T M τ − 1 y = x 1 T ( M τ / τ X 22 ) − 1 y 1 = x 1 T [ M 11 + τ ( X / X 22 ) ] − 1 y 1 , (83) x^{T}M_{\tau}^{-1}y=x_1^{T}(M_{\tau}/\tau X_{22})^{-1}y_1=x_1^{T}[M_{11}+\tau(X/X_{22})]^{-1}y_1, \tag*{(83)} x T M τ − 1 y = x 1 T ( M τ / τ X 22 ) − 1 y 1 = x 1 T [ M 11 + τ ( X / X 22 ) ] − 1 y 1 , (83)
where X i j X_{ij} X ij are the blocks of X X X and X / X 22 ≡ X 11 − X 12 X 22 − 1 X 21 X/X_{22}\equiv X_{11}-X_{12}X_{22}^{-1}X_{21} X / X 22 ≡ X 11 − X 12 X 22 − 1 X 21 . Thus, to leading order in τ \tau τ , we have
x T M τ − 1 y = x 1 T M 11 + y 1 − τ x 1 T M 11 − 1 ( X / X 22 ) M 11 − 1 y 1 + O ( τ 2 ) . (84) x^{T}M_{\tau}^{-1}y=x_1^{T}M_{11}^{+}y_1-\tau x_1^{T}M_{11}^{-1}(X/X_{22})M_{11}^{-1}y_1+O(\tau^2). \tag*{(84)} x T M τ − 1 y = x 1 T M 11 + y 1 − τ x 1 T M 11 − 1 ( X / X 22 ) M 11 − 1 y 1 + O ( τ 2 ) . (84)
This can be compared to the naive perturbative expansion, which would have been x T M τ − 1 y = x 1 T M 11 + y 1 − τ x 1 T M 11 − 1 X 11 M 11 − 1 y 1 + O ( τ 2 ) x^{T}M_{\tau}^{-1}y=x_1^{T}M_{11}^{+}y_1-\tau x_1^{T}M_{11}^{-1}X_{11}M_{11}^{-1}y_1+O(\tau^2) x T M τ − 1 y = x 1 T M 11 + y 1 − τ x 1 T M 11 − 1 X 11 M 11 − 1 y 1 + O ( τ 2 ) . Thus, although the full pseudoinverse is discontinuous under a rank-increasing perturbation, the bilinear form x T M τ − 1 y x^{T}M_{\tau}^{-1}y x T M τ − 1 y remains continuous when x , y x,y x , y are only nonzero in the support of M M M . Nonetheless, the divergent block of M τ − 1 M_{\tau}^{-1} M τ − 1 changes the order-τ \tau τ correction by replacing X 11 X_{11} X 11 with X 11 − X 12 X 22 − 1 X 21 X_{11}-X_{12}X_{22}^{-1}X_{21} X 11 − X 12 X 22 − 1 X 21 .
Pseudoinverse of noisy probability matrices — Let us now specialize this observation to the probability matrix, with P ^ τ ≡ P + τ Ξ ^ \hat{P}_{\tau}\equiv P+\tau\hat{\Xi} P ^ τ ≡ P + τ Ξ ^ , τ ≡ N − 1 / 2 \tau\equiv N^{-1/2} τ ≡ N − 1/2 . Note that Ξ ^ \hat{\Xi} Ξ ^ does not depend on τ \tau τ in its first two moments, but might depend on it at higher order; for example, its third and higher cumulants are O ( N − 1 / 2 ) O(N^{-1/2}) O ( N − 1/2 ) . The dependence on N N N disappears from Ξ ^ \hat{\Xi} Ξ ^ only in the Gaussian limit N → ∞ N\to\infty N → ∞ . In the block coordinates introduced in section SM1.2, we write A i j ≡ U i T A V j A_{ij}\equiv U_i^{T}AV_j A ij ≡ U i T A V j , i , j = 1 , 2 i,j=1,2 i , j = 1 , 2 , and thus
P ^ τ ≡ ( U 1 T P ^ τ V 1 U 1 T P ^ τ V 2 U 2 T P ^ τ V 1 U 2 T P ^ τ V 2 ) = ( P 11 + τ Ξ ^ 11 τ Ξ ^ 12 τ Ξ ^ 21 τ Ξ ^ 22 ) . (85) \hat{P}_{\tau}\equiv\begin{pmatrix}U_1^{T}\hat{P}_{\tau}V_1&U_1^{T}\hat{P}_{\tau}V_2\\U_2^{T}\hat{P}_{\tau}V_1&U_2^{T}\hat{P}_{\tau}V_2\end{pmatrix}=\begin{pmatrix}P_{11}+\tau\hat{\Xi}_{11}&\tau\hat{\Xi}_{12}\\\tau\hat{\Xi}_{21}&\tau\hat{\Xi}_{22}\end{pmatrix}. \tag*{(85)} P ^ τ ≡ ( U 1 T P ^ τ V 1 U 2 T P ^ τ V 1 U 1 T P ^ τ V 2 U 2 T P ^ τ V 2 ) = ( P 11 + τ Ξ ^ 11 τ Ξ ^ 21 τ Ξ ^ 12 τ Ξ ^ 22 ) . (85)
We assume throughout that the empirical matrix is wide, n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out , and has full row rank after perturbation. The formulas in this formal expansion are conditional on Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 having full row rank and on the displayed inverses existing. This holds almost surely in the homogeneous Gaussian reference model when n t r > n o u t n_{\mathrm{tr}}>n_{\mathrm{out}} n tr > n out . For the true multinomial model, the probability of P ^ τ \hat{P}_{\tau} P ^ τ and Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 not having full row rank is nonzero, but decreases exponentially fast with n t r n_{\mathrm{tr}} n tr . When P ^ τ \hat{P}_{\tau} P ^ τ is full rank, the pseudoinverse is P ^ τ + = P ^ τ T ( P ^ τ P ^ τ T ) − 1 \hat{P}_{\tau}^{+}=\hat{P}_{\tau}^{T}(\hat{P}_{\tau}\hat{P}_{\tau}^{T})^{-1} P ^ τ + = P ^ τ T ( P ^ τ P ^ τ T ) − 1 , where
M ^ τ ≡ P ^ τ P ^ τ T = P P T + τ ( P Ξ ^ T + Ξ ^ P T ) + τ 2 Ξ ^ Ξ ^ T . (86) \hat{M}_{\tau}\equiv\hat{P}_{\tau}\hat{P}_{\tau}^{T}=PP^{T}+\tau(P\hat{\Xi}^{T}+\hat{\Xi}P^{T})+\tau^{2}\hat{\Xi}\hat{\Xi}^{T}. \tag*{(86)} M ^ τ ≡ P ^ τ P ^ τ T = P P T + τ ( P Ξ ^ T + Ξ ^ P T ) + τ 2 Ξ ^ Ξ ^ T . (86)
In the block decomposition the components of M ^ τ \hat{M}_{\tau} M ^ τ are, explicitly,
M ^ 11 = P P T + τ ( P Ξ ^ T + Ξ ^ P T ) 11 + τ 2 ∑ c = 1 2 Ξ ^ 1 c Ξ ^ 1 c T , M ^ 12 = τ P Ξ ^ 21 T + τ 2 ∑ c = 1 2 Ξ ^ 1 c Ξ ^ 2 c T , \hat{M}_{11}=PP^{T}+\tau(P\hat{\Xi}^{T}+\hat{\Xi}P^{T})_{11}+\tau^{2}\sum_{c=1}^{2}\hat{\Xi}_{1c}\hat{\Xi}_{1c}^{T},\qquad\hat{M}_{12}=\tau P\hat{\Xi}_{21}^{T}+\tau^{2}\sum_{c=1}^{2}\hat{\Xi}_{1c}\hat{\Xi}_{2c}^{T}, M ^ 11 = P P T + τ ( P Ξ ^ T + Ξ ^ P T ) 11 + τ 2 c = 1 ∑ 2 Ξ ^ 1 c Ξ ^ 1 c T , M ^ 12 = τ P Ξ ^ 21 T + τ 2 c = 1 ∑ 2 Ξ ^ 1 c Ξ ^ 2 c T ,
M ^ 21 = τ Ξ ^ 21 P T + τ 2 ∑ c = 1 2 Ξ ^ 2 c Ξ ^ 1 c T , M ^ 22 = τ 2 ∑ c = 1 2 Ξ ^ 2 c Ξ ^ 2 c T . (87) \hat{M}_{21}=\tau\hat{\Xi}_{21}P^{T}+\tau^{2}\sum_{c=1}^{2}\hat{\Xi}_{2c}\hat{\Xi}_{1c}^{T},\qquad\hat{M}_{22}=\tau^{2}\sum_{c=1}^{2}\hat{\Xi}_{2c}\hat{\Xi}_{2c}^{T}. \tag*{(87)} M ^ 21 = τ Ξ ^ 21 P T + τ 2 c = 1 ∑ 2 Ξ ^ 2 c Ξ ^ 1 c T , M ^ 22 = τ 2 c = 1 ∑ 2 Ξ ^ 2 c Ξ ^ 2 c T . (87)
where we suppressed for notational simplicity the subscript τ \tau τ on M ^ τ \hat{M}_{\tau} M ^ τ to write its blocks as M ^ a b \hat{M}_{ab} M ^ ab . From eq. (71) we know that ( M ^ − 1 ) 11 = ( M ^ / M ^ 22 ) − 1 (\hat{M}^{-1})_{11}=(\hat{M}/\hat{M}_{22})^{-1} ( M ^ − 1 ) 11 = ( M ^ / M ^ 22 ) − 1 and ( M ^ − 1 ) 22 = ( M ^ / M ^ 11 ) − 1 (\hat{M}^{-1})_{22}=(\hat{M}/\hat{M}_{11})^{-1} ( M ^ − 1 ) 22 = ( M ^ / M ^ 11 ) − 1 , where
M ^ / M ^ 11 ≡ M ^ 22 − M ^ 21 M ^ 11 − 1 M ^ 12 , ( M ^ / M ^ 22 ) ≡ M ^ 11 − M ^ 12 M ^ 22 − 1 M ^ 21 . (88) \hat{M}/\hat{M}_{11}\equiv\hat{M}_{22}-\hat{M}_{21}\hat{M}_{11}^{-1}\hat{M}_{12},\qquad(\hat{M}/\hat{M}_{22})\equiv\hat{M}_{11}-\hat{M}_{12}\hat{M}_{22}^{-1}\hat{M}_{21}. \tag*{(88)} M ^ / M ^ 11 ≡ M ^ 22 − M ^ 21 M ^ 11 − 1 M ^ 12 , ( M ^ / M ^ 22 ) ≡ M ^ 11 − M ^ 12 M ^ 22 − 1 M ^ 21 . (88)
More generally, we can write M ^ τ − 1 \hat{M}^{-1}_{\tau} M ^ τ − 1 as
M ^ τ − 1 = ( M ^ 11 − 1 + M ^ 11 − 1 M ^ 12 ( M ^ / M ^ 11 ) − 1 M ^ 21 M ^ 11 − 1 − M ^ 11 − 1 M ^ 12 ( M ^ / M ^ 11 ) − 1 − ( M ^ / M ^ 11 ) − 1 M ^ 21 M ^ 11 − 1 ( M ^ / M ^ 11 ) − 1 ) = ( ( M ^ / M ^ 22 ) − 1 − ( M ^ / M ^ 22 ) − 1 M ^ 12 M ^ 22 − 1 − M ^ 22 − 1 M ^ 21 ( M ^ / M ^ 22 ) − 1 M ^ 22 − 1 + M ^ 22 − 1 M ^ 21 ( M ^ / M ^ 22 ) − 1 M ^ 12 M ^ 22 − 1 ) . (89) \begin{aligned}
\hat{M}^{-1}_{\tau} =
\begin{pmatrix}
\hat{M}_{11}^{-1}+\hat{M}_{11}^{-1}\hat{M}_{12}(\hat{M}/\hat{M}_{11})^{-1}\hat{M}_{21}\hat{M}_{11}^{-1} & -\hat{M}_{11}^{-1}\hat{M}_{12}(\hat{M}/\hat{M}_{11})^{-1} \\
-(\hat{M}/\hat{M}_{11})^{-1}\hat{M}_{21}\hat{M}_{11}^{-1} & (\hat{M}/\hat{M}_{11})^{-1}
\end{pmatrix} \\
&=
\begin{pmatrix}
(\hat{M}/\hat{M}_{22})^{-1} & -(\hat{M}/\hat{M}_{22})^{-1}\hat{M}_{12}\hat{M}_{22}^{-1} \\
-\hat{M}_{22}^{-1}\hat{M}_{21}(\hat{M}/\hat{M}_{22})^{-1} & \hat{M}_{22}^{-1}+\hat{M}_{22}^{-1}\hat{M}_{21}(\hat{M}/\hat{M}_{22})^{-1}\hat{M}_{12}\hat{M}_{22}^{-1}
\end{pmatrix}. \tag*{(89)}
\end{aligned} M ^ τ − 1 = ( M ^ 11 − 1 + M ^ 11 − 1 M ^ 12 ( M ^ / M ^ 11 ) − 1 M ^ 21 M ^ 11 − 1 − ( M ^ / M ^ 11 ) − 1 M ^ 21 M ^ 11 − 1 − M ^ 11 − 1 M ^ 12 ( M ^ / M ^ 11 ) − 1 ( M ^ / M ^ 11 ) − 1 ) = ( ( M ^ / M ^ 22 ) − 1 − M ^ 22 − 1 M ^ 21 ( M ^ / M ^ 22 ) − 1 − ( M ^ / M ^ 22 ) − 1 M ^ 12 M ^ 22 − 1 M ^ 22 − 1 + M ^ 22 − 1 M ^ 21 ( M ^ / M ^ 22 ) − 1 M ^ 12 M ^ 22 − 1 ) . (89)
Simplification of Schur complements — To calculate perturbative orders for small τ \tau τ it is useful to simplify these expressions. From eqs. (87) and (88) we get
M ^ / M ^ 22 = [ P + τ ( Ξ ^ / Ξ ^ 22 ) ] Z ^ − 1 [ P + τ ( Ξ ^ / Ξ ^ 22 ) ] T + τ 2 Ξ ^ 12 Q ^ Ξ ^ 12 T , \hat{M}/\hat{M}_{22} = [P+\tau(\hat{\Xi}/\hat{\Xi}_{22})]\hat{Z}^{-1}[P+\tau(\hat{\Xi}/\hat{\Xi}_{22})]^{T}+\tau^{2}\hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^{T}, M ^ / M ^ 22 = [ P + τ ( Ξ ^ / Ξ ^ 22 )] Z ^ − 1 [ P + τ ( Ξ ^ / Ξ ^ 22 ) ] T + τ 2 Ξ ^ 12 Q ^ Ξ ^ 12 T ,
Z ^ ≡ I + Ξ ^ 21 T ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 , Ξ ^ / Ξ ^ 22 ≡ Ξ ^ 11 − Ξ ^ 12 Ξ ^ 22 + Ξ ^ 21 , Q ^ ≡ I − Ξ ^ 22 + Ξ ^ 22 . (90) \hat{Z}\equiv I+\hat{\Xi}_{21}^{T}(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1}\hat{\Xi}_{21},\qquad
\hat{\Xi}/\hat{\Xi}_{22}\equiv\hat{\Xi}_{11}-\hat{\Xi}_{12}\hat{\Xi}_{22}^{+}\hat{\Xi}_{21},\qquad
\hat{Q}\equiv I-\hat{\Xi}_{22}^{+}\hat{\Xi}_{22}. \tag*{(90)} Z ^ ≡ I + Ξ ^ 21 T ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 , Ξ ^ / Ξ ^ 22 ≡ Ξ ^ 11 − Ξ ^ 12 Ξ ^ 22 + Ξ ^ 21 , Q ^ ≡ I − Ξ ^ 22 + Ξ ^ 22 . (90)
Here we introduced the generalized Schur complement of the perturbation Ξ ^ / Ξ ^ 22 \hat{\Xi}/\hat{\Xi}_{22} Ξ ^ / Ξ ^ 22 , and the operator Q ^ \hat{Q} Q ^ , which projects onto the kernel of Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 and therefore captures the correction that is present in the rectangular case and vanishes when Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 is square and full rank. At order τ 0 \tau^{0} τ 0 this becomes
M ^ / M ^ 22 ∣ τ = 0 = P P T − P Ξ ^ 21 T ( Ξ ^ 21 Ξ ^ 21 T + Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 P T = P ( I + Ξ ^ 21 T ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 ) − 1 P T , (91) \left.\hat{M}/\hat{M}_{22}\right|_{\tau=0}=PP^{T}-P\hat{\Xi}_{21}^{T}(\hat{\Xi}_{21}\hat{\Xi}_{21}^{T}+\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1}\hat{\Xi}_{21}P^{T}=P(I+\hat{\Xi}_{21}^{T}(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1}\hat{\Xi}_{21})^{-1}P^{T}, \tag*{(91)} M ^ / M ^ 22 τ = 0 = P P T − P Ξ ^ 21 T ( Ξ ^ 21 Ξ ^ 21 T + Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 P T = P ( I + Ξ ^ 21 T ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 ) − 1 P T , (91)
where we used the Woodbury identity I − A T ( A A T + Q ) − 1 A = ( I + A T Q − 1 A ) − 1 I-A^{T}(AA^{T}+Q)^{-1}A=(I+A^{T}Q^{-1}A)^{-1} I − A T ( A A T + Q ) − 1 A = ( I + A T Q − 1 A ) − 1 . Similar manipulations are used to derive the rest of eq. (90) . We now use these expressions to perform a perturbative analysis of the pseudoinverse P ^ τ + = P ^ τ T M ^ τ − 1 \hat{P}_{\tau}^{+}=\hat{P}_{\tau}^{T}\hat{M}_{\tau}^{-1} P ^ τ + = P ^ τ T M ^ τ − 1 . We have
( P ^ τ + ) 11 = ( P T + τ Ξ ^ 11 T ) ( M ^ τ − 1 ) 11 + τ Ξ ^ 21 T ( M ^ τ − 1 ) 21 = ( P T + τ Ξ ^ 11 T − τ Ξ ^ 21 T M ^ 22 − 1 M ^ 21 ) ( M ^ / M ^ 22 ) − 1 = P + − τ P + ( Ξ ^ / Ξ ^ 22 ) P + + τ 2 P + ( Ξ ^ / Ξ ^ 22 ) P + ( Ξ ^ / Ξ ^ 22 ) P + − τ 2 P + Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Z ^ P + + O ( τ 3 ) . (92) \begin{aligned}
(\hat{P}_{\tau}^{+})_{11}=(P^{T}+\tau\hat{\Xi}_{11}^{T})(\hat{M}_{\tau}^{-1})_{11}+\tau\hat{\Xi}_{21}^{T}(\hat{M}_{\tau}^{-1})_{21}=(P^{T}+\tau\hat{\Xi}_{11}^{T}-\tau\hat{\Xi}_{21}^{T}\hat{M}_{22}^{-1}\hat{M}_{21})(\hat{M}/\hat{M}_{22})^{-1} \\
&=P^{+}-\tau P^{+}(\hat{\Xi}/\hat{\Xi}_{22})P^{+}+\tau^{2}P^{+}(\hat{\Xi}/\hat{\Xi}_{22})P^{+}(\hat{\Xi}/\hat{\Xi}_{22})P^{+}-\tau^{2}P^{+}\hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{Z}P^{+}+O(\tau^{3}). \tag*{(92)}
\end{aligned} ( P ^ τ + ) 11 = ( P T + τ Ξ ^ 11 T ) ( M ^ τ − 1 ) 11 + τ Ξ ^ 21 T ( M ^ τ − 1 ) 21 = ( P T + τ Ξ ^ 11 T − τ Ξ ^ 21 T M ^ 22 − 1 M ^ 21 ) ( M ^ / M ^ 22 ) − 1 = P + − τ P + ( Ξ ^ / Ξ ^ 22 ) P + + τ 2 P + ( Ξ ^ / Ξ ^ 22 ) P + ( Ξ ^ / Ξ ^ 22 ) P + − τ 2 P + Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Z ^ P + + O ( τ 3 ) . (92)
This ( 1 , 1 ) (1,1) ( 1 , 1 ) block of P ^ τ + \hat{P}_{\tau}^{+} P ^ τ + is particularly important as it is the only part of P ^ τ + \hat{P}_{\tau}^{+} P ^ τ + that enters predictions in the limit of infinite test statistics and exact targets. In the square case, when Q ^ = 0 \hat{Q}=0 Q ^ = 0 , this expression reduces to [ P + τ ( Ξ ^ / Ξ ^ 22 ) ] − 1 [P+\tau(\hat{\Xi}/\hat{\Xi}_{22})]^{-1} [ P + τ ( Ξ ^ / Ξ ^ 22 ) ] − 1 , which can be expanded as
[ P + τ ( Ξ ^ / Ξ ^ 22 ) ] − 1 = ∑ i = 0 ∞ [ − τ P − 1 ( Ξ ^ / Ξ ^ 22 ) ] i P − 1 . (93) [P+\tau(\hat{\Xi}/\hat{\Xi}_{22})]^{-1}=\sum_{i=0}^{\infty}[-\tau P^{-1}(\hat{\Xi}/\hat{\Xi}_{22})]^{i}P^{-1}. \tag*{(93)} [ P + τ ( Ξ ^ / Ξ ^ 22 ) ] − 1 = i = 0 ∑ ∞ [ − τ P − 1 ( Ξ ^ / Ξ ^ 22 ) ] i P − 1 . (93)
This expansion is convergent whenever τ ∥ P − 1 ( Ξ ^ / Ξ ^ 22 ) ∥ o p < 1 \tau\lVert P^{-1}(\hat{\Xi}/\hat{\Xi}_{22})\rVert_{\mathrm{op}}<1 τ ∥ P − 1 ( Ξ ^ / Ξ ^ 22 ) ∥ op < 1 . We can similarly compute the expressions for the other components of the pseudoinverse:
( P ^ τ + ) 12 = − [ P − 1 − τ P − 1 ( Ξ ^ / Ξ ^ 22 ) P − 1 ] Ξ ^ 12 Ξ ^ 22 + + τ P − 1 Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 + O ( τ 2 ) (\hat{P}_{\tau}^{+})_{12}=-\left[P^{-1}-\tau P^{-1}(\hat{\Xi}/\hat{\Xi}_{22})P^{-1}\right]\hat{\Xi}_{12}\hat{\Xi}_{22}^{+}+\tau P^{-1}\hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{\Xi}_{21}(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1}+O(\tau^{2}) ( P ^ τ + ) 12 = − [ P − 1 − τ P − 1 ( Ξ ^ / Ξ ^ 22 ) P − 1 ] Ξ ^ 12 Ξ ^ 22 + + τ P − 1 Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 + O ( τ 2 )
( P ^ τ + ) 21 = − Ξ ^ 22 + Ξ ^ 21 [ P − 1 − τ P − 1 ( Ξ ^ / Ξ ^ 22 ) P − 1 ] + τ Q ^ Ξ ^ 12 T P − T Z ^ P − 1 + O ( τ 2 ) , (\hat{P}_{\tau}^{+})_{21}=-\hat{\Xi}_{22}^{+}\hat{\Xi}_{21}\left[P^{-1}-\tau P^{-1}(\hat{\Xi}/\hat{\Xi}_{22})P^{-1}\right]+\tau\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{Z}P^{-1}+O(\tau^{2}), ( P ^ τ + ) 21 = − Ξ ^ 22 + Ξ ^ 21 [ P − 1 − τ P − 1 ( Ξ ^ / Ξ ^ 22 ) P − 1 ] + τ Q ^ Ξ ^ 12 T P − T Z ^ P − 1 + O ( τ 2 ) ,
( P ^ τ + ) 22 = Ξ ^ 22 + τ + Ξ ^ 22 + Ξ ^ 21 P − 1 Ξ ^ 12 Ξ ^ 22 + − Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 + O ( τ ) . (94) (\hat{P}_{\tau}^{+})_{22}=\frac{\hat{\Xi}_{22}^{+}}{\tau}+\hat{\Xi}_{22}^{+}\hat{\Xi}_{21}P^{-1}\hat{\Xi}_{12}\hat{\Xi}_{22}^{+}-\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{\Xi}_{21}(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1}+O(\tau). \tag*{(94)} ( P ^ τ + ) 22 = τ Ξ ^ 22 + + Ξ ^ 22 + Ξ ^ 21 P − 1 Ξ ^ 12 Ξ ^ 22 + − Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 + O ( τ ) . (94)
Note the asymmetry in the corrections for ( P ^ τ + ) 12 (\hat{P}_{\tau}^{+})_{12} ( P ^ τ + ) 12 and ( P ^ τ + ) 21 (\hat{P}_{\tau}^{+})_{21} ( P ^ τ + ) 21 . This is caused by the asymmetric nature of the problem, due to the difference in the number of rows and columns of P ^ N \hat{P}_{N} P ^ N . The off-diagonal blocks ( P ^ τ + ) 12 (\hat{P}_{\tau}^{+})_{12} ( P ^ τ + ) 12 and ( P ^ τ + ) 21 (\hat{P}_{\tau}^{+})_{21} ( P ^ τ + ) 21 have finite limits as τ → 0 \tau\to0 τ → 0 . By contrast, the singular contribution is localized in the ( 2 , 2 ) (2,2) ( 2 , 2 ) block, which contains the divergent term τ − 1 Ξ ^ 22 + \tau^{-1}\hat{\Xi}_{22}^{+} τ − 1 Ξ ^ 22 + . This is the expected discontinuity of the pseudoinverse when the perturbation populates directions outside the row and column spaces of the unperturbed matrix.
In conclusion, the perturbative expansion of P ^ τ + \hat{P}_{\tau}^{+} P ^ τ + coincides with that of the square case upon replacing Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 with Ξ ^ 22 + \hat{\Xi}_{22}^{+} Ξ ^ 22 + in the Schur complements, up to rectangular corrections whose leading orders are
Δ Q ^ P ^ τ + = ( − τ 2 P − 1 Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Z ^ P − 1 τ P − 1 Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 τ Q ^ Ξ ^ 12 T P − T Z ^ P − 1 − Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 ) + subleading terms depending on Q ^ . (95) \Delta_{\hat{Q}}\hat{P}_{\tau}^{+}=
\begin{pmatrix}
-\tau^{2}P^{-1}\hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{Z}P^{-1} &
\tau P^{-1}\hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{\Xi}_{21}(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1} \\
\tau\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{Z}P^{-1} &
-\hat{Q}\hat{\Xi}_{12}^{T}P^{-T}\hat{\Xi}_{21}(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T})^{-1}
\end{pmatrix}
+\text{subleading terms depending on }\hat{Q}. \tag*{(95)} Δ Q ^ P ^ τ + = ( − τ 2 P − 1 Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Z ^ P − 1 τ Q ^ Ξ ^ 12 T P − T Z ^ P − 1 τ P − 1 Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 − Q ^ Ξ ^ 12 T P − T Ξ ^ 21 ( Ξ ^ 22 Ξ ^ 22 T ) − 1 ) + subleading terms depending on Q ^ . (95)
When n t r = n o u t n_{\mathrm{tr}}=n_{\mathrm{out}} n tr = n out and Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 is nonsingular, Q ^ = 0 \hat{Q}=0 Q ^ = 0 and these corrections vanish. Nonsingularity holds almost surely in the continuous Gaussian reference model; for finite multinomial noise it is an event whose probability must be controlled rather than an identity.
Homogeneous Gaussian noise model
This section evaluates the random coefficients in the perturbative prediction error under the homogeneous Gaussian reference model used in § 6 . We first derive the conditional laws of the generalized Schur complement and of the term containing Q ^ \hat{Q} Q ^ . We then use these laws to compute the mean and variance of the two coefficients in eq. (31) . Conditional on the training states, we assume
Ξ ^ ∼ M N ( 0 , Σ ‾ , I n t r ) , Σ ‾ = 1 n t r ∑ i = 1 n t r Σ i . (96) \hat{\Xi}\sim\mathcal{MN}(0,\overline{\Sigma},I_{n_{\mathrm{tr}}}),\qquad\overline{\Sigma}=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\Sigma_i. \tag*{(96)} Ξ ^ ∼ M N ( 0 , Σ , I n tr ) , Σ = n tr 1 i = 1 ∑ n tr Σ i . (96)
Thus the columns are independent Gaussian vectors with a common covariance. Note that Gaussian sampling and covariance homogeneity are separate assumptions: a large N N N naturally motivates Gaussian column fluctuations but does not make the state-dependent multinomial covariances equal. The fact that the homogeneous Gaussian model reproduces performances so well is thus due to specific features of the MSE, not to the empirical probability matrices for multinomial and homogeneous Gaussian models actually being close.
We keep d d d and n o u t n_{\mathrm{out}} n out fixed and let n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ , and assume the deterministic conditioning bounds
λ min ( Σ ‾ 22 ) ≥ κ 22 > 0 , λ min ( S 11 ) ≥ κ 11 > 0 , S 11 = P 11 P 11 T n t r . (97) \lambda_{\min}(\overline{\Sigma}_{22})\ge\kappa_{22}>0,\qquad\lambda_{\min}(S_{11})\ge\kappa_{11}>0,\qquad S_{11}=\frac{P_{11}P_{11}^T}{n_{\mathrm{tr}}}. \tag*{(97)} λ m i n ( Σ 22 ) ≥ κ 22 > 0 , λ m i n ( S 11 ) ≥ κ 11 > 0 , S 11 = n tr P 11 P 11 T . (97)
uniformly in n t r n_{\mathrm{tr}} n tr . The first bound concerns the covariance of the noise in the kernel block. The second concerns the noiseless feature matrix and is the frame-conditioning assumption used below. Since the eigenvalues of P 11 P 11 T P_{11}P_{11}^T P 11 P 11 T are the nonzero squared singular values of P P P , the frame-operator identity in § 13.4 gives the sufficient bound
λ min ( S 11 ) ≥ λ min ( F μ ) λ min ( F ρ n t r ) . (98) \lambda_{\min}(S_{11}) \ge\lambda_{\min}(\mathcal{F}_{\mu})\lambda_{\min}\left(\frac{\mathcal{F}_{\rho}}{n_{\mathrm{tr}}}\right). \tag*{(98)} λ m i n ( S 11 ) ≥ λ m i n ( F μ ) λ m i n ( n tr F ρ ) . (98)
Thus a fixed informationally complete POVM together with a family of training frames satisfying λ min ( F ρ / n t r ) > 0 \lambda_{\min}(\mathcal{F}_{\rho}/n_{\mathrm{tr}})>0 λ m i n ( F ρ / n tr ) > 0 uniformly in n t r n_{\mathrm{tr}} n tr implies the second condition in eq. (97) . Completeness of every finite training set alone would not be sufficient, since its lower frame bound could still tend to zero. For the balanced tight designs of eqs. (77) and (SM18), one obtains explicitly
λ min ( S 11 ) = 1 n o u t ( d + 1 ) 2 , (99) \lambda_{\min}(S_{11})=\frac{1}{n_{\mathrm{out}}(d+1)^2}, \tag*{(99)} λ m i n ( S 11 ) = n out ( d + 1 ) 2 1 , (99)
which is independent of n t r n_{\mathrm{tr}} n tr . The bound also holds with probability tending to one for independent Haar-random training states. Indeed, the rank-one superoperators P ( ρ i ) P(\rho_i) P ( ρ i ) are uniformly bounded and the operator space has fixed dimension d 2 d^2 d 2 . The entrywise law of large numbers and norm equivalence in fixed dimension therefore give, in operator norm,
F ρ n t r = I d + P ( I ) d ( d + 1 ) + o P ( 1 ) . (100) \frac{\mathcal{F}_{\rho}}{n_{\mathrm{tr}}}=\frac{I_d+P(I)}{d(d+1)}+o_P(1). \tag*{(100)} n tr F ρ = d ( d + 1 ) I d + P ( I ) + o P ( 1 ) . (100)
The smallest eigenvalue of the limiting operator is 1 / [ d ( d + 1 ) ] 1/[d(d+1)] 1/ [ d ( d + 1 )] . Consequently, for example, λ min ( F ρ / n t r ) ≥ 1 / [ 2 d ( d + 1 ) ] \lambda_{\min}(\mathcal{F}_{\rho}/n_{\mathrm{tr}})\ge1/[2d(d+1)] λ m i n ( F ρ / n tr ) ≥ 1/ [ 2 d ( d + 1 )] with probability tending to one. Together with eq. (98) , this proves the required uniform lower-frame bound for Haar-random training designs with probability tending to one. The block dimensions and the identity r = d 2 r=d^2 r = d 2 are those of section SM1.2.
Conditional Gaussian laws
The Gaussian model is useful only if it resolves the nonlinear inverse appearing in the perturbative coefficients. We do this by holding the lower blocks fixed: the upper-block residuals then have Gaussian laws, and orthogonal projections separate the Schur term from the kernel contribution. Assuming Σ ‾ 22 ≻ 0 \overline{\Sigma}_{22}\succ0 Σ 22 ≻ 0 and n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out ensures the lower block has full row rank almost surely; averaging its inverse will require the stronger threshold stated below.
Recall the two quantities entering these conditional laws:
Σ ‾ e f f = Σ ‾ 11 − Σ ‾ 12 Σ ‾ 22 − 1 Σ ‾ 21 , Z ^ = I r + Ξ ^ 21 T ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 . \overline{\Sigma}_{\mathrm{eff}}=\overline{\Sigma}_{11}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21},\qquad
\widehat{Z}=I_r+\widehat{\Xi}_{21}^{\mathsf{T}}\left(\widehat{\Xi}_{22}\widehat{\Xi}_{22}^{\mathsf{T}}\right)^{-1}\widehat{\Xi}_{21}. Σ eff = Σ 11 − Σ 12 Σ 22 − 1 Σ 21 , Z = I r + Ξ 21 T ( Ξ 22 Ξ 22 T ) − 1 Ξ 21 .
The first is the covariance Schur complement used above, and the second is the matrix introduced in eq. (90) . Moreover, Ξ ^ 22 = Σ ‾ 22 1 / 2 G ^ \widehat{\Xi}_{22}=\overline{\Sigma}_{22}^{1/2}\widehat{G} Ξ 22 = Σ 22 1/2 G , where G ^ ∈ R ( n o u t − r ) × ( n t r − r ) \widehat{G}\in\mathbb{R}^{(n_{\mathrm{out}}-r)\times(n_{\mathrm{tr}}-r)} G ∈ R ( n out − r ) × ( n tr − r ) has independent standard normal entries. Hence Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 has full row rank almost surely when n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out . It follows that Ξ ^ 22 T Ξ ^ 22 \widehat{\Xi}_{22}^{\mathsf{T}}\widehat{\Xi}_{22} Ξ 22 T Ξ 22 is the orthogonal projector onto the row space of Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 , whereas
Q ^ = I n t r − r − Ξ ^ 22 T Ξ ^ 22 (101) \widehat{Q}=I_{n_{\mathrm{tr}}-r}-\widehat{\Xi}_{22}^{\mathsf{T}}\widehat{\Xi}_{22} \tag*{(101)} Q = I n tr − r − Ξ 22 T Ξ 22 (101)
is the orthogonal projector onto ker ( Ξ ^ 22 ) \ker(\widehat{\Xi}_{22}) ker ( Ξ 22 ) . Since Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 has n o u t − r n_{\mathrm{out}}-r n out − r rows and n t r − r n_{\mathrm{tr}}-r n tr − r columns, the rank-nullity theorem gives rank ( Q ^ ) = n t r − n o u t \operatorname{rank}(\widehat{Q})=n_{\mathrm{tr}}-n_{\mathrm{out}} rank ( Q ) = n tr − n out . Conditioning on the lower blocks ( Ξ ^ 21 , Ξ ^ 22 ) (\widehat{\Xi}_{21},\widehat{\Xi}_{22}) ( Ξ 21 , Ξ 22 ) fixes both Q ^ \widehat{Q} Q and Z ^ \widehat{Z} Z , while leaving the Gaussian fluctuations in the upper blocks to be averaged.
Lemma 1 (Conditional laws of the Schur and Q Q Q terms). Assume eq. (96) and n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out . Conditional on ( Ξ ^ 21 , Ξ ^ 22 ) (\widehat{\Xi}_{21},\widehat{\Xi}_{22}) ( Ξ 21 , Ξ 22 ) ,
Ξ ^ 12 / Ξ ^ 22 ∼ M N ( 0 , Σ ‾ e f f , Z ^ ) , (102) \widehat{\Xi}_{12}/\widehat{\Xi}_{22}\sim\mathcal{MN}(0,\overline{\Sigma}_{\mathrm{eff}},\widehat{Z}), \tag*{(102)} Ξ 12 / Ξ 22 ∼ M N ( 0 , Σ eff , Z ) , (102) where Ξ ^ 12 Q ^ Ξ ^ 12 T \widehat{\Xi}_{12}\widehat{Q}\widehat{\Xi}_{12}^{\mathsf{T}} Ξ 12 Q Ξ 12 T has a Wishart distribution with scale Σ ‾ e f f \overline{\Sigma}_{\mathrm{eff}} Σ eff and n t r − n o u t n_{\mathrm{tr}}-n_{\mathrm{out}} n tr − n out degrees of freedom. The two random matrices in this statement are conditionally independent. Consequently,
E [ Ξ ^ 12 Q ^ Ξ ^ 12 T ∣ Ξ ^ 21 , Ξ ^ 22 ] = ( n t r − n o u t ) Σ ‾ e f f . (103) \mathbb{E}\left[\widehat{\Xi}_{12}\widehat{Q}\widehat{\Xi}_{12}^{\mathsf{T}}\mid\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right]=(n_{\mathrm{tr}}-n_{\mathrm{out}})\overline{\Sigma}_{\mathrm{eff}}. \tag*{(103)} E [ Ξ 12 Q Ξ 12 T ∣ Ξ 21 , Ξ 22 ] = ( n tr − n out ) Σ eff . (103) E [ Z ^ ] = n t r − r − 1 n t r − n o u t − 1 I r , n t r > n o u t + 1. (104) \mathbb{E}[\widehat{Z}]=\frac{n_{\mathrm{tr}}-r-1}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}I_r,\qquad n_{\mathrm{tr}}>n_{\mathrm{out}}+1. \tag*{(104)} E [ Z ] = n tr − n out − 1 n tr − r − 1 I r , n tr > n out + 1. (104)
Proof. The conditional-normal formula, applied separately to the first r r r and last n t r − r n_{\mathrm{tr}}-r n tr − r columns, gives [80 ] :
Ξ ^ 11 ∣ Ξ ^ 21 ∼ M N ( Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 21 , Σ ‾ e f f , I r ) , \widehat{\Xi}_{11}\mid\widehat{\Xi}_{21}\sim\mathcal{MN}\left(\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{21},\overline{\Sigma}_{\mathrm{eff}},I_r\right), Ξ 11 ∣ Ξ 21 ∼ M N ( Σ 12 Σ 22 − 1 Ξ 21 , Σ eff , I r ) ,
Ξ ^ 12 ∣ Ξ ^ 22 ∼ M N ( Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 , Σ ‾ e f f , I n t r − r ) . \widehat{\Xi}_{12}\mid\widehat{\Xi}_{22}\sim\mathcal{MN}\left(\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22},\overline{\Sigma}_{\mathrm{eff}},I_{n_{\mathrm{tr}}-r}\right). Ξ 12 ∣ Ξ 22 ∼ M N ( Σ 12 Σ 22 − 1 Ξ 22 , Σ eff , I n tr − r ) .
For a jointly Gaussian pair, the residual after subtracting the conditional mean is independent of the variable on which one conditions. Hence
Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 \widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22} Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22
is independent of Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 and has conditional mean zero. This can be seen directly, column by column, from
Cov ( Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 , Ξ ^ 22 ) = Σ ‾ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Σ ‾ 22 = 0. \operatorname{Cov}\left(\widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22},\widehat{\Xi}_{22}\right)=\overline{\Sigma}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{22}=0. Cov ( Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22 , Ξ 22 ) = Σ 12 − Σ 12 Σ 22 − 1 Σ 22 = 0.
zero cross-covariance implies independence because the pair is jointly Gaussian. The analogous statement holds for the residual formed from Ξ ^ 11 \widehat{\Xi}_{11} Ξ 11 and Ξ ^ 21 \widehat{\Xi}_{21} Ξ 21 . Moreover, the two residuals are independent of each other because the first r r r columns of Ξ ^ \widehat{\Xi} Ξ are independent of the last n t r − r n_{\mathrm{tr}}-r n tr − r columns. Consequently, even after conditioning on both lower blocks, the second term below has conditional mean
E [ ( Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 ) Ξ ^ 22 + Ξ ^ 21 | Ξ ^ 21 , Ξ ^ 22 ] = E [ Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 | Ξ ^ 22 ] Ξ ^ 22 + Ξ ^ 21 = 0. \mathbb{E}\left[\left(\widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22}\right)\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}\,\middle|\,\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right]
=\mathbb{E}\left[\widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22}\,\middle|\,\widehat{\Xi}_{22}\right]\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}=0. E [ ( Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22 ) Ξ 22 + Ξ 21 Ξ 21 , Ξ 22 ] = E [ Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22 Ξ 22 ] Ξ 22 + Ξ 21 = 0.
Here Ξ ^ 22 + Ξ ^ 21 \widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21} Ξ 22 + Ξ 21 is fixed under the conditioning.
The conditional mean of the generalized Schur complement can also be checked directly:
E [ Ξ ^ / Ξ ^ 22 | Ξ ^ 21 , Ξ ^ 22 ] = Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 21 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 Ξ ^ 22 + Ξ ^ 21 = 0. \mathbb{E}\left[\widehat{\Xi}/\widehat{\Xi}_{22}\,\middle|\,\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right]
=\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{21}
-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22}\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}=0. E [ Ξ / Ξ 22 Ξ 21 , Ξ 22 ] = Σ 12 Σ 22 − 1 Ξ 21 − Σ 12 Σ 22 − 1 Ξ 22 Ξ 22 + Ξ 21 = 0.
where the last equality uses Ξ ^ 22 Ξ ^ 22 + = I n o u t − r \widehat{\Xi}_{22}\widehat{\Xi}_{22}^{+}=I_{n_{\mathrm{out}}-r} Ξ 22 Ξ 22 + = I n out − r . Equivalently, subtracting the two conditional means gives the centered representation
Ξ ^ / Ξ ^ 22 = ( Ξ ^ 11 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 21 ) − ( Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 ) Ξ ^ 22 + Ξ ^ 21 . \widehat{\Xi}/\widehat{\Xi}_{22}
=\left(\widehat{\Xi}_{11}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{21}\right)
-\left(\widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22}\right)\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}. Ξ / Ξ 22 = ( Ξ 11 − Σ 12 Σ 22 − 1 Ξ 21 ) − ( Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22 ) Ξ 22 + Ξ 21 .
The first centered matrix in the last display has column covariance I r I_r I r ; the second is independent of it and, after right multiplication by Ξ ^ 22 + Ξ ^ 21 \widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21} Ξ 22 + Ξ 21 , has column covariance ( Ξ ^ 22 + Ξ ^ 21 ) T ( Ξ ^ 22 + Ξ ^ 21 ) \left(\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}\right)^{\mathsf T}\left(\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}\right) ( Ξ 22 + Ξ 21 ) T ( Ξ 22 + Ξ 21 ) . Therefore the column covariance of their difference is
I r + ( Ξ ^ 22 + Ξ ^ 21 ) T ( Ξ ^ 22 + Ξ ^ 21 ) = I r + Ξ ^ 21 T ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Ξ ^ 21 = Z ^ . I_r+\left(\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}\right)^{\mathsf T}\left(\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}\right)
=I_r+\widehat{\Xi}_{21}^{\mathsf T}\left(\widehat{\Xi}_{22}\widehat{\Xi}_{22}^{\mathsf T}\right)^{-1}\widehat{\Xi}_{21}=\widehat{Z}. I r + ( Ξ 22 + Ξ 21 ) T ( Ξ 22 + Ξ 21 ) = I r + Ξ 21 T ( Ξ 22 Ξ 22 T ) − 1 Ξ 21 = Z .
The row covariance remains Σ ‾ e f f \overline{\Sigma}_{\mathrm{eff}} Σ eff , which proves eq. (102) .
The same centered representation also exposes the Q ^ \widehat{Q} Q term. Since Ξ ^ 22 Q ^ = 0 \widehat{\Xi}_{22}\widehat{Q}=0 Ξ 22 Q = 0 and Q ^ 2 = Q ^ \widehat{Q}^{2}=\widehat{Q} Q 2 = Q , we have
Ξ ^ 12 Q ^ Ξ ^ 12 T = ( Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 ) Q ^ ( Ξ ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 22 ) T . \widehat{\Xi}_{12}\widehat{Q}\widehat{\Xi}_{12}^{\mathsf T}
=\left(\widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22}\right)\widehat{Q}\left(\widehat{\Xi}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\widehat{\Xi}_{22}\right)^{\mathsf T}. Ξ 12 Q Ξ 12 T = ( Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22 ) Q ( Ξ 12 − Σ 12 Σ 22 − 1 Ξ 22 ) T .
In an orthonormal basis that diagonalizes Q ^ \widehat{Q} Q , the nonzero part of the centered matrix in this display consists of rank( Q ^ ) = n t r − n o u t (\widehat{Q})=n_{\mathrm{tr}}-n_{\mathrm{out}} ( Q ) = n tr − n out independent Gaussian columns, each with covariance Σ ‾ e f f \overline{\Sigma}_{\mathrm{eff}} Σ eff . Their sum of outer products is therefore Wishart with the scale and degrees of freedom stated in the lemma.
It remains to justify the claimed conditional independence. In the Schur complement, the contribution from the centered Ξ ^ 12 \widehat{\Xi}_{12} Ξ 12 block is right-multiplied by Ξ ^ 22 + Ξ ^ 21 \widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21} Ξ 22 + Ξ 21 and hence depends only on its projection onto the row space of Ξ ^ 22 \widehat{\Xi}_{22} Ξ 22 . By contrast, the Wishart matrix in the preceding display depends only on its projection onto ker( Ξ ^ 22 ) (\widehat{\Xi}_{22}) ( Ξ 22 ) . These two projections are orthogonal, since
( Ξ ^ 22 + Ξ ^ 22 ) Q ^ = 0. \left(\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{22}\right)\widehat{Q}=0. ( Ξ 22 + Ξ 22 ) Q = 0.
The centered Ξ ^ 12 \widehat{\Xi}_{12} Ξ 12 block is matrix normal with identity column covariance, so its two orthogonal projections have zero cross-covariance and, being jointly Gaussian, are independent. The centered Ξ ^ 11 \widehat{\Xi}_{11} Ξ 11 block appearing in the Schur complement is independent of both because it consists of different columns. This proves the conditional independence of the two matrices in the lemma. Finally, the mean of a Wishart matrix is its number of degrees of freedom times its scale, which gives eq. (103) .
The upper-block calculation is complete, but the coefficient averages still contain Z ^ \hat{Z} Z ^ . Its mean is the point at which integrability of the random lower inverse enters. For eq. (104) , the two lower blocks are independent and Ξ ^ 22 Ξ ^ 22 T \hat{\Xi}_{22}\hat{\Xi}_{22}^{T} Ξ ^ 22 Ξ ^ 22 T is Wishart with scale Σ ˉ 22 \bar{\Sigma}_{22} Σ ˉ 22 and n t r − r n_{\mathrm{tr}}-r n tr − r degrees of freedom. Conditional on Ξ ^ 22 \hat{\Xi}_{22} Ξ ^ 22 , the r r r columns of Ξ ^ 21 \hat{\Xi}_{21} Ξ ^ 21 are independent with covariance Σ ˉ 22 \bar{\Sigma}_{22} Σ ˉ 22 . Consequently,
E [ Z ^ − I r ∣ Ξ ^ 22 ] = Tr [ ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Σ ˉ 22 ] I r . \mathbb{E}\left[\hat{Z}-I_r \mid\hat{\Xi}_{22}\right]=\operatorname{Tr}\left[\left(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T}\right)^{-1}\bar{\Sigma}_{22}\right]I_r. E [ Z ^ − I r ∣ Ξ ^ 22 ] = Tr [ ( Ξ ^ 22 Ξ ^ 22 T ) − 1 Σ ˉ 22 ] I r .
The inverse-Wishart identity
E [ ( Ξ ^ 22 Ξ ^ 22 T ) − 1 ] = Σ ˉ 22 − 1 n t r − n o u t − 1 ⇒ E [ Z ^ − I r ] = n o u t − r n t r − n o u t − 1 I r . \mathbb{E}\left[\left(\hat{\Xi}_{22}\hat{\Xi}_{22}^{T}\right)^{-1}\right]=\frac{\bar{\Sigma}_{22}^{-1}}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}
\quad\Rightarrow\quad
\mathbb{E}\left[\hat{Z}-I_r\right]=\frac{n_{\mathrm{out}}-r}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}I_r. E [ ( Ξ ^ 22 Ξ ^ 22 T ) − 1 ] = n tr − n out − 1 Σ ˉ 22 − 1 ⇒ E [ Z ^ − I r ] = n tr − n out − 1 n out − r I r .
Here the denominator is ( n t r − r ) − ( n o u t − r ) − 1 = n t r − n o u t − 1 (n_{\mathrm{tr}}-r)-(n_{\mathrm{out}}-r)-1=n_{\mathrm{tr}}-n_{\mathrm{out}}-1 ( n tr − r ) − ( n out − r ) − 1 = n tr − n out − 1 , and the numerator comes from Tr ( Σ ˉ 22 − 1 Σ ˉ 22 ) = n o u t − r \operatorname{Tr}(\bar{\Sigma}_{22}^{-1}\bar{\Sigma}_{22})=n_{\mathrm{out}}-r Tr ( Σ ˉ 22 − 1 Σ ˉ 22 ) = n out − r . Adding I r I_r I r and combining the two terms gives ( n t r − r − 1 ) / ( n t r − n o u t − 1 ) (n_{\mathrm{tr}}-r-1)/(n_{\mathrm{tr}}-n_{\mathrm{out}}-1) ( n tr − r − 1 ) / ( n tr − n out − 1 ) , as in eq. (104) ; see also [73 Chapter 3] .
Leading resource scalings
The truncated infinite statistics MSE in eq. (30) is expressed in terms of the scalar contractions w O T U 1 A k V 1 T ⟨ ρ ~ , σ ⟩ w_O^T U_1 A_k V_1^T\langle\tilde{\rho},\sigma\rangle w O T U 1 A k V 1 T ⟨ ρ ~ , σ ⟩ , k = 1 , 2 k=1,2 k = 1 , 2 , with prefactors N − 1 / 2 N^{-1/2} N − 1/2 and N − 1 N^{-1} N − 1 , where A 1 = − Ξ ^ / Ξ ^ 22 A_1=-\hat{\Xi}/\hat{\Xi}_{22} A 1 = − Ξ ^ / Ξ ^ 22 and A 2 = ( Ξ ^ / Ξ ^ 22 ) P 11 − 1 ( Ξ ^ / Ξ ^ 22 ) − Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Z ^ A_2=(\hat{\Xi}/\hat{\Xi}_{22})P_{11}^{-1}(\hat{\Xi}/\hat{\Xi}_{22})-\hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^T P^{-T}\hat{Z} A 2 = ( Ξ ^ / Ξ ^ 22 ) P 11 − 1 ( Ξ ^ / Ξ ^ 22 ) − Ξ ^ 12 Q ^ Ξ ^ 12 T P − T Z ^ . Their means, variances, and covariance determine the squared bias and the training variance. Conditional on the lower blocks, lemma 1 makes the Schur complement centered matrix-normal and Ξ ^ 12 Q ^ Ξ ^ 12 T \hat{\Xi}_{12}\hat{Q}\hat{\Xi}_{12}^T Ξ ^ 12 Q ^ Ξ ^ 12 T an independent Wishart matrix, so each of these moments is a Gaussian or Wishart moment at fixed Z ^ \hat{Z} Z ^ , subsequently averaged over the lower blocks. Lemma 2 below provides such means and variances, depending on the training frame, the test state, and the observable only through the two deterministic coefficients b h o m b_{\mathrm{hom}} b hom and V h o m V_{\mathrm{hom}} V hom given in eq. (106) .
Although both coefficients carry an explicit factor n t r n_{\mathrm{tr}} n tr in their definition, they are actually O ( 1 ) O(1) O ( 1 ) with respect to the number of training states. In fact, since S 11 = P 11 P 11 T / n t r S_{11}=P_{11}P_{11}^{T}/n_{\mathrm{tr}} S 11 = P 11 P 11 T / n tr , that condition implies σ min ( P 11 ) 2 ≥ κ 11 n t r \sigma_{\min}(P_{11})^2\geq\kappa_{11}n_{\mathrm{tr}} σ m i n ( P 11 ) 2 ≥ κ 11 n tr , and hence
∥ P 11 − 1 ∥ o p = 1 σ min ( P 11 ) ≤ 1 κ 11 n t r = O ( n t r − 1 / 2 ) , ∥ V 1 T [ ρ ~ , σ ] ∥ 2 ≤ ∥ p σ , 1 ∥ 2 κ 11 n t r ≤ 1 κ 11 n t r = O ( n t r − 1 / 2 ) . (105) \left\|P_{11}^{-1}\right\|_{\mathrm{op}}=\frac{1}{\sigma_{\min}(P_{11})}\leq\frac{1}{\sqrt{\kappa_{11}n_{\mathrm{tr}}}}=O(n_{\mathrm{tr}}^{-1/2}),\qquad\left\|V_1^T[\tilde{\rho},\sigma]\right\|_2\leq\frac{\left\|p_{\sigma,1}\right\|_2}{\sqrt{\kappa_{11}n_{\mathrm{tr}}}}\leq\frac{1}{\sqrt{\kappa_{11}n_{\mathrm{tr}}}}=O(n_{\mathrm{tr}}^{-1/2}). \tag*{(105)} P 11 − 1 op = σ m i n ( P 11 ) 1 ≤ κ 11 n tr 1 = O ( n tr − 1/2 ) , V 1 T [ ρ ~ , σ ] 2 ≤ κ 11 n tr ∥ p σ , 1 ∥ 2 ≤ κ 11 n tr 1 = O ( n tr − 1/2 ) . (105)
because V 1 T [ ρ ~ , σ ] = P 11 − 1 p σ , 1 V_1^T[\tilde{\rho},\sigma]=P_{11}^{-1}p_{\sigma,1} V 1 T [ ρ ~ , σ ] = P 11 − 1 p σ , 1 and ∥ p σ , 1 ∥ 2 ≤ ∥ p σ ∥ 2 ≤ 1 \left\|p_{\sigma,1}\right\|_2\leq\left\|p_\sigma\right\|_2\leq1 ∥ p σ , 1 ∥ 2 ≤ ∥ p σ ∥ 2 ≤ 1 . The last inequality uses that p σ p_\sigma p σ is a probability vector. In this notation, the coefficients introduced in § 6 read:
b h o m ≡ n t r w O T U 1 Σ ˉ e f f P 11 − T V 1 T [ ρ ~ , σ ] , b_{\mathrm{hom}}\equiv n_{\mathrm{tr}}w_O^T U_1\bar{\Sigma}_{\mathrm{eff}}P_{11}^{-T}V_1^T[\tilde{\rho},\sigma], b hom ≡ n tr w O T U 1 Σ ˉ eff P 11 − T V 1 T [ ρ ~ , σ ] ,
V h o m ≡ n t r ∥ V 1 T [ ρ ~ , σ ] ∥ 2 2 w O T U 1 Σ ˉ e f f U 1 T w O . (106) V_{\mathrm{hom}}\equiv n_{\mathrm{tr}}\left\|V_1^T[\tilde{\rho},\sigma]\right\|_2^2w_O^T U_1\bar{\Sigma}_{\mathrm{eff}}U_1^T w_O. \tag*{(106)} V hom ≡ n tr V 1 T [ ρ ~ , σ ] 2 2 w O T U 1 Σ ˉ eff U 1 T w O . (106)
The explicit factor n t r n_{\mathrm{tr}} n tr in b h o m b_{\mathrm{hom}} b hom is canceled by the two O ( n t r − 1 / 2 ) O(n_{\mathrm{tr}}^{-1/2}) O ( n tr − 1/2 ) factors just identified. In V h o m V_{\mathrm{hom}} V hom , it is canceled by the squared norm of the dual-frame vector. Since d d d and n o u t n_{\mathrm{out}} n out are fixed, the remaining contractions are bounded under the stated assumptions, and hence b h o m , V h o m = O ( 1 ) b_{\mathrm{hom}},V_{\mathrm{hom}}=O(1) b hom , V hom = O ( 1 ) .
Lemma 2 (Moments of the two perturbative coefficients). For n t r > n o u t + 3 n_{\mathrm{tr}}>n_{\mathrm{out}}+3 n tr > n out + 3 , the contractions appearing in eq. (30) satisfy
E [ w O T U 1 A 1 V 1 T [ ρ ~ , σ ] ] = 0 , (107) \mathbb{E}\left[w_O^T U_1 A_1 V_1^T[\tilde{\rho},\sigma]\right]=0, \tag*{(107)} E [ w O T U 1 A 1 V 1 T [ ρ ~ , σ ] ] = 0 , (107)
Var [ w O T U 1 A 1 V 1 T [ ρ ~ , σ ] ] = V h o m n t r n t r − r − 1 n t r − n o u t − 1 = V h o m n t r + O ( n t r − 2 ) , (108) \operatorname{Var}\left[w_O^T U_1 A_1 V_1^T[\tilde{\rho},\sigma]\right]=\frac{V_{\mathrm{hom}}}{n_{\mathrm{tr}}}\frac{n_{\mathrm{tr}}-r-1}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}=\frac{V_{\mathrm{hom}}}{n_{\mathrm{tr}}}+O(n_{\mathrm{tr}}^{-2}), \tag*{(108)} Var [ w O T U 1 A 1 V 1 T [ ρ ~ , σ ] ] = n tr V hom n tr − n out − 1 n tr − r − 1 = n tr V hom + O ( n tr − 2 ) , (108)
E [ w O T U 1 A 2 V 1 T [ ρ ~ , σ ] ] = − ( 1 − r + 1 n t r ) b h o m = − b h o m + O ( n t r − 1 ) , (109) \mathbb{E}\left[w_O^T U_1 A_2 V_1^T[\tilde{\rho},\sigma]\right]=-\left(1-\frac{r+1}{n_{\mathrm{tr}}}\right)b_{\mathrm{hom}}=-b_{\mathrm{hom}}+O(n_{\mathrm{tr}}^{-1}), \tag*{(109)} E [ w O T U 1 A 2 V 1 T [ ρ ~ , σ ] ] = − ( 1 − n tr r + 1 ) b hom = − b hom + O ( n tr − 1 ) , (109)
Var [ w O T U 1 A 2 V 1 T [ ρ ~ , σ ] ] = O ( n t r − 1 ) . (110) \operatorname{Var}\left[w_O^T U_1 A_2 V_1^T[\tilde{\rho},\sigma]\right]=O(n_{\mathrm{tr}}^{-1}). \tag*{(110)} Var [ w O T U 1 A 2 V 1 T [ ρ ~ , σ ] ] = O ( n tr − 1 ) . (110)
The covariance between the two displayed contractions is zero. The condition n t r > n o u t + 3 n_{\rm tr} > n_{\rm out} + 3 n tr > n out + 3 ensures that the second inverse-Wishart moment entering eq. (110) is finite; the mean formulas only require n t r > n o u t + 1 n_{\rm tr} > n_{\rm out} + 1 n tr > n out + 1 . In particular, the two contractions are respectively O P ( n t r − 1 / 2 ) O_{\mathrm{P}}(n_{\rm tr}^{-1/2}) O P ( n tr − 1/2 ) and − b + O P ( n t r − 1 / 2 ) -b + O_{\mathrm{P}}(n_{\rm tr}^{-1/2}) − b + O P ( n tr − 1/2 ) .
Proof. By eq. (31) , A 1 A_1 A 1 is minus the generalized Schur complement. Its conditional law in eq. (102) is centered, which proves eq. (107) after averaging over the lower blocks. The matrix-normal covariance rule gives, under the same conditioning,
Var [ w O T U 1 A 1 V 1 T ⟨ ρ ~ , σ ⟩ ∣ Ξ ^ 21 , Ξ ^ 22 ] = w O T U 1 Σ ‾ e f f U 1 T w O ( V 1 T ⟨ ρ ~ , σ ⟩ ) T Z ^ ( V 1 T ⟨ ρ ~ , σ ⟩ ) . \operatorname{Var}\left[w_{\mathrm{O}}^{T}U_1A_1V_1^{T}\langle\widetilde{\rho},\sigma\rangle\mathrel{\big|} \widehat{\Xi}_{21},\widehat{\Xi}_{22}\right] = w_{\mathrm{O}}^{T}U_1\overline{\Sigma}_{\mathrm{eff}}U_1^{T}w_{\mathrm{O}}\left(V_1^{T}\langle\widetilde{\rho},\sigma\rangle\right)^{T}\widehat{Z}\left(V_1^{T}\langle\widetilde{\rho},\sigma\rangle\right). Var [ w O T U 1 A 1 V 1 T ⟨ ρ , σ ⟩ Ξ 21 , Ξ 22 ] = w O T U 1 Σ eff U 1 T w O ( V 1 T ⟨ ρ , σ ⟩ ) T Z ( V 1 T ⟨ ρ , σ ⟩ ) .
Averaging this identity and inserting eq. (104) replaces Z ^ \widehat{Z} Z by a scalar multiple of I r I_r I r . The definition of V V V in eq. (106) then gives eq. (108) .
For the second coefficient, condition again on ( Ξ ^ 21 , Ξ ^ 22 ) (\widehat{\Xi}_{21},\widehat{\Xi}_{22}) ( Ξ 21 , Ξ 22 ) . If a matrix is matrix normal with row covariance Σ ‾ e f f \overline{\Sigma}_{\mathrm{eff}} Σ eff and column covariance Z ^ \widehat{Z} Z , its entries obey
E [ ( Ξ ^ / Ξ ^ 22 ) i a ( Ξ ^ / Ξ ^ 22 ) b j ∣ Ξ ^ 21 , Ξ ^ 22 ] = ( Σ ‾ e f f ) i b ( Z ^ ) a j . \mathbb{E}\left[\left(\widehat{\Xi}/\widehat{\Xi}_{22}\right)_{ia}\left(\widehat{\Xi}/\widehat{\Xi}_{22}\right)_{bj}\mathrel{\big|}\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right] = \left(\overline{\Sigma}_{\mathrm{eff}}\right)_{ib}\left(\widehat{Z}\right)_{aj}. E [ ( Ξ / Ξ 22 ) ia ( Ξ / Ξ 22 ) bj Ξ 21 , Ξ 22 ] = ( Σ eff ) ib ( Z ) aj .
Contracting the two inner indices therefore gives
E [ ( Ξ ^ / Ξ ^ 22 ) P 11 − 1 ( Ξ ^ / Ξ ^ 22 ) ∣ Ξ ^ 21 , Ξ ^ 22 ] = Σ ‾ e f f P 11 − T Z ^ . \mathbb{E}\left[\left(\widehat{\Xi}/\widehat{\Xi}_{22}\right)P_{11}^{-1}\left(\widehat{\Xi}/\widehat{\Xi}_{22}\right)\mathrel{\big|}\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right] = \overline{\Sigma}_{\mathrm{eff}}P_{11}^{-T}\widehat{Z}. E [ ( Ξ / Ξ 22 ) P 11 − 1 ( Ξ / Ξ 22 ) Ξ 21 , Ξ 22 ] = Σ eff P 11 − T Z .
On the other hand, the conditional Wishart law gives
E [ Ξ ^ 12 Ξ ^ 12 T P 11 − T Z ^ ∣ Ξ ^ 21 , Ξ ^ 22 ] = ( n t r − n o u t ) Σ ‾ e f f P 11 − T Z ^ . \mathbb{E}\left[\widehat{\Xi}_{12}\widehat{\Xi}_{12}^{T}P_{11}^{-T}\widehat{Z}\mathrel{\big|}\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right] = (n_{\rm tr}-n_{\rm out})\overline{\Sigma}_{\mathrm{eff}}P_{11}^{-T}\widehat{Z}. E [ Ξ 12 Ξ 12 T P 11 − T Z Ξ 21 , Ξ 22 ] = ( n tr − n out ) Σ eff P 11 − T Z .
The matrix Z ^ \widehat{Z} Z is fixed under the conditioning, so subtracting the two conditional means according to eq. (31) gives
E [ A 2 ∣ Ξ ^ 21 , Ξ ^ 22 ] = [ 1 − ( n t r − n o u t ) ] Σ ‾ e f f P 11 − T Z ^ = − ( n t r − n o u t − 1 ) Σ ‾ e f f P 11 − T Z ^ . \mathbb{E}\left[A_2\mathrel{\big|}\widehat{\Xi}_{21},\widehat{\Xi}_{22}\right] = \left[1-(n_{\rm tr}-n_{\rm out})\right]\overline{\Sigma}_{\mathrm{eff}}P_{11}^{-T}\widehat{Z} = -(n_{\rm tr}-n_{\rm out}-1)\overline{\Sigma}_{\mathrm{eff}}P_{11}^{-T}\widehat{Z}. E [ A 2 Ξ 21 , Ξ 22 ] = [ 1 − ( n tr − n out ) ] Σ eff P 11 − T Z = − ( n tr − n out − 1 ) Σ eff P 11 − T Z .
Now eq. (104) cancels the denominator n t r − n o u t − 1 n_{\rm tr}-n_{\rm out}-1 n tr − n out − 1 and yields
E [ A 2 ] = − ( n t r − r − 1 ) Σ ‾ e f f P 11 − T , \mathbb{E}[A_2] = -(n_{\rm tr}-r-1)\overline{\Sigma}_{\mathrm{eff}}P_{11}^{-T}, E [ A 2 ] = − ( n tr − r − 1 ) Σ eff P 11 − T ,
which is eq. (109) after contraction and use of eq. (106) : dividing n t r − r − 1 n_{\rm tr}-r-1 n tr − r − 1 by the factor n t r n_{\rm tr} n tr contained in b b b produces 1 − ( r + 1 ) / n t r 1-(r+1)/n_{\rm tr} 1 − ( r + 1 ) / n tr . This calculation also shows explicitly how the dependence on n o u t n_{\rm out} n out cancels between the Wishart degrees of freedom and the inverse-Wishart mean of Z ^ \widehat{Z} Z .
We next spell out the variance estimate. The second inverse-Wishart moment, which is finite for n t r > n o u t + 3 n_{\rm tr} > n_{\rm out} + 3 n tr > n out + 3 , implies
E [ ∥ Z ^ ∥ o p 2 ] = O ( 1 ) , E [ ∥ Z ^ − I r ∥ o p 2 ] = O ( n t r − 2 ) . \mathbb{E}\left[\lVert\widehat{Z}\rVert_{\mathrm{op}}^{2}\right] = O(1), \qquad\mathbb{E}\left[\lVert\widehat{Z}-I_r\rVert_{\mathrm{op}}^{2}\right] = O(n_{\rm tr}^{-2}). E [ ∥ Z ∥ op 2 ] = O ( 1 ) , E [ ∥ Z − I r ∥ op 2 ] = O ( n tr − 2 ) .
Together with eq. (105) , the vector multiplying the Wishart matrix on its right satisfies the second-moment bound
E [ ∥ P 11 − T Z ^ V 1 T ⟨ ρ ~ , σ ⟩ ∥ 2 2 ] = O ( n t r − 2 ) . \mathbb{E}\left[\left\lVert P_{11}^{-T}\widehat{Z}V_1^{T}\langle\widetilde{\rho},\sigma\rangle\right\rVert_{2}^{2}\right] = O(n_{\rm tr}^{-2}). E [ P 11 − T Z V 1 T ⟨ ρ , σ ⟩ 2 2 ] = O ( n tr − 2 ) .
In fixed dimension, a Wishart matrix with n t r − n o u t n_{\rm tr}-n_{\rm out} n tr − n out degrees of freedom has variance proportional to n t r − n o u t n_{\rm tr}-n_{\rm out} n tr − n out in every fixed scalar contraction. After the preceding right contraction, its centered part therefore contributes O ( n t r ⋅ n t r − 2 ) = O ( n t r − 1 ) O(n_{\rm tr}\cdot n_{\rm tr}^{-2})=O(n_{\rm tr}^{-1}) O ( n tr ⋅ n tr − 2 ) = O ( n tr − 1 ) to the variance. The fluctuation of its conditional mean caused by Z ^ − I r \widehat{Z}-I_r Z − I r contributes only O ( n t r − 2 ) O(n_{\rm tr}^{-2}) O ( n tr − 2 ) . For the first, Schur-complement term of A 2 A_2 A 2 , the conditional fourth Gaussian moment is bounded because E [ ∥ Z ^ ∥ o p 2 ] = O ( 1 ) \mathbb{E}[\lVert\widehat{Z}\rVert_{\mathrm{op}}^{2}]=O(1) E [∥ Z ∥ op 2 ] = O ( 1 ) . Its two deterministic contractions in eq. (105) supply a total factor O ( n t r − 1 ) O(n_{\rm tr}^{-1}) O ( n tr − 1 ) in amplitude, so its second moment is O ( n t r − 2 ) O(n_{\rm tr}^{-2}) O ( n tr − 2 ) . The Wishart fluctuation is therefore the leading random contribution, and eq. (110) follows.
Finally, condition on the lower blocks once more. The A 1 A_1 A 1 contraction is linear in the centered Gaussian Schur complement, whereas the first term of the A 2 A_2 A 2 contraction is quadratic in that same centered matrix. Their product has odd total degree and hence zero conditional expectation. The second term of A 2 A_2 A 2 depends on the orthogonal Gaussian projection that produces the Wishart matrix; by lemma 1 it is independent of the Schur complement. Since the conditional mean of the A 1 A_1 A 1 contraction is zero, this product also has zero conditional expectation. Averaging over the lower blocks proves that the two contractions have zero covariance. ▫
The two terms retained in eq. (30) therefore obey
E [ { w 0 T U 1 ( A 1 N + A 2 N ) V 1 T ⟨ ρ ~ , σ ⟩ } 2 ] = ( 1 − r + 1 n t r ) 2 b h o m 2 N 2 + V h o m N n t r n t r − r − 1 n t r − n o u t − 1 + O ( 1 N 2 n t r ) = b h o m 2 N 2 + V h o m N n t r + O ( 1 N 2 n t r + 1 N n t r 2 ) . (111) \begin{aligned}
\mathbb{E}\left[\left\{w_0^T U_1\left(\frac{A_1}{\sqrt{N}}+\frac{A_2}{N}\right)V_1^T\langle\tilde{\rho},\sigma\rangle\right\}^2\right]
=\left(1-\frac{r+1}{n_{\rm tr}}\right)^2\frac{b_{\rm hom}^2}{N^2}
+\frac{V_{\rm hom}}{N n_{\rm tr}}\frac{n_{\rm tr}-r-1}{n_{\rm tr}-n_{\rm out}-1}
+O\left(\frac{1}{N^2n_{\rm tr}}\right) \\
&=\frac{b_{\rm hom}^2}{N^2}+\frac{V_{\rm hom}}{Nn_{\rm tr}}+O\left(\frac{1}{N^2n_{\rm tr}}+\frac{1}{Nn_{\rm tr}^2}\right). \tag*{(111)}
\end{aligned} E [ { w 0 T U 1 ( N A 1 + N A 2 ) V 1 T ⟨ ρ ~ , σ ⟩ } 2 ] = ( 1 − n tr r + 1 ) 2 N 2 b hom 2 + N n tr V hom n tr − n out − 1 n tr − r − 1 + O ( N 2 n tr 1 ) = N 2 b hom 2 + N n tr V hom + O ( N 2 n tr 1 + N n tr 2 1 ) . (111)
In the first equality, the term proportional to b 2 b^2 b 2 is the squared mean of the N − 1 A 2 N^{-1}A_2 N − 1 A 2 contribution, while the term proportional to V V V is the variance of the centered N − 1 / 2 A 1 N^{-1/2}A_1 N − 1/2 A 1 contribution. The O ( N − 2 n t r − 1 ) O(N^{-2}n_{\rm tr}^{-1}) O ( N − 2 n tr − 1 ) term contains the variance of the A 2 A_2 A 2 contraction, and no mixed term remains because the two contractions have zero covariance. The second equality uses fixed d d d and n o u t n_{\rm out} n out and bounded b b b , V V V : both rational prefactors differ from one by O ( n t r − 1 ) O(n_{\rm tr}^{-1}) O ( n tr − 1 ) . This moment expansion concerns the first two coefficients of the fixed-realization expansion in N − 1 / 2 N^{-1/2} N − 1/2 . Standard inverse-Wishart moment bounds ensure integrability of every coefficient at any prescribed fixed order once n t r − n o u t n_{\rm tr}-n_{\rm out} n tr − n out is sufficiently large. Uniform control of the expansion remainder, as well as the result for the true multinomial model, is established in section SM4.
Target-noise corrections to the test and training variances
We now compute the two target-noise corrections introduced in eqs. (53) and (54) . The calculation uses the homogeneous Gaussian model eq. (96) and the block coordinates of section SM1.2. We write
Σ σ , 22 = U 2 T Σ σ U 2 , p σ , 1 = U 1 T p σ . (112) \Sigma_{\sigma,22}=U_2^T\Sigma_\sigma U_2,\qquad p_{\sigma,1}=U_1^T p_\sigma. \tag*{(112)} Σ σ , 22 = U 2 T Σ σ U 2 , p σ , 1 = U 1 T p σ . (112)
Lemma 3 (Gaussian target-noise corrections). Assume eqs. (96) and (SM37), n t r > n o u t + 3 n_{\rm tr}>n_{\rm out}+3 n tr > n out + 3 , and the independent Gaussian target-noise model in eq. (50) . For every fixed physical test vector p σ ∈ im ( P ) p_\sigma\in\operatorname{im}(P) p σ ∈ im ( P ) , the large-N N N corrections are
Δ Var t e s t ( η ) ( N , M , σ ) = N γ 2 M Tr ( Σ ˉ 22 − 1 Σ σ , 22 ) n t r − n o u t − 1 + O ( γ 2 N M ) (113) \Delta\operatorname{Var}_{\rm test}^{(\eta)}(N,M,\sigma)
=\frac{N\gamma^2}{M}\frac{\operatorname{Tr}\left(\bar{\Sigma}_{22}^{-1}\Sigma_{\sigma,22}\right)}{n_{\rm tr}-n_{\rm out}-1}
+O\left(\frac{\gamma^2\sqrt{N}}{M}\right) \tag*{(113)} Δ Var test ( η ) ( N , M , σ ) = M N γ 2 n tr − n out − 1 Tr ( Σ ˉ 22 − 1 Σ σ , 22 ) + O ( M γ 2 N ) (113) Δ Var t r ( η ) ( N , σ ) = γ 2 n t r − r − 1 n t r − n o u t − 1 ∥ P 11 − 1 p σ , 1 ∥ 2 + O ( γ 2 N ) . (114) \Delta\operatorname{Var}_{\rm tr}^{(\eta)}(N,\sigma)
=\gamma^2\frac{n_{\rm tr}-r-1}{n_{\rm tr}-n_{\rm out}-1}
\left\|P_{11}^{-1}p_{\sigma,1}\right\|^2
+O\left(\frac{\gamma^2}{\sqrt{N}}\right). \tag*{(114)} Δ Var tr ( η ) ( N , σ ) = γ 2 n tr − n out − 1 n tr − r − 1 P 11 − 1 p σ , 1 2 + O ( N γ 2 ) . (114) The leading coefficients themselves require only n t r > n o u t + 1 n_{\rm tr}>n_{\rm out}+1 n tr > n out + 1 ; the stronger condition stated above ensures that the moments entering the remainders are finite. The O ( ⋅ ) O(\cdot) O ( ⋅ ) terms are taken at fixed P P P , n t r n_{\rm tr} n tr , and n o u t n_{\rm out} n out . If the test ensemble satisfies E σ [ Σ σ ] = Σ ˉ \mathbb{E}_\sigma[\Sigma_\sigma]=\bar{\Sigma} E σ [ Σ σ ] = Σ ˉ , then
E σ [ Δ Var t e s t ( η ) ( N , M , σ ) ] = N γ 2 M n o u t − r n t r − n o u t − 1 + O ( γ 2 N M ) . (115) \mathbb{E}_\sigma\left[\Delta\operatorname{Var}_{\rm test}^{(\eta)}(N,M,\sigma)\right]
=\frac{N\gamma^2}{M}\frac{n_{\rm out}-r}{n_{\rm tr}-n_{\rm out}-1}
+O\left(\frac{\gamma^2\sqrt{N}}{M}\right). \tag*{(115)} E σ [ Δ Var test ( η ) ( N , M , σ ) ] = M N γ 2 n tr − n out − 1 n out − r + O ( M γ 2 N ) . (115)
Proof. We first separate the target fluctuations from the feature fluctuations. For any deterministic matrix A A A of compatible size, the conditional Gaussian covariance in eq. (50) gives
E η ^ [ η ^ T A η ^ ∣ Ξ ^ ] = γ 2 Tr ( A ) . (116) \mathbb{E}_{\hat{\eta}}\left[\hat{\eta}^{T}A\hat{\eta}\mid\hat{\Xi}\right]=\gamma^2\operatorname{Tr}(A). \tag*{(116)} E η ^ [ η ^ T A η ^ ∣ Ξ ^ ] = γ 2 Tr ( A ) . (116)
Taking A = P ^ N + Σ σ ( P ^ N + ) T / M A=\hat{P}_N^+\Sigma_\sigma(\hat{P}_N^+)^T/M A = P ^ N + Σ σ ( P ^ N + ) T / M gives the last line of eq. (53) . Taking instead A = P ^ N + p σ p σ T ( P ^ N + ) T A=\hat{P}_N^+p_\sigma p_\sigma^T(\hat{P}_N^+)^T A = P ^ N + p σ p σ T ( P ^ N + ) T and applying the law of total variance gives eq. (54) . The cross terms with the exact-target estimator vanish because E [ η ^ ∣ Ξ ^ ] = 0 \mathbb{E}[\hat{\eta}\mid\hat{\Xi}]=0 E [ η ^ ∣ Ξ ^ ] = 0 .
We now insert the large-N N N block expansion of the pseudoinverse already used in § 5 . In particular, eqs. (27) and (SM34) give
P ^ N + = N V 2 Ξ ^ 22 + U 2 T + O ( 1 ) . (117) \hat{P}_N^+=\sqrt{N}\,V_2\hat{\Xi}_{22}^{+}U_2^T+O(1). \tag*{(117)} P ^ N + = N V 2 Ξ ^ 22 + U 2 T + O ( 1 ) . (117)
Substitution in eq. (53) yields
Δ Var t e s t ( η ) ( N , M , σ ) = N γ 2 M E Ξ ^ Tr [ Ξ ^ 22 + Σ σ , 22 ( Ξ ^ 22 + ) T ] + O ( γ 2 N M ) . (118) \Delta\operatorname{Var}_{\rm test}^{(\eta)}(N,M,\sigma)
=\frac{N\gamma^2}{M}\mathbb{E}_{\hat{\Xi}}\operatorname{Tr}\left[\hat{\Xi}_{22}^{+}\Sigma_{\sigma,22}(\hat{\Xi}_{22}^{+})^T\right]
+O\left(\frac{\gamma^2\sqrt{N}}{M}\right). \tag*{(118)} Δ Var test ( η ) ( N , M , σ ) = M N γ 2 E Ξ ^ Tr [ Ξ ^ 22 + Σ σ , 22 ( Ξ ^ 22 + ) T ] + O ( M γ 2 N ) . (118)
The remainder comes from the cross products between the singular term in eq. (117) and the O ( 1 ) O(1) O ( 1 ) blocks. Its expectation is finite under the moment condition in the lemma.
To compute the leading coefficient, use the Gaussian factorization from § 15.1 ,
Ξ ^ 22 = Σ ‾ 22 1 / 2 G ^ , G ^ ∈ R ( n o u t − r ) × ( n t r − r ) , (119) \widehat{\Xi}_{22}=\overline{\Sigma}_{22}^{1/2}\widehat{G},\qquad\widehat{G}\in\mathbb{R}^{(n_{\mathrm{out}}-r)\times(n_{\mathrm{tr}}-r)}, \tag*{(119)} Ξ 22 = Σ 22 1/2 G , G ∈ R ( n out − r ) × ( n tr − r ) , (119)
where the entries of G ^ \widehat{G} G are independent standard normal variables. The matrix G ^ \widehat{G} G has full row rank almost surely and
Tr [ Ξ ^ 22 + Σ σ , 22 ( Ξ ^ 22 + ) T ] = Tr [ Σ ‾ 22 − 1 / 2 Σ σ , 22 Σ ‾ 22 − 1 / 2 ( G ^ G ^ T ) − 1 ] . (120) \operatorname{Tr}\left[\widehat{\Xi}_{22}^{+}\Sigma_{\sigma,22}\left(\widehat{\Xi}_{22}^{+}\right)^{\mathsf{T}}\right]=\operatorname{Tr}\left[\overline{\Sigma}_{22}^{-1/2}\Sigma_{\sigma,22}\overline{\Sigma}_{22}^{-1/2}\left(\widehat{G}\widehat{G}^{\mathsf{T}}\right)^{-1}\right]. \tag*{(120)} Tr [ Ξ 22 + Σ σ , 22 ( Ξ 22 + ) T ] = Tr [ Σ 22 − 1/2 Σ σ , 22 Σ 22 − 1/2 ( G G T ) − 1 ] . (120)
The matrix G ^ G ^ T \widehat{G}\widehat{G}^{\mathsf{T}} G G T is Wishart with n t r − r n_{\mathrm{tr}}-r n tr − r degrees of freedom and identity scale. Its inverse mean is [73 ]
E [ ( G ^ G ^ T ) − 1 ] = I n o u t − r n t r − n o u t − 1 . (121) \mathbb{E}\left[\left(\widehat{G}\widehat{G}^{\mathsf{T}}\right)^{-1}\right]=\frac{I_{n_{\mathrm{out}}-r}}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}. \tag*{(121)} E [ ( G G T ) − 1 ] = n tr − n out − 1 I n out − r . (121)
Substitution in eq. (118) proves eq. (113) . Averaging over σ \sigma σ replaces Σ σ , 22 \Sigma_{\sigma,22} Σ σ , 22 by Σ ‾ 22 \overline{\Sigma}_{22} Σ 22 , whose contraction with its inverse has trace n o u t − r n_{\mathrm{out}}-r n out − r , and proves eq. (115) .
For the training variance, the right multiplication by the physical vector p σ = U 1 p σ , 1 p_{\sigma}=U_{1}p_{\sigma,1} p σ = U 1 p σ , 1 projects out the singular ( 2 , 2 ) (2,2) ( 2 , 2 ) block. Defining a = P 11 − 1 p σ , 1 a=P_{11}^{-1}p_{\sigma,1} a = P 11 − 1 p σ , 1 , the ( 1 , 1 ) (1,1) ( 1 , 1 ) and ( 2 , 1 ) (2,1) ( 2 , 1 ) blocks of eqs. (92) and (SM34) give
P ^ N + p σ = V 1 a − V 2 Ξ ^ 22 + Ξ ^ 21 a + O ( N − 1 / 2 ) . (122) \widehat{P}_{N}^{+}p_{\sigma}=V_{1}a-V_{2}\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}a+O(N^{-1/2}). \tag*{(122)} P N + p σ = V 1 a − V 2 Ξ 22 + Ξ 21 a + O ( N − 1/2 ) . (122)
Since the two displayed terms belong to the orthogonal subspaces spanned by V 1 V_{1} V 1 and V 2 V_{2} V 2 , respectively, taking the squared norm and averaging gives
E Ξ ^ ∥ P ^ N + p σ ∥ 2 2 = ∥ a ∥ 2 2 + E Ξ ^ ∥ Ξ ^ 22 + Ξ ^ 21 a ∥ 2 2 + O ( N − 1 / 2 ) . (123) \mathbb{E}_{\widehat{\Xi}}\left\|\widehat{P}_{N}^{+}p_{\sigma}\right\|_{2}^{2}=\|a\|_{2}^{2}+\mathbb{E}_{\widehat{\Xi}}\left\|\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}a\right\|_{2}^{2}+O(N^{-1/2}). \tag*{(123)} E Ξ P N + p σ 2 2 = ∥ a ∥ 2 2 + E Ξ Ξ 22 + Ξ 21 a 2 2 + O ( N − 1/2 ) . (123)
The remaining average is already contained in the matrix Z ^ \widehat{Z} Z introduced in eq. (90) . Indeed,
∥ Ξ ^ 22 + Ξ ^ 21 a ∥ 2 2 = a T ( Z ^ − I r ) a . (124) \left\|\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}a\right\|_{2}^{2}=a^{\mathsf{T}}\left(\widehat{Z}-I_{r}\right)a. \tag*{(124)} Ξ 22 + Ξ 21 a 2 2 = a T ( Z − I r ) a . (124)
Using the exact Gaussian mean eq. (104) in eq. (124) gives
E Ξ ^ ∥ Ξ ^ 22 + Ξ ^ 21 a ∥ 2 2 = n o u t − r n t r − n o u t − 1 ∥ a ∥ 2 2 . (125) \mathbb{E}_{\widehat{\Xi}}\left\|\widehat{\Xi}_{22}^{+}\widehat{\Xi}_{21}a\right\|_{2}^{2}=\frac{n_{\mathrm{out}}-r}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}\|a\|_{2}^{2}. \tag*{(125)} E Ξ Ξ 22 + Ξ 21 a 2 2 = n tr − n out − 1 n out − r ∥ a ∥ 2 2 . (125)
Substituting this identity in eq. (123) yields
E Ξ ^ ∥ P ^ N + p σ ∥ 2 2 = ( 1 + n o u t − r n t r − n o u t − 1 ) ∥ a ∥ 2 2 + O ( N − 1 / 2 ) (126) \mathbb{E}_{\widehat{\Xi}}\left\|\widehat{P}_{N}^{+}p_{\sigma}\right\|_{2}^{2}=\left(1+\frac{n_{\mathrm{out}}-r}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}\right)\|a\|_{2}^{2}+O(N^{-1/2}) \tag*{(126)} E Ξ P N + p σ 2 2 = ( 1 + n tr − n out − 1 n out − r ) ∥ a ∥ 2 2 + O ( N − 1/2 ) (126)
= n t r − r − 1 n t r − n o u t − 1 ∥ P 11 − 1 p σ , 1 ∥ 2 2 + O ( N − 1 / 2 ) , (127) =\frac{n_{\mathrm{tr}}-r-1}{n_{\mathrm{tr}}-n_{\mathrm{out}}-1}\left\|P_{11}^{-1}p_{\sigma,1}\right\|_{2}^{2}+O(N^{-1/2}), \tag*{(127)} = n tr − n out − 1 n tr − r − 1 P 11 − 1 p σ , 1 2 2 + O ( N − 1/2 ) , (127)
which proves eq. (114) after multiplication by γ 2 \gamma^{2} γ 2 .
For comparison, if the feature matrix is known exactly, then P + p σ = V 1 P 11 − 1 p σ , 1 P^{+}p_{\sigma}=V_{1}P_{11}^{-1}p_{\sigma,1} P + p σ = V 1 P 11 − 1 p σ , 1 and target noise adds
Δ Var t r , e x a c t ( n ) ( σ ) = γ 2 ∥ P 11 − 1 p σ , 1 ∥ 2 2 . (128) \Delta\operatorname{Var}_{\mathrm{tr,exact}}^{(n)}(\sigma)=\gamma^{2}\left\|P_{11}^{-1}p_{\sigma,1}\right\|_{2}^{2}. \tag*{(128)} Δ Var tr , exact ( n ) ( σ ) = γ 2 P 11 − 1 p σ , 1 2 2 . (128)
At leading order, the rank-increasing feature noise therefore multiplies the exact-feature answer by ( n t r − r − 1 ) / ( n t r − n o u t − 1 ) (n_{\mathrm{tr}}-r-1)/(n_{\mathrm{tr}}-n_{\mathrm{out}}-1) ( n tr − r − 1 ) / ( n tr − n out − 1 ) . The frame bound in eq. (105) gives ∥ P 11 − 1 p σ , 1 ∥ 2 2 = O ( n t r − 1 ) \left\|P_{11}^{-1}p_{\sigma,1}\right\|_{2}^{2}=O(n_{\mathrm{tr}}^{-1}) P 11 − 1 p σ , 1 2 2 = O ( n tr − 1 ) , so this contribution is O ( γ 2 / n t r ) O(\gamma^{2}/n_{\mathrm{tr}}) O ( γ 2 / n tr ) for fixed d d d and n o u t n_{\mathrm{out}} n out . This is to be contrasted with eq. (115) , whose unnormalized test-variance contribution is O ( N γ 2 n o u t / ( M n t r ) ) O(N\gamma^{2}n_{\mathrm{out}}/(Mn_{\mathrm{tr}})) O ( N γ 2 n out / ( M n tr )) when n t r ≫ n o u t n_{\mathrm{tr}}\gg n_{\mathrm{out}} n tr ≫ n out .
Multinomial noise model: bias, linear fluctuation, and remainder
This section contains the proof of the MSE and resource-scaling result stated in § 7 , and is logically independent of the formal small-τ \tau τ expansion in section SM2. Both analyses use the exact wide-matrix identity P ^ + = P ^ T ( P ^ P ^ T ) − 1 \hat{P}^{+}=\hat{P}^{T}(\hat{P}\hat{P}^{T})^{-1} P ^ + = P ^ T ( P ^ P ^ T ) − 1 when P ^ \hat{P} P ^ has full row rank, and the block inverse formula eq. (71) , but none of the truncated expansions eqs. (92) and (SM34) is used below. Instead, we first eliminate the rank-increasing directions by an exact Schur complement and only then expand the resulting well-conditioned d 2 × d 2 d^{2}\times d^{2} d 2 × d 2 matrix. This order of operations enables a uniform high-probability bound on the remainder in the n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ regime, even for small N N N .
Basic assumptions — Throughout this proof, d d d and n o u t n_{\mathrm{out}} n out are fixed, the targets and test probabilities are exact, and all expectations are conditional on the training states. Each training state is measured with N ≥ 1 N\ge1 N ≥ 1 independent categorical draws, independently across states. No Gaussian or homogeneous-covariance approximation is used. We assume r ≡ rank ( P ) = d 2 < n o u t ≤ n t r r\equiv\operatorname{rank}(P)=d^{2}<n_{\mathrm{out}}\le n_{\mathrm{tr}} r ≡ rank ( P ) = d 2 < n out ≤ n tr and consider families of training sets for which there exist constants κ 11 , κ 22 > 0 \kappa_{11},\kappa_{22}>0 κ 11 , κ 22 > 0 , independent of N N N and n t r n_{\mathrm{tr}} n tr , such that
λ min [ F μ 1 / 2 F ρ n t r F μ 1 / 2 ] ≥ κ 11 , v T Σ ‾ v ≥ κ 22 ∥ v ∥ 2 2 for all v ∈ ker ( M μ ) , (129) \lambda_{\min}\left[\mathcal{F}_{\mu}^{1/2}\frac{\mathcal{F}_{\rho}}{n_{\mathrm{tr}}}\mathcal{F}_{\mu}^{1/2}\right]\ge\kappa_{11},\qquad v^{T}\overline{\Sigma}v\ge\kappa_{22}\lVert v\rVert_{2}^{2}\quad\text{for all }v\in\ker(M_{\mu}), \tag*{(129)} λ m i n [ F μ 1/2 n tr F ρ F μ 1/2 ] ≥ κ 11 , v T Σ v ≥ κ 22 ∥ v ∥ 2 2 for all v ∈ ker ( M μ ) , (129)
where Σ ‾ ≡ n t r − 1 ∑ i = 1 n t r Σ i \overline{\Sigma}\equiv n_{\mathrm{tr}}^{-1}\sum_{i=1}^{n_{\mathrm{tr}}}\Sigma_i Σ ≡ n tr − 1 ∑ i = 1 n tr Σ i and Σ i = E [ ξ ^ i ξ ^ i T ] \Sigma_i=\mathbb{E}[\hat{\xi}_i\hat{\xi}_i^{T}] Σ i = E [ ξ ^ i ξ ^ i T ] . The first condition ensures that the training states are well-conditioned and that even in the large n t r n_{\mathrm{tr}} n tr limit there are no operator directions that become increasingly less covered by the training states. The second condition requires instead the averaged shot-noise covariance to remain nondegenerate on the redundant outcome directions. A sufficient criterion to guarantee this is a uniform lower bound on the average training state: because v T p i = 0 v^{T}p_i=0 v T p i = 0 for v ∈ ker ( M μ ) v\in\ker(M_{\mu}) v ∈ ker ( M μ ) ,
v T Σ ‾ v = 1 n t r ∑ i = 1 n t r v T diag ( p i ) v = ∑ a = 1 n o u t v a 2 ⟨ μ a , ρ ‾ ⟩ ≥ c ( min a tr ( μ a ) ) ∥ v ∥ 2 2 , (130) v^{T}\overline{\Sigma}v=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}v^{T}\operatorname{diag}(p_i)v=\sum_{a=1}^{n_{\mathrm{out}}}v_a^{2}\langle\mu_a,\overline{\rho}\rangle\ge c\left(\min_a\operatorname{tr}(\mu_a)\right)\lVert v\rVert_{2}^{2}, \tag*{(130)} v T Σ v = n tr 1 i = 1 ∑ n tr v T diag ( p i ) v = a = 1 ∑ n out v a 2 ⟨ μ a , ρ ⟩ ≥ c ( a min tr ( μ a ) ) ∥ v ∥ 2 2 , (130)
where ρ ‾ ≡ n t r − 1 ∑ i = 1 n t r ρ i \overline{\rho}\equiv n_{\mathrm{tr}}^{-1}\sum_{i=1}^{n_{\mathrm{tr}}}\rho_i ρ ≡ n tr − 1 ∑ i = 1 n tr ρ i . Hence one may take c = λ min ( ρ ‾ ) c=\lambda_{\min}(\overline{\rho}) c = λ m i n ( ρ ) . A uniform κ 22 > 0 \kappa_{22}>0 κ 22 > 0 follows if λ min ( ρ ‾ ) \lambda_{\min}(\overline{\rho}) λ m i n ( ρ ) stays bounded away from zero and the fixed POVM has no zero effects. On the other hand, ρ ‾ > 0 \overline{\rho}>0 ρ > 0 is sufficient to guarantee κ 22 > 0 \kappa_{22}>0 κ 22 > 0 but not its independence from n o u t , n t r n_{\mathrm{out}},n_{\mathrm{tr}} n out , n tr . We also use the elementary uniform bound ∣ y i ∣ = ∣ ⟨ O , ρ i ⟩ ∣ ≤ ∥ O ∥ ∞ |y_i|=|\langle O,\rho_i\rangle|\le\lVert O\rVert_{\infty} ∣ y i ∣ = ∣ ⟨ O , ρ i ⟩ ∣ ≤ ∥ O ∥ ∞ in the concentration estimates, with B y ≡ max i ∣ y i ∣ B_y\equiv\max_i|y_i| B y ≡ max i ∣ y i ∣ introduced explicitly in eq. (159) .
The two main results that will be proved in this section are the following:
Theorem 3. Under the standing assumptions above, there exist constants u 0 ∈ ( 0 , 1 ] u_0\in(0,1] u 0 ∈ ( 0 , 1 ] and K g o o d , K b a d > 0 K_{\mathrm{good}},K_{\mathrm{bad}}>0 K good , K bad > 0 , independent of N N N and n t r n_{\mathrm{tr}} n tr , such that the following holds for every N ≥ 1 N\ge1 N ≥ 1 and n t r ≥ n o u t / u 0 n_{\mathrm{tr}}\ge n_{\mathrm{out}}/u_0 n tr ≥ n out / u 0 . We have
Δ o ^ = y T ( P ^ N + − P + ) p σ = − b N N + L ^ + R ^ , b N ≡ w T ω 0 μ 1 Σ e f f S e f f − 1 p σ , 1 , (131) \Delta\hat{o}=y^{T}(\hat{P}_{N}^{+}-P^{+})p_{\sigma}=-\frac{b_N}{N}+\hat{L}+\hat{R},\qquad b_N\equiv w^{T}\omega_0\mu_1\Sigma_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}p_{\sigma,1}, \tag*{(131)} Δ o ^ = y T ( P ^ N + − P + ) p σ = − N b N + L ^ + R ^ , b N ≡ w T ω 0 μ 1 Σ eff S eff − 1 p σ , 1 , (131) L ^ ≡ ( Δ c ℓ ^ e f f ) T S e f f − 1 p σ , 1 − ℓ 1 T S e f f − 1 ( Δ c S ^ e f f ) p e f f − 1 p σ , 1 , \hat{L}\equiv(\Delta_c\hat{\ell}_{\mathrm{eff}})^{T}S_{\mathrm{eff}}^{-1}p_{\sigma,1}-\ell_1^{T}S_{\mathrm{eff}}^{-1}(\Delta_c\hat{S}_{\mathrm{eff}})p_{\mathrm{eff}}^{-1}p_{\sigma,1}, L ^ ≡ ( Δ c ℓ ^ eff ) T S eff − 1 p σ , 1 − ℓ 1 T S eff − 1 ( Δ c S ^ eff ) p eff − 1 p σ , 1 , and R ^ ≡ Δ o ^ + b N / N − L ^ \hat{R}\equiv\Delta\hat{o}+b_N/N-\hat{L} R ^ ≡ Δ o ^ + b N / N − L ^ . These satisfy E [ L ^ ] = 0 \mathbb{E}[\hat{L}]=0 E [ L ^ ] = 0 , and
E [ L ^ 2 ] = V N N n t r + O ( 1 N 2 n t r ) , V N ≡ 1 n t r ∑ i = 1 n t r ( p i , 1 T S e f f − 1 p σ , 1 ) 2 Var i ( w e f f T ω ) , Var i ( w e f f T ω ) ≡ ( w e f f T Σ i w e f f ) , (132) \mathbb{E}[\hat{L}^{2}]=\frac{V_N}{Nn_{\mathrm{tr}}}+O\left(\frac{1}{N^{2}n_{\mathrm{tr}}}\right),\qquad V_N\equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}(p_{i,1}^{T}S_{\mathrm{eff}}^{-1}p_{\sigma,1})^{2}\operatorname{Var}_{i}(w_{\mathrm{eff}}^{T}\omega),\qquad\operatorname{Var}_{i}(w_{\mathrm{eff}}^{T}\omega)\equiv(w_{\mathrm{eff}}^{T}\Sigma_iw_{\mathrm{eff}}), \tag*{(132)} E [ L ^ 2 ] = N n tr V N + O ( N 2 n tr 1 ) , V N ≡ n tr 1 i = 1 ∑ n tr ( p i , 1 T S eff − 1 p σ , 1 ) 2 Var i ( w eff T ω ) , Var i ( w eff T ω ) ≡ ( w eff T Σ i w eff ) , (132) The remainder satisfies
E [ R ^ 2 ] ≤ R N , n t r ( 2 ) ≡ K g o o d n o u t 2 N n t r 2 + 16 K b a d n t r ( N n o u t ) 2 n o u t e − u 0 n t r + n o u t . (133) \mathbb{E}[\hat{R}^{2}]\le\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}\equiv\frac{K_{\mathrm{good}}n_{\mathrm{out}}^{2}}{Nn_{\mathrm{tr}}^{2}}+16K_{\mathrm{bad}}n_{\mathrm{tr}}(Nn_{\mathrm{out}})^{2n_{\mathrm{out}}}e^{-u_0n_{\mathrm{tr}}+n_{\mathrm{out}}}. \tag*{(133)} E [ R ^ 2 ] ≤ R N , n tr ( 2 ) ≡ N n tr 2 K good n out 2 + 16 K bad n tr ( N n out ) 2 n out e − u 0 n tr + n out . (133) Consequently,
∣ E [ Δ o ^ ] + b N N ∣ ≤ R N , n t r ( 2 ) , ∣ Var ( Δ o ^ ) − E [ L ^ 2 ] ∣ ≤ 2 E [ L ^ 2 ] R N , n t r ( 2 ) + R N , n t r ( 2 ) , \left|\mathbb{E}[\Delta\hat{o}]+\frac{b_N}{N}\right|\le\sqrt{\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}},\qquad\left|\operatorname{Var}(\Delta\hat{o})-\mathbb{E}[\hat{L}^{2}]\right|\le2\sqrt{\mathbb{E}[\hat{L}^{2}]\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}+\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}}, E [ Δ o ^ ] + N b N ≤ R N , n tr ( 2 ) , Var ( Δ o ^ ) − E [ L ^ 2 ] ≤ 2 E [ L ^ 2 ] R N , n tr ( 2 ) + R N , n tr ( 2 ) , ∣ E [ Δ o ^ 2 ] − b N 2 N 2 − E [ L ^ 2 ] ∣ ≤ 2 ( ∣ b N ∣ N + E [ L ^ 2 ] ) R N , n t r ( 2 ) + R N , n t r ( 2 ) . (134) \left|\mathbb{E}[\Delta\hat{o}^{2}]-\frac{b_N^{2}}{N^{2}}-\mathbb{E}[\hat{L}^{2}]\right|\le2\left(\frac{|b_N|}{N}+\sqrt{\mathbb{E}[\hat{L}^{2}]}\right)\sqrt{\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}}+\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}. \tag*{(134)} E [ Δ o ^ 2 ] − N 2 b N 2 − E [ L ^ 2 ] ≤ 2 ( N ∣ b N ∣ + E [ L ^ 2 ] ) R N , n tr ( 2 ) + R N , n tr ( 2 ) . (134) Thus the deterministic floor and the exact first-order fluctuation are controlled at arbitrary shot count, without a Gaussian approximation.
Theorem 4. Assume in addition that N , n t r → ∞ N,n_{\mathrm{tr}}\to\infty N , n tr → ∞ and n t r / log ( 2 + N ) → ∞ n_{\mathrm{tr}}/\log(2+N)\to\infty n tr / log ( 2 + N ) → ∞ , with d d d and n o u t n_{\mathrm{out}} n out fixed. Use Δ o ^ \Delta\hat{o} Δ o ^ and b N b_N b N as defined in eq. (131) . Then
E [ Δ o ^ 2 ] = b N 2 N 2 + V N N n t r + O ( 1 N 2 n t r + n o u t N 3 / 2 n t r + n o u t N n t r 3 / 2 + n o u t 2 N n t r 2 ) = b N 2 N 2 + V N N n t r + o ( N − 2 + ( N n t r ) − 1 ) . (135) \mathbb{E}[\Delta\hat{o}^{2}] = \frac{b_N^2}{N^2}+\frac{V_N}{Nn_{\mathrm{tr}}}+O\left(\frac{1}{N^2n_{\mathrm{tr}}}+\frac{n_{\mathrm{out}}}{N^{3/2}n_{\mathrm{tr}}}+\frac{n_{\mathrm{out}}}{Nn_{\mathrm{tr}}^{3/2}}+\frac{n_{\mathrm{out}}^2}{Nn_{\mathrm{tr}}^2}\right)=\frac{b_N^2}{N^2}+\frac{V_N}{Nn_{\mathrm{tr}}}+o\left(N^{-2}+(Nn_{\mathrm{tr}})^{-1}\right). \tag*{(135)} E [ Δ o ^ 2 ] = N 2 b N 2 + N n tr V N + O ( N 2 n tr 1 + N 3/2 n tr n out + N n tr 3/2 n out + N n tr 2 n out 2 ) = N 2 b N 2 + N n tr V N + o ( N − 2 + ( N n tr ) − 1 ) . (135)
The first term is the squared finite-shot population shift and the second is the training fluctuation. If ∣ b N ∣ |b_N| ∣ b N ∣ and V N V_N V N stay bounded above and away from zero, their crossover occurs at n t r ≍ N V N / b N 2 n_{\mathrm{tr}}\asymp NV_N/b_N^2 n tr ≍ N V N / b N 2 .
Section outline — In § 16.1 , we prove a decomposition Δ o ^ = B + L ^ + R ^ \Delta\hat{o}=B+\hat{L}+\hat{R} Δ o ^ = B + L ^ + R ^ of the infinite-test-statistics error Δ o ^ \Delta\hat{o} Δ o ^ into a deterministic component B B B , a centered fluctuation L ^ \hat{L} L ^ , and a remainder R ^ \hat{R} R ^ . We identify the deterministic bias component B B B in section SM4.2. In section SM4.3 we derive the form of the fluctuation term L ^ \hat{L} L ^ , show that it has zero average, and compute its variance. We then prove in § 16.4 that the remainder R ^ \hat{R} R ^ is subleading, conditionally on a stochastic event where the pseudoinverses are sufficiently well-conditioned. In § 16.5 we then prove that this event has high probability for large n t r n_{\mathrm{tr}} n tr . To conclude the bound on the MSE we only need to make sure that the stochastic events in which pseudoinverses are ill-conditioned do not make the MSE explode. We do this in § 16.6 , where we show that the divergence of R ^ \hat{R} R ^ in the exceptional realizations does not overcome the exponentially small probability of these events. This concludes the proof and provides us with an unconditional MSE bound for large n t r n_{\mathrm{tr}} n tr . A summary of the notation used in the proof is given in Table SM1 .
Table SM1. Summary of main definitions. All quantities are conditional on the fixed training states. Stochastic quantities are denoted with a hat, and stochasticity is always understood with respect to the training noise realizations. The symbols d d d , n t r n_{\mathrm{tr}} n tr , n o u t n_{\mathrm{out}} n out , and N N N denote the Hilbert-space dimension, number of training states, number of POVM outcomes, and training statistics, respectively. Expressions involving stochastic inverses are understood on events where the displayed inverses exist; the pseudoinverse formula for Δ o ^ \Delta\hat{o} Δ o ^ is defined for every realization.
Deterministic decomposition of infinite-test-statistics error
We begin by providing an exact decomposition of the estimation error with infinite-test-statistics and exact targets, Δ o ^ = y T ( P ^ N + − P + ) p σ \Delta\hat{o}=y^{T}(\hat{P}_{N}^{+}-P^{+})p_{\sigma} Δ o ^ = y T ( P ^ N + − P + ) p σ , as Δ o ^ = B + L ^ + R ^ \Delta\hat{o}=B+\hat{L}+\hat{R} Δ o ^ = B + L ^ + R ^ , with B B B a deterministic bias, L ^ \hat{L} L ^ a centered fluctuation, and R ^ \hat{R} R ^ a remainder term that is subleading with high probability for large n t r n_{\mathrm{tr}} n tr .
Block decomposition notation — Let U = ( U 1 , U 2 ) U=(U_1,U_2) U = ( U 1 , U 2 ) be orthogonal, with im ( U 1 ) = im ( P ) \operatorname{im}(U_1)=\operatorname{im}(P) im ( U 1 ) = im ( P ) and im ( U 2 ) = ker ( P T ) = im ( P ) ⊥ \operatorname{im}(U_2)=\operatorname{ker}(P^{T})=\operatorname{im}(P)^\perp im ( U 2 ) = ker ( P T ) = im ( P ) ⊥ . We use this basis to separate the r = d 2 r=d^2 r = d 2 directions already present in the noiseless data from the n o u t − r n_{\mathrm{out}}-r n out − r directions generated by shot noise. Write P 1 ≡ U 1 T P P_1\equiv U_1^{T}P P 1 ≡ U 1 T P , P 2 = 0 P_2=0 P 2 = 0 , U a T P ^ = P ^ a U_a^{T}\hat{P}=\hat{P}_a U a T P ^ = P ^ a , and U 1 T p σ = p σ , 1 U_1^{T}p_{\sigma}=p_{\sigma,1} U 1 T p σ = p σ , 1 . Thus P 1 , P ^ 1 ∈ R r × n t r P_1,\hat{P}_1\in\mathbb{R}^{r\times n_{\mathrm{tr}}} P 1 , P ^ 1 ∈ R r × n tr and P ^ 2 ∈ R ( n o u t − r ) × n t r \hat{P}_2\in\mathbb{R}^{(n_{\mathrm{out}}-r)\times n_{\mathrm{tr}}} P ^ 2 ∈ R ( n out − r ) × n tr . We denote the i i i -th column of P 1 P_1 P 1 by p i , 1 p_{i,1} p i , 1 and set Ξ ^ a ≡ U a T Ξ ^ \hat{\Xi}_a\equiv U_a^{T}\hat{\Xi} Ξ ^ a ≡ U a T Ξ ^ , with columns ξ ^ i , a ≡ U a T ξ ^ i \hat{\xi}_{i,a}\equiv U_a^{T}\hat{\xi}_i ξ ^ i , a ≡ U a T ξ ^ i .
Basic rewriting of Δ o ^ \Delta\hat{o} Δ o ^ — We study the infinite-test-statistics estimation error Δ o ^ = y T ( P ^ N + − P + ) p σ \Delta\hat{o}=y^{T}(\hat{P}_{N}^{+}-P^{+})p_{\sigma} Δ o ^ = y T ( P ^ N + − P + ) p σ , where y T = ⟨ O , ρ ⟩ y^{T}=\langle O,\rho\rangle y T = ⟨ O , ρ ⟩ is the row of training targets and p σ = ⟨ μ , σ ⟩ p_{\sigma}=\langle\mu,\sigma\rangle p σ = ⟨ μ , σ ⟩ is the test-state probability vector. We assume r = rank ( P ) = d 2 ≤ n o u t ≤ n t r r=\operatorname{rank}(P)=d^2\le n_{\mathrm{out}}\le n_{\mathrm{tr}} r = rank ( P ) = d 2 ≤ n out ≤ n tr and, as in the main text, y ∈ im ( P T ) y\in\operatorname{im}(P^{T}) y ∈ im ( P T ) and p σ ∈ im ( P ) p_{\sigma}\in\operatorname{im}(P) p σ ∈ im ( P ) . The minimal informationally complete case n o u t = d 2 n_{\mathrm{out}}=d^2 n out = d 2 has no cokernel block and is handled by the ordinary inverse expansion on im ( P ) \operatorname{im}(P) im ( P ) ; the Schur-complement analysis below concerns the rank-increasing case n o u t > d 2 n_{\mathrm{out}}>d^2 n out > d 2 . The identity A + = A T ( A A T ) + A^{+}=A^{T}(AA^{T})^{+} A + = A T ( A A T ) + gives
Δ o ^ = ℓ ^ T S ^ + p σ − ℓ T S + p σ , ℓ ^ ≡ P ^ y n t r , ℓ ≡ P y n t r , S ^ ≡ P ^ P ^ T n t r , S ≡ P P T n t r . (136) \Delta\hat{o}=\hat{\ell}^{T}\hat{S}^{+}p_{\sigma}-\ell^{T}S^{+}p_{\sigma},\qquad\hat{\ell}\equiv\frac{\hat{P}y}{n_{\mathrm{tr}}},\qquad\ell\equiv\frac{Py}{n_{\mathrm{tr}}},\qquad\hat{S}\equiv\frac{\hat{P}\hat{P}^{T}}{n_{\mathrm{tr}}},\qquad S\equiv\frac{PP^{T}}{n_{\mathrm{tr}}}. \tag*{(136)} Δ o ^ = ℓ ^ T S ^ + p σ − ℓ T S + p σ , ℓ ^ ≡ n tr P ^ y , ℓ ≡ n tr P y , S ^ ≡ n tr P ^ P ^ T , S ≡ n tr P P T . (136)
Here P ^ ≡ P ^ N = P + N − 1 / 2 Ξ ^ \hat{P}\equiv\hat{P}_N=P+N^{-1/2}\hat{\Xi} P ^ ≡ P ^ N = P + N − 1/2 Ξ ^ . In this section we omit the N N N subscript on stochastic quantities for notational brevity. Conditional on the training states, the columns of Ξ ^ \hat{\Xi} Ξ ^ are independent and centered, with E [ ξ ^ i ξ ^ i T ] = Σ i \mathbb{E}[\hat{\xi}_i\hat{\xi}_i^{T}]=\Sigma_i E [ ξ ^ i ξ ^ i T ] = Σ i . Consequently,
E [ ℓ ^ ] = ℓ , E [ S ^ ] = S + 1 N Σ ˉ , Σ ˉ ≡ 1 n t r ∑ i = 1 n t r Σ i . (137) \mathbb{E}[\hat{\ell}]=\ell,\qquad\mathbb{E}[\hat{S}]=S+\frac{1}{N}\bar{\Sigma},\qquad\bar{\Sigma}\equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\Sigma_i. \tag*{(137)} E [ ℓ ^ ] = ℓ , E [ S ^ ] = S + N 1 Σ ˉ , Σ ˉ ≡ n tr 1 i = 1 ∑ n tr Σ i . (137)
The deterministic N − 1 Σ ˉ N^{-1}\bar{\Sigma} N − 1 Σ ˉ shift is the source of the leading bias. Directly expanding S ^ − 1 \hat{S}^{-1} S ^ − 1 is nevertheless unhelpful: the eigenvalues created outside im ( P ) \operatorname{im}(P) im ( P ) are of order N − 1 N^{-1} N − 1 , so that ∥ E [ S ^ − 1 ] ∥ o p \|\mathbb{E}[\hat{S}^{-1}]\|_{\mathrm{op}} ∥ E [ S ^ − 1 ] ∥ op is of order N N N . The Schur complement below removes these apparently singular directions before the fluctuation expansion is made. In this notation, the assumptions in eq. (129) can be restated as
λ min ( S 11 ) ≥ κ 11 > 0 , λ min ( Σ ˉ 22 ) ≥ κ 22 > 0 , (138) \lambda_{\min}(S_{11})\ge\kappa_{11}>0,\qquad\lambda_{\min}(\bar{\Sigma}_{22})\ge\kappa_{22}>0, \tag*{(138)} λ m i n ( S 11 ) ≥ κ 11 > 0 , λ m i n ( Σ ˉ 22 ) ≥ κ 22 > 0 , (138)
with κ 11 , κ 22 \kappa_{11},\kappa_{22} κ 11 , κ 22 independent of N N N and n t r n_{\mathrm{tr}} n tr .
Additional notation to get a finer-grained decomposition Δ o ^ \Delta\hat{o} Δ o ^ — We use
ℓ ^ a = n t r − 1 P ^ a y , ℓ a = n t r − 1 P a y , S ^ a b = U a T S ^ U b , S a b = U a T S U b , \hat{\ell}_a = n_{\mathrm{tr}}^{-1}\hat{P}_a y,\qquad\ell_a = n_{\mathrm{tr}}^{-1}P_a y,\qquad\hat{S}_{ab} = U_a^{T}\hat{S}U_b,\qquad S_{ab} = U_a^{T}SU_b, ℓ ^ a = n tr − 1 P ^ a y , ℓ a = n tr − 1 P a y , S ^ ab = U a T S ^ U b , S ab = U a T S U b ,
where P 2 = 0 P_2=0 P 2 = 0 , and hence ℓ 2 = S 12 = S 21 = S 22 = 0 \ell_2=S_{12}=S_{21}=S_{22}=0 ℓ 2 = S 12 = S 21 = S 22 = 0 . When S ^ 22 \hat{S}_{22} S ^ 22 and its Schur complement are invertible, we have
ℓ ^ T S ^ − 1 p σ = 1 n t r ( P ^ y ) T S − 1 p σ = ℓ ^ e f f T S ^ e f f − 1 p σ , 1 , ℓ ^ e f f ≡ ℓ ^ 1 − S ^ 12 S ^ 22 − 1 ℓ ^ 2 , S ^ e f f ≡ S ^ 11 − S ^ 12 S ^ 22 − 1 S ^ 21 . (139) \hat{\ell}^{T}\hat{S}^{-1}p_{\sigma}=\frac{1}{n_{\mathrm{tr}}}(\hat{P}y)^{T}S^{-1}p_{\sigma}=\hat{\ell}_{\mathrm{eff}}^{T}\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1},\qquad\hat{\ell}_{\mathrm{eff}}\equiv\hat{\ell}_1-\hat{S}_{12}\hat{S}_{22}^{-1}\hat{\ell}_2,\qquad\hat{S}_{\mathrm{eff}}\equiv\hat{S}_{11}-\hat{S}_{12}\hat{S}_{22}^{-1}\hat{S}_{21}. \tag*{(139)} ℓ ^ T S ^ − 1 p σ = n tr 1 ( P ^ y ) T S − 1 p σ = ℓ ^ eff T S ^ eff − 1 p σ , 1 , ℓ ^ eff ≡ ℓ ^ 1 − S ^ 12 S ^ 22 − 1 ℓ ^ 2 , S ^ eff ≡ S ^ 11 − S ^ 12 S ^ 22 − 1 S ^ 21 . (139)
Observe that y = P T w O y=P^{T}w_O y = P T w O and ℓ 1 = S 11 U 1 T w O \ell_1=S_{11}U_1^{T}w_O ℓ 1 = S 11 U 1 T w O . If Σ ‾ 22 \overline{\Sigma}_{22} Σ 22 is invertible, define Σ ‾ e f f = Σ ‾ 11 − Σ ‾ 12 Σ ‾ 22 − 1 Σ ‾ 21 \overline{\Sigma}_{\mathrm{eff}}=\overline{\Sigma}_{11}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21} Σ eff = Σ 11 − Σ 12 Σ 22 − 1 Σ 21 . Introduce
S e f f ≡ E [ S ^ 11 ] − E [ S ^ 12 ] E [ S ^ 22 ] − 1 E [ S ^ 21 ] = S 11 + 1 N Σ ‾ e f f , Δ S ^ a b ≡ S ^ a b − E [ S ^ a b ] , Δ c S ^ e f f ≡ S ^ e f f − S e f f , S_{\mathrm{eff}}\equiv\mathbb{E}[\hat{S}_{11}]-\mathbb{E}[\hat{S}_{12}]\mathbb{E}[\hat{S}_{22}]^{-1}\mathbb{E}[\hat{S}_{21}]=S_{11}+\frac{1}{N}\overline{\Sigma}_{\mathrm{eff}},\qquad\Delta\hat{S}_{ab}\equiv\hat{S}_{ab}-\mathbb{E}[\hat{S}_{ab}],\qquad\Delta_c\hat{S}_{\mathrm{eff}}\equiv\hat{S}_{\mathrm{eff}}-S_{\mathrm{eff}}, S eff ≡ E [ S ^ 11 ] − E [ S ^ 12 ] E [ S ^ 22 ] − 1 E [ S ^ 21 ] = S 11 + N 1 Σ eff , Δ S ^ ab ≡ S ^ ab − E [ S ^ ab ] , Δ c S ^ eff ≡ S ^ eff − S eff ,
ℓ e f f ≡ E [ ℓ ^ 1 ] − E [ S ^ 12 ] E [ S ^ 22 ] − 1 E [ ℓ ^ 2 ] = ℓ 1 , Δ ℓ ^ a ≡ ℓ ^ a − ℓ a , Δ c ℓ ^ e f f ≡ ℓ ^ e f f − ℓ e f f . (140) \ell_{\mathrm{eff}}\equiv\mathbb{E}[\hat{\ell}_1]-\mathbb{E}[\hat{S}_{12}]\mathbb{E}[\hat{S}_{22}]^{-1}\mathbb{E}[\hat{\ell}_2]=\ell_1,\qquad\Delta\hat{\ell}_a\equiv\hat{\ell}_a-\ell_a,\qquad\Delta_c\hat{\ell}_{\mathrm{eff}}\equiv\hat{\ell}_{\mathrm{eff}}-\ell_{\mathrm{eff}}. \tag*{(140)} ℓ eff ≡ E [ ℓ ^ 1 ] − E [ S ^ 12 ] E [ S ^ 22 ] − 1 E [ ℓ ^ 2 ] = ℓ 1 , Δ ℓ ^ a ≡ ℓ ^ a − ℓ a , Δ c ℓ ^ eff ≡ ℓ ^ eff − ℓ eff . (140)
where Δ \Delta Δ denotes a centered block fluctuation, whereas Δ c \Delta_c Δ c denotes deviation from the deterministic concentration target. Thus E [ Δ S ^ a b ] = 0 \mathbb{E}[\Delta\hat{S}_{ab}]=0 E [ Δ S ^ ab ] = 0 , but in general E [ Δ c S ^ e f f ] ≠ 0 \mathbb{E}[\Delta_c\hat{S}_{\mathrm{eff}}]\ne0 E [ Δ c S ^ eff ] = 0 because the Schur complement is nonlinear.
Rewriting the terms of Δ o ^ \Delta\hat{o} Δ o ^ via effective quantities — Observing that ℓ ^ T S ^ − 1 p σ = ℓ ^ e f f T S ^ e f f − 1 p σ , 1 \hat{\ell}^{T}\hat{S}^{-1}p_{\sigma}=\hat{\ell}_{\mathrm{eff}}^{T}\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1} ℓ ^ T S ^ − 1 p σ = ℓ ^ eff T S ^ eff − 1 p σ , 1 and ℓ T S + p σ = ℓ 1 T S 11 − 1 p σ , 1 \ell^{T}S^{+}p_{\sigma}=\ell_1^{T}S_{11}^{-1}p_{\sigma,1} ℓ T S + p σ = ℓ 1 T S 11 − 1 p σ , 1 , and adding and subtracting ℓ 1 T S e f f − 1 p σ , 1 \ell_1^{T}S_{\mathrm{eff}}^{-1}p_{\sigma,1} ℓ 1 T S eff − 1 p σ , 1 and ℓ ^ e f f T S e f f − 1 p σ , 1 \hat{\ell}_{\mathrm{eff}}^{T}S_{\mathrm{eff}}^{-1}p_{\sigma,1} ℓ ^ eff T S eff − 1 p σ , 1 in eq. (136) , we get
Δ o ^ = ℓ 1 T [ S e f f − 1 − S 11 − 1 ] p σ , 1 + ℓ ^ e f f T ( S ^ e f f − 1 − S e f f − 1 ) p σ , 1 + Δ c ℓ ^ e f f T S e f f − 1 p σ , 1 . (141) \Delta\hat{o}=\ell_1^{T}\left[S_{\mathrm{eff}}^{-1}-S_{11}^{-1}\right]p_{\sigma,1}+\hat{\ell}_{\mathrm{eff}}^{T}\left(\hat{S}_{\mathrm{eff}}^{-1}-S_{\mathrm{eff}}^{-1}\right)p_{\sigma,1}+\Delta_c\hat{\ell}_{\mathrm{eff}}^{T}S_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(141)} Δ o ^ = ℓ 1 T [ S eff − 1 − S 11 − 1 ] p σ , 1 + ℓ ^ eff T ( S ^ eff − 1 − S eff − 1 ) p σ , 1 + Δ c ℓ ^ eff T S eff − 1 p σ , 1 . (141)
Applying the resolvent identity twice,
ℓ ^ e f f T ( S ^ e f f − 1 − S e f f − 1 ) p σ , 1 = − ℓ ^ e f f T S e f f − 1 Δ c S ^ e f f S e f f − 1 p σ , 1 + ℓ ^ e f f T S e f f − 1 Δ c S ^ e f f S e f f − 1 Δ c S ^ e f f S ^ e f f − 1 p σ , 1 . (142) \hat{\ell}_{\mathrm{eff}}^{T}\left(\hat{S}_{\mathrm{eff}}^{-1}-S_{\mathrm{eff}}^{-1}\right)p_{\sigma,1}=-\hat{\ell}_{\mathrm{eff}}^{T}S_{\mathrm{eff}}^{-1}\Delta_c\hat{S}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}p_{\sigma,1}+\hat{\ell}_{\mathrm{eff}}^{T}S_{\mathrm{eff}}^{-1}\Delta_c\hat{S}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}\Delta_c\hat{S}_{\mathrm{eff}}\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(142)} ℓ ^ eff T ( S ^ eff − 1 − S eff − 1 ) p σ , 1 = − ℓ ^ eff T S eff − 1 Δ c S ^ eff S eff − 1 p σ , 1 + ℓ ^ eff T S eff − 1 Δ c S ^ eff S eff − 1 Δ c S ^ eff S ^ eff − 1 p σ , 1 . (142)
We next decompose ℓ ^ e f f \hat{\ell}_{\mathrm{eff}} ℓ ^ eff in its deterministic, centered fluctuations, and nonlinear components, as:
ℓ ^ e f f = ℓ 1 + ( Δ c ℓ ^ e f f ) p + ( Δ c ℓ ^ e f f ) n l , \hat{\ell}_{\mathrm{eff}}=\ell_1+(\Delta_c\hat{\ell}_{\mathrm{eff}})_{\mathrm{p}}+(\Delta_c\hat{\ell}_{\mathrm{eff}})_{\mathrm{nl}}, ℓ ^ eff = ℓ 1 + ( Δ c ℓ ^ eff ) p + ( Δ c ℓ ^ eff ) nl ,
( Δ c ℓ ^ e f f ) p ≡ Δ ℓ ^ 1 − Σ ‾ 12 Σ ‾ 22 − 1 Δ ℓ ^ 2 = 1 n t r N ( Ξ ^ 1 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 2 ) y = 1 n t r N ∑ i = 1 n t r ξ ^ i , e f f y i . (143) (\Delta_c\hat{\ell}_{\mathrm{eff}})_{\mathrm{p}}\equiv\Delta\hat{\ell}_1-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\Delta\hat{\ell}_2=\frac{1}{n_{\mathrm{tr}}\sqrt{N}}\left(\hat{\Xi}_1-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\hat{\Xi}_2\right)y=\frac{1}{n_{\mathrm{tr}}\sqrt{N}}\sum_{i=1}^{n_{\mathrm{tr}}}\hat{\xi}_{i,\mathrm{eff}}y_i. \tag*{(143)} ( Δ c ℓ ^ eff ) p ≡ Δ ℓ ^ 1 − Σ 12 Σ 22 − 1 Δ ℓ ^ 2 = n tr N 1 ( Ξ ^ 1 − Σ 12 Σ 22 − 1 Ξ ^ 2 ) y = n tr N 1 i = 1 ∑ n tr ξ ^ i , eff y i . (143)
where ξ ^ i , e f f = ξ ^ i , 1 − Σ ‾ 12 Σ ‾ 22 − 1 ξ ^ i , 2 \hat{\xi}_{i,\mathrm{eff}}=\hat{\xi}_{i,1}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\hat{\xi}_{i,2} ξ ^ i , eff = ξ ^ i , 1 − Σ 12 Σ 22 − 1 ξ ^ i , 2 denotes the i i i -th column of Ξ ^ e f f ≡ Ξ ^ 1 − Σ ‾ 12 Σ ‾ 22 − 1 Ξ ^ 2 \hat{\Xi}_{\mathrm{eff}}\equiv\hat{\Xi}_1-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\hat{\Xi}_2 Ξ ^ eff ≡ Ξ ^ 1 − Σ 12 Σ 22 − 1 Ξ ^ 2 . Similarly,
Δ c S ^ e f f = ( Δ c S ^ e f f ) p + ( Δ c S ^ e f f ) n l , \Delta_c\hat{S}_{\mathrm{eff}}=(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{p}}+(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{nl}}, Δ c S ^ eff = ( Δ c S ^ eff ) p + ( Δ c S ^ eff ) nl ,
( Δ c S ^ e f f ) p ≡ Δ S ^ 11 − Δ S ^ 12 Σ ‾ 22 − 1 Σ ‾ 21 − Σ ‾ 12 Σ ‾ 22 − 1 Δ S ^ 21 + Σ ‾ 12 Σ ‾ 22 − 1 Δ S ^ 22 Σ ‾ 22 − 1 Σ ‾ 21 = 1 n t r N ∑ i = 1 n t r ( p i , 1 ξ ^ i , e f f T + ξ ^ i , e f f p i , 1 T ) + 1 N n t r ∑ i = 1 n t r ( ξ ^ i , e f f ξ ^ i , e f f T − E [ ξ ^ i , e f f ξ ^ i , e f f T ] ) . (144) \begin{aligned}
(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{p}}\equiv\Delta\hat{S}_{11}-\Delta\hat{S}_{12}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\Delta\hat{S}_{21}+\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\Delta\hat{S}_{22}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21} \\
&=\frac{1}{n_{\mathrm{tr}}\sqrt{N}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(p_{i,1}\hat{\xi}_{i,\mathrm{eff}}^{T}+\hat{\xi}_{i,\mathrm{eff}}p_{i,1}^{T}\right)+\frac{1}{Nn_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(\hat{\xi}_{i,\mathrm{eff}}\hat{\xi}_{i,\mathrm{eff}}^{T}-\mathbb{E}[\hat{\xi}_{i,\mathrm{eff}}\hat{\xi}_{i,\mathrm{eff}}^{T}]\right). \tag*{(144)}
\end{aligned} ( Δ c S ^ eff ) p ≡ Δ S ^ 11 − Δ S ^ 12 Σ 22 − 1 Σ 21 − Σ 12 Σ 22 − 1 Δ S ^ 21 + Σ 12 Σ 22 − 1 Δ S ^ 22 Σ 22 − 1 Σ 21 = n tr N 1 i = 1 ∑ n tr ( p i , 1 ξ ^ i , eff T + ξ ^ i , eff p i , 1 T ) + N n tr 1 i = 1 ∑ n tr ( ξ ^ i , eff ξ ^ i , eff T − E [ ξ ^ i , eff ξ ^ i , eff T ] ) . (144)
Both first-order terms are centered: E [ ( Δ c ℓ ^ e f f ) p ] = E [ ( Δ c S ^ e f f ) p ] = 0 \mathbb{E}[(\Delta_c\hat{\ell}_{\mathrm{eff}})_{\mathrm{p}}]=\mathbb{E}[(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{p}}]=0 E [( Δ c ℓ ^ eff ) p ] = E [( Δ c S ^ eff ) p ] = 0 . Here the subscript “p” denotes terms that are linear or quadratic in Ξ ^ \hat{\Xi} Ξ ^ ; the last term of ( Δ c S ^ e f f ) p (\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{p}} ( Δ c S ^ eff ) p is an example of the latter.
Exact error decomposition in bias, fluctuation, and remainder terms — Expanding eq. (141) with eqs. (143) and (SM83), we finally get
Δ o ^ = B + L ^ + R ^ , \Delta\hat{o}=B+\hat{L}+\hat{R}, Δ o ^ = B + L ^ + R ^ ,
B ≡ ℓ 1 T ( S e f f − 1 − S 11 − 1 ) p σ , 1 , L ^ ≡ ( Δ c ℓ ^ e f f ) p T S e f f − 1 p σ , 1 − ℓ 1 T S e f f − 1 ( Δ c S ^ e f f ) p S e f f − 1 p σ , 1 . (145) B\equiv\ell_1^{T}\left(S_{\mathrm{eff}}^{-1}-S_{11}^{-1}\right)p_{\sigma,1},\qquad\hat{L}\equiv(\Delta_c\hat{\ell}_{\mathrm{eff}})_{\mathrm{p}}^{T}S_{\mathrm{eff}}^{-1}p_{\sigma,1}-\ell_1^{T}S_{\mathrm{eff}}^{-1}(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{p}}S_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(145)} B ≡ ℓ 1 T ( S eff − 1 − S 11 − 1 ) p σ , 1 , L ^ ≡ ( Δ c ℓ ^ eff ) p T S eff − 1 p σ , 1 − ℓ 1 T S eff − 1 ( Δ c S ^ eff ) p S eff − 1 p σ , 1 . (145)
Here B B B is deterministic, L ^ \hat{L} L ^ is centered and first order in the centered block fluctuations, and R ^ ≡ Δ o ^ − B − L ^ \hat{R}\equiv\Delta\hat{o}-B-\hat{L} R ^ ≡ Δ o ^ − B − L ^ will be shown to be subleading with high probability. The exact statistical bias is thus E [ Δ o ^ ] = B + E [ R ^ ] \mathbb{E}[\Delta\hat{o}]=B+\mathbb{E}[\hat{R}] E [ Δ o ^ ] = B + E [ R ^ ] .
Deterministic bias component
From eq. (145) , remembering S e f f = S 11 + N − 1 Σ ‾ e f f S_{\mathrm{eff}} = S_{11} + N^{-1}\overline{\Sigma}_{\mathrm{eff}} S eff = S 11 + N − 1 Σ eff and ℓ 1 = S 11 U 1 T w O \ell_1 = S_{11}U_1^T w_O ℓ 1 = S 11 U 1 T w O , the resolvent identity gives
B = ℓ 1 T ( S e f f − 1 − S 11 − 1 ) p σ , 1 = − 1 N w O T U 1 Σ ‾ e f f S e f f − 1 p σ , 1 = − 1 N w O T U 1 Σ ‾ e f f S 11 − 1 p σ , 1 + O ( 1 N 2 ) . (146) B = \ell_1^T\left(S_{\mathrm{eff}}^{-1} - S_{11}^{-1}\right)p_{\sigma,1}
= -\frac{1}{N}w_O^T U_1\overline{\Sigma}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}p_{\sigma,1}
= -\frac{1}{N}w_O^T U_1\overline{\Sigma}_{\mathrm{eff}}S_{11}^{-1}p_{\sigma,1}
+ O\left(\frac{1}{N^2}\right). \tag*{(146)} B = ℓ 1 T ( S eff − 1 − S 11 − 1 ) p σ , 1 = − N 1 w O T U 1 Σ eff S eff − 1 p σ , 1 = − N 1 w O T U 1 Σ eff S 11 − 1 p σ , 1 + O ( N 2 1 ) . (146)
We can therefore write the deterministic bias component as B = − b N / N B = -b_N/N B = − b N / N with b N = w O T U 1 Σ ‾ e f f S e f f − 1 p σ , 1 b_N = w_O^T U_1\overline{\Sigma}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}p_{\sigma,1} b N = w O T U 1 Σ eff S eff − 1 p σ , 1 . We can further replace S e f f − 1 S_{\mathrm{eff}}^{-1} S eff − 1 by S 11 − 1 S_{11}^{-1} S 11 − 1 when ∥ S 11 − 1 / 2 Σ ‾ e f f S 11 − 1 / 2 ∥ o p ≪ N \left\|S_{11}^{-1/2}\overline{\Sigma}_{\mathrm{eff}}S_{11}^{-1/2}\right\|_{\mathrm{op}} \ll N S 11 − 1/2 Σ eff S 11 − 1/2 op ≪ N .
Centered first-order fluctuation
Having identified the deterministic shift in section SM4.2, we now compute the centered fluctuation that contributes the leading training variance. The goal is to express it as a sum of independent column contributions and compute its second moment before controlling the nonlinear remainder in § 16.4 . From eq. (145) we rewrite L ^ \hat{L} L ^ as
L ^ = [ 1 n t r N w O T U 1 P 1 Ξ ^ e f f T − ℓ 1 T S e f f − 1 ( Δ c S ^ e f f ) p e f f ] S e f f − 1 p σ , 1 . (147) \hat{L} =
\left[
\frac{1}{n_{\mathrm{tr}}\sqrt{N}}w_O^T U_1P_1\hat{\Xi}_{\mathrm{eff}}^T
-\ell_1^T S_{\mathrm{eff}}^{-1}(\Delta_c\hat{S}_{\mathrm{eff}})p_{\mathrm{eff}}
\right]S_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(147)} L ^ = [ n tr N 1 w O T U 1 P 1 Ξ ^ eff T − ℓ 1 T S eff − 1 ( Δ c S ^ eff ) p eff ] S eff − 1 p σ , 1 . (147)
Using eq. (144) , this amounts to L ^ = 1 n t r ∑ i = 1 n t r L ^ i \hat{L} = \frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\hat{L}_i L ^ = n tr 1 ∑ i = 1 n tr L ^ i , where
L ^ i = { 1 N [ y i ξ ^ i , e f f T − ℓ 1 T S e f f − 1 ( p i , 1 ξ ^ i , e f f T + ξ ^ i , e f f p i , 1 T ) ] − 1 N ℓ 1 T S e f f − 1 ( ξ ^ i , e f f ξ ^ i , e f f T − E [ ξ ^ i , e f f ξ ^ i , e f f T ] ) } S e f f − 1 p σ , 1 . (148) \hat{L}_i =
\left\{
\frac{1}{\sqrt{N}}
\left[
y_i\hat{\xi}_{i,\mathrm{eff}}^T
-\ell_1^T S_{\mathrm{eff}}^{-1}
\left(p_{i,1}\hat{\xi}_{i,\mathrm{eff}}^T+\hat{\xi}_{i,\mathrm{eff}}p_{i,1}^T\right)
\right]
-\frac{1}{N}\ell_1^T S_{\mathrm{eff}}^{-1}
\left(\hat{\xi}_{i,\mathrm{eff}}\hat{\xi}_{i,\mathrm{eff}}^T
-\mathbb{E}\left[\hat{\xi}_{i,\mathrm{eff}}\hat{\xi}_{i,\mathrm{eff}}^T\right]\right)
\right\}
S_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(148)} L ^ i = { N 1 [ y i ξ ^ i , eff T − ℓ 1 T S eff − 1 ( p i , 1 ξ ^ i , eff T + ξ ^ i , eff p i , 1 T ) ] − N 1 ℓ 1 T S eff − 1 ( ξ ^ i , eff ξ ^ i , eff T − E [ ξ ^ i , eff ξ ^ i , eff T ] ) } S eff − 1 p σ , 1 . (148)
The first linear term in eq. (148) contains the coefficient y i − ℓ 1 T S e f f − 1 p i , 1 y_i-\ell_1^T S_{\mathrm{eff}}^{-1}p_{i,1} y i − ℓ 1 T S eff − 1 p i , 1 . This coefficient is itself O ( N − 1 ) O(N^{-1}) O ( N − 1 ) . Indeed,
S e f f − 1 ℓ 1 − U 1 T w O = − 1 N S e f f − 1 Σ ‾ e f f U 1 T w O = O ( N − 1 ) . (149) S_{\mathrm{eff}}^{-1}\ell_1-U_1^T w_O
=-\frac{1}{N}S_{\mathrm{eff}}^{-1}\overline{\Sigma}_{\mathrm{eff}}U_1^T w_O
=O(N^{-1}). \tag*{(149)} S eff − 1 ℓ 1 − U 1 T w O = − N 1 S eff − 1 Σ eff U 1 T w O = O ( N − 1 ) . (149)
Thus this part of the nominally N − 1 / 2 N^{-1/2} N − 1/2 fluctuation contributes only at subleading order.
The variables L ^ i \hat{L}_i L ^ i are independent and centered, therefore E [ L ^ ] = 0 \mathbb{E}[\hat{L}]=0 E [ L ^ ] = 0 and E [ L ^ 2 ] = 1 n t r 2 ∑ i = 1 n t r E [ L ^ i 2 ] \mathbb{E}[\hat{L}^2]=\frac{1}{n_{\mathrm{tr}}^2}\sum_{i=1}^{n_{\mathrm{tr}}}\mathbb{E}[\hat{L}_i^2] E [ L ^ 2 ] = n tr 2 1 ∑ i = 1 n tr E [ L ^ i 2 ] . Let w O = ⟨ μ ~ , O ⟩ ∈ im ( P ) ⊂ R n o u t w_O=\langle\tilde{\mu},O\rangle\in\operatorname{im}(P)\subset\mathbb{R}^{n_{\mathrm{out}}} w O = ⟨ μ ~ , O ⟩ ∈ im ( P ) ⊂ R n out be the canonical dual-frame outcome weights for the observable O O O , and define
w O e f f ≡ ( I n o u t − U 2 Σ ‾ 22 − 1 Σ ‾ 21 U 1 T ) w O . (150) w_O^{\mathrm{eff}}\equiv
\left(I_{n_{\mathrm{out}}}-U_2\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}U_1^T\right)w_O. \tag*{(150)} w O eff ≡ ( I n out − U 2 Σ 22 − 1 Σ 21 U 1 T ) w O . (150)
Interestingly, the two weight vectors w O w_O w O and w O e f f w_O^{\mathrm{eff}} w O eff have parallel variational interpretations: w O w_O w O solves P T u = ⟨ ρ , O ⟩ P^T u=\langle\rho,O\rangle P T u = ⟨ ρ , O ⟩ with minimum Euclidean norm, whereas w O e f f w_O^{\mathrm{eff}} w O eff solves the same linear system but minimizing the weighted quadratic form u T Σ ‾ u u^T\overline{\Sigma}u u T Σ u .
Using w O T U 1 ξ ^ i , e f f = ( w O e f f ) T ξ ^ i w_O^T U_1\hat{\xi}_{i,\mathrm{eff}}=(w_O^{\mathrm{eff}})^T\hat{\xi}_i w O T U 1 ξ ^ i , eff = ( w O eff ) T ξ ^ i , eq. (148) becomes
L ^ i = − 1 N ( p i , 1 T S e f f − 1 p σ , 1 ) ( w O e f f ) T ξ ^ i + r ^ i , E [ r ^ i 2 ] = O ( 1 N 2 ) . (151) \hat{L}_i
=-\frac{1}{\sqrt{N}}\left(p_{i,1}^T S_{\mathrm{eff}}^{-1}p_{\sigma,1}\right)(w_O^{\mathrm{eff}})^T\hat{\xi}_i+\hat{r}_i,
\qquad
\mathbb{E}[\hat{r}_i^2]=O\left(\frac{1}{N^2}\right). \tag*{(151)} L ^ i = − N 1 ( p i , 1 T S eff − 1 p σ , 1 ) ( w O eff ) T ξ ^ i + r ^ i , E [ r ^ i 2 ] = O ( N 2 1 ) . (151)
When squaring eq. (148) , one also encounters the cross term between the N − 1 / 2 N^{-1/2} N − 1/2 contribution linear in ξ ^ i , e f f \hat{\xi}_{i,\mathrm{eff}} ξ ^ i , eff and the N − 1 N^{-1} N − 1 centered quadratic contribution: − 1 N ℓ 1 T S e f f − 1 ( ξ ^ i , e f f ξ ^ i , e f f T − E [ ξ ^ i , e f f ξ ^ i , e f f T ] ) S e f f − 1 p σ , 1 -\frac{1}{N}\ell_1^T S_{\mathrm{eff}}^{-1}\left(\hat{\xi}_{i,\mathrm{eff}}\hat{\xi}_{i,\mathrm{eff}}^T-\mathbb{E}[\hat{\xi}_{i,\mathrm{eff}}\hat{\xi}_{i,\mathrm{eff}}^T]\right)S_{\mathrm{eff}}^{-1}p_{\sigma,1} − N 1 ℓ 1 T S eff − 1 ( ξ ^ i , eff ξ ^ i , eff T − E [ ξ ^ i , eff ξ ^ i , eff T ] ) S eff − 1 p σ , 1 . Its expectation is governed by the third moment of ξ ^ i , e f f \hat{\xi}_{i,\mathrm{eff}} ξ ^ i , eff . To show that this is subleading, write ξ ^ i = N − 1 / 2 ∑ s = 1 N ( e Z i , s − p i ) \hat{\xi}_i=N^{-1/2}\sum_{s=1}^{N}(e_{Z_{i,s}}-p_i) ξ ^ i = N − 1/2 ∑ s = 1 N ( e Z i , s − p i ) , with independent categorical draws Z i , s Z_{i,s} Z i , s . Independence and centering give the exact identity E [ ξ ^ i ⊗ 3 ] = 1 N E [ ( e Z i , 1 − p i ) ⊗ 3 ] \mathbb{E}[\hat{\xi}_i^{\otimes3}]=\frac{1}{\sqrt{N}}\mathbb{E}[(e_{Z_{i,1}}-p_i)^{\otimes3}] E [ ξ ^ i ⊗ 3 ] = N 1 E [( e Z i , 1 − p i ) ⊗ 3 ] , thus the apparent N − 3 / 2 N^{-3/2} N − 3/2 prefactor in that cross term acquires a further factor N − 1 / 2 N^{-1/2} N − 1/2 after averaging. The same identity holds after applying the deterministic map U 1 T − Σ ‾ 12 Σ ‾ 22 − 1 U 2 T U_1^T-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}U_2^T U 1 T − Σ 12 Σ 22 − 1 U 2 T to each tensor factor, hence E [ ξ ^ i , e f f ⊗ 3 ] = O ( N − 1 / 2 ) \mathbb{E}[\hat{\xi}_{i,\mathrm{eff}}^{\otimes3}]=O(N^{-1/2}) E [ ξ ^ i , eff ⊗ 3 ] = O ( N − 1/2 ) holds as well. The fourth moments are uniformly bounded, as follows from the subgaussian estimate in lemma 4. Together with eq. (149) , these observations give
E [ L ^ 2 ] = V N N n t r + O ( 1 N 2 n t r ) , V N = 1 n t r ∑ i = 1 n t r ( p i , 1 T S e f f − 1 p σ , 1 ) 2 Var i ( w O e f f ) , Var i ( w O e f f ) = ( w O e f f ) T Σ i w O e f f . (152) \mathbb{E}[\hat{L}^2]
=\frac{V_N}{Nn_{\mathrm{tr}}}
+O\left(\frac{1}{N^2n_{\mathrm{tr}}}\right),
\qquad
V_N=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}
\left(p_{i,1}^T S_{\mathrm{eff}}^{-1}p_{\sigma,1}\right)^2\operatorname{Var}_i(w_O^{\mathrm{eff}}),
\qquad
\operatorname{Var}_i(w_O^{\mathrm{eff}})
=(w_O^{\mathrm{eff}})^T\Sigma_i w_O^{\mathrm{eff}}. \tag*{(152)} E [ L ^ 2 ] = N n tr V N + O ( N 2 n tr 1 ) , V N = n tr 1 i = 1 ∑ n tr ( p i , 1 T S eff − 1 p σ , 1 ) 2 Var i ( w O eff ) , Var i ( w O eff ) = ( w O eff ) T Σ i w O eff . (152)
The O ( N − 2 n t r − 1 ) O(N^{-2}n_{\mathrm{tr}}^{-1}) O ( N − 2 n tr − 1 ) term is small relative to the V N / N n t r V_N/Nn_{\mathrm{tr}} V N / N n tr only in the large-N N N limit; at fixed N N N , both terms scale as n t r − 1 n_{\mathrm{tr}}^{-1} n tr − 1 and can be comparable. For large N N N , we can furthermore write
V N = V + O ( N − 1 ) , V ≡ 1 n t r ∑ i = 1 n t r ( p i , 1 T S 11 − 1 p σ , 1 ) 2 Var i ( w O e f f ) = n t r ∑ i = 1 n t r ⟨ ρ ~ i , σ ⟩ 2 Var i ( w O e f f ) , (153) V_N = V + O(N^{-1}), \qquad V \equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(p_{i,1}^{T}S_{11}^{-1}p_{\sigma,1}\right)^2\operatorname{Var}_i(w_O^{\mathrm{eff}}) = n_{\mathrm{tr}}\sum_{i=1}^{n_{\mathrm{tr}}}\langle\widetilde{\rho}_i,\sigma\rangle^2\operatorname{Var}_i(w_O^{\mathrm{eff}}), \tag*{(153)} V N = V + O ( N − 1 ) , V ≡ n tr 1 i = 1 ∑ n tr ( p i , 1 T S 11 − 1 p σ , 1 ) 2 Var i ( w O eff ) = n tr i = 1 ∑ n tr ⟨ ρ i , σ ⟩ 2 Var i ( w O eff ) , (153)
using the identity p i , 1 T S 11 − 1 p σ , 1 = n t r ⟨ ρ ~ i , σ ⟩ p_{i,1}^{T}S_{11}^{-1}p_{\sigma,1}=n_{\mathrm{tr}}\langle\widetilde{\rho}_i,\sigma\rangle p i , 1 T S 11 − 1 p σ , 1 = n tr ⟨ ρ i , σ ⟩ , where ρ ~ i ≡ F ρ − 1 ( ρ i ) \widetilde{\rho}_i\equiv\mathcal{F}_{\rho}^{-1}(\rho_i) ρ i ≡ F ρ − 1 ( ρ i ) (see § 13.4 for the relevant frame notation).
Deterministic bound on the remainder
We derived in sections SM4.2 and SM4.3 the explicit expressions for B B B and L ^ \hat{L} L ^ , but their interpretation as leading bias and variance terms depends on the remainder being sufficiently small. To control R ^ \hat{R} R ^ we will here first provide a deterministic upper bound on ∣ R ^ ∣ |\hat{R}| ∣ R ^ ∣ conditionally on an event in which empirical moments are sufficiently close to their concentration targets, for arbitrary N ≥ 1 N\geq1 N ≥ 1 . We will show in § 16.5 that this event does indeed happen with high probability for large n t r n_{\mathrm{tr}} n tr . The main result of this subsection is eq. (169) .
Residual and exact reminder — Define
q ^ ≡ ℓ ^ e f f − S ^ e f f U 1 T w O = q 0 + q ^ p + q ^ n l , q 0 = ℓ 1 − S e f f U 1 T w O = − 1 N Σ ‾ e f f U 1 T w O , \hat{q}\equiv\hat{\ell}_{\mathrm{eff}}-\hat{S}_{\mathrm{eff}}U_1^Tw_O=q_0+\hat{q}_p+\hat{q}_{\mathrm{nl}},\qquad q_0=\ell_1-S_{\mathrm{eff}}U_1^Tw_O=-\frac{1}{N}\overline{\Sigma}_{\mathrm{eff}}U_1^Tw_O, q ^ ≡ ℓ ^ eff − S ^ eff U 1 T w O = q 0 + q ^ p + q ^ nl , q 0 = ℓ 1 − S eff U 1 T w O = − N 1 Σ eff U 1 T w O ,
q ^ p ≡ ( Δ c ℓ ^ e f f ) p − ( Δ c S ^ e f f ) p U 1 T w O , q ^ n l ≡ ( Δ c ℓ ^ e f f ) n l − ( Δ c S ^ e f f ) n l U 1 T w O . (154) \hat{q}_p\equiv(\Delta_c\hat{\ell}_{\mathrm{eff}})_p-(\Delta_c\hat{S}_{\mathrm{eff}})_pU_1^Tw_O,\qquad\hat{q}_{\mathrm{nl}}\equiv(\Delta_c\hat{\ell}_{\mathrm{eff}})_{\mathrm{nl}}-(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{nl}}U_1^Tw_O. \tag*{(154)} q ^ p ≡ ( Δ c ℓ ^ eff ) p − ( Δ c S ^ eff ) p U 1 T w O , q ^ nl ≡ ( Δ c ℓ ^ eff ) nl − ( Δ c S ^ eff ) nl U 1 T w O . (154)
Since ℓ 1 = S 11 U 1 T w O \ell_1=S_{11}U_1^Tw_O ℓ 1 = S 11 U 1 T w O and ℓ 1 T S 11 − 1 p σ , 1 = w O T U 1 p σ , 1 \ell_1^TS_{11}^{-1}p_{\sigma,1}=w_O^TU_1p_{\sigma,1} ℓ 1 T S 11 − 1 p σ , 1 = w O T U 1 p σ , 1 , we can rewrite eq. (141) as
Δ o ^ = ℓ ^ e f f T S ^ e f f − 1 p σ , 1 − ℓ 1 T S 11 − 1 p σ , 1 = ( ℓ ^ e f f − S ^ e f f U 1 T w O ) T S ^ e f f − 1 p σ , 1 = q ^ T S ^ e f f − 1 p σ , 1 . (155) \Delta\hat{o}=\hat{\ell}_{\mathrm{eff}}^T\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1}-\ell_1^TS_{11}^{-1}p_{\sigma,1}=(\hat{\ell}_{\mathrm{eff}}-\hat{S}_{\mathrm{eff}}U_1^Tw_O)^T\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1}=\hat{q}^T\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(155)} Δ o ^ = ℓ ^ eff T S ^ eff − 1 p σ , 1 − ℓ 1 T S 11 − 1 p σ , 1 = ( ℓ ^ eff − S ^ eff U 1 T w O ) T S ^ eff − 1 p σ , 1 = q ^ T S ^ eff − 1 p σ , 1 . (155)
This rewriting preserves the cancellation between ℓ ^ e f f \hat{\ell}_{\mathrm{eff}} ℓ ^ eff and S ^ e f f U 1 T w O \hat{S}_{\mathrm{eff}}U_1^Tw_O S ^ eff U 1 T w O instead of bounding these two O ( 1 ) O(1) O ( 1 ) quantities separately. Their difference contains the deterministic O ( N − 1 ) O(N^{-1}) O ( N − 1 ) term q 0 q_0 q 0 and the smaller fluctuation terms controlled below. In particular, the residual need not tend to zero as n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ at fixed N N N , because q 0 q_0 q 0 need not vanish. In this notation,
B = q 0 T S e f f − 1 p σ , 1 , L ^ = [ q ^ p − ( Δ c S ^ e f f ) p S e f f − 1 q 0 ] T S e f f − 1 p σ , 1 . (156) B=q_0^TS_{\mathrm{eff}}^{-1}p_{\sigma,1},\qquad\hat{L}=\left[\hat{q}_p-(\Delta_c\hat{S}_{\mathrm{eff}})_pS_{\mathrm{eff}}^{-1}q_0\right]^TS_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(156)} B = q 0 T S eff − 1 p σ , 1 , L ^ = [ q ^ p − ( Δ c S ^ eff ) p S eff − 1 q 0 ] T S eff − 1 p σ , 1 . (156)
Applying the resolvent identity ( A + F ) − 1 = A − 1 − A − 1 F A − 1 + ( A − 1 F ) 2 ( A + F ) − 1 (A+F)^{-1}=A^{-1}-A^{-1}FA^{-1}+(A^{-1}F)^2(A+F)^{-1} ( A + F ) − 1 = A − 1 − A − 1 F A − 1 + ( A − 1 F ) 2 ( A + F ) − 1 with A = S e f f A=S_{\mathrm{eff}} A = S eff and F = Δ c S ^ e f f F=\Delta_c\hat{S}_{\mathrm{eff}} F = Δ c S ^ eff then yields
R ^ = − q 0 T S e f f − 1 ( Δ c S ^ e f f ) n l S e f f − 1 p σ , 1 − ( q ^ − q 0 ) T S e f f − 1 Δ c S ^ e f f S e f f − 1 p σ , 1 + q ^ T ( S e f f − 1 Δ c S ^ e f f ) 2 S ^ e f f − 1 p σ , 1 + q ^ n l T S e f f − 1 p σ , 1 . (157) \hat{R}=-q_0^T S_{\mathrm{eff}}^{-1}(\Delta_c\hat{S}_{\mathrm{eff}})_{\mathrm{nl}}S_{\mathrm{eff}}^{-1}p_{\sigma,1}-(\hat{q}-q_0)^TS_{\mathrm{eff}}^{-1}\Delta_c\hat{S}_{\mathrm{eff}}S_{\mathrm{eff}}^{-1}p_{\sigma,1}+\hat{q}^T(S_{\mathrm{eff}}^{-1}\Delta_c\hat{S}_{\mathrm{eff}})^2\hat{S}_{\mathrm{eff}}^{-1}p_{\sigma,1}+\hat{q}_{\mathrm{nl}}^TS_{\mathrm{eff}}^{-1}p_{\sigma,1}. \tag*{(157)} R ^ = − q 0 T S eff − 1 ( Δ c S ^ eff ) nl S eff − 1 p σ , 1 − ( q ^ − q 0 ) T S eff − 1 Δ c S ^ eff S eff − 1 p σ , 1 + q ^ T ( S eff − 1 Δ c S ^ eff ) 2 S ^ eff − 1 p σ , 1 + q ^ nl T S eff − 1 p σ , 1 . (157)
Each term now contains either two centered fluctuations or one nonlinear Schur-complement remainder.
Conditioning event — The remainder identity in eq. (157) is only useful if we can control the inverse factors in it. By the standing assumptions in eqs. (129) and (138) and Σ ‾ ≥ 0 \overline{\Sigma}\geq0 Σ ≥ 0 , we have Σ ‾ e f f = Σ ‾ 11 − Σ ‾ 12 Σ ‾ 22 − 1 Σ ‾ 21 ≥ 0 \overline{\Sigma}_{\mathrm{eff}}=\overline{\Sigma}_{11}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}\geq0 Σ eff = Σ 11 − Σ 12 Σ 22 − 1 Σ 21 ≥ 0 (because x T Σ ‾ e f f x = ( x T , − x T A T ) Σ ‾ ( x , − A x ) x^T\overline{\Sigma}_{\mathrm{eff}}x=(x^T,-x^TA^T)\overline{\Sigma}(x,-Ax) x T Σ eff x = ( x T , − x T A T ) Σ ( x , − A x ) with A ≡ Σ ‾ 22 − 1 Σ ‾ 21 A\equiv\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21} A ≡ Σ 22 − 1 Σ 21 ), and S e f f = S 11 + 1 N Σ ‾ e f f ≥ S 11 ≥ κ 11 > 0 S_{\mathrm{eff}}=S_{11}+\frac{1}{N}\overline{\Sigma}_{\mathrm{eff}}\geq S_{11}\geq\kappa_{11}>0 S eff = S 11 + N 1 Σ eff ≥ S 11 ≥ κ 11 > 0 . It will be useful to also define the term
h ^ ≡ Δ S ^ 21 U 1 T w O − Δ ℓ ^ 2 = 1 N n t r ∑ i = 1 n t r ( ξ ^ i , 2 ξ ^ i , 1 T − E [ ξ ^ i , 2 ξ ^ i , 1 T ] ) U 1 T w O . (158) \hat{h}\equiv\Delta\hat{S}_{21}U_1^Tw_O-\Delta\hat{\ell}_2=\frac{1}{Nn_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(\hat{\xi}_{i,2}\hat{\xi}_{i,1}^{T}-\mathbb{E}[\hat{\xi}_{i,2}\hat{\xi}_{i,1}^{T}]\right)U_1^Tw_O. \tag*{(158)} h ^ ≡ Δ S ^ 21 U 1 T w O − Δ ℓ ^ 2 = N n tr 1 i = 1 ∑ n tr ( ξ ^ i , 2 ξ ^ i , 1 T − E [ ξ ^ i , 2 ξ ^ i , 1 T ] ) U 1 T w O . (158)
This identity holds because the N − 1 / 2 N^{-1/2} N − 1/2 term in Δ S ^ 21 U 1 T w O \Delta\hat{S}_{21}U_1^Tw_O Δ S ^ 21 U 1 T w O is Ξ ^ 2 P 1 T U 1 T w O / ( n t r N ) \hat{\Xi}_2P_1^TU_1^Tw_O/(n_{\mathrm{tr}}\sqrt{N}) Ξ ^ 2 P 1 T U 1 T w O / ( n tr N ) , which cancels with Δ ℓ ^ 2 \Delta\hat{\ell}_2 Δ ℓ ^ 2 . The remaining vector h ^ \hat{h} h ^ has the smaller, quadratic fluctuation scale N − 1 N^{-1} N − 1 . For u > 0 u>0 u > 0 , define the “good event”:
E u = { ∥ Δ S ^ 11 ∥ o p , ∥ Δ S ^ 12 ∥ o p , ∥ Δ S ^ 21 ∥ o p ≤ u / N , ∥ Δ S ^ 22 ∥ o p ≤ u / N , ∥ Δ ℓ ^ a ∥ 2 ≤ 2 B y u / N ( a = 1 , 2 ) , ∥ h ^ ∥ 2 ≤ ∥ w O ∥ 2 u / N } . (159) \mathcal{E}_u=\left\{
\begin{aligned}
&\|\Delta\hat{S}_{11}\|_{\mathrm{op}},\ \|\Delta\hat{S}_{12}\|_{\mathrm{op}},\ \|\Delta\hat{S}_{21}\|_{\mathrm{op}}\leq u/\sqrt{N},\qquad\|\Delta\hat{S}_{22}\|_{\mathrm{op}}\leq u/N,\\
&\|\Delta\hat{\ell}_a\|_2\leq2B_yu/\sqrt{N}\quad(a=1,2),\qquad\|\hat{h}\|_2\leq\|w_O\|_2u/N
\end{aligned}
\right\}. \tag*{(159)} E u = { ∥Δ S ^ 11 ∥ op , ∥Δ S ^ 12 ∥ op , ∥Δ S ^ 21 ∥ op ≤ u / N , ∥Δ S ^ 22 ∥ op ≤ u / N , ∥Δ ℓ ^ a ∥ 2 ≤ 2 B y u / N ( a = 1 , 2 ) , ∥ h ^ ∥ 2 ≤ ∥ w O ∥ 2 u / N } . (159)
We also introduce the two constants which will appear when controlling the terms of R ^ \hat{R} R ^ :
K S p = ( 1 + ∥ Σ ‾ 12 Σ ‾ 22 − 1 ∥ o p ) 2 , K S n l = 2 K S p / κ 22 . (160) K_S^p=\left(1+\|\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\|_{\mathrm{op}}\right)^2,\qquad K_S^{\mathrm{nl}}=2K_S^p/\kappa_{22}. \tag*{(160)} K S p = ( 1 + ∥ Σ 12 Σ 22 − 1 ∥ op ) 2 , K S nl = 2 K S p / κ 22 . (160)
and remember that κ 22 > 0 \kappa_{22} > 0 κ 22 > 0 is defined by the previously given definition κ 22 ≤ λ min ( Σ ‾ 22 ) \kappa_{22} \le\lambda_{\min}(\overline{\Sigma}_{22}) κ 22 ≤ λ m i n ( Σ 22 ) . In the remainder of this subsection, we will assume that u u u satisfies
u ≤ 1 , u ≤ κ 22 / 2 , K S P u / N + K S n l u 2 ≤ κ 11 / 2. (161) u \le1,\qquad u \le\kappa_{22}/2,\qquad K_{S}^{\mathrm{P}}u/\sqrt{N}+K_{S}^{\mathrm{nl}}u^2 \le\kappa_{11}/2. \tag*{(161)} u ≤ 1 , u ≤ κ 22 /2 , K S P u / N + K S nl u 2 ≤ κ 11 /2. (161)
All subsequent bounds are deterministic on E u \mathcal{E}_u E u . The associated constants may depend on the choice of POVM, O \mathcal{O} O , σ \sigma σ , and the training states through the conditioning constants, but not on N N N or n t r n_{\mathrm{tr}} n tr .
Control of nonlinear terms in the remainder — We start observing that ( Δ c S ^ e f f ) n l (\Delta_c\widehat{S}_{\mathrm{eff}})_{\mathrm{nl}} ( Δ c S eff ) nl can be written as
( Δ c S ^ e f f ) n l = − ( Δ S ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Δ S ^ 22 ) S ‾ 22 − 1 ( Δ S ^ 21 − Δ S ^ 22 Σ ‾ 22 − 1 Σ ‾ 21 ) . (162) (\Delta_c\widehat{S}_{\mathrm{eff}})_{\mathrm{nl}}=-\left(\Delta\widehat{S}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\Delta\widehat{S}_{22}\right)\overline{S}_{22}^{-1}\left(\Delta\widehat{S}_{21}-\Delta\widehat{S}_{22}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}\right). \tag*{(162)} ( Δ c S eff ) nl = − ( Δ S 12 − Σ 12 Σ 22 − 1 Δ S 22 ) S 22 − 1 ( Δ S 21 − Δ S 22 Σ 22 − 1 Σ 21 ) . (162)
Remembering that S ^ 22 = N − 1 Σ ‾ 22 + Δ S ^ 22 \widehat{S}_{22}=N^{-1}\overline{\Sigma}_{22}+\Delta\widehat{S}_{22} S 22 = N − 1 Σ 22 + Δ S 22 , Weyl’s inequality on the event E u \mathcal{E}_u E u gives λ min ( S ^ 22 ) ≥ ( κ 22 − u ) / N < κ 22 / ( 2 N ) \lambda_{\min}(\widehat{S}_{22})\ge(\kappa_{22}-u)/N<\kappa_{22}/(2N) λ m i n ( S 22 ) ≥ ( κ 22 − u ) / N < κ 22 / ( 2 N ) , and thus ∥ S ^ 22 − 1 ∥ o p ≤ 2 N / κ 22 \lVert\widehat{S}_{22}^{-1}\rVert_{\mathrm{op}}\le2N/\kappa_{22} ∥ S 22 − 1 ∥ op ≤ 2 N / κ 22 . Each outer factor in eq. (162) has instead norm at most ( 1 + ∥ Σ ‾ 12 Σ ‾ 22 − 1 ∥ o p ) u / N (1+\lVert\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\rVert_{\mathrm{op}})u/\sqrt{N} ( 1 + ∥ Σ 12 Σ 22 − 1 ∥ op ) u / N . Together with the first-order expression in eq. (144) , this proves
∥ ( Δ c S ^ e f f ) n l ∥ o p ≤ K S n l u 2 , ∥ Δ c S ^ e f f ∥ o p ≤ K S P u / N + K S n l u 2 . (163) \lVert(\Delta_c\widehat{S}_{\mathrm{eff}})_{\mathrm{nl}}\rVert_{\mathrm{op}}\le K_{S}^{\mathrm{nl}}u^2,\qquad\lVert\Delta_c\widehat{S}_{\mathrm{eff}}\rVert_{\mathrm{op}}\le K_{S}^{\mathrm{P}}u/\sqrt{N}+K_{S}^{\mathrm{nl}}u^2. \tag*{(163)} ∥( Δ c S eff ) nl ∥ op ≤ K S nl u 2 , ∥ Δ c S eff ∥ op ≤ K S P u / N + K S nl u 2 . (163)
The smallness conditions eq. (161) therefore imply
λ min ( S ^ 22 ) ≥ κ 22 / ( 2 N ) , λ min ( S ^ e f f ) ≥ κ 11 / 2. (164) \lambda_{\min}(\widehat{S}_{22})\ge\kappa_{22}/(2N),\qquad\lambda_{\min}(\widehat{S}_{\mathrm{eff}})\ge\kappa_{11}/2. \tag*{(164)} λ m i n ( S 22 ) ≥ κ 22 / ( 2 N ) , λ m i n ( S eff ) ≥ κ 11 /2. (164)
In particular, P ^ \widehat{P} P has full row rank on this event. The same factorization applied to ℓ ^ e f f \widehat{\ell}_{\mathrm{eff}} ℓ eff yields
( Δ c ℓ ^ e f f ) n l = − ( Δ S ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Δ S ^ 22 ) S ^ 22 − 1 Δ ℓ ^ 2 . (165) (\Delta_c\widehat{\ell}_{\mathrm{eff}})_{\mathrm{nl}}=-\left(\Delta\widehat{S}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\Delta\widehat{S}_{22}\right)\widehat{S}_{22}^{-1}\Delta\widehat{\ell}_2. \tag*{(165)} ( Δ c ℓ eff ) nl = − ( Δ S 12 − Σ 12 Σ 22 − 1 Δ S 22 ) S 22 − 1 Δ ℓ 2 . (165)
and using these in q ^ n l \widehat{q}_{\mathrm{nl}} q nl gives
q ^ n l = ( Δ S ^ 12 − Σ ‾ 12 Σ ‾ 22 − 1 Δ S ^ 22 ) S ^ 22 − 1 ( h ^ − Δ S ^ 22 Σ ‾ 22 − 1 Σ ‾ 21 U 1 T w O ) ⟹ ∥ q ^ n l ∥ 2 ≤ K S n l ∥ w O ∥ 2 u 2 / N . (166) \widehat{q}_{\mathrm{nl}}=\left(\Delta\widehat{S}_{12}-\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\Delta\widehat{S}_{22}\right)\widehat{S}_{22}^{-1}\left(\widehat{h}-\Delta\widehat{S}_{22}\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}U_1^{T}w_{\mathcal{O}}\right)\Longrightarrow\lVert\widehat{q}_{\mathrm{nl}}\rVert_2\le K_{S}^{\mathrm{nl}}\lVert w_{\mathcal{O}}\rVert_2u^2/\sqrt{N}. \tag*{(166)} q nl = ( Δ S 12 − Σ 12 Σ 22 − 1 Δ S 22 ) S 22 − 1 ( h − Δ S 22 Σ 22 − 1 Σ 21 U 1 T w O ) ⟹ ∥ q nl ∥ 2 ≤ K S nl ∥ w O ∥ 2 u 2 / N . (166)
Note that the three factors in this expansion for q ^ n l \widehat{q}_{\mathrm{nl}} q nl have scales u / N u/\sqrt{N} u / N , N N N , and u / N u/N u / N , respectively, and bounding Δ S ^ 21 U 1 T w O \Delta\widehat{S}_{21}U_1^{T}w_{\mathcal{O}} Δ S 21 U 1 T w O and Δ ℓ ^ 2 \Delta\widehat{\ell}_2 Δ ℓ 2 separately would lose the cancellation in the last factor. The definitions of q 0 q_0 q 0 and q ^ p \widehat{q}_{\mathrm{p}} q p now imply
∥ q 0 ∥ 2 ≤ C / N , ∥ q ^ − q 0 ∥ 2 ≤ C u / N , ∥ q ^ ∥ 2 ≤ C / N . (167) \lVert q_0\rVert_2\le C/N,\qquad\lVert\widehat{q}-q_0\rVert_2\le Cu/\sqrt{N},\qquad\lVert\widehat{q}\rVert_2\le C/\sqrt{N}. \tag*{(167)} ∥ q 0 ∥ 2 ≤ C / N , ∥ q − q 0 ∥ 2 ≤ C u / N , ∥ q ∥ 2 ≤ C / N . (167)
where the constant may be taken as
C = C 0 ( q ) + C 1 ( q ) , C 0 ( q ) = ∥ Σ ‾ e f f ∥ o p ∥ w O ∥ 2 , C 1 ( q ) = 2 B y ( 1 + ∥ Σ ‾ 12 Σ ‾ 22 − 1 ∥ o p ) + ( K S P + K S n l ) ∥ w O ∥ 2 . (168) C=C_0^{(q)}+C_1^{(q)},\qquad C_0^{(q)}=\lVert\overline{\Sigma}_{\mathrm{eff}}\rVert_{\mathrm{op}}\lVert w_{\mathcal{O}}\rVert_2,\qquad C_1^{(q)}=2B_y\left(1+\lVert\overline{\Sigma}_{12}\overline{\Sigma}_{22}^{-1}\rVert_{\mathrm{op}}\right)+(K_{S}^{\mathrm{P}}+K_{S}^{\mathrm{nl}})\lVert w_{\mathcal{O}}\rVert_2. \tag*{(168)} C = C 0 ( q ) + C 1 ( q ) , C 0 ( q ) = ∥ Σ eff ∥ op ∥ w O ∥ 2 , C 1 ( q ) = 2 B y ( 1 + ∥ Σ 12 Σ 22 − 1 ∥ op ) + ( K S P + K S nl ) ∥ w O ∥ 2 . (168)
where C 0 ( q ) / N C_0^{(q)}/N C 0 ( q ) / N bounds q 0 q_0 q 0 , while the two terms in C 1 ( q ) C_1^{(q)} C 1 ( q ) bound q ^ p \widehat{q}_{\mathrm{p}} q p and q ^ n l \widehat{q}_{\mathrm{nl}} q nl on E u \mathcal{E}_u E u ; the last inequality in eq. (167) also uses u ≤ 1 u\le1 u ≤ 1 and N ≥ 1 N\ge1 N ≥ 1 .
Remainder bound — With these bounds we can now control the magnitude of R ^ \widehat{R} R conditionally on E u \mathcal{E}_u E u and eq. (161) : for a constant K R K_R K R independent of N N N and n t r n_{\mathrm{tr}} n tr :
E u and xref‘eq. (SM100)‘ ⟹ ∣ R ^ ∣ ≤ K R u 2 / N . (169) \mathcal{E}_u\text{ and {xref}`eq. (SM100)`}\quad\Longrightarrow\quad|\widehat{R}|\le K_Ru^2/\sqrt{N}. \tag*{(169)} E u and xref ‘eq. (SM100)‘ ⟹ ∣ R ∣ ≤ K R u 2 / N . (169)
We will show in theorem 5 how to tie the factor u u u to a confidence interval; this will be needed to make statements about the maximum magnitude of R ^ \widehat{R} R being below a certain threshold with some given probability.
A concrete, conservative choice for the constant is obtained by bounding the four terms in eq. (157) separately. With K S ≡ K S P + K S n l K_S\equiv K_{S}^{\mathrm{P}}+K_{S}^{\mathrm{nl}} K S ≡ K S P + K S nl from eq. (160) , the constant C C C from eq. (168) , and the conditioning constant κ 11 \kappa_{11} κ 11 from eq. (138) , one may take
K R = ∥ p σ ∥ 2 [ C K S n l κ 11 2 + C K S κ 11 2 + 2 C K S 2 κ 11 3 + K S n l ∥ w O ∥ 2 κ 11 ] . (170) K_R=\lVert p_\sigma\rVert_2\left[\frac{CK_{S}^{\mathrm{nl}}}{\kappa_{11}^{2}}+\frac{CK_S}{\kappa_{11}^{2}}+\frac{2CK_S^2}{\kappa_{11}^{3}}+\frac{K_{S}^{\mathrm{nl}}\lVert w_{\mathcal{O}}\rVert_2}{\kappa_{11}}\right]. \tag*{(170)} K R = ∥ p σ ∥ 2 [ κ 11 2 C K S nl + κ 11 2 C K S + κ 11 3 2 C K S 2 + κ 11 K S nl ∥ w O ∥ 2 ] . (170)
The four summands correspond, in order, to the four terms of eq. (157) ; eq. (164) supplies ∥ S e f f − 1 ∥ o p ≤ κ 11 − 1 \lVert S_{\mathrm{eff}}^{-1}\rVert_{\mathrm{op}}\le\kappa_{11}^{-1} ∥ S eff − 1 ∥ op ≤ κ 11 − 1 and ∥ S ^ e f f − 1 ∥ o p ≤ 2 κ 11 − 1 \lVert\widehat{S}_{\mathrm{eff}}^{-1}\rVert_{\mathrm{op}}\le2\kappa_{11}^{-1} ∥ S eff − 1 ∥ op ≤ 2 κ 11 − 1 . These constants are not optimized so tighter bounds might very well be possible.
High-probability bounds
The deterministic argument in § 16.4 has reduced remainder control to one question: how often do all the fluctuations defining E u \mathcal{E}_u E u remain small? We answer it for independent multinomial shots, conditional on the fixed training states and uniformly for N ≥ 1 N \ge1 N ≥ 1 . A scalar concentration bound first controls each noise column; vector and matrix versions then control the linear and quadratic moments together. Substituting their common concentration radius into eq. (169) gives an explicit sample-size and confidence condition. This will control typical realizations in which E u \mathcal{E}_u E u is realized with u u u satisfying eq. (161) ; we will discuss later on in § 16.6 how to deal with ill-conditioned realizations, which is necessary to bound the MSE in expectation.
For each training state i ∈ { 1 , … , n t r } i \in\{1,\ldots,n_{\rm tr}\} i ∈ { 1 , … , n tr } , let Z i , 1 , … , Z i , N Z_{i,1},\ldots,Z_{i,N} Z i , 1 , … , Z i , N be independent categorical random variables with probability vector p i ∈ R n o u t p_i \in\mathbb{R}^{n_{\rm out}} p i ∈ R n out . Assume also that the samples associated with distinct training states are independent. Define
p ^ i = 1 N ∑ s = 1 N e Z i , s , ξ ^ i = N ( p ^ i − p i ) , (171) \hat{p}_i = \frac{1}{N}\sum_{s=1}^{N} e_{Z_{i,s}}, \qquad\hat{\xi}_i = \sqrt{N}\left(\hat{p}_i-p_i\right), \tag*{(171)} p ^ i = N 1 s = 1 ∑ N e Z i , s , ξ ^ i = N ( p ^ i − p i ) , (171)
where e Z i , s e_{Z_{i,s}} e Z i , s denotes the canonical vectors. The two block dimensions are m 1 = d 2 m_1=d^2 m 1 = d 2 and m 2 = n o u t − d 2 m_2=n_{\rm out}-d^2 m 2 = n out − d 2 , so that m 1 + m 2 = n o u t m_1+m_2=n_{\rm out} m 1 + m 2 = n out . We denote by ξ ^ i , a ∈ R m a \hat{\xi}_{i,a}\in\mathbb{R}^{m_a} ξ ^ i , a ∈ R m a the a a a -th block of ξ ^ i \hat{\xi}_i ξ ^ i . Recall that y i = p i , 1 T U 1 T w O y_i=p_{i,1}^TU_1^Tw_O y i = p i , 1 T U 1 T w O and B y ≡ max i ∣ ⟨ O , ρ i ⟩ ∣ ≤ ∥ O ∥ ∞ B_y\equiv\max_i|\langle O,\rho_i\rangle|\le\|O\|_\infty B y ≡ max i ∣ ⟨ O , ρ i ⟩ ∣ ≤ ∥ O ∥ ∞ . For 0 < δ < 1 0<\delta<1 0 < δ < 1 , define
q δ = 2 n o u t log 9 + log ( 32 δ ) , r δ = q δ n t r + q δ n t r . (172) q_\delta=2n_{\rm out}\log9+\log\left(\frac{32}{\delta}\right), \qquad r_\delta=\sqrt{\frac{q_\delta}{n_{\rm tr}}}+\frac{q_\delta}{n_{\rm tr}}. \tag*{(172)} q δ = 2 n out log 9 + log ( δ 32 ) , r δ = n tr q δ + n tr q δ . (172)
The numerical factors in q δ q_\delta q δ are chosen so that the vector and matrix bounds below hold simultaneously.
Lemma 4 (Subgaussian multinomial error). For every v ∈ R n o u t v\in\mathbb{R}^{n_{\rm out}} v ∈ R n out and λ ∈ R \lambda\in\mathbb{R} λ ∈ R ,
E exp ( λ v T ( p ^ i − p i ) ) ≤ exp ( λ 2 ∥ v ∥ 2 2 4 N ) . (173) \mathbb{E}\exp\left(\lambda v^T(\hat{p}_i-p_i)\right)\le\exp\left(\frac{\lambda^2\|v\|_2^2}{4N}\right). \tag*{(173)} E exp ( λ v T ( p ^ i − p i ) ) ≤ exp ( 4 N λ 2 ∥ v ∥ 2 2 ) . (173) Equivalently, in the convention E e λ X ≤ e λ 2 σ 2 / 2 \mathbb{E}e^{\lambda X}\le e^{\lambda^2\sigma^2/2} E e λ X ≤ e λ 2 σ 2 /2 , the random variable v T ξ ^ i v^T\hat{\xi}_i v T ξ ^ i is subgaussian with parameter σ 2 ≤ ∥ v ∥ 2 2 / 2 \sigma^2\le\|v\|_2^2/2 σ 2 ≤ ∥ v ∥ 2 2 /2 .
Proof. Set Y s = v T ( e Z i , s − p i ) Y_s=v^T(e_{Z_{i,s}}-p_i) Y s = v T ( e Z i , s − p i ) . Then E [ Y s ] = 0 \mathbb{E}[Y_s]=0 E [ Y s ] = 0 , and the range of Y s Y_s Y s has length max j v j − min j v j ≤ 2 ∥ v ∥ 2 \max_jv_j-\min_jv_j\le\sqrt{2}\|v\|_2 max j v j − min j v j ≤ 2 ∥ v ∥ 2 . Hoeffding’s lemma therefore implies E e t Y s ≤ exp ( t 2 ∥ v ∥ 2 2 / 4 ) \mathbb{E}e^{tY_s}\le\exp(t^2\|v\|_2^2/4) E e t Y s ≤ exp ( t 2 ∥ v ∥ 2 2 /4 ) . Independence and v T ( p ^ i − p i ) = N − 1 ∑ s = 1 N Y s v^T(\hat{p}_i-p_i)=N^{-1}\sum_{s=1}^{N}Y_s v T ( p ^ i − p i ) = N − 1 ∑ s = 1 N Y s now give
E exp ( λ v T ( p ^ i − p i ) ) = ∏ s = 1 N E exp ( λ N Y s ) ≤ exp ( λ 2 ∥ v ∥ 2 2 4 N ) . (174) \mathbb{E}\exp\left(\lambda v^T(\hat{p}_i-p_i)\right)=\prod_{s=1}^{N}\mathbb{E}\exp\left(\frac{\lambda}{N}Y_s\right)\le\exp\left(\frac{\lambda^2\|v\|_2^2}{4N}\right). \tag*{(174)} E exp ( λ v T ( p ^ i − p i ) ) = s = 1 ∏ N E exp ( N λ Y s ) ≤ exp ( 4 N λ 2 ∥ v ∥ 2 2 ) . (174)
Lemma 5 (Concentration of Δ ℓ ^ a \widehat{\Delta\ell}_a Δ ℓ a ). With probability at least 1 − δ 1-\delta 1 − δ , simultaneously for a ∈ { 1 , 2 } a\in\{1,2\} a ∈ { 1 , 2 } ,
∥ Δ ℓ ^ a ∥ 2 ≤ 2 B y q δ N n t r = 2 B y r δ N . (175) \|\widehat{\Delta\ell}_a\|_2\le2B_y\sqrt{\frac{q_\delta}{Nn_{\rm tr}}}=\frac{2B_yr_\delta}{\sqrt{N}}. \tag*{(175)} ∥ Δ ℓ a ∥ 2 ≤ 2 B y N n tr q δ = N 2 B y r δ . (175)
Proof. Because Δ ℓ ^ a = ( n t r N ) − 1 ∑ i = 1 n t r y i ξ ^ i , a \widehat{\Delta\ell}_a=(n_{\rm tr}\sqrt{N})^{-1}\sum_{i=1}^{n_{\rm tr}}y_i\hat{\xi}_{i,a} Δ ℓ a = ( n tr N ) − 1 ∑ i = 1 n tr y i ξ ^ i , a , lemma 4 and independence across i i i imply, for every unit vector v ∈ R m a v\in\mathbb{R}^{m_a} v ∈ R m a ,
E exp ( λ v T Δ ℓ ^ a ) ≤ exp ( λ 2 4 N n t r 2 ∑ i = 1 n t r y i 2 ) ≤ exp ( B y 2 λ 2 4 N n t r ) . (176) \mathbb{E}\exp\left(\lambda v^T\widehat{\Delta\ell}_a\right)\le\exp\left(\frac{\lambda^2}{4Nn_{\rm tr}^2}\sum_{i=1}^{n_{\rm tr}}y_i^2\right)\le\exp\left(\frac{B_y^2\lambda^2}{4Nn_{\rm tr}}\right). \tag*{(176)} E exp ( λ v T Δ ℓ a ) ≤ exp ( 4 N n tr 2 λ 2 i = 1 ∑ n tr y i 2 ) ≤ exp ( 4 N n tr B y 2 λ 2 ) . (176)
If B y = 0 B_y=0 B y = 0 , then every y i = 0 y_i=0 y i = 0 and Δ ℓ ^ a = 0 \widehat{\Delta\ell}_a=0 Δ ℓ a = 0 , so the claim is immediate. Assume henceforth that B y > 0 B_y>0 B y > 0 . The Chernoff bound therefore yields
P ( ∣ v T Δ ℓ ^ a ∣ > t ) ≤ 2 exp ( − N n t r t 2 B y 2 ) . (177) \mathbb{P}\left(\left|v^T\widehat{\Delta\ell}_a\right|>t\right)\le2\exp\left(-\frac{Nn_{\rm tr}t^2}{B_y^2}\right). \tag*{(177)} P ( v T Δ ℓ a > t ) ≤ 2 exp ( − B y 2 N n tr t 2 ) . (177)
However, a bound in one direction is insufficient for E u \mathcal{E}_u E u , which requires control over the full vector norm. To derive a bound in the other direction, let N a \mathcal{N}_a N a be a 1 / 4 1/4 1/4 -net of the unit sphere in R m a \mathbb{R}^{m_a} R m a with ∣ N a ∣ ≤ 9 m a |\mathcal{N}_a| \le9^{m_a} ∣ N a ∣ ≤ 9 m a . For any nonzero z ∈ R m a z \in\mathbb{R}^{m_a} z ∈ R m a , choose v ∈ N a v \in\mathcal{N}_a v ∈ N a within distance 1 / 4 1/4 1/4 of z / ∥ z ∥ 2 z/\lVert z\rVert_2 z / ∥ z ∥ 2 ; the case z = 0 z = 0 z = 0 is immediate. Then
∥ z ∥ 2 = z T z ∥ z ∥ 2 ≤ ∣ v T z ∣ + 1 4 ∥ z ∥ 2 , (178) \lVert z\rVert_2 = \frac{z^{T}z}{\lVert z\rVert_2} \le\lvert v^{T}z\rvert+ \frac{1}{4}\lVert z\rVert_2, \tag*{(178)} ∥ z ∥ 2 = ∥ z ∥ 2 z T z ≤ ∣ v T z ∣ + 4 1 ∥ z ∥ 2 , (178)
so ∥ z ∥ 2 ≤ ( 4 / 3 ) max v ∈ N a ∣ v T z ∣ \lVert z\rVert_2 \le(4/3)\max_{v\in\mathcal{N}_a}\lvert v^{T}z\rvert ∥ z ∥ 2 ≤ ( 4/3 ) max v ∈ N a ∣ v T z ∣ ; we use the looser factor 2 below. Taking t = B y q δ / ( N n t r ) t = B_y\sqrt{q_\delta/(Nn_{\mathrm{tr}})} t = B y q δ / ( N n tr ) in eq. (177) and applying a union bound gives
P ( ∥ Δ ^ ℓ a ∥ 2 > 2 B y q δ N n t r ) ≤ 2 9 m a e − q δ ≤ δ 16 . (179) \mathbb{P}\left(\lVert\widehat{\Delta}\ell_a\rVert_2 > 2B_y\sqrt{\frac{q_\delta}{Nn_{\mathrm{tr}}}}\right) \le2\,9^{m_a}e^{-q_\delta} \le\frac{\delta}{16}. \tag*{(179)} P ( ∥ Δ ℓ a ∥ 2 > 2 B y N n tr q δ ) ≤ 2 9 m a e − q δ ≤ 16 δ . (179)
A second union bound over a ∈ { 1 , 2 } a \in\{1,2\} a ∈ { 1 , 2 } proves the simultaneous statement.
Lemma 6 (Quadratic concentration). For a , b ∈ { 1 , 2 } a,b \in\{1,2\} a , b ∈ { 1 , 2 } , define
Q ^ a b = 1 n t r ∑ i = 1 n t r ( ξ ^ i , a ξ ^ i , b T − E [ ξ ^ i , a ξ ^ i , b T ] ) . (180) \widehat{Q}_{ab} = \frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(\widehat{\xi}_{i,a}\widehat{\xi}_{i,b}^{T} - \mathbb{E}[\widehat{\xi}_{i,a}\widehat{\xi}_{i,b}^{T}]\right). \tag*{(180)} Q ab = n tr 1 i = 1 ∑ n tr ( ξ i , a ξ i , b T − E [ ξ i , a ξ i , b T ] ) . (180) There is an absolute constant K B > 0 K_B > 0 K B > 0 such that, simultaneously for all four pairs ( a , b ) (a,b) ( a , b ) , with probability at least 1 − δ 1-\delta 1 − δ ,
∥ Q ^ a b ∥ o p ≤ K B r δ . (181) \lVert\widehat{Q}_{ab}\rVert_{\mathrm{op}} \le K_B r_\delta. \tag*{(181)} ∥ Q ab ∥ op ≤ K B r δ . (181) Equivalently,
∥ 1 N n t r ∑ i = 1 n t r ( ξ ^ i , a ξ ^ i , b T − E [ ξ ^ i , a ξ ^ i , b T ] ) ∥ o p ≤ K B r δ N . (182) \left\lVert\frac{1}{Nn_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(\widehat{\xi}_{i,a}\widehat{\xi}_{i,b}^{T} - \mathbb{E}[\widehat{\xi}_{i,a}\widehat{\xi}_{i,b}^{T}]\right)\right\rVert_{\mathrm{op}} \le\frac{K_B r_\delta}{N}. \tag*{(182)} N n tr 1 i = 1 ∑ n tr ( ξ i , a ξ i , b T − E [ ξ i , a ξ i , b T ] ) op ≤ N K B r δ . (182)
Proof. Fix unit vectors u ∈ R m a u \in\mathbb{R}^{m_a} u ∈ R m a and v ∈ R m b v \in\mathbb{R}^{m_b} v ∈ R m b , and let
X i = ( u T ξ ^ i , a ) ( v T ξ ^ i , b ) − E [ ( u T ξ ^ i , a ) ( v T ξ ^ i , b ) ] . (183) X_i = (u^{T}\widehat{\xi}_{i,a})(v^{T}\widehat{\xi}_{i,b}) - \mathbb{E}[(u^{T}\widehat{\xi}_{i,a})(v^{T}\widehat{\xi}_{i,b})]. \tag*{(183)} X i = ( u T ξ i , a ) ( v T ξ i , b ) − E [( u T ξ i , a ) ( v T ξ i , b )] . (183)
Both factors have uniformly bounded subgaussian norm by lemma 4. They need not be independent: the standard product inequality for Orlicz norms still gives a uniform subexponential bound for their product, and centering changes that bound by at most a factor of two. Thus ∥ X i ∥ ψ 1 ≤ K X \lVert X_i\rVert_{\psi_1} \le K_X ∥ X i ∥ ψ 1 ≤ K X for one absolute constant K X K_X K X . Bernstein’s inequality then gives an absolute constant K B K_B K B such that, for every s > 0 s > 0 s > 0 ,
P ( ∣ 1 n t r ∑ i = 1 n t r X i ∣ > K B ( s n t r + s n t r ) ) ≤ 2 e − s . (184) \mathbb{P}\left(\left\lvert\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}X_i\right\rvert> K_B\left(\sqrt{\frac{s}{n_{\mathrm{tr}}}}+\frac{s}{n_{\mathrm{tr}}}\right)\right) \le2e^{-s}. \tag*{(184)} P ( n tr 1 i = 1 ∑ n tr X i > K B ( n tr s + n tr s ) ) ≤ 2 e − s . (184)
Let N a \mathcal{N}_a N a and N b \mathcal{N}_b N b be 1 / 4 1/4 1/4 -nets of the corresponding unit spheres. Their product has cardinality at most 9 m a + m b 9^{m_a+m_b} 9 m a + m b , and any B ∈ R m a × m b B \in\mathbb{R}^{m_a\times m_b} B ∈ R m a × m b satisfies ∥ B ∥ o p ≤ 2 max u ∈ N a , v ∈ N b ∣ u T B v ∣ \lVert B\rVert_{\mathrm{op}} \le2\max_{u\in\mathcal{N}_a,v\in\mathcal{N}_b}\lvert u^{T}Bv\rvert ∥ B ∥ op ≤ 2 max u ∈ N a , v ∈ N b ∣ u T B v ∣ . Apply eq. (184) with s = q δ s = q_\delta s = q δ . Since m a + m b ≤ 2 n o u t m_a+m_b \le2n_{\mathrm{out}} m a + m b ≤ 2 n out , a union bound over the two nets and all four block pairs has failure probability at most 8 9 2 n o u t e − q δ = δ / 4 8\,9^{2n_{\mathrm{out}}}e^{-q_\delta} = \delta/4 8 9 2 n out e − q δ = δ /4 . Absorbing the net factor 2 into K B K_B K B proves eq. (181) .
Lemma 7 (Concentration of the linear matrix terms). For a ∈ { 1 , 2 } a \in\{1,2\} a ∈ { 1 , 2 } , define A ^ a = n t r − 1 ∑ i = 1 n t r p i , 1 ξ ^ i , a T \widehat{A}_a = n_{\mathrm{tr}}^{-1}\sum_{i=1}^{n_{\mathrm{tr}}}p_{i,1}\widehat{\xi}_{i,a}^{T} A a = n tr − 1 ∑ i = 1 n tr p i , 1 ξ i , a T , where p i , 1 ∈ R m 1 p_{i,1} \in\mathbb{R}^{m_1} p i , 1 ∈ R m 1 is the first block of p i p_i p i . Then, simultaneously for a ∈ { 1 , 2 } a \in\{1,2\} a ∈ { 1 , 2 } , with probability at least 1 − δ 1-\delta 1 − δ ,
∥ A ^ a ∥ o p ≤ 2 q δ n t r ≤ 2 r δ . (185) \lVert\widehat{A}_a\rVert_{\mathrm{op}} \le2\sqrt{\frac{q_\delta}{n_{\mathrm{tr}}}} \le2r_\delta. \tag*{(185)} ∥ A a ∥ op ≤ 2 n tr q δ ≤ 2 r δ . (185) Consequently,
∥ 1 n t r N ∑ i = 1 n t r p i , 1 ξ ^ i , a T ∥ o p ≤ 2 r δ N . (186) \left\lVert\frac{1}{n_{\mathrm{tr}}\sqrt{N}}\sum_{i=1}^{n_{\mathrm{tr}}}p_{i,1}\widehat{\xi}_{i,a}^{T}\right\rVert_{\mathrm{op}} \le\frac{2r_\delta}{\sqrt{N}}. \tag*{(186)} n tr N 1 i = 1 ∑ n tr p i , 1 ξ i , a T op ≤ N 2 r δ . (186)
Proof. Fix unit vectors u ∈ R m 1 u \in\mathbb{R}^{m_1} u ∈ R m 1 and v ∈ R m a v \in\mathbb{R}^{m_a} v ∈ R m a . The subgaussian moment-generating-function bound gives
E exp ( λ u T A ^ a v ) ≤ exp ( λ 2 4 n t r 2 ∑ i = 1 n t r ( u T p i , 1 ) 2 ) ≤ exp ( λ 2 4 n t r ) . (187) \mathbb{E}\exp\left(\lambda u^{T}\widehat{A}_a v\right) \le\exp\left(\frac{\lambda^2}{4n_{\mathrm{tr}}^2}\sum_{i=1}^{n_{\mathrm{tr}}}(u^T p_{i,1})^2\right) \le\exp\left(\frac{\lambda^2}{4n_{\mathrm{tr}}}\right). \tag*{(187)} E exp ( λ u T A a v ) ≤ exp ( 4 n tr 2 λ 2 i = 1 ∑ n tr ( u T p i , 1 ) 2 ) ≤ exp ( 4 n tr λ 2 ) . (187)
where we used ∥ p i , 1 ∥ 2 ≤ ∥ p i ∥ 2 ≤ 1 \lVert p_{i,1}\rVert_2 \le\lVert p_i\rVert_2 \le1 ∥ p i , 1 ∥ 2 ≤ ∥ p i ∥ 2 ≤ 1 . Hence P ( ∣ u T A ^ a v ∣ > t ) ≤ 2 e − n t r t 2 \mathbb{P}(|u^T\widehat{A}_a v| > t) \le2e^{-n_{\mathrm{tr}}t^2} P ( ∣ u T A a v ∣ > t ) ≤ 2 e − n tr t 2 . Applying the same 1 / 4 1/4 1/4 -net argument as above with t = q δ / n t r t=\sqrt{q_\delta/n_{\mathrm{tr}}} t = q δ / n tr gives, for each a a a ,
P ( ∥ A ^ a ∥ o p > 2 q δ n t r ) ≤ 2 ⋅ 9 m 1 + m a e − q δ ≤ δ 16 . (188) \mathbb{P}\left(\lVert\widehat{A}_a\rVert_{\mathrm{op}} > 2\sqrt{\frac{q_\delta}{n_{\mathrm{tr}}}}\right) \le2\cdot9^{m_1+m_a}e^{-q_\delta} \le\frac{\delta}{16}. \tag*{(188)} P ( ∥ A a ∥ op > 2 n tr q δ ) ≤ 2 ⋅ 9 m 1 + m a e − q δ ≤ 16 δ . (188)
A union bound over the two values of a a a completes the proof.
We can now assemble the event needed for the deterministic proof:
Corollary 1 (Simultaneous basic event). There is a fixed absolute constant K S > 0 K_S > 0 K S > 0 such that, with probability at least 1 − δ 1-\delta 1 − δ , all of the following bounds hold simultaneously, where r δ r_\delta r δ is defined in eq. (172) :
∥ Δ S ^ 11 ∥ o p , ∥ Δ S ^ 12 ∥ o p , ∥ Δ S ^ 21 ∥ o p ≤ K S r δ N , ∥ h ^ ∥ 2 ≤ K B ∥ w O ∥ 2 r δ N , \lVert\Delta\widehat{S}_{11}\rVert_{\mathrm{op}},\ \lVert\Delta\widehat{S}_{12}\rVert_{\mathrm{op}},\ \lVert\Delta\widehat{S}_{21}\rVert_{\mathrm{op}} \le\frac{K_Sr_\delta}{\sqrt{N}}, \qquad\lVert\widehat{h}\rVert_2 \le K_B\lVert w_O\rVert_2\frac{r_\delta}{N}, ∥ Δ S 11 ∥ op , ∥ Δ S 12 ∥ op , ∥ Δ S 21 ∥ op ≤ N K S r δ , ∥ h ∥ 2 ≤ K B ∥ w O ∥ 2 N r δ , ∥ Δ S ^ 22 ∥ o p ≤ K S r δ N , ∥ Δ ℓ ^ a ∥ 2 ≤ 2 B y r δ N , a ∈ { 1 , 2 } . (189) \lVert\Delta\widehat{S}_{22}\rVert_{\mathrm{op}} \le\frac{K_Sr_\delta}{N}, \qquad\lVert\Delta\widehat{\ell}_a\rVert_2 \le\frac{2B_y r_\delta}{\sqrt{N}}, \qquad a\in\{1,2\}. \tag*{(189)} ∥ Δ S 22 ∥ op ≤ N K S r δ , ∥ Δ ℓ a ∥ 2 ≤ N 2 B y r δ , a ∈ { 1 , 2 } . (189)
Thus, for C 0 ≥ max { 1 , K S , K B } C_0 \ge\max\{1,K_S,K_B\} C 0 ≥ max { 1 , K S , K B } , we have P ( E C 0 r δ ) ≥ 1 − δ \mathbb{P}(\mathcal{E}_{C_0r_\delta}) \ge1-\delta P ( E C 0 r δ ) ≥ 1 − δ .
Proof. The block fluctuations have the exact decompositions
Δ S ^ 11 = A ^ 1 + A ^ 1 T N + Q ^ 11 N , Δ S ^ 12 = A ^ 2 N + Q ^ 12 N , \Delta\widehat{S}_{11}=\frac{\widehat{A}_1+\widehat{A}_1^T}{\sqrt{N}}+\frac{\widehat{Q}_{11}}{N}, \qquad\Delta\widehat{S}_{12}=\frac{\widehat{A}_2}{\sqrt{N}}+\frac{\widehat{Q}_{12}}{N}, Δ S 11 = N A 1 + A 1 T + N Q 11 , Δ S 12 = N A 2 + N Q 12 ,
Δ S ^ 21 = A ^ 2 T N + Q ^ 21 N , Δ S ^ 22 = Q ^ 22 N . (190) \Delta\widehat{S}_{21}=\frac{\widehat{A}_2^T}{\sqrt{N}}+\frac{\widehat{Q}_{21}}{N}, \qquad\Delta\widehat{S}_{22}=\frac{\widehat{Q}_{22}}{N}. \tag*{(190)} Δ S 21 = N A 2 T + N Q 21 , Δ S 22 = N Q 22 . (190)
Combining lemmas 5 to 7 and using N − 1 ≤ N − 1 / 2 N^{-1}\le N^{-1/2} N − 1 ≤ N − 1/2 proves the asserted block and vector bounds. The common choice of q δ q_\delta q δ makes their total failure probability smaller than δ \delta δ . Finally, the bound on h ^ \widehat{h} h follows from eqs. (158) and (SM120) with ( a , b ) = ( 2 , 1 ) (a,b)=(2,1) ( a , b ) = ( 2 , 1 ) .
It now remains to compare the concentration radius in corollary 1 with the radius for which the inverse bounds hold, i.e. with eq. (161) . Under the standing uniform conditioning assumptions, a fixed threshold can enforce those bounds for every N ≥ 1 N\ge1 N ≥ 1 . Our main objective here is thus to bound the u u u in eq. (169) into a factor that depends on the confidence interval δ \delta δ .
Theorem 5 (High-probability remainder bound). For fixed d d d and n o u t n_{\mathrm{out}} n out , there are deterministic constants u ⋆ , C R , C 0 > 0 u_\star,C_R,C_0>0 u ⋆ , C R , C 0 > 0 , independent of N N N and n t r n_{\mathrm{tr}} n tr , such that for any δ \delta δ satisfying C 0 r δ ≤ u ⋆ C_0r_\delta\le u_\star C 0 r δ ≤ u ⋆ , with probability at least 1 − δ 1-\delta 1 − δ , we have ∣ R ^ ∣ ≤ C R r δ 2 N |\widehat{R}|\le C_R\frac{r_\delta^2}{\sqrt{N}} ∣ R ∣ ≤ C R N r δ 2 .
Proof. Choose C 0 ≥ max { 1 , K S , K B } C_0\ge\max\{1,K_S,K_B\} C 0 ≥ max { 1 , K S , K B } as in corollary 1, and set
u ⋆ ≡ min { 1 , κ 22 2 , κ 11 4 K S 2 , κ 11 4 K S n } . (191) u_\star\equiv\min\left\{1,\frac{\kappa_{22}}{2},\frac{\kappa_{11}}{4K_S^2},\sqrt{\frac{\kappa_{11}}{4K_S^n}}\right\}. \tag*{(191)} u ⋆ ≡ min { 1 , 2 κ 22 , 4 K S 2 κ 11 , 4 K S n κ 11 } . (191)
With the uniform constants chosen above, u ⋆ u_\star u ⋆ is independent of N N N and n t r n_{\mathrm{tr}} n tr . For every N ≥ 1 N\ge1 N ≥ 1 and u ≤ u ⋆ u\le u_\star u ≤ u ⋆ , K S p u / N + K S n u 2 ≤ κ 11 / 2 K_S^p u/\sqrt{N}+K_S^n u^2\le\kappa_{11}/2 K S p u / N + K S n u 2 ≤ κ 11 /2 . Thus eqs. (164) and (SM108) applies on E u \mathcal{E}_u E u . If C 0 r δ ≤ u ⋆ C_0r_\delta\le u_\star C 0 r δ ≤ u ⋆ , the event E C 0 r δ \mathcal{E}_{C_0r_\delta} E C 0 r δ has probability at least 1 − δ 1-\delta 1 − δ , and on that event ∣ R ^ ∣ ≤ K R C 0 2 r δ 2 / N |\widehat{R}|\le K_R C_0^2r_\delta^2/\sqrt{N} ∣ R ∣ ≤ K R C 0 2 r δ 2 / N . The claim follows with C R ≡ K R C 0 2 C_R\equiv K_R C_0^2 C R ≡ K R C 0 2 .
The smallness condition on r δ r_\delta r δ can also be written directly as a requirement on n t r n_{\mathrm{tr}} n tr . With c ⋆ = ( 1 + 4 u ⋆ / C 0 − 1 ) 2 / 4 c_\star= (\sqrt{1+4u_\star/C_0}-1)^2/4 c ⋆ = ( 1 + 4 u ⋆ / C 0 − 1 ) 2 /4 , the definition in eq. (172) gives
C 0 r δ ≤ u ⋆ ⟺ n t r ≥ q δ c ⋆ = 2 n o u t log 9 + log ( 32 / δ ) c ⋆ . (192) C_0r_\delta\le u_\star\quad\Longleftrightarrow\quad n_{\mathrm{tr}} \ge\frac{q_\delta}{c_\star} = \frac{2n_{\mathrm{out}}\log9+\log(32/\delta)}{c_\star}. \tag*{(192)} C 0 r δ ≤ u ⋆ ⟺ n tr ≥ c ⋆ q δ = c ⋆ 2 n out log 9 + log ( 32/ δ ) . (192)
Thus for fixed dimensions, training states, and δ \delta δ , if n t r ≥ q δ / c ⋆ n_{\mathrm{tr}} \ge q_\delta/c_\star n tr ≥ q δ / c ⋆ , then
P ( ∣ R ^ ∣ ≤ 4 C R q δ n t r N ) ≥ 1 − δ . (193) \mathbb{P}\left(\lvert\widehat{R}\rvert\le\frac{4C_Rq_\delta}{n_{\mathrm{tr}}\sqrt{N}}\right) \ge1-\delta. \tag*{(193)} P ( ∣ R ∣ ≤ n tr N 4 C R q δ ) ≥ 1 − δ . (193)
For R ^ \widehat{R} R to be small relative to ∣ B ∣ = ∣ b N ∣ / N \lvert B\rvert=\lvert b_N\rvert/N ∣ B ∣ = ∣ b N ∣ / N and the fluctuation, we also require 4 C R q δ N ≪ ∣ b N ∣ n t r 4C_Rq_\delta\sqrt{N}\ll\lvert b_N\rvert n_{\mathrm{tr}} 4 C R q δ N ≪ ∣ b N ∣ n tr and 4 C R q δ ≪ n t r N E [ L ^ 2 ] 4C_Rq_\delta\ll n_{\mathrm{tr}}\sqrt{N\mathbb{E}[\widehat{L}^2]} 4 C R q δ ≪ n tr N E [ L 2 ] , respectively, which are satisfied for sufficiently large n t r n_{\mathrm{tr}} n tr .
Mean-squared error bound
§ 16.5 , and in particular theorem 5, controls the magnitude of R ^ \widehat{R} R on typical training realizations. However, to bound the MSE we need control on R ^ \widehat{R} R on average , which means we must make sure that rare realizations with very ill-conditioned matrices do not blow up R ^ \widehat{R} R enough to make the MSE expansion invalid. We therefore split the remainder’s second moment over the fixed event E u ⋆ \mathcal{E}_{u_\star} E u ⋆ and its complement. The threshold u ⋆ u_\star u ⋆ is the deterministic inverse-stability radius defined in eq. (191) ; unlike the variable radius u u u used to state the family of events E u \mathcal{E}_u E u , this is independent of the confidence level, N N N , and n t r n_{\mathrm{tr}} n tr . On E u ⋆ \mathcal{E}_{u_\star} E u ⋆ we integrate the concentration tail, while on its complement we use a global bound on ∥ P ^ + ∥ o p \lVert\widehat{P}^{+}\rVert_{\mathrm{op}} ∥ P + ∥ op .
Lemma 8 (Remainder on the conditioning event). Under eq. (138) , for n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out and every N ≥ 1 N\ge1 N ≥ 1 ,
E [ R ^ 2 1 E u ⋆ ] ≤ K g o o d n o u t 2 N n t r 2 , (194) \mathbb{E}[\widehat{R}^{2}\mathbf{1}_{\mathcal{E}_{u_\star}}]\le K_{\mathrm{good}}\frac{n_{\mathrm{out}}^{2}}{Nn_{\mathrm{tr}}^{2}}, \tag*{(194)} E [ R 2 1 E u ⋆ ] ≤ K good N n tr 2 n out 2 , (194) where K g o o d K_{\mathrm{good}} K good is independent of N , n t r N,n_{\mathrm{tr}} N , n tr .
Proof. The deterministic bound in eq. (169) makes R ^ \widehat{R} R quadratic in the moment fluctuations, so a second-moment estimate for R ^ \widehat{R} R requires a fourth-moment estimate for their size. To integrate all componentwise bounds at once, define the realized fluctuation radius
ϵ ≡ inf { u ≥ 0 : E u occurs } . (195) \epsilon\equiv\inf\{u\ge0:\mathcal{E}_u\text{ occurs}\}. \tag*{(195)} ϵ ≡ inf { u ≥ 0 : E u occurs } . (195)
The events E u \mathcal{E}_u E u are nested, so ϵ \epsilon ϵ is simply the smallest radius that bounds every quantity in eq. (159) ; equivalently, { ϵ ≤ u } = E u \{\epsilon\le u\}=\mathcal{E}_u { ϵ ≤ u } = E u .
By corollary 1, P ( ϵ > C 0 r δ ) ≤ δ \mathbb{P}(\epsilon>C_0r_\delta)\le\delta P ( ϵ > C 0 r δ ) ≤ δ . For t ≥ log 16 t\ge\log16 t ≥ log 16 , set δ = 16 e − t \delta=16e^{-t} δ = 16 e − t and define
C q = 2 log 9 + log 2 + 1 , K t a i l ≡ C 0 max { C q , C q } . (196) C_q=2\log9+\log2+1,\qquad K_{\mathrm{tail}}\equiv C_0\max\{\sqrt{C_q},C_q\}. \tag*{(196)} C q = 2 log 9 + log 2 + 1 , K tail ≡ C 0 max { C q , C q } . (196)
Since q δ = 2 n o u t log 9 + t + log 2 ≤ C q ( n o u t + t ) q_\delta=2n_{\mathrm{out}}\log9+t+\log2\le C_q(n_{\mathrm{out}}+t) q δ = 2 n out log 9 + t + log 2 ≤ C q ( n out + t ) for n o u t ≥ 1 n_{\mathrm{out}}\ge1 n out ≥ 1 , the definition of r δ r_\delta r δ yields
P ( ϵ > K t a i l [ n o u t + t n t r + n o u t + t n t r ] ) ≤ 16 e − t , t ≥ 0. (197) \mathbb{P}\left(\epsilon>K_{\mathrm{tail}}\left[\sqrt{\frac{n_{\mathrm{out}}+t}{n_{\mathrm{tr}}}}+\frac{n_{\mathrm{out}}+t}{n_{\mathrm{tr}}}\right]\right)\le16e^{-t},\qquad t\ge0. \tag*{(197)} P ( ϵ > K tail [ n tr n out + t + n tr n out + t ] ) ≤ 16 e − t , t ≥ 0. (197)
For 0 ≤ t < log 16 0\le t<\log16 0 ≤ t < log 16 , the right-hand side 16 e − t 16e^{-t} 16 e − t is at least one, so the bound is trivial. To convert the tail bound into a fourth moment, put g ( s ) = K t a i l [ ( n o u t + log 16 + s ) / n t r + ( n o u t + log 16 + s ) / n t r ] g(s)=K_{\mathrm{tail}}[\sqrt{(n_{\mathrm{out}}+\log16+s)/n_{\mathrm{tr}}}+(n_{\mathrm{out}}+\log16+s)/n_{\mathrm{tr}}] g ( s ) = K tail [ ( n out + log 16 + s ) / n tr + ( n out + log 16 + s ) / n tr ] . Taking t = log 16 + s t=\log16+s t = log 16 + s in eq. (197) gives P ( ϵ > g ( s ) ) ≤ e − s \mathbb{P}(\epsilon>g(s))\le e^{-s} P ( ϵ > g ( s )) ≤ e − s . For any nonnegative random variable, its fourth moment is the area under the tail of its fourth power. Splitting that area at g ( 0 ) 4 g(0)^4 g ( 0 ) 4 and using the preceding bound gives
E [ ϵ 4 ] ≤ g ( 0 ) 4 + ∫ 0 ∞ e − s d [ g ( s ) 4 ] = ∫ 0 ∞ e − s g ( s ) 4 d s ≤ C [ n o u t 2 n t r 2 + n o u t 4 n t r 4 ] . (198) \mathbb{E}[\epsilon^4]\le g(0)^4+\int_0^\infty e^{-s}\,d[g(s)^4]=\int_0^\infty e^{-s}g(s)^4\,ds\le C\left[\frac{n_{\mathrm{out}}^2}{n_{\mathrm{tr}}^2}+\frac{n_{\mathrm{out}}^4}{n_{\mathrm{tr}}^4}\right]. \tag*{(198)} E [ ϵ 4 ] ≤ g ( 0 ) 4 + ∫ 0 ∞ e − s d [ g ( s ) 4 ] = ∫ 0 ∞ e − s g ( s ) 4 d s ≤ C [ n tr 2 n out 2 + n tr 4 n out 4 ] . (198)
Here, the equality is obtained integrating by parts; the boundary at infinity vanishes because g g g grows only linearly. Since n t r ≥ n o u t n_{\mathrm{tr}}\ge n_{\mathrm{out}} n tr ≥ n out , the last expression is at most C n o u t 2 / n t r 2 Cn_{\mathrm{out}}^2/n_{\mathrm{tr}}^2 C n out 2 / n tr 2 for a universal constant C C C . On the fixed conditioning event E u ⋆ = { ϵ ≤ u ⋆ } \mathcal{E}_{u_\star}=\{\epsilon\le u_\star\} E u ⋆ = { ϵ ≤ u ⋆ } , eq. (169) gives R ^ 2 ≤ K R 2 ϵ 4 / N \widehat{R}^2\le K_R^2\epsilon^4/N R 2 ≤ K R 2 ϵ 4 / N , which proves eq. (194) . □ \square □
Lemma 8 handles the contributions from E u ⋆ \mathcal{E}_{u_\star} E u ⋆ . On E u ⋆ c \mathcal{E}_{u_\star}^{c} E u ⋆ c , however, the Schur inverse formulas used in the previous sections do not apply, so we must return to working directly with the pseudoinverse P ^ N + \hat{P}_N^{+} P ^ N + , which remains defined rank-deficient realizations. We will leverage that the discreteness of the shot counts gives a coarse bound on its largest possible singular value, and then exploit the exponentially small probability of these unlikely events to conclude that E [ R ^ 2 1 E u ⋆ c ] \mathbb{E}[\hat{R}^{2}1_{\mathcal{E}_{u_\star}^{c}}] E [ R ^ 2 1 E u ⋆ c ] is also negligible.
Lemma 9 (Integer-frequency pseudoinverse bound). For every realization of a multinomial frequency matrix,
∥ P ^ + ∥ o p ≤ n o u t n o u t − 1 N n o u t . (199) \lVert\hat{P}^{+}\rVert_{\mathrm{op}} \le n_{\mathrm{out}}^{n_{\mathrm{out}}-1}N^{n_{\mathrm{out}}}. \tag*{(199)} ∥ P ^ + ∥ op ≤ n out n out − 1 N n out . (199) Proof. Let s = rank ( P ^ ) s=\operatorname{rank}(\hat{P}) s = rank ( P ^ ) . If s = 0 s=0 s = 0 , the pseudoinverse vanishes. Otherwise, A = N P ^ A=N\hat{P} A = N P ^ has an invertible s × s s\times s s × s integer minor B B B , so ∣ det B ∣ ≥ 1 |\det B|\ge1 ∣ det B ∣ ≥ 1 and ∥ B ∥ o p ≤ s N \lVert B\rVert_{\mathrm{op}}\le sN ∥ B ∥ op ≤ s N . The product of the largest s − 1 s-1 s − 1 singular values is at most ( s N ) s − 1 (sN)^{s-1} ( s N ) s − 1 , hence σ s ( B ) ≥ ( s N ) − ( s − 1 ) \sigma_s(B)\ge(sN)^{-(s-1)} σ s ( B ) ≥ ( s N ) − ( s − 1 ) . Singular-value interlacing under row and column restriction gives σ s ( A ) ≥ σ s ( B ) \sigma_s(A)\ge\sigma_s(B) σ s ( A ) ≥ σ s ( B ) . Therefore
∥ P ^ + ∥ o p = N / σ s ( A ) ≤ s s − 1 N s ≤ n o u t n o u t − 1 N n o u t . \lVert\hat{P}^{+}\rVert_{\mathrm{op}}=N/\sigma_s(A)\le s^{s-1}N^s\le n_{\mathrm{out}}^{n_{\mathrm{out}}-1}N^{n_{\mathrm{out}}}. ∥ P ^ + ∥ op = N / σ s ( A ) ≤ s s − 1 N s ≤ n out n out − 1 N n out .
Lemma 10 (Exceptional realizations). For every realization there is a constant K b a d K_{\mathrm{bad}} K bad , independent of N N N and n t r n_{\mathrm{tr}} n tr , such that
∣ R ^ ∣ 2 ≤ K b a d n t r ( N n o u t ) 2 n o u t . (200) |\hat{R}|^2\le K_{\mathrm{bad}}n_{\mathrm{tr}}(Nn_{\mathrm{out}})^{2n_{\mathrm{out}}}. \tag*{(200)} ∣ R ^ ∣ 2 ≤ K bad n tr ( N n out ) 2 n out . (200)
Define
u 0 ≡ min { 1 , [ u ⋆ 2 K t a i l ] 2 , u ⋆ 2 K t a i l } . (201) u_0\equiv\min\left\{1,\left[\frac{u_\star}{2K_{\mathrm{tail}}}\right]^2,\frac{u_\star}{2K_{\mathrm{tail}}}\right\}. \tag*{(201)} u 0 ≡ min { 1 , [ 2 K tail u ⋆ ] 2 , 2 K tail u ⋆ } . (201)
The role of u 0 u_0 u 0 is only to choose a tail parameter for which the radius in eq. (197) is no larger than the fixed stability threshold u ⋆ u_\star u ⋆ . If u 0 n t r ≥ n o u t u_0n_{\mathrm{tr}}\ge n_{\mathrm{out}} u 0 n tr ≥ n out , then
P ( E u ⋆ c ) ≤ 16 e − u 0 n t r + n o u t , E [ R ^ 2 1 E u ⋆ c ] ≤ 16 K b a d n t r ( N n o u t ) 2 n o u t e − u 0 n t r + n o u t . (202) \mathbb{P}(\mathcal{E}_{u_\star}^{c})\le16e^{-u_0n_{\mathrm{tr}}+n_{\mathrm{out}}},\qquad
\mathbb{E}[\hat{R}^{2}1_{\mathcal{E}_{u_\star}^{c}}]\le16K_{\mathrm{bad}}n_{\mathrm{tr}}(Nn_{\mathrm{out}})^{2n_{\mathrm{out}}}e^{-u_0n_{\mathrm{tr}}+n_{\mathrm{out}}}. \tag*{(202)} P ( E u ⋆ c ) ≤ 16 e − u 0 n tr + n out , E [ R ^ 2 1 E u ⋆ c ] ≤ 16 K bad n tr ( N n out ) 2 n out e − u 0 n tr + n out . (202)
Proof. By lemma 9, the empirical prediction obeys
∣ y T P ^ + p σ ∣ ≤ ∥ y ∥ 2 ∥ P ^ + ∥ o p ∥ p σ ∥ 2 ≤ B y n t r n o u t n o u t − 1 N n o u t . (203) |y^{\mathsf{T}}\hat{P}^{+}p_\sigma|\le\lVert y\rVert_2\lVert\hat{P}^{+}\rVert_{\mathrm{op}}\lVert p_\sigma\rVert_2\le B_y\sqrt{n_{\mathrm{tr}}}\,n_{\mathrm{out}}^{n_{\mathrm{out}}-1}N^{n_{\mathrm{out}}}. \tag*{(203)} ∣ y T P ^ + p σ ∣ ≤ ∥ y ∥ 2 ∥ P ^ + ∥ op ∥ p σ ∥ 2 ≤ B y n tr n out n out − 1 N n out . (203)
The ideal term satisfies ∣ y T P + p σ ∣ ≤ B y / κ 11 |y^{\mathsf{T}}P^{+}p_\sigma|\le B_y/\sqrt{\kappa_{11}} ∣ y T P + p σ ∣ ≤ B y / κ 11 , because ∥ y ∥ 2 ≤ B y n t r \lVert y\rVert_2\le B_y\sqrt{n_{\mathrm{tr}}} ∥ y ∥ 2 ≤ B y n tr , ∥ p σ ∥ 2 ≤ 1 \lVert p_\sigma\rVert_2\le1 ∥ p σ ∥ 2 ≤ 1 , and ∥ P + ∥ o p ≤ ( κ 11 n t r ) − 1 / 2 \lVert P^{+}\rVert_{\mathrm{op}}\le(\kappa_{11}n_{\mathrm{tr}})^{-1/2} ∥ P + ∥ op ≤ ( κ 11 n tr ) − 1/2 . Combining this with eq. (203) gives ∣ Δ o ^ ∣ ≤ C Δ n t r ( N n o u t ) n o u t |\Delta\hat{o}|\le C_{\Delta}\sqrt{n_{\mathrm{tr}}}(Nn_{\mathrm{out}})^{n_{\mathrm{out}}} ∣Δ o ^ ∣ ≤ C Δ n tr ( N n out ) n out . In addition, ∣ B ∣ ≤ C B |B|\le C_B ∣ B ∣ ≤ C B follows directly from eq. (146) and uniform conditioning. Finally, inserting the deterministic bound ∥ ξ ^ i ∥ 2 ≤ 2 N \lVert\hat{\xi}_i\rVert_2\le\sqrt{2N} ∥ ξ ^ i ∥ 2 ≤ 2 N into the explicit column formula eq. (148) cancels its N − 1 / 2 N^{-1/2} N − 1/2 and N − 1 N^{-1} N − 1 prefactors and gives ∣ L ^ i ∣ ≤ C L |\hat{L}_i|\le C_L ∣ L ^ i ∣ ≤ C L ; hence ∣ L ^ ∣ ≤ C L |\hat{L}|\le C_L ∣ L ^ ∣ ≤ C L . Therefore
∣ R ^ ∣ 2 = ∣ Δ o ^ − B − L ^ ∣ 2 ≤ 3 ( C Δ 2 n t r ( N n o u t ) 2 n o u t + C B 2 + C L 2 ) , (204) |\hat{R}|^2=|\Delta\hat{o}-B-\hat{L}|^2\le3(C_\Delta^2n_{\mathrm{tr}}(Nn_{\mathrm{out}})^{2n_{\mathrm{out}}}+C_B^2+C_L^2), \tag*{(204)} ∣ R ^ ∣ 2 = ∣Δ o ^ − B − L ^ ∣ 2 ≤ 3 ( C Δ 2 n tr ( N n out ) 2 n out + C B 2 + C L 2 ) , (204)
which is eq. (200) after enlarging K b a d K_{\mathrm{bad}} K bad . Multiplying this deterministic bound by P ( E u ⋆ c ) \mathbb{P}(\mathcal{E}_{u_\star}^{c}) P ( E u ⋆ c ) is the precise step that controls the exceptional contribution to E [ R ^ 2 ] \mathbb{E}[\hat{R}^2] E [ R ^ 2 ] . The deterministic estimate alone grows with N N N ; its usefulness comes from the rarity of the event on which it is needed. To combine the two, take t = u 0 n t r − n o u t t=u_0n_{\mathrm{tr}}-n_{\mathrm{out}} t = u 0 n tr − n out in eq. (197) . Its threshold is at most u ⋆ u_\star u ⋆ , proving the probability bound; multiplying by the deterministic bound proves the second claim.
:::
Combining lemmas 8 and 10 controls the second moment of R ^ \hat{R} R ^ over the entire multinomial experiment, including nearly singular empirical matrices. The following theorem states the resulting finite-parameter control before taking any asymptotic limit. It deliberately keeps E [ L ^ 2 ] \mathbb{E}[\hat{L}^2] E [ L ^ 2 ] exact: simplifying that variance at large N N N is a separate step.
Theorem 6 (Finite-N N N control of the mean, variance, and MSE). Assume eq. (129) , N ≥ 1 N\ge1 N ≥ 1 , and n t r ≥ n o u t / u 0 n_{\mathrm{tr}}\ge n_{\mathrm{out}}/u_0 n tr ≥ n out / u 0 . Define the remainder bound
E [ R ^ 2 ] ≤ R N , n t r ( 2 ) ≡ K g o o d n o u t 2 N n t r 2 + 16 K b a d n t r ( N n o u t ) 2 n o u t e − u 0 n t r + n o u t . (205) \mathbb{E}[\hat{R}^{2}]\le\mathcal{R}_{N,n_{\mathrm{tr}}}^{(2)}\equiv\frac{K_{\mathrm{good}}n_{\mathrm{out}}^{2}}{Nn_{\mathrm{tr}}^{2}}+16K_{\mathrm{bad}}n_{\mathrm{tr}}(Nn_{\mathrm{out}})^{2n_{\mathrm{out}}}e^{-u_0n_{\mathrm{tr}}+n_{\mathrm{out}}}. \tag*{(205)} E [ R ^ 2 ] ≤ R N , n tr ( 2 ) ≡ N n tr 2 K good n out 2 + 16 K bad n tr ( N n out ) 2 n out e − u 0 n tr + n out . (205)
With B = − b N / N B=-b_N/N B = − b N / N and the exact E [ L ^ 2 ] = n t r − 2 ∑ i E [ L ^ i 2 ] \mathbb{E}[\hat{L}^2]=n_{\mathrm{tr}}^{-2}\sum_i\mathbb{E}[\hat{L}_i^2] E [ L ^ 2 ] = n tr − 2 ∑ i E [ L ^ i 2 ] from eq. (148) ,
∣ E [ Δ o ^ ] + b N N ∣ ≤ R N , n t r ( 2 ) , ∣ Var ( Δ o ^ ) − E [ L ^ 2 ] ∣ ≤ 2 E [ L ^ 2 ] R N , n t r ( 2 ) + R N , n t r ( 2 ) . (206) \left|\mathbb{E}[\Delta\hat{o}]+\frac{b_N}{N}\right|\leq\sqrt{\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}},\qquad\left|\operatorname{Var}(\Delta\hat{o})-\mathbb{E}[\hat{L}^2]\right|\leq2\sqrt{\mathbb{E}[\hat{L}^2]\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}}+\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}. \tag*{(206)} E [ Δ o ^ ] + N b N ≤ R N , n tr ( 2 ) , Var ( Δ o ^ ) − E [ L ^ 2 ] ≤ 2 E [ L ^ 2 ] R N , n tr ( 2 ) + R N , n tr ( 2 ) . (206)
Moreover,
∣ E [ Δ o ^ 2 ] − B 2 − E [ L ^ 2 ] ∣ ≤ 2 ( ∣ B ∣ + E [ L ^ 2 ] ) R N , n t r ( 2 ) + R N , n t r ( 2 ) . (207) \left|\mathbb{E}[\Delta\hat{o}^{2}]-B^2-\mathbb{E}[\hat{L}^2]\right|\leq2\left(|B|+\sqrt{\mathbb{E}[\hat{L}^2]}\right)\sqrt{\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}}+\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}. \tag*{(207)} E [ Δ o ^ 2 ] − B 2 − E [ L ^ 2 ] ≤ 2 ( ∣ B ∣ + E [ L ^ 2 ] ) R N , n tr ( 2 ) + R N , n tr ( 2 ) . (207)
Proof. Adding the good-event and exceptional-event estimates from lemmas 8 and 10 gives eq. (205) . We can therefore average the exact decomposition without excluding nearly singular realizations. Centering removes the B L ^ B\hat{L} B L ^ cross term, but not the correlations with the remainder: E [ L ^ ] = 0 \mathbb{E}[\hat{L}]=0 E [ L ^ ] = 0 gives E [ Δ o ^ ] = B + E [ R ^ ] \mathbb{E}[\Delta\hat{o}]=B+\mathbb{E}[\hat{R}] E [ Δ o ^ ] = B + E [ R ^ ] and
E [ Δ o ^ 2 ] − B 2 − E [ L ^ 2 ] = 2 B E [ R ^ ] + 2 E [ L ^ R ^ ] + E [ R ^ 2 ] . (208) \mathbb{E}[\Delta\hat{o}^{2}]-B^2-\mathbb{E}[\hat{L}^2]=2B\mathbb{E}[\hat{R}]+2\mathbb{E}[\hat{L}\hat{R}]+\mathbb{E}[\hat{R}^2]. \tag*{(208)} E [ Δ o ^ 2 ] − B 2 − E [ L ^ 2 ] = 2 B E [ R ^ ] + 2 E [ L ^ R ^ ] + E [ R ^ 2 ] . (208)
The inequalities ∣ E [ R ^ ] ∣ ≤ E [ R ^ 2 ] |\mathbb{E}[\hat{R}]|\leq\sqrt{\mathbb{E}[\hat{R}^2]} ∣ E [ R ^ ] ∣ ≤ E [ R ^ 2 ] and ∣ E [ L ^ R ^ ] ∣ ≤ E [ L ^ 2 ] E [ R ^ 2 ] |\mathbb{E}[\hat{L}\hat{R}]|\leq\sqrt{\mathbb{E}[\hat{L}^2]\mathbb{E}[\hat{R}^2]} ∣ E [ L ^ R ^ ] ∣ ≤ E [ L ^ 2 ] E [ R ^ 2 ] applied to eq. (208) prove the first line of eq. (206) and eq. (207) . For the variance, the deterministic B B B drops out; expanding Var ( L ^ + R ^ ) \operatorname{Var}(\hat{L}+\hat{R}) Var ( L ^ + R ^ ) and using Var ( R ^ ) ≤ E [ R ^ 2 ] \operatorname{Var}(\hat{R})\leq\mathbb{E}[\hat{R}^2] Var ( R ^ ) ≤ E [ R ^ 2 ] gives the stated bound. Thus the mean is controlled by comparing R N , n t r ( 2 ) \sqrt{\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}} R N , n tr ( 2 ) with ∣ B ∣ |B| ∣ B ∣ , whereas the variance is controlled by comparing R N , n t r ( 2 ) \mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}} R N , n tr ( 2 ) with E [ L ^ 2 ] \mathbb{E}[\hat{L}^2] E [ L ^ 2 ] . These are different relative-error tests even though both use the same absolute remainder bound.
Growth conditions and relative errors — Theorem 6 gives finite-parameter absolute errors for the mean, variance, and MSE whenever the uniform conditioning assumption eq. (129) holds, N ≥ 1 N\geq1 N ≥ 1 , and n t r ≥ n o u t / u 0 n_{\mathrm{tr}}\geq n_{\mathrm{out}}/u_0 n tr ≥ n out / u 0 . To obtain a scaling for the MSE, we must ensure that the exceptional contributions are negligible, which means that the exponential term in eq. (205) must be small compared to the scale of the other MSE contributions. For example, to make it negligible relative to 1 / ( N n t r 2 ) 1/(Nn_{\mathrm{tr}}^2) 1/ ( N n tr 2 ) , a sufficient condition is
u 0 n t r − ( 2 n o u t + 1 ) log N − 3 log n t r − 2 n o u t log n o u t − n o u t ⟶ + ∞ . (209) u_0n_{\mathrm{tr}}-(2n_{\mathrm{out}}+1)\log N-3\log n_{\mathrm{tr}}-2n_{\mathrm{out}}\log n_{\mathrm{out}}-n_{\mathrm{out}}\longrightarrow+\infty. \tag*{(209)} u 0 n tr − ( 2 n out + 1 ) log N − 3 log n tr − 2 n out log n out − n out ⟶ + ∞. (209)
At fixed dimensions and uniform conditioning, the simpler sufficient condition
n t r / log ( 2 + N ) ⟶ ∞ (210) n_{\mathrm{tr}}/\log(2+N)\longrightarrow\infty \tag*{(210)} n tr / log ( 2 + N ) ⟶ ∞ (210)
makes that term smaller than every fixed inverse polynomial in N , n t r N,n_{\mathrm{tr}} N , n tr .
This implies in particular that n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ at any fixed N ≥ 1 N\geq1 N ≥ 1 is a sufficient condition to make E [ R ^ 2 ] \mathbb{E}[\hat{R}^2] E [ R ^ 2 ] negligible, although it might not be necessary due to the very coarse bound we used for lemma 10.
Theorem 7 (Asymptotic mean and variance at finite shot count). Assume the setting of theorem 6, with fixed d , n o u t d,n_{\mathrm{out}} d , n out , uniform conditioning, and the growth condition eq. (210) . Then
E [ Δ o ^ ] = − b N / N + O ( n o u t N n t r ) , \mathbb{E}[\Delta\hat{o}]=-b_N/N+O\left(\frac{n_{\mathrm{out}}}{\sqrt{N}n_{\mathrm{tr}}}\right), E [ Δ o ^ ] = − b N / N + O ( N n tr n out ) , Var ( Δ o ^ ) = E [ L ^ 2 ] + O ( n o u t N n t r 3 / 2 + n o u t 2 N n t r 2 ) = V N N n t r + O ( 1 N 2 n t r + n o u t N n t r 3 / 2 + n o u t 2 N n t r 2 ) . (211) \operatorname{Var}(\Delta\hat{o})=\mathbb{E}[\hat{L}^2]+O\left(\frac{n_{\mathrm{out}}}{Nn_{\mathrm{tr}}^{3/2}}+\frac{n_{\mathrm{out}}^2}{Nn_{\mathrm{tr}}^2}\right)=\frac{V_N}{Nn_{\mathrm{tr}}}+O\left(\frac{1}{N^2n_{\mathrm{tr}}}+\frac{n_{\mathrm{out}}}{Nn_{\mathrm{tr}}^{3/2}}+\frac{n_{\mathrm{out}}^2}{Nn_{\mathrm{tr}}^2}\right). \tag*{(211)} Var ( Δ o ^ ) = E [ L ^ 2 ] + O ( N n tr 3/2 n out + N n tr 2 n out 2 ) = N n tr V N + O ( N 2 n tr 1 + N n tr 3/2 n out + N n tr 2 n out 2 ) . (211)
The factors of n o u t n_{\mathrm{out}} n out shown here come from the concentration estimate; the implicit constants also depend on the conditioning data and are not uniform in d d d or n o u t n_{\mathrm{out}} n out . For nonzero coefficients of fixed order, the mean has relative error tending to zero if n t r ≫ n o u t N n_{\mathrm{tr}}\gg n_{\mathrm{out}}\sqrt{N} n tr ≫ n out N , whereas the variance is asymptotic to E [ L ^ 2 ] \mathbb{E}[\hat{L}^2] E [ L ^ 2 ] if n t r ≫ n o u t 2 n_{\mathrm{tr}}\gg n_{\mathrm{out}}^2 n tr ≫ n out 2 and N n t r E [ L ^ 2 ] Nn_{\mathrm{tr}}\mathbb{E}[\hat{L}^2] N n tr E [ L ^ 2 ] stays bounded away from zero. Replacing this exact fluctuation variance by V N / ( N n t r ) V_N/(Nn_{\mathrm{tr}}) V N / ( N n tr ) additionally requires N → ∞ N\to\infty N → ∞ and nonvanishing V N V_N V N . More generally, the finite-parameter tests are R N , n t r ( 2 ) ≪ ∣ b N ∣ / N \sqrt{\mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}}\ll|b_N|/N R N , n tr ( 2 ) ≪ ∣ b N ∣/ N for the mean and R N , n t r ( 2 ) ≪ E [ L ^ 2 ] \mathcal{R}^{(2)}_{N,n_{\mathrm{tr}}}\ll\mathbb{E}[\hat{L}^2] R N , n tr ( 2 ) ≪ E [ L ^ 2 ] for the variance. These comparisons remain meaningful when the coefficients are small; the simpler power-counting statements do not.
Fixed-N N N and joint limits — The comparisons above lead to two distinct conclusions from the same theorem. At fixed N N N , theorem 6 and eq. (148) control the exact first-variation variance and the deterministic floor b N 2 / N 2 b_N^2/N^2 b N 2 / N 2 . The replacement of that exact variance by V N / ( N n t r ) V_N/(Nn_{\mathrm{tr}}) V N / ( N n tr ) uses the large-N N N estimate eq. (152) , and the two-term MSE further requires the joint-limit conditions that will be stated in theorem 8. If n t r E [ L ^ 2 ] n_{\rm tr}\mathbb{E}[\widehat{L}^{2}] n tr E [ L 2 ] has a nonzero limit, it gives the leading 1 / n t r 1/n_{\rm tr} 1/ n tr training variance. The MSE satisfies E [ Δ o ^ 2 ] = b N 2 / N 2 + O ( n t r − 1 ) \mathbb{E}[\widehat{\Delta o}^{2}] = b_{N}^{2}/N^{2} + O(n_{\rm tr}^{-1}) E [ Δ o 2 ] = b N 2 / N 2 + O ( n tr − 1 ) . This identifies a nonzero bias floor when b N b_N b N has a nonzero limit, but does not identify the coefficient of the 1 / n t r 1/n_{\rm tr} 1/ n tr correction: the term 2 B E [ R ^ ] 2B\mathbb{E}[\widehat{R}] 2 B E [ R ] can contribute at that same order. Even replacing V N / ( N n t r ) V_N/(Nn_{\rm tr}) V N / ( N n tr ) by the exact E [ L ^ 2 ] \mathbb{E}[\widehat{L}^{2}] E [ L 2 ] does not remove this limitation. If b N = 0 b_N=0 b N = 0 , that cross term vanishes, and eq. (207) gives the sharper comparison directly.
When both resources grow, every term omitted from B 2 + E [ L ^ 2 ] B^2+\mathbb{E}[\widehat{L}^{2}] B 2 + E [ L 2 ] in the exact identity eq. (208) becomes small on the scale of the total leading error. In particular, the potentially largest omitted correlation is 2 B E [ R ^ ] 2B\mathbb{E}[\widehat{R}] 2 B E [ R ] ; the other two are 2 E [ L ^ R ^ ] 2\mathbb{E}[\widehat{L}\widehat{R}] 2 E [ L R ] and E [ R ^ 2 ] \mathbb{E}[\widehat{R}^{2}] E [ R 2 ] . To check this without assuming either bias or variance dominates, we collect the four error scales as
Err N , n t r = 1 N 2 n t r + n o u t N 3 / 2 n t r + n o u t N n t r 3 / 2 + n o u t 2 N n t r 2 . (212) \operatorname{Err}_{N,n_{\rm tr}} =
\frac{1}{N^{2}n_{\rm tr}}+
\frac{n_{\rm out}}{N^{3/2}n_{\rm tr}}+
\frac{n_{\rm out}}{Nn_{\rm tr}^{3/2}}+
\frac{n_{\rm out}^{2}}{Nn_{\rm tr}^{2}}. \tag*{(212)} Err N , n tr = N 2 n tr 1 + N 3/2 n tr n out + N n tr 3/2 n out + N n tr 2 n out 2 . (212)
The first term is the variance replacement error in eq. (152) ; the remaining terms bound 2 B E [ R ^ ] 2B\mathbb{E}[\widehat{R}] 2 B E [ R ] , 2 E [ L ^ R ^ ] 2\mathbb{E}[\widehat{L}\widehat{R}] 2 E [ L R ] , and E [ R ^ 2 ] \mathbb{E}[\widehat{R}^{2}] E [ R 2 ] , respectively.
Theorem 8 (Joint-limit MSE). Assume fixed d d d , n o u t n_{\rm out} n out , the uniform conditioning in eq. (129) , N , n t r → ∞ N,n_{\rm tr}\to\infty N , n tr → ∞ , and eq. (210) . Then
E [ Δ o ^ 2 ] = b N 2 N 2 + V N N n t r + O ( Err N , n t r ) , (213) \mathbb{E}[\widehat{\Delta o}^{2}]
=
\frac{b_N^{2}}{N^{2}}+
\frac{V_N}{Nn_{\rm tr}}+
O(\operatorname{Err}_{N,n_{\rm tr}}), \tag*{(213)} E [ Δ o 2 ] = N 2 b N 2 + N n tr V N + O ( Err N , n tr ) , (213) and, because every term in Err N , n t r \operatorname{Err}_{N,n_{\rm tr}} Err N , n tr is o ( N − 2 + ( N n t r ) − 1 ) o\left(N^{-2}+(Nn_{\rm tr})^{-1}\right) o ( N − 2 + ( N n tr ) − 1 ) ,
E [ Δ o ^ 2 ] = b N 2 N 2 + V N N n t r + o ( N − 2 + ( N n t r ) − 1 ) . (214) \mathbb{E}[\widehat{\Delta o}^{2}]
=
\frac{b_N^{2}}{N^{2}}+
\frac{V_N}{Nn_{\rm tr}}+
o\left(N^{-2}+(Nn_{\rm tr})^{-1}\right). \tag*{(214)} E [ Δ o 2 ] = N 2 b N 2 + N n tr V N + o ( N − 2 + ( N n tr ) − 1 ) . (214) If ∣ b N ∣ |b_N| ∣ b N ∣ and V N V_N V N stay bounded above and away from zero, this is a relative approximation to the total MSE, and the two displayed contributions cross at n t r ≍ N V N / b N 2 n_{\rm tr}\asymp NV_N/b_N^{2} n tr ≍ N V N / b N 2 .
The theorem controls the sum of squared bias and variance. It does not, by itself, show that E [ Δ o ^ ] = − b N / N + o ( b N / N ) \mathbb{E}[\widehat{\Delta o}]= -b_N/N+o(b_N/N) E [ Δ o ] = − b N / N + o ( b N / N ) : that separate identification of the statistical bias requires R N , n t r 2 ≪ ∣ b N ∣ / N \sqrt{\mathcal{R}^{2}_{N,n_{\rm tr}}}\ll|b_N|/N R N , n tr 2 ≪ ∣ b N ∣/ N , as stated after eq. (211) .
This completes the direct proof. The finite-N N N theorem remains available when the simple resource fit is not controlled, and the next section expresses its coefficients and conditioning requirements in terms of the training and measurement frames.
Comparison with the homogeneous Gaussian model
We can now compare the coefficients extracted from the homogeneous Gaussian model in eq. (106) , with those obtained directly for the multinomial model. This comparison concerns the leading large-N N N coefficients b b b and V V V , rather than the finite-N N N coefficients b N b_N b N , V N V_N V N or the subleading terms in the two expansions. For the multinomial model, eq. (225) gives
b = 1 n t r ∑ i = 1 n t r Cov i ( w O e f f , n t r ⟨ μ ~ , σ ~ ⟩ ) , V = 1 n t r ∑ i = 1 n t r ( n t r ⟨ ρ ~ i , σ ⟩ ) 2 Var i ( w O e f f ) . (215) b=\frac{1}{n_{\rm tr}}\sum_{i=1}^{n_{\rm tr}}\operatorname{Cov}_{i}\left(w_{\mathcal{O}}^{\rm eff},n_{\rm tr}\langle\widetilde{\mu},\widetilde{\sigma}\rangle\right),
\qquad
V=\frac{1}{n_{\rm tr}}\sum_{i=1}^{n_{\rm tr}}\left(n_{\rm tr}\langle\widetilde{\rho}_{i},\sigma\rangle\right)^{2}\operatorname{Var}_{i}\left(w_{\mathcal{O}}^{\rm eff}\right). \tag*{(215)} b = n tr 1 i = 1 ∑ n tr Cov i ( w O eff , n tr ⟨ μ , σ ⟩ ) , V = n tr 1 i = 1 ∑ n tr ( n tr ⟨ ρ i , σ ⟩ ) 2 Var i ( w O eff ) . (215)
Here every covariance is computed with the state-dependent multinomial covariance Σ i \Sigma_i Σ i , while w O e f f w_{\mathcal{O}}^{\rm eff} w O eff is defined from their average Σ ‾ \overline{\Sigma} Σ as in eq. (150) .
The bias comparison does not in fact require homogeneous column covariances. Since the second argument of the covariance in eq. (215) is independent of i i i , the sum over the training states gives
b = ( w O e f f ) T Σ ‾ U 1 S 11 − 1 ρ σ , 1 = n t r w O T U 1 Σ ‾ e f f P 11 − T V 1 T ⟨ ρ ~ , σ ⟩ . (216) b=\left(w_{\mathcal{O}}^{\rm eff}\right)^{\mathsf{T}}\overline{\Sigma}U_1S_{11}^{-1}\rho_{\sigma,1}
=n_{\rm tr}w_{\mathcal{O}}^{\mathsf{T}}U_1\overline{\Sigma}_{\rm eff}P_{11}^{-{\mathsf{T}}}V_1^{\mathsf{T}}\langle\widetilde{\rho},\sigma\rangle. \tag*{(216)} b = ( w O eff ) T Σ U 1 S 11 − 1 ρ σ , 1 = n tr w O T U 1 Σ eff P 11 − T V 1 T ⟨ ρ , σ ⟩ . (216)
The second equality follows from two elementary block identities:
( w O e f f ) T Σ ‾ U 1 = w O T U 1 Σ ‾ e f f (w_{\mathcal{O}}^{\mathrm{eff}})^{T}\overline{\Sigma}U_{1}=w_{\mathcal{O}}^{T}U_{1}\overline{\Sigma}_{\mathrm{eff}} ( w O eff ) T Σ U 1 = w O T U 1 Σ eff holds because in the ( U 1 , U 2 ) (U_{1},U_{2}) ( U 1 , U 2 ) basis the two blocks of w O e f f w_{\mathcal{O}}^{\mathrm{eff}} w O eff are U 1 T w O U_{1}^{T}w_{\mathcal{O}} U 1 T w O and − Σ ‾ 22 − 1 Σ ‾ 21 U 1 T w O -\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}U_{1}^{T}w_{\mathcal{O}} − Σ 22 − 1 Σ 21 U 1 T w O ; multiplying them by the two block rows of Σ ‾ U 1 \overline{\Sigma}U_{1} Σ U 1 produces precisely its Schur complement.
S 11 − 1 p σ , 1 = n t r P 11 − T V 1 T ⟨ ρ ~ , σ ⟩ S_{11}^{-1}p_{\sigma,1}=n_{\mathrm{tr}}P_{11}^{-T}V_{1}^{T}\langle\tilde{\rho},\sigma\rangle S 11 − 1 p σ , 1 = n tr P 11 − T V 1 T ⟨ ρ ~ , σ ⟩ holds because S 11 = P 11 P 11 T / n t r S_{11}=P_{11}P_{11}^{T}/n_{\mathrm{tr}} S 11 = P 11 P 11 T / n tr and P 11 − 1 p σ , 1 = V 1 T ⟨ ρ ~ , σ ⟩ P_{11}^{-1}p_{\sigma,1}=V_{1}^{T}\langle\tilde{\rho},\sigma\rangle P 11 − 1 p σ , 1 = V 1 T ⟨ ρ ~ , σ ⟩ .
The right-hand side of eq. (216) is exactly the Gaussian coefficient in eq. (106) . Thus replacing the state-dependent multinomial covariances by their average leaves the leading bias coefficient unchanged.
For the variance, suppose now that the multinomial column covariances are homogeneous, that is, Σ i = Σ ‾ \Sigma_i=\overline{\Sigma} Σ i = Σ , i = 1 , … , n t r i=1,\ldots,n_{\mathrm{tr}} i = 1 , … , n tr . Under this approximation,
Var i ( w O e f f ) = ( w O e f f ) T Σ ‾ w O e f f = w O T U 1 Σ ‾ e f f U 1 T w O , (217) \operatorname{Var}_{i}(w_{\mathcal{O}}^{\mathrm{eff}})=(w_{\mathcal{O}}^{\mathrm{eff}})^{T}\overline{\Sigma}w_{\mathcal{O}}^{\mathrm{eff}}=w_{\mathcal{O}}^{T}U_{1}\overline{\Sigma}_{\mathrm{eff}}U_{1}^{T}w_{\mathcal{O}}, \tag*{(217)} Var i ( w O eff ) = ( w O eff ) T Σ w O eff = w O T U 1 Σ eff U 1 T w O , (217)
independently of i i i . Moreover, ⟨ ρ ~ , σ ⟩ \langle\tilde{\rho},\sigma\rangle ⟨ ρ ~ , σ ⟩ belongs to the row space of P P P , and hence
1 n t r ∑ i = 1 n t r ( n t r ⟨ ρ ~ i , σ ⟩ ) 2 = n t r ∥ V 1 T ⟨ ρ ~ , σ ⟩ ∥ 2 2 . (218) \frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(n_{\mathrm{tr}}\langle\tilde{\rho}_{i},\sigma\rangle\right)^{2}=n_{\mathrm{tr}}\left\|V_{1}^{T}\langle\tilde{\rho},\sigma\rangle\right\|_{2}^{2}. \tag*{(218)} n tr 1 i = 1 ∑ n tr ( n tr ⟨ ρ ~ i , σ ⟩ ) 2 = n tr V 1 T ⟨ ρ ~ , σ ⟩ 2 2 . (218)
Substitution of eqs. (217) and (218) into the second line of eq. (215) gives
V = n t r ∥ V 1 T ⟨ ρ ~ , σ ⟩ ∥ 2 2 w O T U 1 Σ ‾ e f f U 1 T w O , (219) V=n_{\mathrm{tr}}\left\|V_{1}^{T}\langle\tilde{\rho},\sigma\rangle\right\|_{2}^{2}w_{\mathcal{O}}^{T}U_{1}\overline{\Sigma}_{\mathrm{eff}}U_{1}^{T}w_{\mathcal{O}}, \tag*{(219)} V = n tr V 1 T ⟨ ρ ~ , σ ⟩ 2 2 w O T U 1 Σ eff U 1 T w O , (219)
which is exactly the Gaussian expression in eq. (106) .
Consequently, the homogeneous Gaussian model reproduces both leading multinomial coefficients when the multinomial covariances are homogeneous.
Cost scaling of training a QELM
Section SM4 has established which parts of the prediction error can be controlled and in which limits. We now translate these results into a resource-cost statement for the MSE. In particular, section SM5.1 rewrites the exact bias and variance coefficients in frame language, section SM5.2 converts their asymptotic limits into the dataset-size/shot-budget tradeoff, and section SM5.3 evaluates the resulting leading coefficients for symmetric tight designs.
Problem setting and notation — Suppose that every state in the training set is measured N N N times. Because shot noise generally makes the target rows inconsistent with the row space of the observed frequency matrix, QELM training is naturally formulated as the least-squares problem
w ^ O ∈ arg min w ∥ w P ^ N − v O T M ρ ∥ F 2 . (220) \hat{w}_{\mathcal{O}}\in\operatorname*{arg\,min}_{w}\left\|w\hat{P}_{N}-v_{\mathcal{O}}^{T}M_{\rho}\right\|_{\mathrm{F}}^{2}. \tag*{(220)} w ^ O ∈ w arg min w P ^ N − v O T M ρ F 2 . (220)
Here P ^ N \hat{P}_{N} P ^ N is the noisy probability matrix, whose k k k -th column contains the frequencies obtained from N N N measurements of ρ k \rho_k ρ k , and P = E [ P ^ N ] = ⟨ μ , ρ ⟩ = M μ T M ρ P=\mathbb{E}[\hat{P}_{N}]=\langle\mu,\rho\rangle=M_{\mu}^{T}M_{\rho} P = E [ P ^ N ] = ⟨ μ , ρ ⟩ = M μ T M ρ . As explained in section SM1, v O = vec ( O ) v_{\mathcal{O}}=\operatorname{vec}(\mathcal{O}) v O = vec ( O ) denotes the vectorization of the target observable O \mathcal{O} O and M ρ = ∑ i = 1 n t r vec ( ρ i ) ⟨ i ∣ M_{\rho}=\sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{vec}(\rho_i)\langle i| M ρ = ∑ i = 1 n tr vec ( ρ i ) ⟨ i ∣ collects the (vectorized) training states ρ = { ρ i } i = 1 n t r \rho=\{\rho_i\}_{i=1}^{n_{\mathrm{tr}}} ρ = { ρ i } i = 1 n tr . The canonical least-squares solution is w ^ O = ⟨ O , ρ ⟩ P ^ N + \hat{w}_{\mathcal{O}}=\langle\mathcal{O},\rho\rangle\hat{P}_{N}^{+} w ^ O = ⟨ O , ρ ⟩ P ^ N + .
Training with infinite statistics — At infinite training statistics, P ^ N \hat{P}_{N} P ^ N is replaced by its expectation P P P . Under the completeness assumptions stated below, the noiseless least-squares residual vanishes, and the canonical solution is
w O = ( v O T M ρ ) ( M μ T M ρ ) + = v O T M μ T + = ⟨ O , μ ~ ⟩ . (221) w_{\mathcal{O}}=(v_{\mathcal{O}}^{T}M_{\rho})(M_{\mu}^{T}M_{\rho})^{+}=v_{\mathcal{O}}^{T}M_{\mu}^{T+}=\langle\mathcal{O},\tilde{\mu}\rangle. \tag*{(221)} w O = ( v O T M ρ ) ( M μ T M ρ ) + = v O T M μ T + = ⟨ O , μ ~ ⟩ . (221)
This result assumes that both M ρ M_{\rho} M ρ and M μ M_{\mu} M μ have full row rank: physically this amounts to the training states being complete — i.e., spanning the space of all Hermitian operators — and the POVM being informationally complete. Under this assumption, the pseudoinverse of the product also factorises as ( M μ T M ρ ) + = M ρ + M μ T + (M_{\mu}^{T}M_{\rho})^{+}=M_{\rho}^{+}M_{\mu}^{T+} ( M μ T M ρ ) + = M ρ + M μ T + . Furthermore, it is a general fact that the pseudoinverse of a surjective matrix can be interpreted as the transpose of the matrix representing the canonical dual frame of the frame given by the columns of the original matrix. Formally, this means that M μ + = ( M μ ~ ) T M_{\mu}^{+}=(M_{\tilde{\mu}})^{T} M μ + = ( M μ ~ ) T . For more details on this perspective, we refer to the discussion in [20 ] [67]. In conclusion, training with infinite statistics amounts to recovering a description of the POVM μ \mu μ through its dual μ ~ \tilde{\mu} μ ~ .
Explicit expressions for bias and variance coefficients
For any u , v ∈ R n o u t \mathbf{u},\mathbf{v}\in\mathbb{R}^{n_{\mathrm{out}}} u , v ∈ R n out , define the conditional covariance and variance as Cov i ( u , v ) ≡ u T Σ i v \operatorname{Cov}_i(\mathbf{u},\mathbf{v})\equiv\mathbf{u}^{T}\Sigma_i\mathbf{v} Cov i ( u , v ) ≡ u T Σ i v , and Var i ( u ) ≡ Cov i ( u , u ) \operatorname{Var}_i(\mathbf{u})\equiv\operatorname{Cov}_i(\mathbf{u},\mathbf{u}) Var i ( u ) ≡ Cov i ( u , u ) . The finite-N N N coefficients in eq. (213) can then be written as
b N = 1 n t r ∑ i = 1 n t r Cov i ( w O e f f , U 1 S e f f − 1 p σ , 1 ) = ( w O e f f ) T Σ ‾ U 1 S e f f − 1 p σ , 1 = w O T Σ ‾ ( S + 1 N Σ ‾ ) − 1 p σ , b_N=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{Cov}_i(\mathbf{w}^{\mathrm{eff}}_O,U_1S_{\mathrm{eff}}^{-1}p_{\sigma,1})=(\mathbf{w}^{\mathrm{eff}}_O)^T\overline{\Sigma}U_1S_{\mathrm{eff}}^{-1}p_{\sigma,1}=\mathbf{w}_O^T\overline{\Sigma}\left(S+\frac{1}{N}\overline{\Sigma}\right)^{-1}p_\sigma, b N = n tr 1 i = 1 ∑ n tr Cov i ( w O eff , U 1 S eff − 1 p σ , 1 ) = ( w O eff ) T Σ U 1 S eff − 1 p σ , 1 = w O T Σ ( S + N 1 Σ ) − 1 p σ ,
V N = 1 n t r ∑ i = 1 n t r ( p i , 1 T S e f f − 1 p σ , 1 ) 2 Var i ( w O e f f ) = 1 n t r ∑ i = 1 n t r ( p i T ( S + 1 N Σ ‾ ) − 1 p σ ) 2 Var i ( w O e f f ) . (222) V_N=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}(p_{i,1}^TS_{\mathrm{eff}}^{-1}p_{\sigma,1})^2\operatorname{Var}_i(\mathbf{w}^{\mathrm{eff}}_O)=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left(p_i^T\left(S+\frac{1}{N}\overline{\Sigma}\right)^{-1}p_\sigma\right)^2\operatorname{Var}_i(\mathbf{w}^{\mathrm{eff}}_O). \tag*{(222)} V N = n tr 1 i = 1 ∑ n tr ( p i , 1 T S eff − 1 p σ , 1 ) 2 Var i ( w O eff ) = n tr 1 i = 1 ∑ n tr ( p i T ( S + N 1 Σ ) − 1 p σ ) 2 Var i ( w O eff ) . (222)
Notice in particular how b N b_N b N only depends on the averaged covariance matrix Σ ‾ \overline{\Sigma} Σ , whereas this is not exactly the case for V N V_N V N . The term Var i ( w O e f f ) \operatorname{Var}_i(\mathbf{w}^{\mathrm{eff}}_O) Var i ( w O eff ) in V N V_N V N can be written more explicitly but does not simplify as much:
Var i ( w O e f f ) = ( w O e f f ) T Σ i w O e f f = w O T ( I − U 2 Σ ‾ 22 − 1 Σ ‾ 21 U 1 T ) T Σ i ( I − U 2 Σ ‾ 22 − 1 Σ ‾ 21 U 1 T ) w O . (223) \operatorname{Var}_i(\mathbf{w}^{\mathrm{eff}}_O)=(\mathbf{w}^{\mathrm{eff}}_O)^T\Sigma_i\mathbf{w}^{\mathrm{eff}}_O=\mathbf{w}_O^T(I-U_2\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}U_1^T)^T\Sigma_i(I-U_2\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}U_1^T)\mathbf{w}_O. \tag*{(223)} Var i ( w O eff ) = ( w O eff ) T Σ i w O eff = w O T ( I − U 2 Σ 22 − 1 Σ 21 U 1 T ) T Σ i ( I − U 2 Σ 22 − 1 Σ 21 U 1 T ) w O . (223)
Note that S e f f = S 11 + O ( N − 1 ) S_{\mathrm{eff}}=S_{11}+O(N^{-1}) S eff = S 11 + O ( N − 1 ) , and
U 1 S 11 − 1 p σ , 1 = n t r ⟨ μ ~ , σ ~ ⟩ , p i , 1 T S 11 − 1 p σ , 1 = n t r ⟨ ρ ~ i , σ ⟩ , (224) U_1S_{11}^{-1}p_{\sigma,1}=n_{\mathrm{tr}}\langle\widetilde{\mu},\widetilde{\sigma}\rangle,\qquad p_{i,1}^TS_{11}^{-1}p_{\sigma,1}=n_{\mathrm{tr}}\langle\widetilde{\rho}_i,\sigma\rangle, \tag*{(224)} U 1 S 11 − 1 p σ , 1 = n tr ⟨ μ , σ ⟩ , p i , 1 T S 11 − 1 p σ , 1 = n tr ⟨ ρ i , σ ⟩ , (224)
where ρ ~ i = F ρ − 1 ( ρ i ) \widetilde{\rho}_i=\mathcal{F}_{\rho}^{-1}(\rho_i) ρ i = F ρ − 1 ( ρ i ) and σ ~ = F ρ − 1 ( σ ) \widetilde{\sigma}=\mathcal{F}_{\rho}^{-1}(\sigma) σ = F ρ − 1 ( σ ) . Substitution in eq. (222) therefore yields b N = b + O ( N − 1 ) b_N=b+O(N^{-1}) b N = b + O ( N − 1 ) and V N = V + O ( N − 1 ) V_N=V+O(N^{-1}) V N = V + O ( N − 1 ) , with
b = 1 n t r ∑ i = 1 n t r Cov i ( w O e f f , n t r ⟨ μ ~ , σ ~ ⟩ ) , V = 1 n t r ∑ i = 1 n t r ( n t r ⟨ ρ ~ i , σ ⟩ ) 2 Var i ( w O e f f ) . (225) b=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{Cov}_i(\mathbf{w}^{\mathrm{eff}}_O,n_{\mathrm{tr}}\langle\widetilde{\mu},\widetilde{\sigma}\rangle),\qquad V=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}(n_{\mathrm{tr}}\langle\widetilde{\rho}_i,\sigma\rangle)^2\operatorname{Var}_i(\mathbf{w}^{\mathrm{eff}}_O). \tag*{(225)} b = n tr 1 i = 1 ∑ n tr Cov i ( w O eff , n tr ⟨ μ , σ ⟩) , V = n tr 1 i = 1 ∑ n tr ( n tr ⟨ ρ i , σ ⟩ ) 2 Var i ( w O eff ) . (225)
The coefficients b b b and V V V are independent of N N N , but generally retain dependence on the training ensemble. Under the uniform conditioning assumptions, they remain bounded as n t r n_{\mathrm{tr}} n tr varies; convergence as n t r → ∞ n_{\mathrm{tr}}\to\infty n tr → ∞ requires convergence of the relevant empirical training moments. By eq. (146) , the deterministic bias component is B = − b N / N B=-b_N/N B = − b N / N , whereas the full mean is B + E [ R ^ ] B+\mathbb{E}[\widehat{R}] B + E [ R ] . The estimate in eq. (211) gives E [ R ^ ] = O ( n o u t / ( N n t r ) ) \mathbb{E}[\widehat{R}]=O(n_{\mathrm{out}}/(\sqrt{N}n_{\mathrm{tr}})) E [ R ] = O ( n out / ( N n tr )) in the stated growth regime. For nonvanishing b N b_N b N , this is subleading relative to B B B when n t r ≫ n o u t N n_{\mathrm{tr}}\gg n_{\mathrm{out}}\sqrt{N} n tr ≫ n out N .
Resource scaling
Section SM5.1 identifies the finite-N N N frame coefficients and their large N N N limits. To obtain the two-term resource fit, assume the fixed-dimensional conditioning hypotheses of theorem 8, let N , n t r → ∞ N,n_{\mathrm{tr}}\to\infty N , n tr → ∞ , and require n t r / log ( 2 + N ) → ∞ n_{\mathrm{tr}}/\log(2+N)\to\infty n tr / log ( 2 + N ) → ∞ . Substituting eq. (222) into eq. (213) , followed by the controlled replacements b N = b + O ( N − 1 ) b_N=b+O(N^{-1}) b N = b + O ( N − 1 ) and V N = V + O ( N − 1 ) V_N=V+O(N^{-1}) V N = V + O ( N − 1 ) , gives
E Ξ [ Δ o ^ 2 ] = b N 2 N 2 + V N N n t r + O ( Err N , n t r ) = b 2 N 2 + V N n t r + O ( Err N , n t r + 1 N 3 ) , (226) \mathbb{E}_{\Xi}[\widehat{\Delta o}^{\,2}]=\frac{b_N^2}{N^2}+\frac{V_N}{Nn_{\mathrm{tr}}}+O(\operatorname{Err}_{N,n_{\mathrm{tr}}})=\frac{b^2}{N^2}+\frac{V}{Nn_{\mathrm{tr}}}+O\left(\operatorname{Err}_{N,n_{\mathrm{tr}}}+\frac{1}{N^3}\right), \tag*{(226)} E Ξ [ Δ o 2 ] = N 2 b N 2 + N n tr V N + O ( Err N , n tr ) = N 2 b 2 + N n tr V + O ( Err N , n tr + N 3 1 ) , (226)
with Err N , n t r \operatorname{Err}_{N,n_{\mathrm{tr}}} Err N , n tr defined in eq. (212) . The additional N − 3 N^{-3} N − 3 term comes from replacing b N 2 b_N^2 b N 2 by b 2 b^2 b 2 ; the N N N -dependence of V N V_N V N is already absorbed by Err N , n t r \operatorname{Err}_{N,n_{\mathrm{tr}}} Err N , n tr . Note that the N − 3 N^{-3} N − 3 correction is retained because Err N , n t r \operatorname{Err}_{N,n_{\mathrm{tr}}} Err N , n tr is O ( n t r − 1 ) O(n_{\mathrm{tr}}^{-1}) O ( n tr − 1 ) for large n t r n_{\mathrm{tr}} n tr , and N − 3 N^{-3} N − 3 need not be smaller than terms like N − 2 n t r − 1 N^{-2}n_{\mathrm{tr}}^{-1} N − 2 n tr − 1 when n t r > N n_{\mathrm{tr}}>N n tr > N . At fixed d d d and n o u t n_{\mathrm{out}} n out , the leading variance is controlled by the total number N t o t = N n t r N_{\mathrm{tot}}=Nn_{\mathrm{tr}} N tot = N n tr of measured training copies, whereas the squared bias is controlled by the number of shots per state. If ∣ b ∣ |b| ∣ b ∣ and V V V remain bounded above and away from zero, increasing n t r n_{\mathrm{tr}} n tr at fixed N N N suppresses the variance but leaves the bias floor b N 2 / N 2 b_N^2/N^2 b N 2 / N 2 , and the crossover occurs at n t r ∼ N n_{\mathrm{tr}}\sim N n tr ∼ N .
Note that the bias is not due to the rank increase alone. Indeed, when n o u t = d 2 n_{\mathrm{out}}=d^2 n out = d 2 there is no such rank increase, but S + N − 1 Σ ‾ S+N^{-1}\overline{\Sigma} S + N − 1 Σ still differs from S S S . The ordinary inverse argument then gives the deterministic shift − N − 1 w O T ( S + N − 1 Σ ‾ ) − 1 p σ -N^{-1}\mathbf{w}_O^T(S+N^{-1}\overline{\Sigma})^{-1}p_\sigma − N − 1 w O T ( S + N − 1 Σ ) − 1 p σ , which need not vanish. Overcompleteness changes that shift through the Schur complement and creates additional noise directions, but it is not the only source of bias.
Quantitative sample requirements — Equation (226) , on its own, is still not sufficient to conclusively determine whether a given experiment and noise realization lies in the controlled regime. For this, we require the empirical inverses to be stable, then compare the remainder and exceptional-event contribution with the accuracy sought. For a fixed confidence δ \delta δ , a sufficient condition valid for every N ≥ 1 N \ge1 N ≥ 1 is given by eq. (192) . Alternatively, one may directly use the N N N -dependent conditions eq. (161) with u = C 0 r δ u = C_0 r_\delta u = C 0 r δ . For example, a sufficient asymptotic condition for those inequalities to hold with a margin is
n t r ≫ C 0 2 q δ max { 1 , κ 22 − 2 , ( K S P ) 2 N κ 11 2 , K S n l κ 11 } . (227) n_{\mathrm{tr}} \gg C_0^2 q_\delta\max\left\{1,\kappa_{22}^{-2},\frac{(K_S^{\mathrm{P}})^2}{N\kappa_{11}^2},\frac{K_S^{\mathrm{nl}}}{\kappa_{11}}\right\}. \tag*{(227)} n tr ≫ C 0 2 q δ max { 1 , κ 22 − 2 , N κ 11 2 ( K S P ) 2 , κ 11 K S nl } . (227)
To derive eq. (227) , first take n t r ≥ q δ n_{\mathrm{tr}} \ge q_\delta n tr ≥ q δ , so that eq. (172) gives r δ ≤ 2 q δ / n t r r_\delta\le2\sqrt{q_\delta/n_{\mathrm{tr}}} r δ ≤ 2 q δ / n tr . Insert u = C 0 r δ u = C_0r_\delta u = C 0 r δ into the three requirements of eq. (161) . The bounds u ≪ 1 u \ll1 u ≪ 1 and u ≪ κ 22 u \ll\kappa_{22} u ≪ κ 22 give, respectively, n t r ≫ C 0 2 q δ n_{\mathrm{tr}} \gg C_0^2q_\delta n tr ≫ C 0 2 q δ and n t r ≫ C 0 2 q δ κ 22 − 2 n_{\mathrm{tr}} \gg C_0^2q_\delta\kappa_{22}^{-2} n tr ≫ C 0 2 q δ κ 22 − 2 . Splitting the last requirement into K S P u / N ≪ κ 11 K_S^{\mathrm{P}}u/\sqrt{N} \ll\kappa_{11} K S P u / N ≪ κ 11 and K S n l u 2 ≪ κ 11 K_S^{\mathrm{nl}}u^2 \ll\kappa_{11} K S nl u 2 ≪ κ 11 gives the last two terms in the maximum. Numerical factors are absorbed by ≫ \gg ≫ ; no finite-size threshold is claimed. This condition controls the inverses and the absolute high-probability remainder, not its relative size or the exceptional-event contribution to the MSE. Those additional checks are given in eqs. (206) , (207) and (209) . At fixed small N N N , increasing n t r n_{\mathrm{tr}} n tr controls the exact variance and the bias floor, but does not justify dropping O ( N − 2 n t r − 1 ) O(N^{-2}n_{\mathrm{tr}}^{-1}) O ( N − 2 n tr − 1 ) from the variance or resolving the 1 / n t r 1/n_{\mathrm{tr}} 1/ n tr correction to the MSE. The constants in the concentration estimates have not been numerically optimized, so these are sufficient analytical criteria, not calibrated finite-size thresholds.
For illustration, the balanced tight designs below have κ 22 = 1 / n o u t \kappa_{22}=1/n_{\mathrm{out}} κ 22 = 1/ n out , κ 11 = 1 / [ n o u t ( d + 1 ) 2 ] \kappa_{11}=1/[n_{\mathrm{out}}(d+1)^2] κ 11 = 1/ [ n out ( d + 1 ) 2 ] , and K S P = 1 K_S^{\mathrm{P}}=1 K S P = 1 , K S n l = 2 n o u t K_S^{\mathrm{nl}}=2n_{\mathrm{out}} K S nl = 2 n out . With these exact values, eq. (227) becomes the conservative requirement n t r ≫ C 0 2 q δ n o u t 2 max { ( d + 1 ) 2 , ( d + 1 ) 4 / N } n_{\mathrm{tr}} \gg C_0^2q_\delta n_{\mathrm{out}}^2\max\{(d+1)^2,(d+1)^4/N\} n tr ≫ C 0 2 q δ n out 2 max {( d + 1 ) 2 , ( d + 1 ) 4 / N } . The uniform threshold u ⋆ = 1 / [ 4 n o u t ( d + 1 ) 2 ] u_\star=1/[4n_{\mathrm{out}}(d+1)^2] u ⋆ = 1/ [ 4 n out ( d + 1 ) 2 ] is more restrictive when N N N is large. These explicit conditioning penalties explain why the present proof does not supply a dimension-independent rule such as n t r ≫ n o u t n_{\mathrm{tr}} \gg n_{\mathrm{out}} n tr ≫ n out .
Leading coefficients for symmetric states and POVMs
Here we specialize the results of section SM5.2 to a symmetric reference example in which training states are pure and form a complex projective 2-design, and the POVM is a fixed balanced rank-1 tight measurement frame: μ a = d n o u t P ( ψ a ) \mu_a = \frac{d}{n_{\mathrm{out}}}P(\psi_a) μ a = n out d P ( ψ a ) , a = 1 , ⋯ , n o u t a=1,\cdots,n_{\mathrm{out}} a = 1 , ⋯ , n out , with ( ψ a ) a (\psi_a)_a ( ψ a ) a a complex projective two-design. When averaging over test state σ \sigma σ and target observable O O O these are also taken as independent Haar-random rank-one projectors. In this case we can compute explicitly the terms contributing to bias and variance.
Some useful identities — Before stating the main results we start by showing what some of the quantities involved in the expressions for b N b_N b N and V N V_N V N look like in this symmetric model. The duals of effects and training states are
μ ~ a = ( d + 1 ) P ( ψ a ) − I , ρ ~ i = d n t r [ ( d + 1 ) ρ i − I ] . (228) \widetilde{\mu}_a=(d+1)P(\psi_a)-I,\qquad\widetilde{\rho}_i=\frac{d}{n_{\mathrm{tr}}}\left[(d+1)\rho_i-I\right]. \tag*{(228)} μ a = ( d + 1 ) P ( ψ a ) − I , ρ i = n tr d [ ( d + 1 ) ρ i − I ] . (228)
For the averaged covariance matrix, remember that Σ ( ρ ) = diag ( p ( ρ ) ) − p ( ρ ) p ( ρ ) T \Sigma(\rho)=\operatorname{diag}(p(\rho))-p(\rho)p(\rho)^{T} Σ ( ρ ) = diag ( p ( ρ )) − p ( ρ ) p ( ρ ) T , hence
Σ ‾ = 1 n t r ∑ i = 1 n t r [ diag ( p ( ρ i ) ) − p ( ρ i ) p ( ρ i ) T ] = diag ( ⟨ μ , ρ ~ ⟩ ) − S , S = 1 n t r P P T = 1 n t r ∑ i = 1 n t r ⟨ μ , ρ i ⟩ ⟨ ρ i , μ ⟩ . (229) \overline{\Sigma}=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left[\operatorname{diag}(p(\rho_i))-p(\rho_i)p(\rho_i)^{T}\right]=\operatorname{diag}(\langle\mu,\widetilde{\rho}\rangle)-S,\qquad S=\frac{1}{n_{\mathrm{tr}}}PP^{T}=\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\langle\mu,\rho_i\rangle\langle\rho_i,\mu\rangle. \tag*{(229)} Σ = n tr 1 i = 1 ∑ n tr [ diag ( p ( ρ i )) − p ( ρ i ) p ( ρ i ) T ] = diag (⟨ μ , ρ ⟩) − S , S = n tr 1 P P T = n tr 1 i = 1 ∑ n tr ⟨ μ , ρ i ⟩ ⟨ ρ i , μ ⟩ . (229)
Furthermore, for all states, Σ ( ρ ) 1 = 0 \Sigma(\rho)1=0 Σ ( ρ ) 1 = 0 , and for all training states ensembles Σ ‾ 12 = U 1 T diag ( ⟨ μ , ρ ~ ⟩ ) U 2 \overline{\Sigma}_{12}=U_1^{T}\operatorname{diag}(\langle\mu,\widetilde{\rho}\rangle)U_2 Σ 12 = U 1 T diag (⟨ μ , ρ ⟩) U 2 , as by construction U 1 T U 2 = 0 U_1^{T}U_2=0 U 1 T U 2 = 0 . In the symmetric case we further have ⟨ μ , ρ ~ ⟩ = I n o u t / n o u t \langle\mu,\widetilde{\rho}\rangle=I_{\mathrm{nout}}/n_{\mathrm{out}} ⟨ μ , ρ ⟩ = I nout / n out , and thus Σ ‾ 12 = 0 \overline{\Sigma}_{12}=0 Σ 12 = 0 . Again in the symmetric case we can decompose S S S exactly into its action in the traceless subspace and its orthogonal, similarly to what we showed in § 13.4 :
S = 1 n o u t Π 0 + 1 n o u t ( d + 1 ) 2 Π t r , Π 0 = 11 T n o u t , Π t r = U 1 U 1 T − Π 0 . (230) S=\frac{1}{n_{\mathrm{out}}}\Pi_0+\frac{1}{n_{\mathrm{out}}(d+1)^2}\Pi_{\mathrm{tr}},\qquad\Pi_0=\frac{11^{T}}{n_{\mathrm{out}}},\qquad\Pi_{\mathrm{tr}}=U_1U_1^{T}-\Pi_0. \tag*{(230)} S = n out 1 Π 0 + n out ( d + 1 ) 2 1 Π tr , Π 0 = n out 1 1 T , Π tr = U 1 U 1 T − Π 0 . (230)
where Π 0 \Pi_0 Π 0 is the projection onto the identity subspace, and Π t r \Pi_{\mathrm{tr}} Π tr is the projection onto the remainder of the “signal subspace”, specified by U 1 U 1 T U_1U_1^{T} U 1 U 1 T . From I n o u t = Π 0 + Π t r + Π 2 I_{n_{\mathrm{out}}}=\Pi_0+\Pi_{\mathrm{tr}}+\Pi_2 I n out = Π 0 + Π tr + Π 2 , with Π 2 = U 2 U 2 T − U 1 U 1 T \Pi_2=U_2U_2^{T}-U_1U_1^{T} Π 2 = U 2 U 2 T − U 1 U 1 T projection on the noisy subspace, we then get
Σ ‾ = d ( d + 2 ) n o u t ( d + 1 ) 2 Π t r + 1 n o u t Π 2 , Σ ‾ 11 = d ( d + 2 ) n o u t ( d + 1 ) 2 Π t r . (231) \overline{\Sigma}=\frac{d(d+2)}{n_{\mathrm{out}}(d+1)^2}\Pi_{\mathrm{tr}}+\frac{1}{n_{\mathrm{out}}}\Pi_2,\qquad\overline{\Sigma}_{11}=\frac{d(d+2)}{n_{\mathrm{out}}(d+1)^2}\Pi_{\mathrm{tr}}. \tag*{(231)} Σ = n out ( d + 1 ) 2 d ( d + 2 ) Π tr + n out 1 Π 2 , Σ 11 = n out ( d + 1 ) 2 d ( d + 2 ) Π tr . (231)
For S e f f = S 11 + 1 N Σ ‾ e f f S_{\mathrm{eff}} = S_{11} + \frac{1}{N}\overline{\Sigma}_{\mathrm{eff}} S eff = S 11 + N 1 Σ eff we have instead, using the same symmetry assumptions, Σ ‾ e f f = Σ ‾ 11 \overline{\Sigma}_{\mathrm{eff}} = \overline{\Sigma}_{11} Σ eff = Σ 11 , and
S e f f = 1 n o u t Π 0 + 1 + d ( d + 2 ) / N n o u t ( d + 1 ) 2 Π t r , S e f f − 1 = n o u t Π 0 + n o u t ( d + 1 ) 2 1 + d ( d + 2 ) / N Π t r , (232) S_{\mathrm{eff}} = \frac{1}{n_{\mathrm{out}}}\Pi_0 + \frac{1+d(d+2)/N}{n_{\mathrm{out}}(d+1)^2}\Pi_{\mathrm{tr}}, \qquad S_{\mathrm{eff}}^{-1} = n_{\mathrm{out}}\Pi_0 + \frac{n_{\mathrm{out}}(d+1)^2}{1+d(d+2)/N}\Pi_{\mathrm{tr}}, \tag*{(232)} S eff = n out 1 Π 0 + n out ( d + 1 ) 2 1 + d ( d + 2 ) / N Π tr , S eff − 1 = n out Π 0 + 1 + d ( d + 2 ) / N n out ( d + 1 ) 2 Π tr , (232)
which differs from eq. (230) only in the eigenvalue in the traceless signal subspace.
We can now move on to state the main results of this section:
Lemma 11. If the training states form a complex projective 2-design, and the POVM is a balanced rank-1 tight measurement frame, the large-N N N bias and variance coefficients b b b , V V V as given in eq. (225) , averaged over Haar-random pure test states and observables, equal
E σ , O [ b 2 ] = ( d − 1 ) ( d + 2 ) 2 d + 1 , E σ , O [ V ] = d ( d − 1 ) ( d + 2 ) d + 1 . (233) \mathbb{E}_{\sigma,O}[b^2] = \frac{(d-1)(d+2)^2}{d+1}, \qquad\mathbb{E}_{\sigma,O}[V] = \frac{d(d-1)(d+2)}{d+1}. \tag*{(233)} E σ , O [ b 2 ] = d + 1 ( d − 1 ) ( d + 2 ) 2 , E σ , O [ V ] = d + 1 d ( d − 1 ) ( d + 2 ) . (233)
Proof. Because Σ ‾ 12 = 0 \overline{\Sigma}_{12}=0 Σ 12 = 0 we have w O e f f = ( I − U 2 Σ ‾ 22 − 1 Σ ‾ 21 U 1 T ) w O = w O w_O^{\mathrm{eff}}=(I-U_2\overline{\Sigma}_{22}^{-1}\overline{\Sigma}_{21}U_1^{T})w_O=w_O w O eff = ( I − U 2 Σ 22 − 1 Σ 21 U 1 T ) w O = w O . Furthermore, standard design identities give
n t r ⟨ ρ ~ i , σ ⟩ = d [ ( d + 1 ) tr ( ρ i σ ) − 1 ] , E σ [ ( n t r ⟨ ρ ~ i , σ ⟩ ) 2 ] = d 2 , n_{\mathrm{tr}}\langle\widetilde{\rho}_i,\sigma\rangle= d[(d+1)\operatorname{tr}(\rho_i\sigma)-1], \qquad\mathbb{E}_{\sigma}\left[\left(n_{\mathrm{tr}}\langle\widetilde{\rho}_i,\sigma\rangle\right)^2\right]=d^2, n tr ⟨ ρ i , σ ⟩ = d [( d + 1 ) tr ( ρ i σ ) − 1 ] , E σ [ ( n tr ⟨ ρ i , σ ⟩ ) 2 ] = d 2 ,
E O Var i ( w O ) = 1 − E O [ tr ( O ρ i ) 2 ] = ( d − 1 ) ( d + 2 ) d ( d + 1 ) , (234) \mathbb{E}_{O}\operatorname{Var}_i(w_O)=1-\mathbb{E}_{O}[\operatorname{tr}(O\rho_i)^2]=\frac{(d-1)(d+2)}{d(d+1)}, \tag*{(234)} E O Var i ( w O ) = 1 − E O [ tr ( O ρ i ) 2 ] = d ( d + 1 ) ( d − 1 ) ( d + 2 ) , (234)
and defining w A ≡ ⟨ μ ~ , A ⟩ ∈ R n o u t w_A\equiv\langle\widetilde{\mu},A\rangle\in\mathbb{R}^{n_{\mathrm{out}}} w A ≡ ⟨ μ , A ⟩ ∈ R n out , also
1 n t r ∑ i = 1 n t r Cov i ( w O , w A ) = d + 2 d + 1 [ tr ( O A ) − tr ( O ) tr ( A ) d ] . (235) \frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{Cov}_i(w_O,w_A)=\frac{d+2}{d+1}\left[\operatorname{tr}(OA)-\frac{\operatorname{tr}(O)\operatorname{tr}(A)}{d}\right]. \tag*{(235)} n tr 1 i = 1 ∑ n tr Cov i ( w O , w A ) = d + 1 d + 2 [ tr ( O A ) − d tr ( O ) tr ( A ) ] . (235)
Taking A = n t r σ ~ = d [ ( d + 1 ) σ − I ] A=n_{\mathrm{tr}}\widetilde{\sigma}=d[(d+1)\sigma-I] A = n tr σ = d [( d + 1 ) σ − I ] in eq. (225) then yields
b = ( d + 2 ) [ d tr ( O σ ) − tr ( O ) ] = ( d + 2 ) [ d tr ( O σ ) − 1 ] , (236) b=(d+2)[d\operatorname{tr}(O\sigma)-\operatorname{tr}(O)]=(d+2)[d\operatorname{tr}(O\sigma)-1], \tag*{(236)} b = ( d + 2 ) [ d tr ( O σ ) − tr ( O )] = ( d + 2 ) [ d tr ( O σ ) − 1 ] , (236)
where the second equality uses that O O O is a rank-one projector. For independent Haar-random pure states,
E [ tr ( O σ ) ] = 1 d , E [ tr ( O σ ) 2 ] = 2 d ( d + 1 ) . (237) \mathbb{E}[\operatorname{tr}(O\sigma)]=\frac{1}{d}, \qquad\mathbb{E}[\operatorname{tr}(O\sigma)^2]=\frac{2}{d(d+1)}. \tag*{(237)} E [ tr ( O σ )] = d 1 , E [ tr ( O σ ) 2 ] = d ( d + 1 ) 2 . (237)
These prove the statement.
Lemma 12. If the training states form a complex projective 2-design, and the POVM is a balanced rank-1 tight measurement frame, then the coefficients b N b_N b N and b b b , as given in eqs. (222) and (SM164), satisfy
b N = b 1 + d ( d + 2 ) / N , b N 2 N 2 = b 2 [ N + d ( d + 2 ) ] 2 . (238) b_N=\frac{b}{1+d(d+2)/N}, \qquad\frac{b_N^2}{N^2}=\frac{b^2}{[N+d(d+2)]^2}. \tag*{(238)} b N = 1 + d ( d + 2 ) / N b , N 2 b N 2 = [ N + d ( d + 2 ) ] 2 b 2 . (238)
Proof. From eqs. (231) and (SM171) we get
Σ ‾ 11 S e f f − 1 = d ( d + 2 ) 1 + d ( d + 2 ) / N Π t r = 1 1 + d ( d + 2 ) / N Σ ‾ 11 S 11 − 1 , (239) \overline{\Sigma}_{11}S_{\mathrm{eff}}^{-1}=\frac{d(d+2)}{1+d(d+2)/N}\Pi_{\mathrm{tr}}=\frac{1}{1+d(d+2)/N}\overline{\Sigma}_{11}S_{11}^{-1}, \tag*{(239)} Σ 11 S eff − 1 = 1 + d ( d + 2 ) / N d ( d + 2 ) Π tr = 1 + d ( d + 2 ) / N 1 Σ 11 S 11 − 1 , (239)
and thus
b N = w O T U 1 Σ ‾ 11 S e f f − 1 p σ , 1 = 1 1 + d ( d + 2 ) / N w O T U 1 Σ ‾ 11 S 11 − 1 p σ , 1 = b 1 + d ( d + 2 ) / N . (240) b_N=w_O^TU_1\overline{\Sigma}_{11}S_{\mathrm{eff}}^{-1}p_{\sigma,1}=\frac{1}{1+d(d+2)/N}w_O^TU_1\overline{\Sigma}_{11}S_{11}^{-1}p_{\sigma,1}=\frac{b}{1+d(d+2)/N}. \tag*{(240)} b N = w O T U 1 Σ 11 S eff − 1 p σ , 1 = 1 + d ( d + 2 ) / N 1 w O T U 1 Σ 11 S 11 − 1 p σ , 1 = 1 + d ( d + 2 ) / N b . (240)
Lemma 13. If the training states form a complex projective 2-design, and the POVM is a balanced rank-1 tight measurement frame, then the coefficients V N V_N V N and V b V_b V b , as given in eqs. (222) and (225) , satisfy
V N = 1 n t r ∑ i = 1 n t r [ 1 + β N , d ( q i − 1 ) ] 2 Var i ( w O ) = β N , d 2 V + 2 β N , d ( 1 − β N , d ) C + ( 1 − β N , d ) 2 A , (241) V_N = \frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\left[1+\beta_{N,d}(q_i-1)\right]^2\operatorname{Var}_i(w_O)=\beta_{N,d}^2V+2\beta_{N,d}(1-\beta_{N,d})C+(1-\beta_{N,d})^2A, \tag*{(241)} V N = n tr 1 i = 1 ∑ n tr [ 1 + β N , d ( q i − 1 ) ] 2 Var i ( w O ) = β N , d 2 V + 2 β N , d ( 1 − β N , d ) C + ( 1 − β N , d ) 2 A , (241) q i ≡ n t r ⟨ ρ ~ i , σ ⟩ , β N , d ≡ 1 1 + d ( d + 2 ) / N , C ≡ 1 n t r ∑ i = 1 n t r q i Var i ( w O ) , A ≡ 1 n t r ∑ i = 1 n t r Var i ( w O ) . q_i\equiv n_{\mathrm{tr}}\langle\widetilde{\rho}_i,\sigma\rangle,\qquad\beta_{N,d}\equiv\frac{1}{1+d(d+2)/N},\qquad C\equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}q_i\operatorname{Var}_i(w_O),\qquad A\equiv\frac{1}{n_{\mathrm{tr}}}\sum_{i=1}^{n_{\mathrm{tr}}}\operatorname{Var}_i(w_O). q i ≡ n tr ⟨ ρ i , σ ⟩ , β N , d ≡ 1 + d ( d + 2 ) / N 1 , C ≡ n tr 1 i = 1 ∑ n tr q i Var i ( w O ) , A ≡ n tr 1 i = 1 ∑ n tr Var i ( w O ) . Averaging over test state and observables the relation simplifies to
E σ , O [ V N ] = E σ , O [ V ] ( β N , d 2 + 1 − β N , d 2 d 2 ) = ( d − 1 ) ( d + 2 ) d ( d + 1 ) [ 1 + d 2 − 1 [ 1 + d ( d + 2 ) / N ] 2 ] (242) \mathbb{E}_{\sigma,O}[V_N]=\mathbb{E}_{\sigma,O}[V]\left(\beta_{N,d}^2+\frac{1-\beta_{N,d}^2}{d^2}\right)=\frac{(d-1)(d+2)}{d(d+1)}\left[1+\frac{d^2-1}{[1+d(d+2)/N]^2}\right] \tag*{(242)} E σ , O [ V N ] = E σ , O [ V ] ( β N , d 2 + d 2 1 − β N , d 2 ) = d ( d + 1 ) ( d − 1 ) ( d + 2 ) [ 1 + [ 1 + d ( d + 2 ) / N ] 2 d 2 − 1 ] (242)
Proof. Note that with the definitions given in the lemma, and remembering that w O = w O e f f w_O=w_O^{\mathrm{eff}} w O = w O eff , we have V = n t r − 1 ∑ i = 1 n t r q i 2 Var i ( w O ) V=n_{\mathrm{tr}}^{-1}\sum_{i=1}^{n_{\mathrm{tr}}}q_i^2\operatorname{Var}_i(w_O) V = n tr − 1 ∑ i = 1 n tr q i 2 Var i ( w O ) . The statement follows from the same identities for S e f f S_{\mathrm{eff}} S eff used in lemma 12. □
Thus, as a function of N N N , we have
E σ , O [ V N ] ∼ { 1 , N ≪ d , N 2 / d 2 , d ≪ N ≪ d 2 , d 2 , N ≫ d 2 , E σ , O [ b N 2 ] ∼ { N 2 / d 2 , N ≪ d 2 , d 2 , N ≫ d 2 . (243) \mathbb{E}_{\sigma,O}[V_N]\sim
\begin{cases}
1, & N\ll d,\\
N^2/d^2, & d\ll N\ll d^2,\\
d^2, & N\gg d^2,
\end{cases}
\qquad
\mathbb{E}_{\sigma,O}[b_N^2]\sim
\begin{cases}
N^2/d^2, & N\ll d^2,\\
d^2, & N\gg d^2.
\end{cases} \tag*{(243)} E σ , O [ V N ] ∼ ⎩ ⎨ ⎧ 1 , N 2 / d 2 , d 2 , N ≪ d , d ≪ N ≪ d 2 , N ≫ d 2 , E σ , O [ b N 2 ] ∼ { N 2 / d 2 , d 2 , N ≪ d 2 , N ≫ d 2 . (243)
Numerical results
In this section, we present several numerical simulations supporting the theoretical discussion in the manuscript. All simulations estimate the training bias and variance numerically using a finite number of realizations of the shot noise arising during training or testing. Achieving full agreement between the simulations and the theoretical results therefore requires unbiased estimators of the bias and variance. This subtlety is discussed in detail in section SM6.1.
The numerical simulations serve two distinct purposes. First, we explore a range of settings to demonstrate the broad applicability of the manuscript’s theoretical findings. For example, in section SM6.3, we reproduce the predicted scaling of the MSE, bias, and variance for randomly generated POVMs. Second, the simulations in § 18.2 provide empirical evidence supporting the validity of the Gaussian approximation discussed in the main text.
Unbiased estimators for the training bias and variance
The bias–variance decomposition in eqs. (12) and (19) is defined in terms of exact averages over the shot noise. In the simulations, the average over p ^ σ \hat{p}_{\sigma} p ^ σ is performed analytically using eq. (12) while the average over the training noise is replaced by a finite sample mean. We derive the resulting estimators at fixed training set, POVM, observable O O O , and test state σ \sigma σ ; any further average over these objects is performed only afterwards.
For each realization of the training shot-noise, let
y ^ = w ^ N ( r ) p σ , y = w O p σ = ⟨ O , σ ⟩ . (244) \hat{y}=\hat{w}_N^{(r)}p_{\sigma},\qquad y=w_Op_{\sigma}=\langle O,\sigma\rangle. \tag*{(244)} y ^ = w ^ N ( r ) p σ , y = w O p σ = ⟨ O , σ ⟩ . (244)
Thus y ^ \hat{y} y ^ is the infinite-test-statistics prediction obtained from a realization training shot-noise Ξ ^ \hat{\Xi} Ξ ^ , whereas y y y is the exact target. If y ˉ t r ≡ E Ξ ^ [ y ^ ] \bar{y}_{\mathrm{tr}}\equiv\mathbb{E}_{\hat{\Xi}}[\hat{y}] y ˉ tr ≡ E Ξ ^ [ y ^ ] , the quantities defined in eq. (19) may also be written as:
bias 2 ( N , σ ) = ( y ˉ t r − y ) 2 , Var t r ( N , σ ) = E Ξ ^ [ ( y ^ − y ˉ t r ) 2 ] . (245) \operatorname{bias}^2(N,\sigma)=\left(\bar{y}_{\mathrm{tr}}-y\right)^2,\qquad\operatorname{Var}_{\mathrm{tr}}(N,\sigma)=\mathbb{E}_{\hat{\Xi}}\left[(\hat{y}-\bar{y}_{\mathrm{tr}})^2\right]. \tag*{(245)} bias 2 ( N , σ ) = ( y ˉ tr − y ) 2 , Var tr ( N , σ ) = E Ξ ^ [ ( y ^ − y ˉ tr ) 2 ] . (245)
Let R ≥ 2 R\ge2 R ≥ 2 be the number of independent training-noise realizations and let introduce the empirical mean and sample variance
y ^ R ≡ 1 R ∑ r = 1 R y ^ r , S ^ R 2 ≡ 1 R − 1 ∑ r = 1 R ( y ^ r − y ^ R ) 2 . (246) \hat{y}_R\equiv\frac{1}{R}\sum_{r=1}^{R}\hat{y}_r,\qquad\hat{S}_R^2\equiv\frac{1}{R-1}\sum_{r=1}^{R}\left(\hat{y}_r-\hat{y}_R\right)^2. \tag*{(246)} y ^ R ≡ R 1 r = 1 ∑ R y ^ r , S ^ R 2 ≡ R − 1 1 r = 1 ∑ R ( y ^ r − y ^ R ) 2 . (246)
where { y ^ r } r = 1 R \{\hat{y}_r\}_{r=1}^{R} { y ^ r } r = 1 R are R R R independent realization of y ^ \hat{y} y ^ over the shot-noise. Using the independence of the R R R training realization, it is simple to show that:
E [ y ^ R ] = y ˉ t r , Var [ y ^ R ] = Var t r ( N , σ ) R , E [ S ^ R 2 ] = Var t r ( N , σ ) . (247) \mathbb{E}[\hat{y}_R] = \bar{y}_{\mathrm{tr}}, \qquad\operatorname{Var}[\hat{y}_R] = \frac{\operatorname{Var}_{\mathrm{tr}}(N,\sigma)}{R}, \qquad\mathbb{E}[\hat{S}_R^2] = \operatorname{Var}_{\mathrm{tr}}(N,\sigma). \tag*{(247)} E [ y ^ R ] = y ˉ tr , Var [ y ^ R ] = R Var tr ( N , σ ) , E [ S ^ R 2 ] = Var tr ( N , σ ) . (247)
In particular, using the last identity in eq. (247) , it is immediate to recognize that the sample variance is actually an unbiased estimator of the true training variance:
Var ^ t r ( N , σ ) ≡ S ^ R 2 = 1 R − 1 ∑ r = 1 R ( y ^ r − y ^ R ) 2 (248) \widehat{\operatorname{Var}}_{\mathrm{tr}}(N,\sigma) \equiv\hat{S}_R^2 = \frac{1}{R-1}\sum_{r=1}^{R}(\hat{y}_r-\hat{y}_R)^2 \tag*{(248)} Var tr ( N , σ ) ≡ S ^ R 2 = R − 1 1 r = 1 ∑ R ( y ^ r − y ^ R ) 2 (248)
is actually an unbiased estimator of the training variance.
On the other hand, the estimator of the square bias is more subtle. A naive guess would be to use ( y ^ R − y ) 2 (\hat{y}_R-y)^2 ( y ^ R − y ) 2 to estimate the actual bias. However, using again the independence of the noise realizations, it is easy to check that this would not be an unbiased estimator. In fact:
E [ ( y ^ R − y ) 2 ] = ( y − E [ y ^ R ] ) 2 + Var [ y ^ R ] = bias 2 ( N , σ ) + 1 R Var ( N , σ ) (249) \mathbb{E}[(\hat{y}_R-y)^2] = (y-\mathbb{E}[\hat{y}_R])^2 + \operatorname{Var}[\hat{y}_R] = \operatorname{bias}^2(N,\sigma) + \frac{1}{R}\operatorname{Var}(N,\sigma) \tag*{(249)} E [( y ^ R − y ) 2 ] = ( y − E [ y ^ R ] ) 2 + Var [ y ^ R ] = bias 2 ( N , σ ) + R 1 Var ( N , σ ) (249)
The term on the left is therefore positively biased at finite R R R . Unbiased estimator of the squared bias is instead
bias 2 ^ ( N , σ ) ≡ ( y ^ R − y ) 2 − 1 R S ^ R 2 . (250) \widehat{\operatorname{bias}^2}(N,\sigma) \equiv(\hat{y}_R-y)^2-\frac{1}{R}\hat{S}_R^2. \tag*{(250)} bias 2 ( N , σ ) ≡ ( y ^ R − y ) 2 − R 1 S ^ R 2 . (250)
Numerical tests of the Gaussian approximation
We compare the prediction errors obtained with exact multinomial sampling and with a Gaussian approximation having the same conditional mean and covariance. For each training state, the empirical probability vector is generated according to either
p ^ = 1 N Mult ( N , p ) , or p ^ = p + ξ N , ξ ∼ N ( 0 , diag ( p ) − p p ⊤ ) . (251) \hat{p}=\frac{1}{N}\operatorname{Mult}(N,p), \qquad\text{or} \qquad\hat{p}=p+\frac{\xi}{\sqrt{N}}, \qquad\xi\sim\mathcal{N}\left(0,\operatorname{diag}(p)-pp^{\top}\right). \tag*{(251)} p ^ = N 1 Mult ( N , p ) , or p ^ = p + N ξ , ξ ∼ N ( 0 , diag ( p ) − p p ⊤ ) . (251)
The Gaussian model retains the state dependence of the categorical covariance and its normalization constraint. It therefore tests the replacement of multinomial fluctuations by Gaussian fluctuations, separately from the additional homogeneity assumption introduced in § 15 .
Figure SM1 presents this comparison for a qubit (d = 2 d=2 d = 2 ) measured with either the MUB POVM (n o u t = 6 n_{\mathrm{out}}=6 n out = 6 ) or a random POVM with n o u t = 16 n_{\mathrm{out}}=16 n out = 16 outcomes. Each realization of the training noise defines a fitted regressor, whose squared prediction error is averaged over 50 Haar-random test states and 20 rank-one observables. We report both the mean and the median over noise realizations, together with the corresponding spread, to distinguish typical performance from sensitivity to rare events.
Figure SM1. Single-experiment MSE of pseudoinverse regression under multinomial shot noise and under its Gaussian approximation, for a qubit (d = 2 d = 2 d = 2 ) measured with the MUB (upper panel) and a random POVM (n o u t = 6 n_{\mathrm{out}} = 6 n out = 6 outcomes) (lower panel), as a function of the number N N N of shots per training state. An experiment is one draw of the shot noise on the n t r n_{\mathrm{tr}} n tr training states; its MSE is the squared prediction error averaged over 50 Haar-random test states and 20 rank-one observables. Multinomial noise, p ^ = Mult ( N , p ) / N \hat{p} = \operatorname{Mult}(N,p)/N p ^ = Mult ( N , p ) / N : markers show the mean, with error bars giving its standard error; the solid line shows the median; the shaded band spans the 10th–90th percentiles. Gaussian approximation, p ^ = p + ξ / N \hat{p} = p + \xi/\sqrt{N} p ^ = p + ξ / N with ξ ∼ N ( 0 , diag ( p ) − p p T ) \xi\sim\mathcal{N}(0,\operatorname{diag}(p) - pp^{\mathsf{T}}) ξ ∼ N ( 0 , diag ( p ) − p p T ) : the dash-dotted line shows the mean, the dashed line the median, and the dotted lines the 10th and 90th percentiles. For n t r < d 2 = 4 n_{\mathrm{tr}} < d^2 = 4 n tr < d 2 = 4 the training states do not span the space of qubit operators and the MSE saturates at large N N N ; for n t r ≥ 4 n_{\mathrm{tr}} \ge4 n tr ≥ 4 it keeps decreasing. Near the interpolation threshold n t r ≃ n o u t n_{\mathrm{tr}} \simeq n_{\mathrm{out}} n tr ≃ n out the single-experiment MSE is heavy-tailed for both noise models, so the mean is dominated by rare experiments and fluctuates strongly; means outside the plotted range are not shown.
For n t r < d 2 = 4 n_{\mathrm{tr}}<d^2=4 n tr < d 2 = 4 , the training states do not span the full operator space. Increasing N N N then suppresses measurement noise but does not remove the lack of information in the training set, resulting in a nonzero large-N N N error. Once the training states span the operator space, the error decreases with increasing measurement statistics. The multinomial and Gaussian models exhibit the same qualitative behavior, with close agreement between their medians and percentile ranges across the settings shown.
Near the interpolation threshold, the distribution of the single-experiment MSE becomes broad, and its mean is particularly sensitive to rare, poorly conditioned training matrices. The resulting fluctuations occur for both noise models and make the empirical mean a less stable indicator of agreement than the median and quantiles. These comparisons support the Gaussian approximation for the prediction statistics considered here. They do not, by themselves, establish the existence of inverse moments near the interpolation threshold or justify replacing the state-dependent covariance by a homogeneous one.
Simulations with random POVMs
We next investigate whether the resource scalings derived above persist for randomly generated POVMs, beyond the symmetric measurement designs for which explicit ensemble averages are available. Figure SM2 and Figure SM3 consider a qubit with n o u t ∈ { 8 , 16 , 32 , 64 } n_{\mathrm{out}} \in\{8,16,32,64\} n out ∈ { 8 , 16 , 32 , 64 } , trained on n t r = 256 n_{\mathrm{tr}} = 256 n tr = 256 states and evaluated on 200 test states. The plotted markers and bands summarize the median and the 10th-90th percentiles over 100 random target observables.
Figure SM2. Test MSE as a function of N N N for a single qubit (d = 2 d = 2 d = 2 ) measured with random POVMs with n o u t ∈ { 8 , 16 , 32 , 64 } n_{\mathrm{out}} \in\{8, 16, 32, 64\} n out ∈ { 8 , 16 , 32 , 64 } outcomes, with exact outcome probabilities (M = ∞ M = \infty M = ∞ ). Markers show the median over n o b s = 100 n_{\mathrm{obs}} = 100 n obs = 100 random observables O \mathcal{O} O , and shaded bands show the 10th–90th percentile range. The model is trained on n t r = 256 n_{\mathrm{tr}} = 256 n tr = 256 states and tested on 200 states. Two regimes appear. For small N N N , the error is dominated by the bias and decays as N − 2 N^{-2} N − 2 , following E σ , O [ b 2 ] / N 2 E_{\sigma,\mathcal{O}}[b^2]/N^2 E σ , O [ b 2 ] / N 2 (red dash-dotted line). For large N N N , the variance takes over and the error decays as N − 1 N^{-1} N − 1 , following E σ , O [ V ] / ( N n t r ) E_{\sigma,\mathcal{O}}[V]/(Nn_{\mathrm{tr}}) E σ , O [ V ] / ( N n tr ) (black dashed line). Unlike the finite-M M M case, there is no plateau. The curves depend only weakly on n o u t n_{\mathrm{out}} n out : the n o u t = 8 n_{\mathrm{out}} = 8 n out = 8 curve sits slightly higher and has a wider spread.
Figure SM3. Same as Figure SM2 , but with finite statistics of M = 10 3 M = 10^3 M = 1 0 3 shots per state. As N N N grows, the MSE drops and then levels off at a plateau set by shot noise, instead of continuing to decay. The dashed line is the limit Var ( w O ) / M = 2 / ( 3 M ) \operatorname{Var}(w_{\mathcal{O}})/M = 2/(3M) Var ( w O ) / M = 2/ ( 3 M ) . As in the M = ∞ M = \infty M = ∞ case, the curves depend only weakly on n o u t n_{\mathrm{out}} n out : the n o u t = 8 n_{\mathrm{out}} = 8 n out = 8 curve sits slightly higher and has a wider spread.
With exact test probabilities, Figure SM2 displays the two regimes predicted by section section SM5. At lower training statistics, the systematic bias dominates and the MSE decreases approximately as N − 2 N^{-2} N − 2 . At higher statistics, the training fluctuations dominate, giving the slower decay ( N n t r ) − 1 (N n_{\mathrm{tr}})^{-1} ( N n tr ) − 1 . The symmetric-design expressions provide reference curves for these contributions. The random POVM results reproduce their scaling and show only a weak dependence on the number of outcomes over the range considered, although the smallest POVM exhibits a larger error and a broader spread.
Finite test statistics change the large-N N N behavior. In Figure SM3 , where M = 10 3 M = 10^{3} M = 1 0 3 , the initial decrease is arrested by a plateau arising from the test-sampling contribution
1 M E t r [ w ~ N Σ σ w ~ N T ] . (252) \frac{1}{M}\mathbb{E}_{\mathrm{tr}}\left[\tilde{w}_{N}\Sigma_{\sigma}\tilde{w}_{N}^{\mathsf{T}}\right]. \tag*{(252)} M 1 E tr [ w ~ N Σ σ w ~ N T ] . (252)
The symmetric qubit value 2 / ( 3 M ) 2/(3M) 2/ ( 3 M ) is shown as a reference. The observed saturation illustrates that increasing the training statistics alone cannot eliminate the error caused by a fixed test-measurement budget.
Figure SM4 examines a single fixed regression instance, allowing the analytical prediction to be compared with simulations without averaging over different measurement geometries. We vary the training-target noise, the test-target noise, and the test budget, and compare the empirical MSE with
Figure SM4. Empirical MSE of a single fixed regression instance compared with the prediction f ( N ) = C 0 + C 1 / N + C 2 / N 2 + C 3 N f(N) = C_0 + C_1/N + C_2/N^2 + C_3N f ( N ) = C 0 + C 1 / N + C 2 / N 2 + C 3 N , as a function of the number N N N of training shots per training state. The instance has d = 2 d = 2 d = 2 , a Haar-random rank-one POVM with n o u t = 16 n_{\mathrm{out}} = 16 n out = 16 outcomes, n t r = 256 n_{\mathrm{tr}} = 256 n tr = 256 training states, one test state σ \sigma σ and one target observable. Each curve corresponds to one choice of the training label-noise level γ t r \gamma_{\mathrm{tr}} γ tr , the test label-noise level γ t e s t \gamma_{\mathrm{test}} γ test and the number of test shots M M M , as given in the legend. For each N N N , all noise sources are sampled jointly over 100 independent realizations. Markers show the mean squared error and shaded bands span the 10th–90th percentiles. Black dashed lines show f ( N ) f(N) f ( N ) , with coefficients evaluated in closed form for this instance.
f ( N ) = C 0 + C 1 N + C 2 N 2 + C 3 N , (253) f(N) = C_{0} + \frac{C_{1}}{N} + \frac{C_{2}}{N^{2}} + C_{3}N, \tag*{(253)} f ( N ) = C 0 + N C 1 + N 2 C 2 + C 3 N , (253)
using coefficients evaluated for that instance. The decreasing terms describe the training fluctuation and squared-bias contributions, while the constant term includes the noise floors. When training-target noise and finite test sampling are both present, the term proportional to N N N produces an eventual increase of the error: more precise training features amplify target noise through the increasingly small singular values of the empirical feature matrix. With exact test probabilities, this growing contribution is absent. Independent test-target noise instead adds an irreducible constant contribution. The agreement shown in the figure supports this separation of the different error mechanisms.
Finally, Figure SM5 and Figure SM6 vary n o u t n_{\mathrm{out}} n out at fixed training set size. The error initially decreases as the POVM becomes more redundant, remains comparatively flat at intermediate outcome numbers, and rises sharply near the interpolation threshold n o u t ≃ n t r n_{\mathrm{out}} \simeq n_{\mathrm{tr}} n out ≃ n tr . Beyond this region, it decreases again. Finite test sampling strongly enhances the peak because poorly conditioned regressors also amplify fluctuations in the test probabilities. Away from the peak, the finite-M M M curves become largely insensitive to N N N once test sampling dominates. These scans show that additional measurement outcomes can improve performance, but their benefit depends on the conditioning of the empirical regression problem and on the available training and test statistics.
Figure SM5. Test MSE as a function of the number of POVM outcomes n o u t n_{\rm out} n out for a single qubit (d = 2 d = 2 d = 2 ) measured with random POVMs and exact outcome probabilities (M = ∞ M = \infty M = ∞ ), for N ∈ { 10 2 , 10 3 , 10 4 , 10 5 } N \in\{10^{2}, 10^{3}, 10^{4}, 10^{5}\} N ∈ { 1 0 2 , 1 0 3 , 1 0 4 , 1 0 5 } . Markers show the median over n o b s = 100 n_{\rm obs} = 100 n obs = 100 random observables O \mathcal{O} O , and shaded bands show the 10th–90th percentile range. The model is trained on n t r = 256 n_{\rm tr} = 256 n tr = 256 states and tested on 200 states. The MSE falls quickly from n o u t = 4 n_{\rm out} = 4 n out = 4 and stays nearly flat between n o u t ≈ 16 n_{\rm out} \approx16 n out ≈ 16 and 64. It then rises and peaks sharply at n o u t = n t r n_{\rm out} = n_{\rm tr} n out = n tr , where the linear system is square and ill-conditioned (interpolation threshold), before decreasing again for n o u t > n t r n_{\rm out} > n_{\rm tr} n out > n tr . At every n o u t n_{\rm out} n out , increasing N N N lowers the error by roughly an order of magnitude per decade, in line with the N − 1 N^{-1} N − 1 scaling of Figure SM2 .
Figure SM6. Same as Figure SM5 , but with finite statistics of M = 10 3 M = 10^{3} M = 1 0 3 shots per state. For N ≳ 10 3 N \gtrsim10^{3} N ≳ 1 0 3 the curves collapse onto one another, because the error is set by the shot-noise floor Var ( w O ) / M \operatorname{Var}(w_{\mathcal{O}})/M Var ( w O ) / M rather than by N N N (cf. Figure SM3 ). The dependence on n o u t n_{\rm out} n out is the same as for M = ∞ M = \infty M = ∞ : the error is lowest for 16 ≲ n o u t ≲ 64 16 \lesssim n_{\rm out} \lesssim64 16 ≲ n out ≲ 64 and peaks at n o u t = n t r = 256 n_{\rm out} = n_{\rm tr} = 256 n out = n tr = 256 . Shot noise makes the peak much stronger, with an MSE of order unity or higher.
References