arXiv:2610.21273cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21273

Regret Lower Bound for Online Learning of Quantum States with Logarithmic Loss, with Applications to Quantum State Tomography and Confidence Sequences for Matrix Means

Yen-Huan Li, Wei-Fu Tseng

Abstract

We study the problem of online learning of quantum states with logarithmic loss, which is a quantum generalization of online portfolio selection and has applications to quantum state tomography, the task of estimating an unknown quantum state from measurement outcomes. We first establish a regret lower bound, showing that the regret rates of Exponential Weights and the algorithm of Tseng et al. (2025) have optimal polynomial dependence on the dimension. Our analysis leads to two further results. First, our lower-bound proof leads to a quantum state tomography algorithm that is sample optimal up to polylogarithmic factors in the sample size. Second, we develop an algorithm for constructing confidence sequences for the mean of a matrix-valued random variable. A numerical experiment shows that the latter algorithm is competitive with existing methods.

1 Introduction

In the mathematical formalism of quantum mechanics, a quantum state is represented by a density matrix, which is a Hermitian positive semidefinite matrix with unit trace. A measurement is represented by a positive operator-valued measure (POVM), which is a collection of Hermitian positive semidefinite matrices that sum to the identity matrix. Given a density matrix ρ\rho and a POVM {Mt∣ι∈I}\{M_t \mid \iota \in \mathcal{I}\} indexed by a set I\mathcal{I}, the measurement outcome is a random variable η\eta taking values in I\mathcal{I} whose distribution is given by the Born rule:

P(η=ι)=tr(Mιρ),for all ι∈I,(1)\mathsf{P}\left(\eta=\iota\right)=\mathsf{t r}\big(M_{\iota}\rho\big),\quad\mathrm{f o r~a l l~}\iota\in\mathcal{I}, \tag{1}

For convenience, we will write Dd\mathcal{D}_d for the set of d×dd \times d density matrices.

Consider the following multi-round game of online learning of quantum states with logarithmic loss between two players, Physicist and Nature. The game consists of TT rounds. At each round 1≤t≤T1 \leq t \leq T:

• Physicist announces a density matrix ρt∈Dd\rho_t \in \mathcal{D}_d;

• Nature then announces a non-zero d×dd \times d Hermitian positive semidefinite matrix AtA_t whose eigenvalues lie in 1[0,1]^1[0,1];

• finally, Physicist suffers the loss ft(ρt):=−log⁡tr(Atρt)f_t(\rho_t) := -\log \mathrm{tr}(A_t \rho_t).

1^{1}One can get rid of the upper limit 1 for the eigenvalues. Nevertheless, since the loss function is logarithmic, scaling AtA_{t} does not affect the regret value, so we can always scale AtA_{t} such that its eigenvalues are all at most 1.

Physicist aims to achieve small regret against any strategy of Nature. The regret is defined as

RegretT:=∑t=1Tft(ρt)−min⁡ρ∈Dd∑t=1Tft(ρ).\mathrm{Regret}_{T}:=\sum_{t=1}^{T}f_{t}(\rho_{t})-\min_{\rho\in\mathcal{D}_{d}}\sum_{t=1}^{T}f_{t}(\rho).

For convenience, throughout this paper we refer to this game simply as online learning of quantum states (OLQS), although online learning of quantum states has also been studied under other loss functions (Aaronson et al., 2018, 2019; Bansal et al., 2025; Chen et al., 2024; Yang et al., 2020).

The game was independently proposed and studied by Lin et al. (2021b) and Zimmert et al. (2022). The work of Lin et al. (2021b) was motivated by quantum state tomography, the task of estimating an unknown quantum state from measurement outcomes (Paris and Reháček, 2004). Suppose that a fixed POVM is used for the measurements and that MtM_t is the POVM element corresponding to the outcome observed at round tt. Then, ft(ρ)f_t(\rho) is precisely the negative log-likelihood of the observed outcome under the candidate state ρ\rho. Thus, OLQS can be viewed as an online formulation of maximum-likelihood quantum state tomography (Hradil, 1997). In addition, it is easily checked that any no-regret algorithm for OLQS, together with an online-to-batch conversion (Hazan, 2023; Orabona, 2026), can be used as a stochastic optimization method for approximating the maximum-likelihood estimate in quantum state tomography.

