Sequence-Model-Guided Measurement Selection for Quantum State Learning

Jiaxin Huang, Yan Zhu, Giulio Chiribella, Wu YaarXiv 2025 · DOI

Abstract

Characterization of quantum systems from experimental data is a central problem in quantum science and technology. But which measurements should be used to gather data in the first place? While optimal measurement choices can be worked out for small quantum systems, the optimization becomes intractable as the system size grows large. To address this problem, we introduce a deep neural network with a sequence model architecture that searches for efficient measurement choices in a data-driven, adaptive manner. The model can be applied to a variety of tasks, including the prediction of linear and nonlinear properties of quantum states, as well as state clustering and state tomography tasks. In all these tasks, we find that the measurement choices identified by our neural network consistently outperform the uniformly random choice. Intriguingly, for topological quantum systems, our model tends to recommend measurements at the system's boundaries, even when the task is to predict bulk properties. This behavior suggests that the neural network may have independently discovered a connection between boundaries and bulk, without having been provided any built-in knowledge of quantum physics.

Introduction

Characterizing a many-body quantum system—determining its state or predicting its physical properties—is a formidable challenge. As the number of qubits increases, the space of possible measurement configurations grows exponentially, making the selection of optimal measurements computationally intractable for large systems. Traditionally, researchers have relied on randomized measurement protocols. While robust, these "blind" approaches are often inefficient, requiring a large number of samples to achieve high precision.

The central question is whether we can design an "active learning" strategy that adaptively selects the most informative measurements based on previously collected data. This paper introduces a sequence-model-based approach to solve this problem, demonstrating significant efficiency gains and the emergence of physical insights.

Transformer-Guided Measurement Selection (TGMS)

The proposed framework, Transformer-Guided Measurement-Selection (TGMS), treats measurement selection as a sequence-to-sequence task. Much like a language model predicts the next word in a sentence based on context, TGMS predicts the next measurement setting based on the history of previous measurements and their outcomes.

Schematic of the TGMS framework, illustrating the three-stage process: measurement encoding, adaptive selection via a Transformer decoder, and data acquisition for property prediction.

The architecture consists of three primary stages:

  1. Measurement Encoding: A Transformer encoder maps the set of possible Positive Operator-Valued Measure (POVM) settings into a latent representation space.
  2. Measurement Selection: A Transformer decoder processes the history of measurements and selects the next measurement setting from the unchosen set that is predicted to be most informative.
  3. Data Acquisition & Prediction: The selected measurement is performed on the quantum system. The resulting outcome is added to the history, and a pre-trained characterization algorithm uses this accumulated data to predict the target property.

Results and Physical Insights

The TGMS model was evaluated across diverse quantum systems, including 1D Cluster-Ising models and 50-to-100-qubit XXZ models. In all cases, TGMS consistently outperformed uniform random sampling, achieving lower prediction errors with fewer measurements.

Discovery of Edge-Bulk Correspondence

One of the most striking findings is the model's independent "discovery" of the edge-bulk correspondence in topological systems. When tasked with predicting properties of a topological phase, the TGMS model prioritized measurements at the system's boundaries (edges), even when the target properties were bulk-related.

Performance of TGMS on a 50-site XXZ model. (a) Prediction error for different Hamiltonians. (b) Frequency of site selection, showing a strong preference for the system's boundary (site 50). (c) Accurate reconstruction of the phase diagram compared to ground truth and randomized measurements.

As shown in Figure 5b, the measurement frequency peaks sharply at the boundary site. This preference vanished when the system was changed to a periodic boundary condition (a ring), indicating that the model learned to exploit the unique information encoded at physical boundaries to characterize the global topological state.

Efficiency and Generalization

Beyond property prediction, TGMS showed superior performance in unsupervised clustering and state tomography. In tomography tasks for quantum optical cat states, the model achieved a fidelity of 0.95 using only half the measurements required by random sampling. Furthermore, the model demonstrated robust generalization, maintaining high accuracy on out-of-distribution states and noisy data not seen during training.

Conclusion

TGMS provides a powerful, data-driven framework for optimizing quantum measurements. By leveraging the sequence-modeling capabilities of Transformers, the model can adaptively navigate the vast space of possible measurements to extract information efficiently. The emergence of physical principles like edge-bulk correspondence suggests that such models can do more than just optimize—they can potentially assist in the discovery of new physical insights. Future work will focus on scaling these methods to 2D and 3D systems and optimizing inference speeds for real-time experimental integration.

Summary updated

BibTeX
@misc{huang2025sequence,
  author = {Jiaxin Huang and Yan Zhu and Giulio Chiribella and WU Ya},
  title = {{Sequence-Model-Guided Measurement Selection for Quantum State Learning}},
  year = {2025},
  eprint = {2507.09891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.09891},
  howpublished = {arXiv},
}
Figure