Learning to Program Quantum Measurements for Machine Learning
Samuel Yen-Chi Chen, Huan-Hsin Tseng, Hsin-Yi Lin, Shinjae Yoo
TL;DR
The paper tackles the limitation of fixed, problem-agnostic measurements in variational quantum circuits by introducing Learning to Program Quantum Measurements, a framework where a slow neural controller jointly generates VQC parameters and a data-conditioned Hermitian observable $H(x)$ for each input. This enables end-to-end differentiable training and effectively expands the observable's spectral capabilities beyond the traditional $[-1,1]$ bound. Numerical experiments on synthetic benchmarks (e.g., make_moons, make_circles, make_classification) show that dynamic, input-conditioned measurements yield higher accuracy and more stable convergence than fixed-measurement baselines, with the dual-generator configuration often delivering the best performance. The approach holds promise for enhancing expressivity and robustness of hybrid quantum-classical models on near-term devices by adapting measurements to the input data stream.
Abstract
The rapid advancements in quantum computing (QC) and machine learning (ML) have sparked significant interest, driving extensive exploration of quantum machine learning (QML) algorithms to address a wide range of complex challenges. The development of high-performance QML models requires expert-level expertise, presenting a key challenge to the widespread adoption of QML. Critical obstacles include the design of effective data encoding strategies and parameterized quantum circuits, both of which are vital for the performance of QML models. Furthermore, the measurement process is often neglected-most existing QML models employ predefined measurement schemes that may not align with the specific requirements of the targeted problem. We propose an innovative framework that renders the observable of a quantum system-specifically, the Hermitian matrix-trainable. This approach employs an end-to-end differentiable learning framework, enabling simultaneous optimization of the neural network used to program the parameterized observables and the standard quantum circuit parameters. Notably, the quantum observable parameters are dynamically programmed by the neural network, allowing the observables to adapt in real time based on the input data stream. Through numerical simulations, we demonstrate that the proposed method effectively programs observables dynamically within variational quantum circuits, achieving superior results compared to existing approaches. Notably, it delivers enhanced performance metrics, such as higher classification accuracy, thereby significantly improving the overall effectiveness of QML models.