OLQS is also closely connected to online portfolio selection introduced by Cover (1991), as noted by both Lin et al. (2021b) and Zimmert et al. (2022). Indeed, suppose that the matrices MtM_t are all diagonal in a fixed common basis. Since tr(Mtρ)\text{tr}(M_t\rho) then depends only on the diagonal entries of ρ\rho in this basis, Physicist may, without loss of generality, restrict attention to density matrices that are diagonal in the same basis. Identifying the diagonal entries of ρt\rho_t with a portfolio vector xtx_t in the probability simplex and those of MtM_t with a return vector at∈[0,1]da_t \in [0,1]^d, we obtain ft(ρt)=−log⁡⟨at,xt⟩f_t(\rho_t) = -\log\langle a_t, x_t \rangle, which is exactly the logarithmic loss in online portfolio selection.

Since neither the logarithmic loss nor its gradient is Lipschitz continuous, regret guarantees of textbook online convex optimization algorithms do not directly apply to online portfolio selection. Indeed, optimal online portfolio selection, in both regret rate and computational complexity, has been an open problem for more than three decades. Cover and Ordentlich (1996) and Ordentlich and Cover (1998) established that the minimax-optimal regret rate is O(dlog⁡T)O(d \log T) and this rate can be achieved by the Universal Portfolios algorithm, an instance of Exponential Weights (Hazan et al., 2007; van der Hoeven et al., 2018; Vovk and Watkins, 1998). Unfortunately, the computational complexity of Universal Portfolios scales poorly with the time horizon (Kalai and Vempala, 2002), with a per-round runtime of O(d4T14)O(d^{4}T^{14}) (Luo et al., 2018).

Table 1 summarizes existing state-of-the-art algorithms for online portfolio selection and their counterparts for OLQS. The best-known algorithm for online portfolio selection is perhaps VB-FTRL (Jézéquel et al., 2026), which achieves a regret rate of O(dlog⁡(d+T))O(d \log(d + T)) with a per-round runtime of O(d2T)O(d^2 T). When T≫dT \gg d, the regret rate of VB-FTRL is already optimal, but the dependence of its per-round runtime on T becomes undesirable.

A trade-off between regret and computational complexity is achieved by PAE+DONS (Mhammedi and Rakhlin, 2022) and BISONS (Zimmert et al., 2022), which attain regret rates of O(d2 polylog(T))O(d^2 \text{ polylog}(T)) with per-round runtimes of O(poly(d) polylog(T))O(\text{poly}(d) \text{ polylog}(T)). Another trade-off between regret and computational complexity is provided by the barrier subgradient method (Nesterov, 2011), Soft-Bayes (Orseau et al., 2017), and LB-FTRL (Tsai et al., 2023c). These algorithms achieve regret rates of O~(dT)\widetilde{O}(\sqrt{dT}) with per-round runtimes of O~(d)\widetilde{O}(d).

Following the convention in quantum information theory, we will refer to online portfolio selection and OLQS as the classical case and the quantum case, respectively. As shown in Table 1, existing algorithms for OLQS are generalizations of their classical counterparts. Such generalizations can be technically challenging because of the noncommutative nature of the quantum setting.

Online Portfolio SelectionOnline Learning of Quantum States
AlgorithmRegret RateAlgorithmRegret Rate
Universal Portfolios (Cover, 1991)O(dlog⁡T)O(d\log T)Exponential Weights (Zimmert et al., 2022)O(d2log⁡T)O(d^2\log T)
VB-FTRL (Jézequel et al., 2026)O(dlog⁡(d+T))O(d\log(d+T))Q-VB-FTRL (Tseng et al., 2025)O(d2log⁡(d+T))O(d^2\log(d+T))
PAE+DONS (Mhammedi and Rakhlin, 2022)O(d2log⁡5T)O(d^2\log^5 T)No known quantum counterpart.
BISONS (Zimmert et al., 2022)O(d2log⁡2T)O(d^2\log^2 T)SCHRODINGER'S BISONS (Zimmert et al., 2022)O(d3log⁡2T)O(d^3\log^2 T)
Barrier subgradient method (Nesterov, 2011)O~(dT)\widetilde{O}(\sqrt{dT})Q-LB-OMD (Tsai et al., 2023a)O~(dT)\widetilde{O}(\sqrt{dT})
Soft-Bayes (Orseau et al., 2017)Q-Soft-Bayes (Lin et al., 2021b)
LB-FTRL (Tsai et al., 2023c)Q-LB-FTRL (Tsai et al., 2023b)

