Meta-Designing Quantum Experiments with Language Models
Sören Arlt, Haonan Duan, Felix Li, Sang Michael Xie, Yuhuai Wu, Mario Krenn
TL;DR
This work introduces meta-design, a transformer-based framework that generates human-readable Python code as meta-solutions to design entire classes of quantum experiments across varying system sizes. By training on synthetic A→B pairs (state sequences to experimental-code sequences) and using large-scale data generation with PyTheus, the approach yields generalizable design rules and observable patterns, including two previously unknown quantum-state generalizations. The results show that six target classes admit perfect extrapolation, with additional findings on unexpected generalizations and limitations, and demonstrate applicability to quantum circuits and graph states. The method promises substantial gains in understanding, generalization, and computational efficiency, and could extend to fields like materials science and engineering through interpretable, automated program synthesis.
Abstract
Artificial Intelligence (AI) can solve complex scientific problems beyond human capabilities, but the resulting solutions offer little insight into the underlying physical principles. One prominent example is quantum physics, where computers can discover experiments for the generation of specific quantum states, but it is unclear how finding general design concepts can be automated. Here, we address this challenge by training a transformer-based language model to create human-readable Python code, which solves an entire class of problems in a single pass. This strategy, which we call meta-design, enables scientists to gain a deeper understanding and extrapolate to larger experiments without additional optimization. To demonstrate the effectiveness of our approach, we uncover previously unknown experimental generalizations of important quantum states, e.g. from condensed matter physics. The underlying methodology of meta-design can naturally be extended to fields such as materials science or engineering.
