Manuscript Offprint
arXiv:2610.21273Regret Lower Bound for Online Learning of Quantum States with Logarithmic Loss, with Applications to Quantum State Tomography and Confidence Sequences for Matrix Means
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 and a POVM indexed by a set , the measurement outcome is a random variable taking values in whose distribution is given by the Born rule:
For convenience, we will write for the set of 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 rounds. At each round :
• Physicist announces a density matrix ;
• Nature then announces a non-zero Hermitian positive semidefinite matrix whose eigenvalues lie in ;
• finally, Physicist suffers the loss .
One can get rid of the upper limit 1 for the eigenvalues. Nevertheless, since the loss function is logarithmic, scaling does not affect the regret value, so we can always scale 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
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 is the POVM element corresponding to the outcome observed at round . Then, is precisely the negative log-likelihood of the observed outcome under the candidate state . 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 are all diagonal in a fixed common basis. Since then depends only on the diagonal entries of 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 with a portfolio vector in the probability simplex and those of with a return vector , we obtain , 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 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 (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 with a per-round runtime of . When , 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 with per-round runtimes of . 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 with per-round runtimes of .
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 Selection | Online Learning of Quantum States | ||
| Algorithm | Regret Rate | Algorithm | Regret Rate |
| Universal Portfolios (Cover, 1991) | Exponential Weights (Zimmert et al., 2022) | ||
| VB-FTRL (Jézequel et al., 2026) | Q-VB-FTRL (Tseng et al., 2025) | ||
| PAE+DONS (Mhammedi and Rakhlin, 2022) | No known quantum counterpart. | ||
| BISONS (Zimmert et al., 2022) | SCHRODINGER'S BISONS (Zimmert et al., 2022) | ||
| Barrier subgradient method (Nesterov, 2011) | Q-LB-OMD (Tsai et al., 2023a) | ||
| 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, denotes the number of assets in online portfolio selection and the dimension of density matrices in OLQS, and denotes the time horizon. The notation suppresses polylogarithmic factors in and . 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 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 density matrix as a vector of dimension , leading to the additional factor of in their regret upper bounds.
The aforementioned observation naturally leads to the following question:
Is the additional factor of 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 per-round runtime while achieving an regret bound. Therefore, if the additional factor of 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 . Then no algorithm for OLQS can achieve a worst-case regret bound of for any .
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.
-
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.
-
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 identity matrix is denoted by . The transpose and conjugate transpose of a matrix are denoted by and , respectively. The trace norm of a matrix is denoted by , as it coincides with the Schatten 1-norm. The 1-norm of a vector is denoted by . For any -dimensional probability vectors and , their Kullback-Leibler divergence is denoted by and defined as
where and denote the i-th entries of p and q, respectively.
Some quantum state tomography methods adopt random Pauli measurements (Flammia et al., 2012; Gross et al., 2010) or random Pauli basis measurements (Riofrío et al., 2017), where a measurement is selected at random from a given collection. It is easily checked that the resulting randomized measurement is mathematically equivalent to a single POVM.
and the maximum-likelihood estimate is given by minimizing the empirical average of the negative log-likelihood functions over the data (measurement outcomes). In this paper, however, we will consider an online learning approach to quantum state tomography, rather than the maximum-likelihood one.
We will measure the performance of any estimate , based on copies of the unknown density matrix, using the trace-norm error . Under this performance measure, a sample complexity lower bound is already known.
Theorem 2.1 (Haah et al. (2017); Lowe and Nayak (2025)). For , any quantum state tomography algorithm using nonadaptive, single-copy measurements that estimates every density matrix to trace-norm error at most with probability at least 2/3 requires copies of the unknown state.
The sample complexity is highly dependent on the POVM used. In this paper, we will consider the POVM induced by complex projective 4-designs, whose POVM norm constant will be useful in our analysis.
Definition 2.2 (Complex projective -design). Let , and let denote its normalized unitarily invariant probability measure. For any positive integer , a complex projective -design of dimension and cardinality (Ambainis and Emerson, 2007; Matthews et al., 2009; Scott, 2006) consists of a finite set such that
where denotes the tensor product. The induced POVM is given by the set of operators
Definition 2.3 (POVM norm constant (Kueng et al., 2016; Matthews et al., 2009)). For any POVM , where is a finite index set, the associated POVM norm constant is defined as
Theorem 2.4 (Matthews et al. (2009, (23))). The POVM norm constant of the POVM induced by complex projective 4-designs is at least .
Remark 2.5. Matthews et al. (2009) proved that the largest POVM norm constant is . The POVM induced by complex projective 4-designs is hence optimal in this sense. Indeed, Matthews et al. (2009) showed that the uniform POVM also attains this optimal rate. Nevertheless, defining the uniform POVM formally requires the general measure-theoretic definition of POVM, as it has an infinite outcome space. For the purpose of this paper, it suffices to consider the POVM induced by complex projective 4-designs, which has a finite outcome space.
Define the risk function as the expected negative log-likelihood:
The excess risk of any estimate —not necessarily the maximum-likelihood one—is then given by
We will use the following inequality in analysing the sample complexity of the proposed online learning-based quantum state tomography algorithm.
Proposition 2.6. In any non-adaptive, single-copy quantum state tomography experiment with a fixed POVM satisfying , any estimate must satisfy
In particular, if the POVM is the one induced by complex projective 4-designs, then
Proposition 2.6 should be familiar to experts in related fields. Nevertheless, we do not find an appropriate reference, so we provide a proof for completeness.
Proof of Proposition 2.6. A direct calculation gives
where denotes the probability distribution of the measurement outcome when the measured density matrix is . That is, , which is a probability vector in . By Pinsker's inequality and the definition of POVM norm constants (Definition 2.3), we write
which proves the proposition.
3 Regret Lower Bound for Online Learning of Quantum States and a Quantum State Tomography Algorithm
This section proposes an online learning approach to quantum state tomography. According to Proposition 2.6, the estimation error is controlled by the excess risk; hence, it appears sufficient to implement an OLQS algorithm followed by an online-to-batch conversion, which translates the algorithm's regret guarantee into a high-probability excess risk guarantee. Nevertheless, it is easily checked that the logarithmic loss in OLQS can be arbitrarily large near the boundary of , so standard online-to-batch conversion based on the Azuma-Hoeffding inequality does not directly apply. Moreover, the logarithmic loss is 1-exp-concave, so we expect to achieve a fast rate of for the excess risk (Koren and Levy, 2015; Mehta, 2017). Recall the definition of exp-concavity:
Definition 3.1 (Exp-concavity (Hazan et al., 2007; Kivinen and Warmuth, 1999)). A function is called -exp-concave if the function is concave.
We show below that the online-to-batch conversion scheme for exp-concave losses proposed by Mehta (2017) suffices. Although this online-to-batch conversion scheme requires the loss functions to be bounded, this issue can be solved if we shrink the density matrices slightly toward the normalized identity matrix , called the maximally mixed state in quantum information theory. While Foster et al. (2018) also use this shrinkage in a computationally more expensive online-to-batch conversion based on the work of Mehta (2017), we show that it is unnecessary to use their scheme.
For any , define the shrunk density matrix
Also define the set of shrunk density matrices:
Consider the following online learning-based scheme for quantum state tomography.
• Let there be n rounds in the OLQS game.
• Let the matrices in the OLQS be set as , where are measurement outcomes as defined in the previous section. Note that trace normalization does not affect the regret value since the loss functions are logarithmic.
• Implement an online learning algorithm in this OLQS game, and obtain iterates .
• Output the empirical average of shrunk iterates .
Lemma 3.2. Suppose that . For any such that for all , it holds that
and
Proof. Let . We write
By the inequality above, we write
The lemma then follows from the fact that
Lemma 3.2 implies that
Define . Note that the loss functions are bounded by and 1-exp-concave over . Applying the online-to-batch conversion scheme of Mehta (2017, Corollary 2) and Lemma 3.2, we obtain that for any ,
with probability at least .
Setting and plugging in the regret rate bounds for Exponential Weights and Q-VB-FTRL, we immediately obtain the following high-probability estimation error bound, which is nearly optimal according to Theorem 2.1.
Theorem 3.3. Suppose that . If , the proposed online learning-based scheme for quantum state tomography with either Exponential Weights or Q-VB-FTRL, initialized at , yields an estimate that satisfies
with probability at least 2/3. Here, the notation suppresses polylogarithmic factors in .
In addition, the resulting algorithm is sample-optimal up to polylogarithmic factors in n.
Now, we are ready to prove Theorem 1.1.
Proof of Theorem 1.1. Suppose that there exists an OLQS algorithm with a regret rate of for some . Then, adopting this algorithm with the arguments above, there exists a quantum state tomography algorithm that achieves an estimation error of with probability at least 2/3, which violates the known sample complexity lower bound in Theorem 2.1.
Remark 3.4. Note that Theorem 1.1 does not determine the minimax regret rate of OLQS. In particular, it rules out regret bounds of the form for , but does not establish a matching lower bound for the regret bound achieved by Exponential Weights. Since OLQS generalizes online portfolio selection, whose minimax regret rate is , the minimax regret of OLQS is also . However, this lower bound, even when combined with Theorem 1.1, is insufficient to establish that the minimax regret rate of OLQS is . We leave the determination of the exact minimax regret rate of OLQS to future work.
Consider a real version of the OLQS game, in which the matrices are real and the action set is replaced by , the set of real symmetric positive semidefinite matrices with unit trace.
Corollary 3.5. Theorem 1.1 continues to hold for the real version of the OLQS game.
The corollary will be used in the next section to justify our approach to constructing confidence sequences for estimating the mean of a real random matrix. Its proof, deferred to Appendix A, shows that any algorithm for the real version in dimension 2d induces an algorithm for the original OLQS game in dimension d whose worst-case regret is no greater than that of the real algorithm.
4 Confidence Sequence for Random Matrix Mean Estimation
Let be a stochastic process satisfying for every , where is an unknown parameter. We say that a sequence of sets is a -confidence sequence for if each depends only on and
Thus, confidence sequences may be viewed as an anytime-valid extension of confidence sets. The reader is referred to, for example, the works of Howard et al. (2021), Ramdas et al. (2022), and Ramdas and Wang (2025) for historical reviews and expositions of related concepts.
We are particularly interested in a relatively recent line of research that constructs confidence sequences by associating the task with online portfolio selection (Orabona and Jun, 2024; Ryu and Wornell, 2024; Ryu and Bhatt, 2024). Orabona and Jun (2024) and Ryu and Bhatt (2024) considered only the case where are scalar-valued random variables, as their constructions explicitly rely on special properties of Universal Portfolios in the 2-dimensional case. Ryu and Wornell (2024) considered the case where are vector-valued random variables by reducing the construction of confidence sequences to solving general online portfolio selection problems.
We aim to extend this line of research to the case where are matrix-valued random variables. Although confidence sequences for the mean of a random matrix can be constructed by vectorizing the observations and applying the algorithm of Ryu and Wornell (2024), the numerical result in Section 5 shows that the resulting confidence sequences yield larger estimated confidence-set volumes than our construction.
Suppose that are -valued random variables. Define the following “matrix division” between and :
where denotes the square root of the Moore-Penrose generalized inverse of the matrix .
For every , consider the OLQS game in which Nature announces in round , and denote the output of Physicist in round by . Consider the stochastic process such that and
which is non-negative because both and are positive semi-definite. Since is completely determined by , we have
Hence, is a non-negative supermartingale.
Theorem 4.1 (Ville's inequality (Ville, 1939)). Let be a non-negative supermartingale. Then, it holds that
Applying Ville's inequality to the stochastic process , we immediately get the following theorem.
Theorem 4.2. The sequence defined as
is a -confidence sequence for .
Remark 4.3. Suppose that the observations are almost surely diagonal. Then is also diagonal, so we may restrict the candidate means to diagonal density matrices. In this case, our construction specializes to that of Ryu and Wornell (2024).
Define the regret for the sequence of observations as
Then, the confidence set (2) can be expressed equivalently as
The quantity can be efficiently approximated using existing algorithms (Li and Cevher, 2019; Lin et al., 2021a; Tsai et al., 2024). Computing , however, requires implementing an OLQS algorithm. Given Theorem 1.1, Exponential Weights and Q-VB-FTRL are natural choices, but both are computationally expensive.
Corollary 4.4. The sequence of sets given by
where is any upper bound on realized by any OLQS algorithm, is -confidence sequence for .
The construction does not require implementing any OLQS algorithm but requires a tight regret bound. Exploiting exp-concavity of logarithmic losses, the result of Hazan et al. (2007, Theorem 7) implies that the regret of Exponential Weights is no larger than in the OLQS game. Below, we provide a sharper regret bound whose proof, deferred to Appendix B, essentially follows the strategy of Blum and Kalai (1999, Theorem 1).
Theorem 4.5. Let be a bounded closed convex set with non-empty relative interior in a finite-dimensional Euclidean space. Let be the dimension of its affine hull. Consider an online convex optimization problem of rounds, where the action set is and the loss functions are -exp-concave for some . Then, Exponential Weights with learning rate and the uniform prior achieves a regret no greater than .
Combining Corollary 4.4 and Theorem 4.5, we obtain the following explicit constructions of confidence sequences for both the complex and real cases. The proof is deferred to Appendix C.
Corollary 4.6. The sequence of sets defined in Corollary 4.4 with , where , is -confidence sequence.
If it is known that the random matrices are almost surely real, then we can set and replace with in (3) and the definition of .
Remark 4.7. Our construction is not limited to the case where are random density matrices. More generally, suppose that are Hermitian matrices satisfying for known Hermitian matrices and . If , define and the affine transformation
A confidence sequence for then immediately yields one for through the inverse affine transformation.
Covariance estimation (d = 8) 1000 independent runs; pointwise 95% error bars

Figure 1: Comparison of the mean relative Hilbert–Schmidt volumes of confidence sequences for covariance matrix estimation. OLQS denotes our construction following the second claim of Corollary 4.6. See Section 5 and Appendix D for details.
5 Numerical Experiment
We conduct a numerical experiment to compare our confidence sequence construction with existing methods for covariance matrix estimation. Let be i.i.d. mean-zero random vectors in with covariance matrix . Our goal is to construct a confidence sequence for . This problem fits our framework by setting and . Figure 1 compares our construction with those of Ryu and Wornell (2024, Eqs. (15)–(16)), implemented using matrix vectorization and the regret bound of Cover and Ordentlich (1996), Howard et al. (2021, Eq. (4.10)), and Wang and Ramdas (2025, Theorem 4.2). The latter two methods are based on matrix concentration inequalities rather than online-learning regret bounds.
We set and consider observations, with confidence level . The random vectors are generated such that , the covariance matrix lies in , and the support of the distribution of contains non-commuting matrices.
The performance is measured by the relative Hilbert–Schmidt volume, defined as the ratio between the Hilbert–Schmidt volumes of a confidence set and (Życzkowski and Sommers, 2003). For each method, we intersect its confidence sets obtained up to time and restrict the resulting set to , to ensure that the resulting sets are nested over time. We approximate these volumes by Monte Carlo sampling and average the estimates over 1000 independent repetitions of the experiment. The error bars in Figure 1 represent pointwise 95% Student- confidence intervals for the mean relative volume.
Figure 1 shows that our construction yields substantially smaller estimated relative volumes than the three competing implementations in this experiment. In particular, the construction based on matrix vectorization and the regret bound of Cover and Ordentlich (1996) produces considerably larger esti-mated confidence-set volumes, suggesting that this adaptation of Ryu and Wornell (2024) is less effective in the considered setting. For Howard et al. (2021) and Wang and Ramdas (2025), we follow the parameter choices specified in their papers without further tuning. In comparison, our construction requires no tuning parameter beyond the confidence level.
Further details of the numerical experiment can be found in Appendix D.
6 Concluding Remarks
We have shown that no algorithm for OLQS can achieve a regret bound of for any , establishing the near-optimality of Exponential Weights and the Q-VB-FTRL algorithm of Tseng et al. (2025) in terms of the polynomial dependence of their regret rates on . Our proof strategy also yields a novel online learning-based quantum state tomography algorithm that is sample-optimal up to polylogarithmic factors in the sample size. Furthermore, viewing OLQS as a quantum generalization of online portfolio selection, we have extended the connection between online portfolio selection and confidence sequence construction to matrix-valued parameters. The regret bound for Exponential Weights yields confidence sequences whose candidate membership can be assessed by convex optimization without implementing an OLQS algorithm. Figure 1 illustrates the empirical competitiveness of our construction in covariance matrix estimation.
Several research problems follow. First, our result characterizes only the optimal polynomial dependence of regret rate on the dimension and does not determine the minimax-optimal regret rate, as discussed in Remark 3.4. Deriving the minimax-optimal regret rate is a natural direction for future work. In particular, deriving sharper regret upper bounds, ideally with optimal constants, could lead to tighter confidence sequences via Corollary 4.4. Second, although our confidence sequence appears competitive empirically, we have not established any convergence rate in terms of the sizes of its confidence sets, nor have we proved its optimality under any criterion. Addressing these questions would help clarify the theoretical advantages of online learning-based confidence sequence construction. Finally, the online learning-based approach may extend to more general parameter spaces by considering losses of the form , where L is a linear functional positive on the parameter space. Developing a unified theory for such constructions would be an interesting direction for future work.
AI Disclosure
The strategies for deriving the regret lower bounds and constructing the confidence sequences were developed by the authors. Nevertheless, the original online-to-batch scheme adopted by the authors was that of Foster et al. (2018); GPT-6 Pro noted that the scheme of Mehta (2017) suffices. The regret bound originally derived by the authors for Theorem 4.5 was , looser than the current bound. GPT-6 Pro noted that the analysis of Blum and Kalai (1999) can be extended to exp-concave online convex optimization, yielding an improved regret bound. GPT-6 Pro generated the Julia code for the numerical experiments, while the experimental settings and parameter choices were determined by the authors. Appendix D was initially generated by GPT-6 after multiple rounds of conversations and then modified by the authors. The authors also used GPT-6 to correct grammatical errors in the draft.
Acknowledgments
This work was supported by the National Science and Technology Council of Taiwan under Grant Nos. NSTC 112-2628-E-002-019-MY3 and NSTC 115-2221-E-002-208, by the research project “Geometry of
Quantum Learning and Optimization" at National Taiwan University under Grant No. NTU-CC-115L893706, and by the Young Theoretical Scientist Award of the Mathematics Division of the National Center for Theoretical Sciences of Taiwan.
References
Scott Aaronson, Xinyi Chen, Elad Hazan, Satyen Kale, and Ashwin Nayak. Online learning of quantum states. In Adv. Neural Information Processing Systems 31, 2018.
Scott Aaronson, Xinyi Chen, Elad Hazan, Satyen Kale, and Ashwin Nayak. Online learning of quantum states. J. Stat. Mech.: Theory Exp., page 124019, 2019.
Jayadev Acharya, Abhilash Dharmavarapu, Yuhan Liu, and Nengkun Yu. Pauli measurements are not optimal for single-copy tomography. In STOC'25: Proc. 57th Annu. ACM Symp. Theory of Computing, pages 719–729, 2025.
Andris Ambainis and Joseph Emerson. Quantum t-designs: t-wise independence in the quantum world. In 22nd Annu. IEEE Conf. Computational Complexity (CCC'07), 2007.
Akshay Bansal, Ian George, Soumik Ghosh, Jamie Sikora, and Alice Zheng. Online learning of a panoply of quantum objects. Quantum Mach. Intell., 7(78), 2025.
Avrim Blum and Adam Kalai. Universal portfolios with and without transaction costs. Mach. Learn., 35:193–205, 1999.
Sitan Chen, Brice Huang, Jerry Li, Allen Liu, and Mark Selke. When does adaptivity help for quantum state learning? In IEEE 64th Annu. Symp. Foundations of Computer Science (FOCS), 2023.
Xinyi Chen, Elad Hazan, Tongyang Li, Zhou Lu, Xinzhao Wang, and Rui Yang. Adaptive online learning of quantum states. Quantum, 8:1471, 2024.
Thomas M. Cover. Universal portfolios. Math. Financ., 1(1):1–29, 1991.
Thomas M. Cover and Erick Ordentlich. Universal portfolios with side information. IEEE Trans. Inf. Theory, 42(2):348–363, 1996.
Steven T. Flammia, David Gross, Yi-Kai Liu, and Jens Eisert. Quantum tomography via compressed sensing: Error bounds, sample complexity and efficient estimators. New J. Phys., 14, 2012.
Dylan J. Foster, Satyen Kale, Haipeng Luo, Mehryar Mohri, and Karthik Sridharan. Logistic regression: The importance of being improper. In Proc. 31st Conf. Learning Theory, 2018.
Michel X. Goemans and David P. Williamson. Approximation algorithms for MAX-3-CUT and other problems via complex semidefinite programming. J. Comput. Syst. Sci., 68:442–470, 2004.
David Gross, Yi-Kai Liu, Steven T. Flammia, Stephen Becker, and Jens Eisert. Quantum state tomography via compressed sensing. Phys. Rev. Lett., 105, 2010.
Jeongwan Haah, Aram W. Harrow, Zhengfeng Ji, Xiaodi Wu, and Nengkun Yu. Sample-optimal tomography of quantum states. IEEE Trans. Inf. Theory, 63(9):5628–5641, 2017.
Elad Hazan. Introduction to online convex optimization. 2023. arXiv:1909.05207v3.
Elad Hazan, Amit Agarwal, and Satyen Kale. Logarithmic regret algorithms for online convex optimization. Mach. Learn., 69:169–192, 2007.
Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. Time-uniform, nonparametric, nonasymptotic confidence sequences. Ann. Stat., 49(2):1055–1080, 2021.
Z. Hradil. Quantum-state estimation. Phys. Rev. A, 55(3), 1997.
Rémi Jézéquel, Dmitrii Ostrovskii, and Pierre Gaillard. Efficient and near-optimal online portfolio selection. Math. Oper. Res., 51(2):1350–1384, 2026.
Adam Kalai and Santosh Vempala. Efficient algorithms for universal portfolios. J. Mach. Learn. Res., 3:423–440, 2002.
Jyrki Kivinen and Manfred K. Warmuth. Averaging expert predictions. In Paul Fischer and Hans Ulrich Simon, editors, EuroCOLT'99, pages 153–167, Berlin, 1999. Springer.
Tomer Koren and Kfir Levy. Fast rates for exp-concave empirical risk minimization. In Adv. Neural Information Processing Systems 28 (NIPS 2015), 2015.
Richard Kueng, Huangjun Zhu, and David Gross. Distinguishing quantum states using Clifford orbits. 2016. arXiv:1609.08595.
Yen-Huan Li and Volkan Cevher. Convergence of the exponentiated gradient method with Armijo line search. J. Optim. Theory Appl., 181(2):588–607, 2019.
Chien-Ming Lin, Hao-Chung Cheng, and Yen-Huan Li. Maximum-likelihood quantum state tomography by Cover's method with non-asymptotic analysis. In 25th Annu. Conf. Quantum Information Processing, 2021a. arXiv:2110.00747.
Chien-Ming Lin, Yu-Ming Hsu, and Yen-Huan Li. An online algorithm for maximum-likelihood quantum state tomography. In 24th Annu. Conf. Quantum Information Processing, 2021b. arXiv:2012.15498.
Angus Lowe and Ashwin Nayak. Lower bounds for learning quantum states with single-copy measurements. ACM Trans. Comput. Theory, 17(7):1–42, 2025.
Haipeng Luo, Chen-Yu Wei, and Kai Zheng. Efficient online portfolio with logarithmic regret. In Adv. Neural Information Processing Systems 31, 2018.
William Matthews, Stephanie Wehner, and Andreas Winter. Distinguishability of quantum states under restricted families of measurements with an application to quantum data hiding. Commun. Math. Phys., 291:813–843, 2009.
Nishant Mehta. Fast rates with high probability in exp-concave statistical learning. In Proc. 20th Int. Conf. Artificial Intelligence and Statistics, 2017.
Zakaria Mhammedi and Alexander Rakhlin. Damped Online Newton Step for Portfolio Selection. In Proc. 35th Conf. Learning Theory, pages 5561–5595, 2022.
Yurii Nesterov. Barrier subgradient method. Math. Program., Ser. B, 127:31–56, 2011.
Francesco Orabona. Online Learning: A Modern Introduction Using Convex Optimization. 2026. arXiv:1912.13213v10.
Francesco Orabona and Kwang-Sung Jun. Tight concentrations and confidence sequences from the regret of universal portfolio. IEEE Trans. Inf. Theory, 70(1):436–455, 2024.
Erik Ordentlich and Thomas M. Cover. The cost of achieving the best portfolio in hindsight. Math. Oper. Res., 23(4):960–982, 1998.
Laurent Orseau, Tor Lattimore, and Shane Legg. Soft-Bayes: Prod for mixtures of experts with log-loss. In Proc. 28th Int. Conf. Algorithmic Learning Theory, pages 372–399, 2017.
V Al Osipov, H-J Sommers, and K Życzkowski. Random Bures mixed states and the distribution of their purity. J. Phys. A: Math. Theor., page 055302, 2010.
Matteo Paris and Jaroslav Reháček, editors. Quantum State Estimation. Springer, Berlin, 2004.
Aaditya Ramdas and Ruodu Wang. Hypothesis Testing with E-Values. 2025. arXiv:2410.23614v6.
Aaditya Ramdas, Johannes Ruf, Martin Larsson, and Wouter M. Koolen. Admissible anytime-valid sequential inference must rely on nonnegative martingales. 2022. arXiv:2009.03167v3.
C. A. Riofrío, D. Gross, S. T. Flammia, T. Monz, D. Nigg, R. Blatt, and J. Eisert. Experimental quantum compressed sensing for a seven-qubit system. Nature Commun., 2017.
J. Jon Ryu and Alankrita Bhatt. On confidence sequences for bounded random processes via universal gambling strategies. IEEE Trans. Inf. Theory, 70(10):7143–7161, 2024.
J. Jon Ryu and Gregory W. Wornell. Gambling-based confidence sequences for bounded random vectors. In Proc. 41st Int. Conf. Machine Learning, 2024.
A. J. Scott. Tight informationally complete quantum measurements. J. Phys. A: Math. Gen., 39:13507–13530, 2006.
Chung-En Tsai, Hao-Chung Cheng, and Yen-Huan Li. Online self-concordant and relatively smooth minimization, with applications to online portfolio selection and learning quantum states. In Proc. 34th Int. Conf. Algorithmic Learning Theory, 2023a.
Chung-En Tsai, Hao-Chung Cheng, and Yen-Huan Li. Faster stochastic first-order method for maximum-likelihood quantum state tomography. In 26th Conf. Quantum Information Processing, 2023b.
Chung-En Tsai, Ying-Ting Lin, and Yen-Huan Li. Data-dependent bounds for online portfolio selection without Lipschitzness and smoothness. In Adv. Neural Information Processing Systems 36 (NeurIPS 2023), 2023c.
Chung-En Tsai, Hao-Chung Cheng, and Yen-Huan Li. Fast minimization of expected logarithmic loss via stochastic dual averaging. In Proc. 27th Int. Conf. Artificial Intelligence and Statistics, pages 2908–2916, 2024.
Wei-Fu Tseng, Kai-Chun Chen, Zi-Hong Xiao, and Yen-Huan Li. Online learning of quantum states with logarithmic loss via VB-FTRL. In Proc. 36th Int. Conf. Algorithmic Learning Theory, pages 1285–1312, 2025.
Dirk van der Hoeven, Tim van Erven, and Wojciech Kotłowski. The many faces of exponential weights in online learning. In Proc. 31st Conf. Learning Theory, 2018.
Jean Ville. Étude critique de la notion de collectif. Gauthier-Villars, Paris, 1939.
V. Vovk and C. Watkins. Universal portfolio selection. In Proc. 11th Annu. Conf. Computational Learning Theory, pages 12–23, 1998.
Hongjian Wang and Aaditya Ramdas. Sharp matrix empirical Bernstein inequalities. In Adv. Neural Information Processing Systems 38 Main Conference (NeurIPS 2025), 2025.
Feidiao Yang, Jiaqing Jiang, Jialin Zhang, and Xiaoming Sun. Revisiting online quantum state learning. In Proc. AAAI Conf. Artificial Intelligence, 2020.
Julian Zimmert, Naman Agarwal, and Satyen Kale. Pushing the efficiency-regret Pareto frontier for online learning of portfolios and quantum states. In Proc. 35th Conf. Learning Theory, pages 182–226, 2022.
Karol Życzkowski and Hans-Jürgen Sommers. Hilbert-Schmidt volume of the set of mixed quantum states. 2003. arXiv:quant-ph/0302197v3.
A Proof of Corollary 3.5
We prove the corollary by showing that any algorithm for the real version of the OLQS game in dimension 2d can be transformed into an algorithm for the original OLQS game in dimension d, and that both algorithms incur the same regret values on the corresponding data sequences. Then, any regret lower bound of the original OLQS game also implies a regret lower bound of its real version.
Let . Denote by the set of real symmetric positive semidefinite matrices with unit trace. For any matrix , define the realification map as
where Re M and Im M denote the real and imaginary parts of the matrix M, respectively.
Lemma A.1 (Goemans and Williamson (2004, Section 3)). A Hermitian complex matrix M is positive semidefinite if and only if is positive semidefinite.
For any matrix
where P and R are symmetric matrices in , define its “complexification” as
where i denotes .
Lemma A.2. The matrix is a density matrix.
Proof. It is easily checked that the matrix is Hermitian with unit trace. Note that for every ,
where
Since is positive semidefinite, . Hence, the matrix is also positive semidefinite.
Lemma A.3. For any Hermitian matrix and , it holds that
Proof. Use the notations above. We write
The second equality follows from the fact that both and are Hermitian, so the imaginary part of the trace must vanish; the third equality follows from direct calculation.
Lemma A.4. The mapping is onto.
Proof. For any , define
Note that is symmetric, positive semidefinite by Lemma A.1, and unit-trace, so it lies in . In addition, it is easily checked that .
For any algorithm for Physicist in the real version of the OLQS game in dimension 2d, consider the following algorithm for Physicist in the original OLQS game in dimension : At each round , obtain the next prediction from and announce . After Nature reveals , feed to . Note that this is a valid input: The matrix is positive semidefinite by Lemma A.1; applying Lemma A.1 again, we write
which shows that all eigenvalues of are at most 1.
Lemma A.2 ensures that is a density matrix, so the induced algorithm for the original OLQS game is valid. In addition, Lemma A.3 ensures that the cumulative losses in the original OLQS game and its real version are the same; Lemma A.4 ensures that the minimum cumulative losses in hindsight in the original OLQS game and its real version over and , respectively, are also the same. Hence, the two algorithms incur the same regret on corresponding data sequences and . A regret rate of for any for the real version of OLQS would therefore imply a regret rate of for the original OLQS game, contradicting Theorem 1.1.
B Proof of Theorem 4.5
Let us specify the algorithm and define the necessary notations first. Denote by the loss function at round . For any Lebesgue-measurable , let denote its Lebesgue measure on the affine hull of , identified as . Exponential Weights with the uniform prior iterates as follows.
• Let be the density of the uniform distribution over ; that is, for all .
• For every , output and update
Then, we prove the theorem. Define . The iteration rule of Exponential Weights gives the telescoping identity
By the -exp-concavity of , we write
Let U be a random variable with the uniform probability distribution over X. Then, we write
We next derive a lower bound on the expectation. Let be any comparator in . For any , define
Note that . In addition, for any , by the -exp-concavity of , we have
Hence, we obtain
Since almost surely, we write
The integral in the last line is an instance of the Euler integral and equals . Combining the results above, we obtain
Taking logarithms yields
Since is arbitrary, taking the infimum over proves the theorem.
C Proof of Corollary 4.6
The corollary is obtained by applying the regret bound for Exponential Weights in Theorem 4.5 to Corollary 4.4. We regard the matrix spaces as vector spaces over and apply Theorem 4.5 in the affine hull of each decision set.
It is easily checked that is a bounded closed convex set with non-empty relative interior and that the logarithmic loss is 1-exp-concave. To specify a density matrix, it suffices to specify its diagonal entries, which needs real numbers given the trace constraint, as well as its strictly upper-triangular entries, which needs real numbers. Hence, the dimension of the affine hull of is at most . The first claim of the corollary then follows from Theorem 4.5.
For the real case, it is easily checked that is a bounded closed convex set with non-empty relative interior, the dimension of whose affine hull is at most . Since the conditional mean must be real when the observations are real almost surely, we have
showing that we can replace with . This restricts the parameter space to real density matrices and allows us to use the smaller affine dimension in the regret bound. Finally, note that if the minimum cumulative loss is attained at a (complex) density matrix , then it is also attained at the point
where denotes the conjugate of , because for any real symmetric positive semidefinite matrix M, we have
Hence, we can use the regret bound of Exponential Weights over and replace with in the definition of .
D Details of Numerical Experiment
For Ryu and Wornell (2024, Eqs. (15)–(16)), we map each real density matrix to a vector with 35 coordinates in [0,1], which is then converted into a probability vector with 36 coordinates using their construction. Since evaluating Universal Portfolios is computationally expensive in high dimensions, we instead apply Corollary 4.4 using the regret bound of Cover and Ordentlich (1996, Theorem 2) for Universal Portfolios with a Dirichlet-(1/2, ..., 1/2) prior. For both our method and this adaptation of Ryu and Wornell (2024), we approximately minimize the cumulative logarithmic loss over the respective decision sets using entropic mirror descent with Armijo line search (Li and Cevher, 2019).
For Howard et al. (2021, Eq. (4.10)), we set and , as in their Eq. (3.4), and , since the generated random vectors satisfy . Their bound controls the estimation error , but its radius depends on , where is the unknown covariance matrix. To obtain a computable confidence set, we evaluate the bound at each candidate covariance matrix , retaining if
where is the radius in their Eq. (4.10) with replaced by . This preserves the time-uniform coverage guarantee because, when , the membership condition coincides with the original concentration inequality.
For Wang and Ramdas (2025, Theorem 4.2), we construct the confidence sequence using a weighted average of the observed matrices. We choose the weights following the authors' recommendation after their Corollary 4.3 for the case where the total number of observations is not known in advance, using their empirical matrix variance estimate in Eq. (27). We also use their estimate of the next observation in Eq. (32), with and as initial values. To obtain a two-sided operator-norm confidence sequence, we apply their one-sided bound to both tails with error probability each.
Let for , where denotes the -th element in the standard basis in , and define
Each random vector is generated as , where is a sequence of i.i.d. Rademacher random variables and is an independent sequence of i.i.d. random variables with
Consequently, , , and
We estimate the relative Hilbert–Schmidt volume by sampling candidate density matrices of the form , where has independent standard Gaussian entries. This construction generates matrices uniformly distributed with respect to the Hilbert–Schmidt volume measure on real density matrices (Osipov et al., 2010, Section 4, Eq. (25)).