Table 1: Existing algorithms for online portfolio selection and online learning of quantum states with logarithmic loss (OLQS), together with their regret upper bounds. Rows group related online portfolio selection algorithms and their quantum counterparts. Here, dd denotes the number of assets in online portfolio selection and the dimension of density matrices in OLQS, and TT denotes the time horizon. The notation O~\widetilde{O} suppresses polylogarithmic factors in dd and TT. LB-FTRL and Q-LB-FTRL in the last row use linearized losses.

We observe an interesting separation in Table 1:

  • Q-LB-OMD (Tsai et al., 2023a), Q-Soft-Bayes (Lin et al., 2021b), and Q-LB-FTRL (Tsai et al., 2023b) inherit the same regret rates as their classical counterparts.
  • Exponential Weights (Zimmert et al., 2022), Q-VB-FTRL (Tseng et al., 2025), and SCHRODINGER'S BISONS (Zimmert et al., 2022) suffer an additional factor of dd in their regret bounds compared with their classical counterparts.

Both phenomena can be explained. Q-LB-OMD, Q-Soft-Bayes, and Q-LB-FTRL were developed so that their algorithms and regret bounds reduce to those of their classical counterparts when all matrices involved are diagonal. In contrast, the analyses of Exponential Weights, Q-VB-FTRL, and SCHRODINGER'S BISONS use a vectorization argument that treats a d×dd \times d density matrix as a vector of dimension Θ(d2)\Theta(d^2), leading to the additional factor of dd in their regret upper bounds.

The aforementioned observation naturally leads to the following question:

Is the additional factor of dd in the regret bound for Exponential Weights in OLQS intrinsic to the problem, or is it merely an artifact of the analysis?

The answer to this question also has implications for the significance of the Q-VB-FTRL algorithm. No explicit implementation of Exponential Weights for OLQS is currently available in the literature. Q-VB-FTRL, on the other hand, admits an implementation with O(Tpoly⁡(d))O(T\operatorname{poly}(d)) per-round runtime while achieving an O(d2log⁡(d+T))O(d^2\log(d+T)) regret bound. Therefore, if the additional factor of dd in these regret bounds could be removed, then the significance of Q-VB-FTRL as a computationally efficient algorithm with near-optimal dependence on the dimension would also be called into question.

In this paper, we establish the following regret lower bound for OLQS.

Theorem 1.1. Suppose that T≫d2log⁡dT \gg d^2 \log d. Then no algorithm for OLQS can achieve a worst-case regret bound of O(dγlog⁡T)O(d^\gamma \log T) for any γ<2\gamma < 2.

This result establishes that the regret rates of both Exponential Weights and Q-VB-FTRL have the correct polynomial dependence on the dimension.

Our proof strategy exploits the connection between OLQS and quantum state tomography. We first develop an online learning approach to quantum state tomography, reducing quantum state tomography to OLQS via an online-to-batch conversion, and derive a high-probability upper bound on the estimation error in terms of the regret of the OLQS algorithm used. Then, existing high-probability lower bounds on the estimation error from the quantum information theory literature (Acharya et al., 2025; Chen et al., 2023; Haah et al., 2017; Lowe and Nayak, 2025) immediately imply that the regret of any OLQS algorithm must be sufficiently large.

Our result also yields two applications.

  1. As a byproduct of our proof strategy, we develop a novel algorithm for quantum state tomography that is sample-optimal up to polylogarithmic factors in the sample size.

  2. Generalizing the connection between confidence sequences for estimating the mean of a random vector and online portfolio selection, we develop an algorithm that constructs confidence sequences for the mean of a random matrix. Theorem 1.1 establishes that the regret bound for Exponential Weights has optimal polynomial dependence on the dimension, motivating our use of this bound in the confidence-sequence construction in Section 4.

Notation The d×dd \times d identity matrix is denoted by IdI_d. The transpose and conjugate transpose of a matrix MM are denoted by M⊤M^\top and M∗M^*, respectively. The trace norm of a matrix MM is denoted by ∥M∥1\|M\|_1, as it coincides with the Schatten 1-norm. The 1-norm of a vector ν\nu is denoted by ∥ν∥1\|\nu\|_1. For any dd-dimensional probability vectors pp and qq, their Kullback-Leibler divergence is denoted by DKL(p,q)D_{\text{KL}}(p, q) and defined as

DKL(p,q):=∑i=1dp[i]log⁡p[i]q[i],D_{\mathrm{K L}}(p,q):=\sum_{i=1}^{d}p[i]\log\frac{p[i]}{q[i]},

where p[i]p[i] and q[i]q[i] denote the i-th entries of p and q, respectively.

References (64)