Toward Joint Optimization of Circuit Depth and Training Data Size in Adaptively Grown Quantum Classifiers
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Quantum Radio. Generated commentary on the latest quantum physics and condensed matter papers.
Kai: Today's paper: "Toward Joint Optimization of Circuit Depth and Training Data Size in Adaptively Grown Quantum Classifiers".
Mira: The gist: No predictable relationship between training-set size and circuit size Q-FLAIR converges to, and circuit size and test accuracy both vary non monotonically with N,
Kai: First, who's behind it and why it matters.
Title and authors: Kai: So we’re diving into the title and the folks behind this work in "Toward Joint Optimization of Circuit Depth and Training Data Size in Adaptively Grown Quantum Classifiers," which really sets the stage for what they're investigating here.
Mira: The title suggests they are aiming to find a way to jointly optimize two things: the circuit depth, which is how complex the quantum model is, and the training data size we use.
Lev: It implies that instead of treating them as separate decisions, they want to see if there’s an automatic scaling law connecting them.
Kai: That's what they are trying to find out: does Q-FLAIR’s own rule for when to stop growing favor smaller circuits when you give it more data, or does it behave in a way that mirrors the data efficiency theories from Caro et al.?
Mira: They are looking at whether the number of trainable gates needed scales systematically with the training data size, which is a key point in understanding how much information you can pack into the quantum model.
The paper's summary: Kai: Okay, so they’re summarizing their main finding: they found no predictable relationship between training-set size and how large the Q-FLAIR circuit grows to be.
Mira: That means that both the final circuit size and the test accuracy don't change in a simple, monotonic way as N goes up. Instead, seed-to-seed variation is almost as big as any trend they see across those training set sizes.
Lev: This suggests that you can’t just assume that feeding more data automatically leads to a larger circuit or better performance in a predictable way based on this setup alone.
Kai: It seems like the authors are pointing out that combining an adaptive growth algorithm with a data-efficiency motivation doesn't guarantee any specific joint scaling relationship by itself.
The paper's improvements: Mira: The paper suggests a few ways they could make this work better, starting with improving the stopping rule for Q-FLAIR growth.
Lev: They propose scaling that stopping threshold not just by the training data size N, but also by the size of the candidate pool itself, which they call addressing a "confounding factor."
Kai: That makes sense. If you’re just adjusting one number based on data size and ignoring how many options you have available for gates, that could skew the results.
Mira: Another improvement is to move beyond that fixed improvement threshold of ten to the power of negative three, which they used in their setup, by explicitly incorporating the dimensionality of the feature space into the growth stopping criterion <ref:2610.12428#pg1>.
Conclusion: Kai: So wrapping things up on "Toward Joint Optimization of Circuit Depth and Training Data Size in Adaptively Grown Quantum Classifiers," they found that no obvious scaling law exists between circuit size and training data size under their test conditions.
Mira: The implication is that we can't assume a joint optimization emerges automatically just from an adaptive growth algorithm and a generalization bound alone, especially when dealing with high-dimensional inputs.
Lev: From my side, it highlights that we need to look closer at the dimensionality of the feature pool; if there’s a large enough pool of candidates, some gate can clear the stopping threshold regardless of N.
Kai: So for someone just listening, the paper shows that having an adaptive growth method doesn't automatically solve our problem of figuring out how deep to build a circuit versus how much data we need.
Mira: They also pointed out that they could make their generalization guarantee more predictive by finding a better correlation between the empirical gap and Caro et al.’s bound value.
Lev: So, while the results are important for testing Q-FLAIR’s mechanism, they leave open the question of how to systematically link circuit depth to data size in these adaptive systems.
Old Dominion University · University of Texas at El Paso
quant-ph, cs.LG
Submitted: 2026-10-08
Updated: 2026-10-08
Journal ref: NeurIPS 2026 Workshop SaTQuML: Secure and Trustworthy Quantum Machine Learning, NeurIPS 2026 Workshop
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
Importance score: 74/100
The gist: The gist: No predictable relationship between training-set size and circuit size Q-FLAIR converges to, and circuit size and test accuracy both vary non monotonically with N, indicating that a
Key concepts
- Tradeoff
- In quantum modeling, there is a fundamental balance between how complex the quantum circuit structure should be and how much training data is required to train it effectively. Increasing complexity might improve performance but demands more data to generalize well.
- Q-FLAIR Growth Mechanism
- This is an adaptive algorithm that builds a quantum feature-map circuit gate by gate. It continues adding gates as long as the training loss improves, stopping only when further growth no longer leads to better performance on the training data.
- Generalization Gap Bound (Caro et al.)
- This is a theoretical limit derived from Caro et al.'s work that predicts how much a model's performance can degrade when moving from training data to unseen test data. The paper checks if Q-FLAIR's growth behavior respects this bound as the training data size changes.
Terminology
Summary
The gist: No predictable relationship between training-set size and circuit size Q-FLAIR converges to, and circuit size and test accuracy both vary non monotonically with N, indicating that a straightforward joint depth/data scaling relationship does not emerge automatically from combining these two methods.
Background
Building a quantum model involves a tradeoff between how complex the circuit should be and how much training data it needs The first decision is how much training data to use, and the second is how complex the variational circuit should be Caro et al. show that models with fewer trainable gates need less training data to generalize well Q-FLAIR grows a quantum feature-map circuit gate-by-gate, stopping once further growth no longer improves the training loss
Methodology
The authors reimplement Q-FLAIR’s growth mechanism exactly, including its analytic reconstruction and exact stopping rule They run this on full-resolution (784-pixel) MNIST 3-vs-5 classification at five training set sizes from N = 2000 to 10000 They then fine-tune each resulting circuit to measure Caro et al.’s notion of active gates, K
Key Findings
The study found no predictable relationship between training-set size and the circuit size Q-FLAIR converges to Circuit size and test accuracy both vary non monotonically with N, and seed-to-seed variance is nearly as large as any trend across N The empirical generalization gap never exceeds Caro et al.’s bound in 14 of 15 runs, so the bound holds as a valid guarantee However, the gap correlates only weakly with the bound’s value (r = 0.12)
Discussion and Conclusion
The absence of an N-dependent trend is attributed to the dimensionality of the candidate feature space, where a large pool of 784 raw-pixel candidates allows some gate to clear the stopping threshold at almost any N This suggests that combining an adaptive growth algorithm with a data-efficiency motivation does not, by itself, guarantee a joint scaling relationship The dimensionality of the candidate feature pool is a plausible contributing factor warranting further investigation Joint optimization of circuit depth and training data size cannot, therefore, be assumed to emerge automatically from an adaptive growth algorithm and a generalization bound alone
Limitations
The results come from a single dataset and task, limiting the generalizability of the observations The study also notes that different choices for the learning rate and active-gate threshold δ could change the measured value of K
References
[1] M Bilkis, M Cerezo, Guillaume Verdon, Patrick J Coles, and Lukasz Cincio. A semiagnostic ansatz with variable structure for quantum machine learning (2021). arXiv preprint ArXiv:2103.06712
[2] Matthias C Caro, Hsin-Yuan Huang, Marco Cerezo, Kunal Sharma, Andrew Sornborger, Lukasz Cincio, and Patrick J Coles. Generalization in quantum machine learning from few training data. Nature communications
[3] Harper R Grimsley, Sophia E Economou, Edwin Barnes, and Nicholas J Mayhall. An adaptive variational algorithm for exact molecular simulations on a quantum computer. Nature communications
[4] Vojtech Havlí ˇ cek, Antonio D Córcoles, Kristan Temme, Aram W Harrow, Abhinav Kandala, ˇ Jerry M Chow, and Jay M Gambetta. Supervised learning with quantum-enhanced feature spaces. Nature
[5] Jonas Jäger, Philipp Elsässer, and Elham Torabian. Quantum feature-map learning with reduced resource overhead. Physical Review Research
[6] Adrián Pérez-Salinas, Alba Cervera-Lierta, Elies Gil-Fuster, and José I Latorre. Data re-uploading for a universal quantum classifier. Quantum
[7] Maria Schuld and Nathan Killoran. Quantum machine learning in feature hilbert spaces. Physical review letters
--- Page 1 ---
Toward Joint Optimization of Circuit Depth and Training Data Size in Adaptively Grown Quantum Classifiers Saeefa Rubaiyet Nowmi Old Dominion University Norfolk, VA, USA snowm001@odu.edu Md Mahmuduzzaman Kamol Old Dominion University Norfolk, VA, USA mkamo001@odu.edu Mohammad Saidur Rahman University of Texas at El Paso El Paso, TX, USA msrahman3@utep.edu Abstract Building a quantum model involves a tradeoff: how complex the circuit should be, and how much training data it needs Caro et al. show that models with fewer trainable gates need less training data to generalize well Q-FLAIR shows that a quantum feature-map circuit can be grown gate-by-gate, stopping once further growth stops improving the training loss We ask whether these two results combine into a predictable scaling law Does Q-FLAIR’s own stopping rule pick larger or smaller circuits as training data grows? Does the resulting generalization behavior track Caro et al.’s bound?
--- Page 2 ---
Adaptive circuit growth is not unique to Q-FLAIR ADAPT-VQE grows ansatze gate-by-gate for molecular simulation [3] and VAns grows and prunes circuit structure during training [1] Neither ADAPT-VQE nor VAns, however, is studied as a function of training-set size, and neither work asks the question their combination with a generalization bound raises That question is this: if Q-FLAIR’s growth algorithm is handed different amounts of training data, does the circuit size it converges to change in a way consistent with Caro et al.’s theory? A related question also follows: is the number of trainable gates required systematically correlated with the size of the training data? Answering these questions requires actually running Q-FLAIR’s mechanism, not a fixed circuit family, across a range of N This is what we do here, on full-resolution (unreduced, 784-pixel) MNIST 3-vs-5 classification This setting matches Q-FLAIR’s own “MNIST 28×28” benchmark dimensionality exactly [5]
--- Page 3 ---
Growth (Phase 1). We reimplement Q-FLAIR’s gate pool exactly (their Eq. 25): V = At each iteration, we consider every candidate gate For each one, we reconstruct its model output as a closed-form sinusoid of its rotation angle This takes only 2 additional quantum evaluations We then solve for the loss-minimizing weight classically At d = 784 candidate features, a brute-force grid search over feature index is too slow So we use a bounded scalar minimizer, with convergence tolerance 10−3 This cuts the classical cost by roughly an order of magnitude, solving the same one-dimensional bounded optimization problem that Q-FLAIR specifies Growth stops the first time the best candidate’s training-loss improvement falls below ∆L = 10−3 We place no additional cap on circuit size
--- Page 4 ---
Table 1: Per-N summary across 3 seeds, full-resolution (784-pixel) MNIST. N T∗ (mean ± SD) test acc. (mean ± SD) gen. gap (mean ± SD) 2000 22.67 ± 9.07 0.892 ± 0.028 0.0141 ± 15
4 N T∗ (cir cuit siz e) Circuit size N=5 T∗ (cir cuit siz e) N=15 T∗ (cir cuit siz e) N=20 T∗ (cir cuit siz e) N=25 T∗ (cir cuit siz e) N=30 2000 4000 6000 8.
Improvements for AI systems
-
A more robust stopping rule for Q-FLAIR growth could be implemented by scaling its threshold with both training data size (N) and candidate pool size to address the observed
confounding factor.
This correction may be necessary before a genuine joint depth-data scaling law can emerge on high-dimensional inputs. -
The system can be optimized for joint circuit depth and training data size by explicitly incorporating the dimensionality of the feature space into the growth stopping criterion, moving beyond a fixed improvement threshold of
∆L = 10−3.
-
The generalization guarantee derived from Caro et al.'s bound can be made more predictive by developing a method to better correlate the empirical gap with its bound value, as the current correlation is only
weakly correlated (r = 0.12).
Abstract
Building a quantum model involves a tradeoff: how complex the circuit should be, and how much training data it needs. Caro et al. show that models with fewer trainable gates need less training data to generalize well. Q-FLAIR shows that a quantum feature-map circuit can be grown gate-by-gate, stopping once further growth stops improving the training loss. We ask whether these two results combine into a predictable scaling law. Does Q-FLAIR's own stopping rule pick larger or smaller circuits as training data grows? Does the resulting generalization behavior track Caro et al.'s bound? We reimplement Q-FLAIR's growth mechanism faithfully, including its analytic reconstruction and exact stopping rule. We run it on full-resolution (784-pixel) MNIST 3-vs-5 classification, at five training-set sizes from N = 2000 to 10000. We then fine-tune each resulting circuit, so we can measure Caro et al.'s notion of active gates, K. We find no predictable relationship between training-set size and the circuit size Q-FLAIR converges to. Circuit size and test accuracy both vary non-monotonically with N, and seed-to-seed variance is nearly as large as any trend across N. The empirical generalization gap never exceeds Caro et al.'s bound in 14 of 15 runs, so the bound holds as a valid guarantee in those runs. But the gap correlates only weakly with the bound's value (r = 0.12). This shows that K does not explain most of the variation we observe. Why a valid guarantee can coexist with such weak predictive power remains an open question, and answering it may be necessary before circuit depth and training data size can be jointly optimized in practice.
Sources
Related papers
- Reconquering Bell sampling on qudits: stabilizer learning and testing, quantum pseudorandomness bounds, and more
- Encrypted clones can leak: Classification of informative subsets in Quantum Encrypted Cloning
- Polynomial-time classical and quantum simulation of quantum impurity models
- A quasiparticle-protected superconducting qubit
- Theory of quantum-enhanced interferometry with general Markovian light sources
- A convergent hierarchy of spectral gap certificates for qubit Hamiltonians