Abstract
Online quantum state learning is a recently proposed problem by Aaronson et al. (2018), where the learner sequentially predicts $n$-qubit quantum states based on given measurements on states and noisy outcomes. In the previous work, the algorithms are worst-case optimal in general but fail in achieving tighter bounds in certain simpler or more practical cases. In this paper, we develop algorithms to advance the online learning of quantum states. First, we show that Regularized Follow-the-Leader (RFTL) method with Tsallis-2 entropy can achieve an $O(\sqrt{MT})$ total loss with perfect hindsight on the first $T$ measurements with maximum rank $M$. This regret bound depends only on the maximum rank $M$ of measurements rather than the number of qubits, which takes advantage of low-rank measurements. Second, we propose a parameter-free algorithm based on a classical adjusting learning rate schedule that can achieve a regret depending on the loss of best states in hindsight, which takes advantage of low noisy outcomes. Besides these more adaptive bounds, we also show that our RFTL with Tsallis-2 entropy algorithm can be implemented efficiently on near-term quantum computing devices, which is not achievable in previous works.
Introduction
Learning the state of a quantum system is a fundamental task in quantum information science. However, standard quantum state tomography faces an exponential scaling challenge: the number of measurements required grows exponentially with the number of qubits, making it impractical for systems exceeding roughly 50 qubits.
Online quantum state learning, introduced by Aaronson et al. (2018), provides a more efficient framework by predicting states sequentially as measurement data arrives. Despite its promise, earlier algorithms were often designed for worst-case scenarios, failing to exploit simpler measurement structures or low-noise environments. Furthermore, many were purely classical, lacking a clear path for implementation on the very quantum hardware they aim to characterize. This paper addresses these gaps by introducing adaptive, hardware-compatible algorithms that leverage Tsallis-2 entropy and a parameter-free doubling trick.
Algorithmic Innovations
Tsallis-2 Entropy and Rank-Efficiency
Traditional online learning approaches often utilize Regularized Follow-the-Leader (RFTL) with von Neumann entropy. While theoretically sound, this approach does not scale efficiently with measurement complexity. By replacing von Neumann entropy with Tsallis-2 entropy, we derive a regret bound of $O(\sqrt{MT})$, where $M$ is the maximum rank of the measurement operators.
This shift is significant because it makes the algorithm's performance dependent on the rank of the measurements rather than the total dimension of the Hilbert space. In practical scenarios where low-rank measurements are common, this leads to substantially lower regret. As shown in the numerical comparisons, the Tsallis-2 approach (labeled as 'Tallis2' in Figure 4) significantly outperforms the von Neumann baseline for Rank-1 measurements.
Hardware-Compatible Implementation
A key advantage of the Tsallis-2 formulation is its mathematical compatibility with near-term quantum devices. The optimization step in our RFTL algorithm can be solved using a Variational Quantum Algorithm (VQA). Because Tsallis-2 entropy is related to the trace of the state squared ($\text{Tr}(\rho^2)$), it can be estimated efficiently on Noisy Intermediate-Scale Quantum (NISQ) hardware using a standard Swap Test. This allows the predicted quantum state to be prepared directly on a quantum computer using parameterized circuits.
Adaptive Learning via the Doubling Trick
In real-world applications, the noise level of the environment is often unknown. Previous algorithms required a pre-tuned learning rate based on an assumed noise level. We introduce a parameter-free "doubling trick" that segments the learning process into blocks, automatically adjusting the learning rate based on observed cumulative loss.
This adaptive approach allows the algorithm to achieve a regret of $\tilde{O}(\sqrt{nL^*T} + n)$, where $L^*$ is the loss of the best state in hindsight. In the ideal case of zero noise (the "realizable" setting), the regret drops to $O(n \log T)$, providing near-optimal performance without manual intervention.
Numerical Results
We evaluated our algorithms through numerical simulations of 4-qubit quantum states. The target states included both randomly generated pure and mixed states, subjected to an adaptive data generation strategy designed to maximize learner loss.
As illustrated in Figure 1, the doubling trick (labeled as 'DB' or 'DT') significantly accelerates convergence. Algorithms equipped with the doubling trick maintain a much lower average regret compared to their fixed-rate counterparts. Furthermore, the simulations confirm that the Tsallis-2 approach is particularly effective for low-rank measurements, validating our theoretical $O(\sqrt{MT})$ bound.
Conclusion
This work advances online quantum state learning by providing algorithms that are both theoretically adaptive and practically implementable. By moving beyond worst-case analysis, we show that leveraging measurement rank and noise-adaptive learning rates can lead to significant performance gains. The compatibility of the Tsallis-2 approach with NISQ-era variational circuits paves the way for real-time quantum state characterization on emerging quantum hardware.
Summary updated