← All papers
First page of An Agentic Formalization for Certified Quantum Neural Network Design

An Agentic Formalization for Certified Quantum Neural Network Design

Mingrui Jing, Lei Zhang, Yusheng Zhao, Hongshun Yao, Xin Wang

quant-ph Jul 14, 2026 · v1
Formalizes quantum neural network expressivity and trainability theory in Lean 4 with Mathlib, kernel-checked with tracked axioms.
A central model in quantum machine learning is the quantum neural network (QNN), whose design requires balancing expressivity and trainability. Technically, expressivity is studied through circuit-function analysis, such as quantum signal processing, while trainability is analyzed using dynamical-Lie-algebra (DLA) methods. To support certified QNN design, we formalize these major components of QNN theory in a connected lean 4 development checked by a proof kernel, where every analytic input is either proved or exposed as a named hypothesis. On the expressivity side, we prove exact if-and-only-if characterizations of single-qubit QNNs, a resource-counted quantum phase processing theorem, and an overparameterization ceiling that bounds the quantum Fisher information rank by the DLA dimension. On the trainability side, we derive the direct-sum loss-variance law through a de-circularized second-moment interface. A parameterized Casimir-uniqueness engine discharges the required inputs for fully controllable, orthogonal, and matchgate circuit families, while single-qubit and product-Clifford ensembles close the two-design assumptions directly. A capstone theorem pairs the conditional variance law with exact loss reconstruction in DLA coordinates. The development record identifies eight corrections and clarifications that were not explicit in the informal arguments. We expect this work to provide a machine-checkable foundation for QNN theory and a step toward AI-assisted or automated design of quantum machine learning algorithms.

Quantum neural network design requires balancing expressivity and trainability, whose theoretical criteria rest on informal analytic arguments that may hide gaps or assumptions.

The major components of QNN theory are formalized in a connected Lean 4 development using Mathlib, with every analytic input either proved or exposed as a named hypothesis. Expressivity is formalized via trigonometric-polynomial substrates, single-qubit characterizations, quantum phase processing, and a dynamical-Lie-algebra capacity ceiling. Trainability is formalized through a direct-sum loss-variance law and a Casimir-uniqueness engine covering fully controllable, orthogonal, and matchgate families. Axiom hygiene, no-sorry, and statement faithfulness are enforced via continuous-integration gates and human audit.

Proved if-and-only-if characterizations of single-qubit QNNs, a resource-counted phase processing theorem, an overparameterization ceiling bounding quantum Fisher information rank by DLA dimension, and the direct-sum variance law, with a capstone pairing variance with exact loss reconstruction. Sixty-two headline endpoints check on the classical axiom core, and eight corrections not explicit in the informal arguments were identified.