arXiv:2610.06032quant-phOct 2026

Manuscript Offprint

arXiv:2610.06032

Polynomial neural surrogates for designing photonic quantum experiments

Rohit Chaurasiya, Xuemei Gu

Rohit Chaurasiya 1,∗^{1,*} and Xuemei Gu 1,†^{1,\dagger}

1^{1}Institute of Condensed Matter Theory and Optics,

Friedrich Schiller University Jena, Max-Wien-Platz 1, 07743 Jena, Germany

Physics simulators can support the discovery of quantum experiments by predicting the states generated by experimental configurations. When these simulators are computationally expensive, repeated simulator calls can limit the search for experiments that generate a desired quantum state. Here, we develop a physics-inspired polynomial neural surrogate for PyTheus, a graph-based quantum-optics simulator, to predict quantum states and use it to design quantum experiments. Its polynomial activations are motivated by the relation between graph perfect matchings and the resulting state amplitudes. We train separate surrogate models for four-, six-, and eight-photon systems and show that they achieve higher prediction accuracy with fewer trainable parameters than standard multilayer perceptrons. We then use the trained surrogates for inverse design of GHZ, W, and linear-cluster states. For the larger systems, the surrogates also enable faster inverse design than direct optimization with PyTheus. These results suggest that incorporating the underlying physics into neural surrogates can provide an efficient approach to quantum experiment design.

INTRODUCTION

Physics simulators are widely used to predict the behaviour of experimental systems and increasingly serve as computational tools for experiment discovery [1]. In automated design, candidate experimental configurations are evaluated and optimised according to a desired objective, often requiring many repeated calls to the underlying simulator [2–7]. Such simulations provide a direct connection between the parameters describing an experiment and the physical quantities used to evaluate its performance. For computationally expensive simulators, however, repeated evaluations can become a bottleneck in the design process. Neural surrogate models provide an alternative by learning the input–output mapping of the simulator and replacing these evaluations with a faster learned approximation [8–11]. When the simulator has a known mathematical structure, this information can further provide useful prior knowledge for designing the surrogate architecture [12–15].

PyTheus, which uses a graph-based quantum-optics simulator, provides such a structured setting for photonic quantum experiment design [5]. It represents experimental configurations as weighted graphs and computes the corresponding quantum state from the perfect matchings of the graph [16–19], where a perfect matching is a set of edges that contains each vertex exactly once. Previous work has used feed-forward neural networks to predict target-specific quantities directly from the graph weights, such as the fidelity with a fixed target state, and used the trained models to guide the design of quantum experiments toward that target [20]. Rather than learning a particular property of the generated state, we learn the mapping from the graph weights to the quantum state itself. The surrogate predicts the state amplitudes, allowing different target states and design objectives to be introduced during the subsequent inverse-design stage without retraining the model. This graph-to-state mapping has a known polynomial structure, since each state amplitude is obtained by summing contributions from relevant perfect matchings, with each contribution given by a product of graph weights [16, 17, 19].

Motivated by this structure, we develop a physics-inspired polynomial neural surrogate for PyTheus that predicts the quantum state from the graph weights. We employ a polynomial neural network (PNN) [21, 22] with a single hidden layer, choosing the polynomial order to reflect the number of edges in each perfect matching. We train separate surrogate models for four-, six-, and eight-photon systems and show that they achieve lower prediction errors with substantially fewer trainable parameters than standard multilayer perceptrons. We further compare the Jacobian sensitivities [23] of the learned and analytical mappings to examine how well the surrogates capture the dependence of the state amplitudes on the graph weights. Finally, we use the trained surrogates for inverse design of four-, six-, and eight-photon GHZ, W, and linear-cluster states. The resulting configurations achieve high fidelities when independently evaluated with PyTheus, and for the larger systems considered, the surrogates also enable faster inverse design than direct optimisation with PyTheus. These results demonstrate how the known algebraic structure of a physics simulator can guide the design of compact and reusable surrogates for photonic quantum experiment design.