iconOpen Access

ARTICLE

Quantum Kernels for Text Classification: A Statistical and Diagnostic Framework Revealing the Low-Data Regime

Mrugendrasinh Rahevar1, Martin Parmar1, Hemant Yadav1, Chun-Ta Li2,*, Agbotiname Lucky Imoize3, Hiren Mewada4

1 C S Patel Institute of Technology, Charotar University of Science and Technology, Changa, Anand, India
2 Bachelor’s Program of Artificial Intelligence and Information Security, Fu Jen Catholic University, New Taipei City, Taiwan
3 Department of Electrical and Electronics Engineering, Faculty of Engineering, University of Lagos, Akoka, Lagos, Nigeria
4 Electrical Engineering Department, Prince Mohammad Bin Fahd University, Al Khobar, Saudi Arabia

* Corresponding Author: Chun-Ta Li. Email: email

Computer Modeling in Engineering & Sciences 2026, 148(2), 32 https://doi.org/10.32604/cmes.2026.085393

Abstract

Quantum kernel techniques aim to leverage quantum computational capabilities on social data. However, their application to natural language processing tasks faces formidable obstacles, such as extreme dimensionality reduction (D=384k=8), concentration of measure in quantum feature spaces, and the lack of theoretical understanding of when quantum advantages occur in kernel-based text classification. Filling this gap, we provide a comprehensive study of quantum kernels for text classification that addresses three major challenges in existing studies: general data compression approaches that ignore class structure, the lack of a predictive diagnostic toolkit, and overlooked approaches for handling concentration effects. Our main contributions include a supervised contrastive data compression approach with theoretical guarantees of kernel alignment, a five-diagnostic toolkit connecting theoretical insights with practical performance, the discovery of a small-data regime (n200) in which quantum methods perform comparably to classical approaches, and a transparent demonstration that quantum kernels require carefully designed settings to remain competitive with classical counterparts. Across four datasets, evaluated using five random seeds and exact paired statistical testing, we observe that quantum projected kernels achieve an accuracy of 84.5% compared to 85.1% for the classical RBF kernel (p>0.05, not statistically significant) under supervised compression settings. However, quantum methods lag behind by approximately 2%–4% at larger scales due to concentration effects, reflected in reduced off-diagonal kernel variance (0.003 vs. 0.025).

Keywords

Quantum-machine learning; kernel methods; natural language processing; large language models; text classification

1  Introduction

Quantum kernels represent an intuitive extension of classical machine learning approaches into the domain of quantum computing, drawing from the general appeal of quantum algorithms and quantum information processing techniques [14]. From the perspective of machine learning, quantum kernels provide a way to exploit quantum-based features even in absence of large-scale, fault-tolerant quantum computers [5,6]. Their basic principle is very straightforward: transform classical data into quantum states using parameterized circuits, perform comparisons of the similarity between data points which are not possible classically, and apply these kernels in well-tested settings such as support vector machines and classical kernel learning [7]. Theoretical studies have shown that particular classes of quantum kernels are inherently hard to compute by classical means [8].

Yet, the use of quantum kernels in NLP reveals a basic contradiction. The dimensionality of the vectors generated by the current transformers spans between D = 384 and D = 768 [9]. However, the current state-of-the-art noisy intermediate-scale quantum (NISQ) computers can accommodate only a limited budget of qubits for experimental purposes [3,4,10]. This imposes a requirement for drastic vector dimensionality reduction at least by a factor of 32 or 64 before quantum encoding becomes possible. Moreover, the latest research suggests that quantum kernels have an exponential concentration property, which means that the more qubits k there are, the closer the kernel similarities become to a constant. Thus, the capacity to discriminate is lost [11,12]. It is not clear whether any quantum benefits will survive these reductions.

The question of whether quantum methods are necessary for text classification deserves direct engagement. Classical NLP has achieved remarkable accuracy through pre-trained language models, and our own results confirm that DistilBERT (91.2%) significantly outperforms all quantum and classical kernel approaches on SST-2. However, the motivation for quantum kernel research in NLP is not performance supremacy on current large-scale benchmarks; rather, it encompasses three scientifically valuable scenarios. First, low-data regimes (n200), where quantum kernels demonstrably match classical RBF performance without the sample overhead of fine-tuning large transformers, making them relevant for specialized domains with scarce labeled data (e.g., clinical NLP and low-resource languages). Second, privacy-sensitive applications, where quantum kernel computation can in principle be performed on encrypted data using quantum homomorphic protocols, a property classical RBF kernels do not share [3,4].

Third, compositional semantic tasks, where quantum entanglement may naturally encode syntactic dependencies, an active research direction in quantum NLP [13,14]. Our work contributes to this field not by claiming superiority, but by providing the first rigorous characterization of when quantum kernels are competitive, what prevents them from scaling, and which theoretical framework (geometric difference, concentration diagnostics) practitioners should use to predict performance before conducting expensive experiments. The central finding—QRBF under narrow conditions and Q<RBF at scale—is itself a valuable scientific contribution, as it helps avoid wasted experimental effort and redirects attention toward the fundamental bottlenecks limiting quantum kernel methods.

Previous research that combines quantum computing with natural language processing highlights three important shortcomings. First, previous works utilize PCA-based dimensionality reduction which preserves variance without examining whether the discriminative power in classes is maintained because PCA maximizes variance without directly modeling label correlations. Second, no diagnostic tools are provided for previous accuracies to explain why performance differs and when improvements can be expected, leading to a reproducibility crisis in which results show up to 5%–10% differences without theoretical support. Third, despite Huang et al.’s suggestion [15] to use projected kernel functions due to concentration, NLP continues to utilize fidelity kernels since implementing other approaches is computationally more involved.

The aforementioned weaknesses are addressed through careful analysis and characterization rather than performance-based claims. Our four main contributions are as follows: (1) a supervised compression technique that provably preserves kernel alignment, where Proposition 3.1 provides theoretical guarantees on compression quality based on alignment, yielding a +2.8% improvement in accuracy, which represents the largest single gain observed in our ablation studies; (2) a five-diagnostic evaluation framework consisting of alignment, effective dimension, eigenvalue decay, concentration variance, and geometric difference, designed to predict performance prior to experimentation, through which we validate the predictive capability of the g<2 condition proposed by Huang et al., demonstrating that quantum kernels cannot outperform classical RBF kernels under these conditions; (3) characterization of a small-data regime (n200) in which quantum projected kernels achieve performance comparable to classical RBF kernels, requiring both supervised compression and projected kernels, thereby imposing stricter conditions than previously reported; and (4) negative findings showing that quantum kernels achieve an accuracy of 84.5% compared to 85.1% for the classical RBF kernel (statistically indistinguishable with p>0.05), while remaining 5001000× slower, dependent on supervised compression, and unable to satisfy the quantum advantage criterion (g<2).

Paper organization. Section 2 outlines quantum kernel methods, algorithmic advancements, and applications of NLP. Our contributions are explained within the framework of the existing literature. Section 3 describes the methodology of our work, which includes three theorems, two propositions, and two corollaries that support the main design choices. Section 4 details experimental methods for reproducibility. Section 5 summarizes experimental results on four datasets. We present extensive ablation experiments that measure the impact of each part of our system. Section 6 explains the theoretical underpinning of our experiments using a kernel-based framework and five diagnostics.

To directly answer when the proposed method offers advantages over traditional approaches: (1) Low-data regime (n200): Quantum projected kernels with supervised compression match RBF performance on compressed features (p>0.05), while outperforming PCA-compressed classical kernels by 2.3% without requiring labeled data for fine-tuning. This is the primary practical use case—specialized domains with scarce annotations. (2) Diagnostic transparency: Our five-metric framework (alignment, effective dimension, eigenvalue decay, concentration variance, geometric difference) provides theory-grounded predictions of quantum performance before experiments, a capability absent from traditional empirical QML studies. (3) Theoretical grounding: Proposition 3.1 provides the first proven upper bound on kernel-target alignment factorized through compression quality, explaining why supervised compression outperforms PCA regardless of the quantum circuit used. Outside the n200 regime, traditional RBF kernels remain superior by 2%–4% accuracy while being 5001000× faster; we report this honestly as a key finding rather than a limitation to minimize.

2  Related Work

The review is divided based on the basic principles of quantum kernels, efficient algorithms, machine-learning application of quantum kernels, and the concentration phenomenon which limits performance.

2.1 Theoretical Foundations of Quantum Kernels

Havlíček et al. [5] introduced quantum feature maps that embed classical data xRD into quantum states |ψ(x)=U(x)|0 via parameterized quantum circuits U(x). The corresponding fidelity kernel is defined as K(x,x)=|ψ(x)|ψ(x)|2, which computes the overlap between quantum states and can be measured using quantum state-overlap and fingerprinting-inspired routines on quantum hardware [16]. Their work demonstrated quantum advantage on synthetic datasets specifically designed to be difficult for classical kernels while remaining efficiently separable using IQP-based quantum kernels.

Computational hardness: Quantum learning computational hardness assumptions rely on complexity-theoretic separations and quantum supremacy results [17,18]. Liu et al. [8] proved that specific quantum kernels cannot be efficiently estimated classically, showing that computing kernel matrices associated with IQP circuits requires exponential runtime under the assumption that the polynomial hierarchy does not collapse. Schuld and Killoran [6] made an important observation that the expressiveness of quantum kernels is fundamentally bounded by the size of the Hilbert space, allowing at most 2k basis functions for k qubits. With practical values typically limited to k12, quantum kernels can express at most 4096 basis functions, which may still be less expressive than classical kernels operating in high-dimensional feature spaces.

Measurement of Concentration: Kübler et al. [11] and Thanasilp et al. [12] demonstrated that global quantum fidelity kernels can suffer from concentration of measure. In practical terms, many off-diagonal kernel values become close to their mean as the effective Hilbert-space dimension grows, which reduces class contrast and weakens the usefulness of the kernel matrix for classification. We use this result as the motivation for the off-diagonal variance and effective-dimension diagnostics reported in Section 6.1.

Mitigation via projected kernels: Huang et al. [15] proposed measuring local observables rather than global fidelity by comparing reduced single-qubit states. This projected-kernel construction changes the measured object and reduces the global fidelity-collapse effect that appears in full-state overlaps. Their geometric-difference criterion states that g(Kq,Kc)<2 predicts similar performance between quantum and classical kernels. Our work empirically validates this criterion on NLP tasks in Section 6.2, where all measured values satisfy g<2 and quantum kernels do not outperform RBF.

2.2 Algorithmic Developments

Trainable quantum kernels: Hubregtsen et al. [19] introduced trainable parameters θ in quantum feature maps U(x;θ) and optimized them using kernel-target alignment. A common objective is:

θ=argmaxθKθ,yyFKθFyyF.(1)

Using the parameter-shift rule [20], gradients require 𝒪(p) circuit evaluations, where p is the parameter count. Related quantum-embedding formulations further motivate data-dependent quantum feature maps for kernel learning [21]. Glick et al. [22] scaled this via divide-and-conquer training, partitioning data into subsets and merging learned kernels.

Our approach (Section 3.6) optimizes per-feature scaling weights wRk rather than circuit parameters—only k parameters vs. 𝒪(kd) for full circuits—converging in approximately 30 iterations on CPU.

Compression methods: Prior QML studies either assume that the input dimension already matches the qubit budget or apply unsupervised dimensionality reduction without explicitly testing whether label-relevant structure is retained. Recent survey evidence shows that QML classification has been explored across several application domains, but also emphasizes that practical performance remains constrained by noisy hardware, limited qubit counts, and the need for hybrid algorithmic design [23,24]. Quantum autoencoder work has primarily focused on compressing quantum states rather than preserving class-discriminative structure in classical text embeddings [25]. Blance and Spannowsky [26] instead studied a hybrid variational quantum classifier for particle-physics event classification, showing the relevance of near-term hybrid quantum models for data-driven classification, but their setting does not address label-preserving compression of high-dimensional NLP embeddings. Therefore, the compression stage remains a critical unresolved issue for quantum kernels in text classification. Our supervised contrastive compression directly targets this gap by reducing sentence embeddings from D=384 to k=8 while preserving class structure, and Proposition 3.1 explains why compression quality bounds subsequent kernel alignment.

2.3 Quantum Kernels for Machine Learning

General classification studies: Early demonstrations often used small or constructed datasets where quantum advantage was either designed into the data distribution or difficult to separate from random variation. Broader review evidence indicates that QML classifiers have been tested across several classification domains and have sometimes reported gains over conventional baselines, especially in high-dimensional or small-sample settings [24]. However, these results remain difficult to generalize because many studies use limited datasets, shallow benchmarking protocols, single-run evaluations, or hardware-free simulation. This motivates the statistical design adopted in our work: identical compressed feature spaces for quantum and classical kernels, five random seeds, Wilcoxon testing, and explicit diagnostic analysis rather than relying only on mean accuracy.

Molecular property prediction: Jerbi et al. [27] applied quantum kernels to QM9 molecular energies, finding quantum matched graph neural networks on small molecules (9 atoms) but degraded on larger molecules surpassing k = 20 qubits. This highlights a fundamental scalability challenge: many molecular encodings make the qubit requirement grow with molecular size or basis representation, making the k20 regime restrictive rather than universally sufficient.

Image classification: Henderson et al. [28] achieved 98.1% on MNIST using amplitude encoding (requiring k = 10 qubits for 210 = 1024 dimensions). Meyer et al. [29] studied how symmetries of a learning problem can be incorporated into variational quantum learning models. Their work shows that a standard gate set can be transformed into an equivariant gate set so that the model output respects the symmetry structure of the task. This improves generalization on symmetry-structured benchmark problems and demonstrates that inductive bias is important in quantum model design. Although their approach focuses on variational quantum models rather than kernel-based NLP classification, it supports the broader argument that quantum models should not be treated as generic black-box learners; their circuits and embeddings must encode task-relevant structure. Our work follows this principle at the kernel level by using supervised compression, projected kernels, and diagnostic metrics to identify when quantum kernels preserve useful class structure.

2.4 Quantum Kernels for Natural Language Processing

Quantum NLP has also been explored outside kernel methods, including tensor-network and grammar-aware formulations as well as compositional models of meaning executed on quantum hardware or simulators [13,14]. These studies motivate quantum representations for language, but they do not directly resolve the kernel-compression and concentration issues studied in this paper.

Recent work has expanded quantum ML beyond supervised classification into security and robustness domains. Quantum-assisted adversarial robustness methods have demonstrated that quantum superposition and entanglement can improve neural network resilience against adversarial perturbations, with quantum noise injection providing a natural regularization mechanism not achievable classically [30]. In federated learning, QSFedMA and related quantum-secured protocols exploit quantum key distribution and quantum authentication to provide information-theoretic privacy guarantees for model aggregation in IoMT settings [31]. These developments illustrate the breadth of quantum ML applications and provide further motivation for establishing rigorous benchmarks—such as our diagnostic framework—that clearly delineate when quantum approaches offer genuine advantages over classical alternatives in NLP and related tasks.

Prior quantum NLP and quantum-classification studies provide useful motivation but do not yet establish robust evidence of scalable quantum advantage for text classification. The survey by Nausheen et al. [23] shows that QNLP has expanded across compositional models, sentiment analysis, text classification, and hybrid quantum-classical methods. Similarly, Mohammadisavadkoohi et al. [24] review QML classification studies across several application domains and report that QML classifiers have often shown promising performance, while also emphasizing persistent limitations related to noisy hardware, dataset scale, and hybrid algorithm design. These review-level findings justify continued investigation of QML for classification, but they do not replace controlled, task-specific benchmarking against classical kernels.

For text classification specifically, Tao et al. [32] reported an apparent advantage of quantum kernels on IMDB sentiment classification using PCA-compressed GloVe embeddings. However, the evaluation relied on limited statistical testing, and the classical and quantum comparisons were not fully controlled in the compressed feature space. In our matched setting with identical Sentence-BERT embeddings, the same n=5000 scale, and five-seed evaluation, the apparent advantage reduces to a small, statistically non-significant difference. This suggests that previously reported gains can be sensitive to compression choice, baseline fairness, and seed variation.

Accordingly, our work differs from prior QNLP and QML-classification studies in four ways: (a) quantum and classical kernels are compared on the same k=8 compressed representation; (b) all results are averaged over five random seeds with Wilcoxon signed-rank testing; (c) DistilBERT is included as a strong neural reference baseline; and (d) five kernel diagnostics are used to explain performance rather than reporting accuracy alone. This makes the conclusion more conservative but more reliable: projected quantum kernels can be competitive in a narrow low-data regime, but the present evidence does not support broad quantum superiority over classical RBF kernels for text classification.

Critical finding: Our analysis reveals prior “+2%” claims were likely within statistical noise (not significant under the p<0.05 threshold), PCA compression was suboptimal (supervised recovers +2.8%), and fidelity kernels concentrate as theory predicts (projected kernels gain +2%–3%).

2.5 Concentration: From Theory to Practice

Barren Plateaus were discovered by McClean et al. [33], who observed the exponential vanishing of gradients in deep Variational Quantum Circuits (VQCs). Du et al. [34] suggested that this phenomenon is closely related to measure concentration. Randomly prepared quantum states in high-dimensional Hilbert spaces become approximately orthogonal on average, which in turn leads to exponentially small gradients during optimization.

In the particular case of quantum kernels, the boundedness of the input support is the key factor that determines this behavior [12]. When features are normalized to lie within [1,1]D, the quantum state becomes constrained to a finite subset of the Hilbert space, leading fidelities to concentrate near one. We empirically examine this phenomenon on NLP data by analyzing the off-diagonal variance in Section 6.1. Specifically, fidelity kernels exhibit a variance of 0.003 (highly focused), projected kernels exhibit a variance of 0.009 (focused), and classical RBF kernels exhibit a variance of 0.025 (less focused).

2.6 Positioning of This Work

Table 1 summarizes the positioning of the proposed study against representative quantum-kernel work.

images

Our unique contributions: (1) Statistical analysis demonstrates that previous “+2%” findings were attributable to noise, (2) the supervised compression technique outperforms PCA by achieving a gain of +2.8%, (3) the diagnostic methodology validates the g<2 criterion, and (4) the genuine finding that QRBF, rather than Q>RBF, advances the scientific understanding of quantum kernels.

3  Proposed Methodology

We propose a class-aware quantum kernel pipeline addressing three challenges: (1) dimensionality mismatch (D=384 k 12), (2) concentration of measure, (3) lack of interpretability. Our methodology consists of five interconnected components, each theoretically justified.

Fig. 1 illustrates the complete class-aware quantum-kernel pipeline from sentence embedding to QSVM classification.

images

Figure 1: Proposed class-aware quantum kernel pipeline from sentence embedding to QSVM classification.

The pipeline shows seven stages: sentence embedding with all-MiniLM-L6-v2 (D=384), supervised contrastive compression to k=8 dimensions, adaptive tanh scaling that maps features to signed rotation angles θ(α,α)k, quantum feature-map encoding with optional trainable alignment, kernel computation using fidelity or projected kernels, centering with PSD projection, and final QSVM classification. Dashed connections indicate implementation alternatives; supervised compression contributes +2.8% over PCA, projected kernels add +2%–3% over fidelity kernels, and trainable alignment contributes +0.4%.

3.1 Problem Formulation

Given a text classification dataset {(texti,yi)}i=1n, where yi{1,,C}, the proposed pipeline is:

1.   Embed each input text as textixiR384 using a sentence-transformer encoder.

2.   Compress the embedding as xiziRk using the supervised encoder.

3.   Scale the compressed vector as ziθi(α,α)k using adaptive tanh scaling.

4.   Encode the angle vector using a quantum feature map U(θi) as θi|ψi.

5.   Compute the kernel value Kij=K(|ψi,|ψj).

6.   Train an SVM on the precomputed kernel matrix K.

Challenge: Since we have 32× compression and exponential concentration, steps 2–5 must preserve class structure.

k=8 balances expressivity (256 basis functions), concentration (σ2=0.003 still problematic but measurable), and simulation feasibility for the smaller ablation runs. At n=1000, the fidelity-kernel computation takes approximately 1.9 h, while n=5000 requires substantially longer runtime under the same 𝒪(n2) scaling. Additional k=12 experiments showed consistent trends but are not included here to avoid disrupting the main ablation sequence.

3.2 Supervised Contrastive Compression

Motivation: Conventional PCA retains variance but ignores class information. In text data, variance is associated with the length of documents or topics rather than sentiment. We need compression g:R384Rk to maximize class separation.

Method: We implement a supervised contrastive autoencoder model [35] based on contrastive learning of representations [36]:

Ltotal=Lrecon+λ(LCE+0.5Lsupcon).(2)

where Lrecon=xdecoder(z)2, LCE=CrossEntropy(classifier(z),y), and:

Lsupcon(zi,yi)=log[pP(i)exp(zizp/τ)aA(i)exp(ziza/τ)].(3)

Here P(i)={j:yj=yi} are same-class samples, A(i) is the full batch, τ=0.1 is temperature.

Architecture: encoder: R384R128R64Rk, decoder reverses. Train 50 epochs, batch 256, λ = 1.0, AdamW (lr = 103).

τ=0.1 is used as the standard value from Khosla et al. [35], as it maximizes class separation in a 3-fold cross-validation over τ{0.05,0.1,0.2,0.5}, with results reported in the later temperature-ablation analysis.

Proposition 3.1 (Compression-Kernel Coupling). Kernel-targeted alignment factorizes as:

A(Kq,yy)Acompress(g)Afeature_map(U).(4)

Proof. If g collapses within-class variance, Var[g(x)y=c]Var[g(x)], then maxi,j:yi=yjg(xi)g(xj)ε, forcing Kq(xi,xj)1 for same-class pairs. This degrades alignment regardless of U’s expressivity. Formally, alignment A=K,yyF/(KFyyF). If within-class blocks have rank 1, then K,yyFc|Sc|2 where Sc is the size of class c, achievable only if K=yy. Any deviation from the ideal block-diagonal structure helps reduce this inner product. Since g controls U’s input, A(Kq)separation(g)expressivity(U). QED.

Corollary 3.1: No quantum feature map can recover alignment lost in compression.

Empirical validation: The component ablation later shows that supervised compression contributes +2.8% (60% of total improvement), confirming Proposition 3.1.

3.3 Adaptive Angle Scaling

Method: Map compressed features zRk to signed rotation angles θ(α,α)k via standardized tanh:

θj=αtanh(zjμjσj+ε),j=1,,k,(5)

where μj and σj are computed using the training data only (to prevent data leakage), and α[π/2,π] is tuned on the validation set.

Theorem 3.1 (Lipschitz Continuity): Standardized tanh is Lipschitz with constant Lα/(σ+ε).

Proof. |dtanh(u)/du|=sech2(u)1. By chain rule, |dθ/dz|α/(σ+ε). QED.

Theorem 3.2 (Sign Preservation). sgn(zjμj)=sgn(θj), critical for Ry gates encoding via complex amplitude.

Advantages over min-max: (1) Outlier robustness: limz±θ(z)=±α (saturates), (2) Sign preservation matters for Ry(θ)=[cos(θ/2)sin(θ/2)sin(θ/2)cos(θ/2)].

3.4 Quantum Feature Maps

This section compares three feature maps with different concentration characteristics as shown in Fig. 2.

images

Figure 2: Quantum feature-map circuits for hardware-efficient Ry-CZ encoding and ZZFeatureMap-style interaction encoding.

The circuit architectures illustrate two feature maps on k=4 qubits with depth d=2 and data re-uploading. FM1 uses alternating Ry(θi) rotations and nearest-neighbor CZ entangling gates, giving a shallow NISQ-compatible ansatz. FM2 applies Hadamard initialization, Rz(θi) rotations, and Pauli evolution terms exp(iθiθjZiZj) to encode pairwise feature correlations. The projected-kernel variant, FM3, is not shown; it measures local single-qubit reduced states ρi(x) instead of global fidelity, reducing the Lipschitz scaling from 𝒪(2k) to 𝒪(k).

FM1 (Hardware-Efficient):

UHE(θ)==1d[j=1kRy(θj)j=1k1CZj,j+1].(6)

FM2 (ZZFeatureMap):

UZZ(θ)==1d[j=1kHjRz(θj)i<jexp(iθiθjZiZj)].(7)

Fig. 2 shows the quantum feature-map circuits used for hardware-efficient Ry-CZ encoding and ZZFeatureMap-style interaction encoding.

FM3 (Projected Kernel): Instead of fidelity Kfid=|ψ|ψ|2, measure local observables:

Kproj(x,x)=exp(γi=1kρi(x)ρi(x)2).(8)

where ρi(x)=Tri[|ψ(x)ψ(x)|] is the reduced density matrix of qubit i.

Theorem 3.3 (Concentration resistance following Huang et al. [15]). Projected kernels mitigate the global-fidelity concentration problem by comparing local reduced states rather than the full quantum-state overlap.

Proof sketch. The exponential concentration result for global fidelity kernels follows from concentration of measure in the full Hilbert space and explains why global overlaps can become nearly uniform as the effective dimension grows. The projected kernel used by Huang et al. [15] is not obtained by substituting a smaller Lipschitz constant into the same global-fidelity bound. Instead, it changes the measured object from a global fidelity to distances between local reduced density matrices. This local-observable construction preserves more sample-dependent variation and is therefore less affected by global fidelity collapse. We use this result to motivate projected kernels and verify the effect empirically through off-diagonal variance, effective dimension, and geometric difference diagnostics. QED.

Empirical confirmation: The experimental analysis shows projected-kernel gains of +2%–3% over fidelity kernels, while the diagnostic analysis shows off-diagonal variance 0.009 vs. 0.003, indicating that the projected kernel retains approximately three times more off-diagonal variation than the fidelity kernel in our SST-2 diagnostic setting.

3.5 Kernel Post-Processing

Centering: The centered kernel is computed as:

Kc=K1nKnK1nn+1nK1nn2.(9)

For test data, only training-set statistics are used.

PSD Clipping: Numerical errors may produce small negative eigenvalues, typically around 1016. Given the eigendecomposition K=VΛV, the nearest PSD approximation is:

KPSD=Vmax(Λ,1010I)V.(10)

Proposition 3.2. The PSD-clipped kernel is the solution of:

KPSD=argminK0KKF.(11)

This follows from the standard nearest positive semidefinite matrix result [37].

3.6 Trainable Kernel Alignment

Optimize per-feature weights wRk to maximize validation alignment as shown in Algorithm 1:

w=argmaxwKw,yyFKwFyyF.(12)

where the scaled angle is defined as:

θj=wjtanh(zjμjσj+ε).(13)

Gradient via parameter-shift rule:

K(x,y)wj=12(K|wj+π/2K|wjπ/2).(14)

Algorithm 1 summarizes the optimization procedure used to learn the per-feature alignment weights.

images

Converges in ~5 min on CPU. Empirical gain: +0.4%.

3.7 Complexity Analysis

Per-configuration cost: For n samples, k qubits, and circuit depth d, the dominant cost is:

𝒪total=𝒪(n2kd2k+n3).(15)

The three main components are:

𝒪quantum=𝒪(n2kd2k),𝒪projected=𝒪(n2k),𝒪SVM=𝒪(n3).(16)

Comparison: Classical RBF complexity is:

𝒪RBF=𝒪(n2D+n3).(17)

A practical quantum advantage would require:

kd2kD.(18)

For the scenario investigated, this condition restricts the practical regime to small sample sizes. Constant-factor simulation overhead further makes the quantum-kernel computation approximately 5001000 times slower than a comparable classical kernel, as discussed later in Section 5.5.

4  Experimental Setup

Datasets: We evaluate our approach on four benchmark text classification datasets. SST-2 is a binary movie review sentiment classification task [38], IMDB is a long-text sentiment classification benchmark [39], AG News is a four-class news topic classification dataset [40], and TREC-6 is a six-class question classification benchmark [41].

Sampling: Owing to the O(n22k) computational complexity associated with evaluating the kernel matrix, we employ stratified sampling for all datasets with more than 5000 samples, with the exception of TREC-6, where the full dataset is used. This practice is common in the QML literature [6,15] and does not compromise the generality of the analysis, since the objective is to study kernel behavior rather than maximize classification accuracy. The 𝒪(n22k) wall-clock constraint limits practical evaluation to n5000 on consumer hardware (32 GB RAM), and stratification preserves class balance across all seeds.

Splits: Each dataset is partitioned into 70% training, 10% validation, and 20% test sets. All splits are stratified on a per-class basis and are fixed across experiments to ensure consistency and reproducibility.

Embedding: all-MiniLM-L6-v2 sentence transformer (D=384, 22M parameters) with L2 normalization and train-set standardization, following the sentence-transformer embedding paradigm [9].

Hyperparameters: All hyperparameters (SVM C{0.1,1,10}, compression λ, scaling α {π/2, π}) tuned via 3-fold cross-validation on validation set. Test set used only for final evaluation.

Statistical rigor: Five random seeds (42–46) are used per configuration. We report mean ± standard deviation and conduct exact two-sided paired Wilcoxon signed-rank tests [42]. With five paired seeds, the smallest attainable two-sided Wilcoxon p-value is 0.0625, so the statistical-significance analysis is interpreted conservatively and reported together with mean and standard deviation. McNemar-style paired-proportion testing is also relevant for future per-instance classifier comparisons [43].

Baselines: Classical RBF on raw embeddings (D=384), RBF on compressed (k=8), Linear SVM, Logistic Regression. Neural: DistilBERT fine-tuned for three epochs as a strong transformer baseline [44]. Quantum: Fidelity and projected kernels with Ry+CZ (d{2,3}), and ZZFeatureMap-style circuits (d{2,3}).

Simulator Qiskit Aer statevector simulation is used as an exact noiseless setting. This provides an upper bound on quantum performance because real quantum hardware requires additional attention to platform constraints and error mitigation [4547].

It is important to note that our timing measurements reflect noiseless statevector simulation, which represents an optimistic upper bound on quantum performance. On real NISQ devices, additional overheads from measurement noise, qubit crosstalk, gate infidelity, and error mitigation protocols (e.g., zero-noise extrapolation [47]) would further widen the performance-cost gap reported in the computational-cost analysis, making the –1000× slowdown a conservative lower bound for hardware deployment.

Table 2 summarizes the experimental configuration and reproducibility checklist.

images

5  Results and Analysis

We present results in five subsections: overall performance, component ablation, low-data regime, statistical significance, and computational cost.

5.1 Overall Performance Comparison

Table 3 reports the main SST-2 results for raw, compressed, classical, neural, and quantum-kernel baselines.

images

Aggregated results over five random seeds show that quantum projected kernels achieve 84.5 ± 0.7% on SST-2, 86.2 ± 0.6% on IMDB, 84.3 ± 0.8% on AG News, and 89.1 ± 0.5% on TREC-6 using n=5000 samples and k=8 compression. Their performance is statistically indistinguishable from compressed RBF kernels, while fidelity kernels underperform projected variants by 2%–3%, consistent with concentration predictions [11,12]. DistilBERT remains the strongest neural baseline, and PCA compression consistently reduces performance relative to supervised compression.

Finding 1: Quantum projected (84.5%) statistically indistinguishable from RBF (85.1%) on supervised compressed features (p>0.05 under exact paired testing). This finding counters assertions that quantum computing “outperforms” classical computing.

Finding 2: Supervised compression critical—improves quantum fidelity from 79.8% 82.8% (+3.0%), larger than depth increase d=13 (+0.6%). Validates Proposition 3.1.

Finding 3: The projected kernel improves over the fidelity kernel by +2%–3% on average, providing empirical support for the concentration-resistance motivation behind Theorem 3.3.

Finding 4: DistilBERT remains the strongest baseline (91.2%), ahead of all kernel methods by a statistically significant margin (p < 0.001). This confirms that quantum kernels do not challenge modern neural baselines in the present setting.

Fig. 3 compares classification performance across datasets and model families.

images

Figure 3: Classification performance across datasets and model families.

5.2 Component Ablation Study

Table 4 presents the SST-2 component ablation used to isolate the contribution of supervised compression, scaling, circuit depth, PSD clipping, and alignment optimization.

images

Analysis: Supervised compression gives the largest single gain (+2.8%, about 60% of the total improvement), supporting Corollary 3.1 that a feature map cannot compensate for poor compression.

Diminishing returns from depth: Increasing depth beyond d=2 yields only marginal gains, consistent with barren plateau theory [33]; the full cross-dataset depth analysis is reported below.

Tanh vs. min-max: The +0.7% gain follows from outlier robustness and the sign-preserving property of standardized tanh scaling established in Theorem 3.2.

Cumulative effect: The full pipeline reaches 83.1% compared with 78.4% for the baseline, giving a 4.7% absolute gain from complementary component contributions.

Depth sensitivity: Table 4 shows that increasing the circuit depth from d=1 to d=2 adds +0.6% accuracy. Additional depth is evaluated after the cross-dataset ablation; the results show diminishing returns, so d=2 is retained as the default depth throughout the main experiments.

Table 5 reports the temperature (τ) ablation for the supervised contrastive loss (Eq. (3)), conducted via 3-fold cross-validation on SST-2 (n=1000, k=8) over τ{0.05,0.10,0.20,0.50}. At τ=0.05, gradient instability occurs in 2/5 seeds due to excessively hard negative pairs, reducing mean validation accuracy despite increased contrast pressure; at τ=0.50, the softened objective reduces kernel-target alignment by 18% relative to the optimal τ=0.10, which achieves the highest validation accuracy (0.815±0.009) and KTA (0.218±0.012) with stable convergence in all seeds. We therefore fix τ=0.10 as the default across all experiments.

images

Key Finding 5: τ=0.10 maximizes KTA and validation accuracy simultaneously. Lower temperature (τ=0.05) causes training instability, whereas larger temperatures (τ0.20) reduce class-discriminative structure in the compressed space.

Table 6 extends the SST-2 component ablation to all four benchmarks, confirming that the improvement ordering is dataset-agnostic (n=1000, k=8, fidelity kernel, 5 seeds). Supervised compression contributes the dominant gain on every dataset—+2.6% (AG News, TREC-6) to +3.0% (IMDB)—accounting for 60%–64% of the full pipeline improvement and validating Proposition 3.1’s compression–alignment factorization beyond the SST-2 setting. Tanh scaling (+0.5%–0.7%), circuit depth d=2 (+0.6%), PSD clipping (+0.1%–0.2%), and alignment optimization (+0.3%–0.4%) each contribute consistent increments across all datasets, yielding total pipeline gains of +4.2% to +4.7%.

images

Key Finding 6: The ablation ordering—supervised compression > tanh scaling > depth > PSD clipping > alignment optimization—is preserved across all four benchmarks, confirming that the SST-2 ablation findings generalize to binary sentiment, multi-class topic, and question-type classification tasks.

Depth sensitivity: Table 7 reports circuit depth sensitivity across all four benchmarks for d{1,2,3} (Q-Fidelity kernel, supervised compression, k=8, n=1000, 5 seeds). Increasing depth from d=2 to d=3 yields a mean accuracy gain of only +0.1% at +42% additional simulation time—a cost–performance ratio 14.3× less favorable than the d=12 transition (+0.6%, +100% time). All accuracy differences between d=2 and d=3 fall within one standard deviation and are not statistically significant by paired Wilcoxon test (p>0.05), consistent with barren plateau theory [33]. We therefore fix d=2 as the default in all main experiments.

images

Key Finding 7: Depth d=2 achieves the optimal cost–performance tradeoff. The +0.1% gain from d=3 does not justify the +42% computational overhead, adding approximately 2900 s per kernel matrix at n=1000.

5.3 Low-Data Regime Analysis

Table 8 reports the learning-curve analysis on SST-2 (k=8, d=2, 5 seeds), comparing classical RBF, compressed RBF, Q-Fidelity, and Q-Projected kernels across increasing training sizes.

images

Learning curves for n{50,100,200,500,1000,2000,5000} on SST-2 identify a narrow low-data regime where projected quantum kernels match compressed RBF performance. The crossover occurs near n200, where Q-Projected reaches 80.2% vs. 77.8% for compressed RBF; the difference is not statistically significant under the conservative five-seed paired test. As n increases, the classical advantage becomes larger because the quantum effective dimension decreases to 28.4 compared with 89.6 for RBF, indicating that quantum kernels exploit only a small fraction of the available training structure.

Fig. 4 visualizes the low-data learning curves and the crossover region where projected quantum kernels match compressed RBF performance.

images

Figure 4: Low-data learning curves for projected quantum and classical RBF kernels.

Finding 5: Compressed RBF matches Q-Projected at n200 (crossover point). At n=200: Q-Proj 80.2% ± 1.4% vs. RBF 77.8% ± 1.5%; the difference is not statistically significant.

Finding 6: Larger gap at scale. At n=5000: RBF leads by 2%–3% on binary datasets, 4%–5% on multi-class. As discussed in Section 6.1, effective dimension reduces to 3% of n at scale.

Finding 7: Supervised compression crucial. Quantum fidelity compared to PCA never beats RBF for any n (maximum deviation of 3.6% at n=50). The supervised method reduces the deviation to 1.4%, showing compression is limiting factor.

Implication: Quantum provides comparable (not better) sample efficiency up to n 200, but only with supervised compression and projected kernel.

5.4 Statistical Significance Testing

Table 9 reports the Wilcoxon signed-rank test results used to verify whether observed performance gaps are statistically significant across five seeds.

images

Interpretation: Q-Projected RBF (p>0.05 everywhere). The 1%–2% difference in the main results could be random variation, not true performance gap. This establishes quantum is competitive but not superior.

Q-Fidelity remains below compressed RBF on most datasets, indicating a consistent directional deficit associated with concentration, although the exact five-seed Wilcoxon test is conservative.

Supervised compression remains consistently better than PCA across all datasets, supporting Proposition 3.1.

Prior work claims should therefore be interpreted cautiously when they are based on single-seed comparisons or unmatched baselines.

5.5 Computational Cost Analysis

Table 10 summarizes the single-run computational cost of classical, neural, and quantum-kernel methods at n=1000.

images

Analysis: Quantum is 500–1000× slower than RBF because of the 2k coefficient. When n=1000, RBF takes 11 s, while quantum takes 2 h.

DistilBERT scales more favorably with respect to n; therefore, it can be applied to larger datasets more easily than the quantum-kernel approach, whose kernel-matrix computation scales as 𝒪(n22k).

Cost-effectiveness disadvantage: At the same compressed-feature setting, the quantum projected kernel has a 0.6 percentage-point accuracy deficit relative to RBF, while the computational-cost table shows substantially higher kernel-computation time. This makes the quantum kernel less cost-effective than the compressed RBF baseline in this setting.

Memory bottleneck: Quantum requires n×n kernel matrix (200 MB for n=5000 in float64) plus 2k statevectors, limiting practical n to 10,000 on consumer hardware.

6  Kernel-Theoretic Analysis

The criteria for explaining the performance of quantum kernels are defined through five indicators that bridge theoretical understanding with practical application.

6.1 Diagnostic Framework

Table 11 summarizes the five kernel diagnostics used to explain the observed performance differences between quantum and classical kernels.

images

For n=500 samples drawn from a stratified SST-2 dataset, the heat-map diagnostics reveal clear differences in kernel-matrix structure. The classical RBF kernel exhibits a clear block-diagonal structure, whereas the quantum fidelity kernel appears nearly uniform, with intra-class similarity of 0.920 and inter-class similarity of 0.870. The variance of the off-diagonal entries for the fidelity kernel is σfid2=0.003, which is approximately 8.3× lower than that of the RBF kernel (σRBF2=0.025), indicating strong concentration effects. The projected kernel shows an intermediate structure with variance σproj2=0.009, consistent with the predictions of Huang et al. (2021) [15].

The diagnostic values in Table 11 for SST-2 (n=1000, k=8) help explain the observed performance gap. The quantum fidelity kernel achieves only 14.2% alignment with the target labels, compared to 35.4% for the compressed radial basis function (RBF) kernel. Its effective dimension is reduced to 28.4 (i.e., 2.8% of n), whereas the RBF kernel attains an effective dimension of 89.6 (9.0% of n). The fidelity kernel also exhibits more pronounced eigenvalue decay (slope 2.84), indicating less informative spectral components. In addition, the low off-diagonal variance (σ2=0.003) confirms strong concentration behavior on real NLP data [48].

Alignment deficit explains performance gap. Misalignment is the primary driver of the performance discrepancy. The fidelity kernel’s alignment of 14.2% compared to 35.4% for the RBF kernel corresponds to an approximately 60% relative reduction in the diagnostic alignment metric, not to a 60% reduction in classification accuracy. The actual accuracy gap is much smaller, while the alignment gap explains why the fidelity kernel has weaker class-discriminative structure. Alignment is a useful diagnostic for kernel–target agreement [48].

Fig. 5 shows kernel heat maps across increasing sample sizes, illustrating how quantum fidelity kernels become nearly uniform while RBF kernels preserve clearer class structure.

images

Figure 5: Kernel diagnostics by heat maps showing the visibility of the class structure and concentration of both types of kernels.

Fig. 6 summarizes the spectral diagnostics, including alignment, eigenvalue decay, concentration variance, and geometric difference.

images

Figure 6: Eigenvalue decay and effective dimension are analyzed through spectral properties of quantum and classical kernels.

Why low alignment? Poor alignment arises because quantum kernels produce relatively homogeneous similarity scores, with intra-class similarity of 87.2% and inter-class similarity of 84.9% (contrast 2.3%), whereas the RBF kernel produces stronger separation, with intra-class similarity of 71.3% and inter-class similarity of 54.2% (contrast 17.1%).

Effective dimension collapse. effective dimension is defined as:

deff=(trK)2tr(K2).(19)

This value determines the number of informative eigenvalue directions. Q-Fidelity achieves 28.4 out of n=1000 (i.e., 2.8%), whereas the RBF kernel achieves 89.6 (i.e., 9.0%). Thus, the quantum kernel effectively utilizes only about 3% of the training dataset, which explains the observed poor scaling illustrated in Fig. 4.

Theoretical explanation: The maximum rank of the fidelity kernel can be bounded as rank(Kfid)2k, where k=8, implying rank(Kfid)256. In practice, additional compression occurs because the majority of entries satisfy Kij0.87, causing the kernel to behave similarly to a near rank-1 matrix.

Eigenvalue decay rate. A steeper eigenvalue decay rate indicates fewer informative spectral modes. Based on the observed slopes, the fastest decay occurs for Q-Fidelity (2.84), followed by Q-Projected (1.92), while the RBF kernel exhibits the slowest decay (0.73).

Concentration quantified. Off-diagonal variance quantifies kernel diversity. Q-Fidelity exhibits a variance of 0.003, corresponding to a 90% reduction relative to the RBF kernel (0.025). Similarly, the projected kernel has variance 0.009, corresponding to a 72% reduction. This is consistent with the concentration-resistance motivation of Theorem 3.3. The factor of approximately three is an empirical variance ratio in our diagnostic table, not a theoretical constant predicted by the theorem.

A natural question is whether the effective dimension collapse (deff=28.4 for k=8) is fundamentally unavoidable or an artifact of our encoding choice. Theoretically, for angle encoding with Ry gates, rank(Kfid)2k=256 [6], so with n=1000 the effective rank is bounded at 25.6% of n even without concentration; our observed deff=2.8% reflects additional rank reduction from concentration. Amplitude encoding [28] could theoretically represent 2k=256-dimensional vectors with k=8 qubits, accessing a larger Hilbert-space subregion. However, amplitude encoding requires 𝒪(2k) gates for state preparation, increasing circuit depth exponentially and worsening the timing gap observed in the computational-cost analysis. Moreover, Thanasilp et al. [12] showed that concentration persists for amplitude encoding at the same rate as angle encoding for normalized inputs, suggesting that deff collapse is a fundamental property of high-dimensional quantum feature spaces rather than an encoding artifact. Developing provably concentration-resistant encodings that avoid exponential circuit depth remains an open theoretical problem and a key direction for future work.

6.2 Geometric Difference Validates Theoretical Threshold

The geometric difference can be regarded as a dissimilarity metric between the quantum kernel Kq and the classical kernel Kc.

g(Kq,Kc)=KcKq+Kc.(20)

Huang et al. criterion [15]. For g<2, quantum and classical kernels are expected to exhibit similar performance.

All measured values satisfy g<2. Therefore, the quantum approach does not fall within the regime of quantum advantage. Indeed, according to the theoretical prediction of Huang et al. (2021) [15], the quantum method does not outperform the RBF kernel. This represents the first experimentally verified threshold condition in NLP settings.

Table 12 reports the geometric-difference values for all four datasets and verifies whether the Huang et al. threshold predicts the observed quantum-vs.-RBF behavior.

images

Why g < 2? An input dimensionality reduction to k=8 further limits quantum expressiveness. Although class information is largely preserved through supervised dimensionality reduction, as reflected by the high accuracy of linear SVM classifiers (81%), the quantum circuitry is unable to induce sufficient nonlinearity to reach the regime g>2.

Corollary 6.1. Reaching g>2 requires k16, incurring 28=256× higher cost, making it impractical.

Practical guideline for reaching g>2. Based on Corollary 6.1 and the empirical measurements in Table 12 (gproj[1.54,1.75]), we estimate the conditions required to enter the quantum-advantage regime for NLP tasks: (i) Qubit budget: k16 is necessary (Corollary 6.1), providing a 216=65,536-dimensional feature space and g2.1 based on linear extrapolation of our g-vs.-k scaling. (ii) Data regime: n200 remains the operative regime; at larger scales, concentration dominates regardless of k. (iii) Hardware fidelity: achieving k=16 at circuit depth d=2 requires two-qubit gate fidelity exceeding 99.9%, which is at the frontier of current superconducting platforms [45,46]. (iv) Compression strategy: supervised compression must be extended to k=16 output dimensions, requiring a larger encoder (R384R16) trained with sufficient labeled data (5000 examples). Under these conditions, our theoretical projection suggests g2.12.3 for binary classification on SST-2, potentially yielding a statistically significant 0.5%1.0% advantage over RBF on small datasets. We provide this as a design target for future quantum NLP systems rather than a guaranteed result.

6.3 Integrated Interpretation

Five metrics contribute to the concentrated explanation (based on concentration theory): (1) poor correspondence (14%), which reduces SVM performance, (2) low effective dimension (3%), which reduces sampling efficiency, (3) fast eigenvalue decay (2.84), which causes early saturation, (4) high concentration (variance =0.003), which decreases discriminability, and (5) a small geometric difference (g<2), indicating that there is no quantum advantage.

Root Cause: The underlying reason for the failures outlined above is that quantum kernel compression embeddings are affected by the phenomenon of concentration of measure, which is only partially mitigated by Theorems 3.3 and FM3 (projected setting).

Supervised Compression: In contrast, supervised compression remains effective because it preserves class structure before quantum encoding; Proposition 3.1 formalizes how this compression quality constrains subsequent kernel–target alignment. This explains its consistently superior performance, corresponding to an approximate +2.8% gain in the component ablation.

7  Conclusion and Future Work

In this paper, we present the first comprehensive empirical and theoretical analysis of quantum kernel methods in NLP. We show that quantum kernels can achieve near-optimal RBF performance under specific conditions: small datasets (n200), the use of supervised contrastive compression combined with projected kernels, and tasks with discrete outputs and binary or few-class classification settings. In all other regimes, classical methods outperform quantum approaches in terms of accuracy (by approximately 2%–4%) and exhibit substantially better efficiency (by roughly 5001000×).

Proposition 3.1 shows that target–kernel alignment depends on both compression quality and feature-map expressivity; consequently, a quantum feature map cannot recover class-relevant information lost during dimensionality reduction. Results from this method are strongly supported by our experimental findings: supervised compression improves classification accuracy by +2.8%, representing the largest gain observed across all ablation studies, whereas quantum circuits provide only modest improvements. Furthermore, our five diagnostic measures—alignment, effective dimension, eigenvalue decay, concentration variance, and geometric difference—indicate that the principal limitation of quantum methods arises from concentration of measure effects. These effects constrain quantum kernels to an alignment of only 14.2% compared to 35.4% for the classical RBF kernel, while also reducing the effective dimension to merely 2.8% of the available training samples.

More importantly, our findings are consistent with the theoretical predictions of Huang et al., who proposed that no quantum advantage can be achieved when the geometric difference satisfies the condition g<2. Our experiments confirm that g<2 holds across all evaluated datasets, accurately predicting the comparable performance observed between quantum and classical approaches. Furthermore, statistical analysis conducted over five different random seeds indicates that previously reported quantum-advantage claims based on limited statistical testing should be interpreted cautiously, because our matched multi-seed comparison does not show statistically significant superiority over classical RBF kernels (p>0.05).

Further advancements will require overcoming three key issues: (i) designing encodings that are robust to concentration effects beyond those anticipated by the current generation of kernels; (ii) increasing the model size to k16 qubits, where g>2 may become feasible; and (iii) validating the simulation-based conclusions on noisy quantum hardware using appropriate error-mitigation techniques, as discussed previously [4547]. Potential approaches include learning quantum circuits from scratch that simultaneously minimize compression loss while maximizing feature expressivity, developing adaptive encodings that are resistant to concentration phenomena, and designing quantum architectures specifically optimized for kernel computation. Additional future directions include cross-lingual evaluation across languages with varying morphological complexity and applying quantum compositional structures to generative natural language processing tasks.

Through careful definition of the requirements that quantum kernels must meet to be competitive and the explanation of their limitations by means of principled diagnosis, this paper elevates the field of quantum machine learning from its speculative stage to a scientifically grounded level.

A critical open challenge is the transition from noiseless simulation to real NISQ hardware. Our timing analysis captures only statevector simulation overhead; actual hardware execution incurs additional costs from: (i) qubit readout errors on current devices [45,46], (ii) two-qubit gate infidelity, (iii) circuit transpilation and qubit mapping overhead, and (iv) error mitigation requiring 10100× more circuit shots. Consequently, hardware-deployed quantum kernels may require orders of magnitude more wall-clock time than our simulator estimates suggest, reinforcing our conclusion that classical RBF remains the practical choice for NLP tasks under current NISQ constraints.

An important scope extension is multi-label and fine-grained NLP classification. Our current evaluation covers binary (SST-2, IMDB) and few-class (AG News 4-class, TREC-6) tasks, where QSVM with one-vs.-rest decomposition is tractable. Multi-label classification (e.g., aspect-level sentiment, multi-topic tagging) requires computing one kernel matrix per label, multiplying the already prohibitive 𝒪(n22k) cost by the label count L, making it impractical for L>5 at current qubit scales. Fine-grained classification (>20 classes) introduces two additional challenges: (i) concentration worsens with class imbalance since inter-class contrast is diluted across more categories, and (ii) multi-class SVM margins shrink as the number of classes C grows, reducing the signal-to-noise advantage of any kernel over RBF. Theoretically, quantum kernels may offer advantages for tasks with inherently quantum-structured labels (e.g., compositional semantics expressible as tensor products), but empirically this remains largely unexplored. We encourage future work to evaluate projected kernels on NER tagging, relation extraction, and other structured prediction tasks where quantum compositional structure may emerge.

Our results carry three implications for quantum machine learning research. First, the field should move from performance-claim papers (“Q > Classical by X%”) toward characterization papers that identify conditions, diagnostics, and theoretical predictions—our work models this approach. Second, the compression bottleneck is more fundamental than the choice of quantum circuit: Proposition 3.1 proves that supervised compression contributes more to alignment than any feature map improvement (supported by +2.8% vs. +0.6% for depth increase). Future quantum NLP work should therefore prioritize label-preserving dimensionality reduction before optimizing circuits. Third, the geometric difference threshold (g<2 no advantage) provides a practical pre-experiment screening tool: before running expensive quantum simulations, researchers can compute g from a small random sample (n100) and predict whether quantum methods will match or exceed classical performance.

Our study has four limitations. First, we evaluate only Sentence-Transformer embeddings (all-MiniLM-L6-v2, D=384); results may differ for other embedding models or raw TF-IDF features. Second, our timing analysis uses CPU-based statevector simulation; GPU-accelerated simulation (e.g., cuQuantum) or quantum hardware (Section 4 note) would alter absolute costs, though the relative ordering is unlikely to change. Third, the low-data regime finding (n200) is based on SST-2 crossover; different datasets with more complex decision boundaries may shift this threshold. Fourth, QSVM with precomputed kernels does not scale beyond n10,000 on consumer hardware due to 𝒪(n2) memory requirements; quantum neural network approaches may exhibit different scaling behavior.

Acknowledgement: None.

Funding Statement: This work was supported in part by the National Science and Technology Council, Taiwan: NSTC 113-2410-H-030-077-MY2.

Author Contributions: The manuscript was written with contributions from all authors. Conceptualization, Mrugendrasinh Rahevar; methodology, Mrugendrasinh Rahevar, Martin Parmar, Hemant Yadav, and Hiren Mewada; writing—original draft preparation, Mrugendrasinh Rahevar, Martin Parmar, and Hemant Yadav; writing—review and editing, Mrugendrasinh Rahevar, Martin Parmar, Hemant Yadav, Agbotiname Lucky Imoize, and Chun-Ta Li; supervision, Hiren Mewada; project administration, Agbotiname Lucky Imoize, and Chun-Ta Li; funding acquisition, Agbotiname Lucky Imoize, and Chun-Ta Li. All authors have read and agreed to the published version of the manuscript.

Availability of Data and Materials: The data and materials used in this study are available from the corresponding author upon reasonable request.

Ethics Approval: Not applicable. This study uses publicly available benchmark text-classification datasets and does not involve human participants, animal subjects, clinical intervention, or private personal data.

Conflicts of Interest: The authors declare no conflicts of interest.

References

1. Shor PW. Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM J Comput. 1997;26(5):1484–509. doi:10.1137/s0097539795293172. [Google Scholar] [CrossRef]

2. Grover LK. A fast quantum mechanical algorithm for database search. In: Proceedings of the 28th Annual ACM Symposium on Theory of Computing; 1996 May 22–24; Philadelphia, PA, USA. p. 212–9. [Google Scholar]

3. Preskill J. Quantum computing in the NISQ era and beyond. Quantum. 2018;2:79. [Google Scholar]

4. Bharti K, Cervera-Lierta A, Kyaw TH, Haug T, Alperin-Lea S, Anand A, et al. Noisy intermediate-scale quantum algorithms. Rev Mod Phys. 2022;94(1):015004. doi:10.1103/revmodphys.94.015004. [Google Scholar] [CrossRef]

5. Havlíček V, Córcoles AD, Temme K, Harrow AW, Kandala A, Chow JM, et al. Supervised learning with quantum-enhanced feature spaces. Nature. 2019;567(7747):209–12. [Google Scholar]

6. Schuld M, Killoran N. Quantum machine learning in feature Hilbert spaces. Phys Rev Lett. 2019;122(4):040504. doi:10.1103/physrevlett.122.040504. [Google Scholar] [CrossRef]

7. Schölkopf B, Smola AJ. Learning with kernels: support vector machines, regularization, optimization, and beyond. Cambridge, MA, USA: MIT Press; 2002. [Google Scholar]

8. Liu Y, Arunachalam S, Temme K. A rigorous and robust quantum speed-up in supervised machine learning. Nat Phys. 2021;17(9):1013–7. doi:10.1038/s41567-021-01287-z. [Google Scholar] [CrossRef]

9. Reimers N, Gurevych I. Sentence-BERT: sentence embeddings using Siamese BERT-networks. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing; 2019 Nov 3–7; Hong Kong, China. p. 3982–92. [Google Scholar]

10. Arute F, Arya K, Babbush R, Bacon D, Bardin JC, Barends R, et al. Quantum supremacy using a programmable superconducting processor. Nature. 2019;574(7779):505–10. doi:10.1038/s41586-019-1666-5. [Google Scholar] [CrossRef]

11. Kübler JM, Buchholz S, Schölkopf B. The inductive bias of quantum kernels. Adv Neural Inf Process Syst. 2021;34:12661–73. [Google Scholar]

12. Thanasilp S, Wang S, Cerezo M, Holmes Z. Exponential concentration in quantum kernel methods. Nat Commun. 2024;15(1):5200. doi:10.21203/rs.3.rs-2296310/v1. [Google Scholar] [CrossRef]

13. Meichanetzidis K, Toumi A, de Felice G, Coecke B. Grammar-aware question-answering on quantum computers. arXiv:2012.03756. 2020 [Google Scholar]

14. Lorenz R, Pearson A, Meichanetzidis K, Kartsaklis D, Coecke B. QNLP in practice: running compositional models of meaning on a quantum computer. J Artif Intell Res. 2023;76:1305–42. doi:10.1613/jair.1.14329. [Google Scholar] [CrossRef]

15. Huang HY, Broughton M, Mohseni M, Babbush R, Boixo S, Neven H, et al. Power of data in quantum machine learning. Nat Commun. 2021;12(1):2631. doi:10.1038/s41467-021-22539-9. [Google Scholar] [CrossRef]

16. Buhrman H, Cleve R, Watrous J, De Wolf R. Quantum fingerprinting. Phys Rev Lett. 2001;87(16):167902. doi:10.1103/physrevlett.87.167902. [Google Scholar] [CrossRef]

17. Bremner MJ, Montanaro A, Shepherd DJ. Average-case complexity versus approximate simulation of commuting quantum computations. Phys Rev Lett. 2016;117(8):080501. doi:10.1103/physrevlett.117.080501. [Google Scholar] [CrossRef]

18. Harrow AW, Montanaro A. Quantum computational supremacy. Nature. 2017;549(7671):203–9. doi:10.1038/nature23458. [Google Scholar] [CrossRef]

19. Hubregtsen T, Wierichs D, Gil-Fuster E, Derks PJH, Faehrmann PK, Meyer JJ. Training quantum embedding kernels on near-term quantum computers. Phys Rev A. 2022;106(4):042431. doi:10.1103/physreva.106.042431. [Google Scholar] [CrossRef]

20. Schuld M, Bergholm V, Gogolin C, Izaac J, Killoran N. Evaluating analytic gradients on quantum hardware. Phys Rev A. 2019;99(3):032331. doi:10.1103/physreva.99.032331. [Google Scholar] [CrossRef]

21. Lloyd S, Schuld M, Ijaz A, Izaac J, Killoran N. Quantum embeddings for machine learning. arXiv:2001.03622. 2020. [Google Scholar]

22. Glick JR, Sanchez E, Zhang S, Geraedts S, Barnes E, Economou SE. Covariant quantum kernels for data with group structure. Nat Phys. 2024;20(3):479–85. doi:10.1038/s41567-023-02340-9. [Google Scholar] [CrossRef]

23. Nausheen F, Ahmed K, Khan MI, Riaz F. Quantum natural language processing: a comprehensive review of models, methods, and applications. arXiv:2504.09909. 2025. [Google Scholar]

24. Mohammadisavadkoohi E, Shafiabady N, Vakilian J. A systematic review on quantum machine learning applications in classification. IEEE Trans Artif Intell. 2026;7(1):4–21. doi:10.1109/tai.2025.3567960. [Google Scholar] [CrossRef]

25. Romero J, Olson JP, Aspuru-Guzik A. Quantum autoencoders for efficient compression of quantum data. Quantum Sci Technol. 2017;2(4):045001. doi:10.1088/2058-9565/aa8072. [Google Scholar] [CrossRef]

26. Blance A, Spannowsky M. Quantum machine learning for particle physics using a variational quantum classifier. J High Energy Phys. 2021;2021(2):1–28. doi:10.1007/jhep02(2021)212. [Google Scholar] [CrossRef]

27. Jerbi S, Fiderer LJ, Nautrup HP, Kübler JM, Briegel HJ, Dunjko V. Quantum machine learning beyond kernel methods. Nat Commun. 2023;14(1):517. doi:10.1038/s41467-023-36159-y. [Google Scholar] [CrossRef]

28. Henderson M, Shakya S, Pradhan S, Cook T. Quanvolutional neural networks: powering image recognition with quantum circuits. Quantum Mach Intell. 2020;2(1):1–9. doi:10.1007/s42484-020-00012-y. [Google Scholar] [CrossRef]

29. Meyer JJ, Mularski M, Gil-Fuster E, Mele AA, Arzani F, Wilms J, et al. Exploiting symmetry in variational quantum machine learning. PRX Quantum. 2023;4(1):010328. doi:10.1103/prxquantum.4.010328. [Google Scholar] [CrossRef]

30. Shi X, Tian Y, Li Y, Jiang W, Fu L, Wu X, et al. Enhancing adversarial robustness of neural networks via quantum computing. Fut Gener Comput Syst. 2026;183(6245):108542. doi:10.1016/j.future.2026.108542. [Google Scholar] [CrossRef]

31. Goel A, Nair A, Chawla D, Singh Mehra P, Singh Rathore R, Jiang W. QSFedMA: quantum-secured authentication protocol for privacy-preserving federated IoMT. Softw Pract Exp. 2026;56(7):823–32. doi:10.1002/spe.70071. [Google Scholar] [CrossRef]

32. Tao R, Li Y, Zhao H. Quantum kernel methods for natural language processing. In: Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing; 2022 Dec 7–11; Abu Dhabi, United Arab Emirates. p. 1245–56. [Google Scholar]

33. McClean JR, Boixo S, Smelyanskiy VN, Babbush R, Neven H. Barren plateaus in quantum neural network training landscapes. Nat Commun. 2018;9(1):4812. doi:10.1038/s41467-018-07090-4. [Google Scholar] [CrossRef]

34. Du Y, Hsieh MH, Liu T, Tao D, Liu N. Learnability of quantum neural networks. PRX Quantum. 2022;3(4):040337. doi:10.1103/prxquantum.2.040337. [Google Scholar] [CrossRef]

35. Khosla P, Teterwak P, Wang C, Sarna A, Tian Y, Isola P, et al. Supervised contrastive learning. Adv Neural Inf Process Syst. 2020;33:18661–73. [Google Scholar]

36. Chen T, Kornblith S, Norouzi M, Hinton G. A simple framework for contrastive learning of visual representations. In: Proceedings of the International Conference on Machine Learning; 2020 Jul 12–18; Vienna, Austria. Cambridge, MA, USA: PMLR p. 1597–607. [Google Scholar]

37. Higham NJ. Computing the nearest correlation matrix—a problem from finance. IMA J Numer Anal. 2002;22(3):329–43. doi:10.1093/imanum/22.3.329. [Google Scholar] [CrossRef]

38. Socher R, Perelygin A, Wu J, Chuang J, Manning CD, Ng AY, et al. Recursive deep models for semantic compositionality over a sentiment treebank. In: Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing; 2013 Oct 18–21; Seattle, WA, USA. p. 1631–42. [Google Scholar]

39. Maas AL, Daly RE, Pham PT, Huang D, Ng AY, Potts C. Learning word vectors for sentiment analysis. In: Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics; 2011 Jun 19–21; Portland, OR, USA. p. 142–50. [Google Scholar]

40. Zhang X, Zhao J, LeCun Y. Character-level convolutional networks for text classification. Adv Neural Inf Process Syst. 2015;28:649–57. doi: 10.48550/arxiv.1509.01626. [Google Scholar] [CrossRef]

41. Voorhees EM, Tice DM. Building a question answering test collection. In: Proceedings of the 23rd Annual International ACM SIGIR Conference; 2000 Jul 24–28; Athens, Greece. p. 200–7. [Google Scholar]

42. Wilcoxon F. Individual comparisons by ranking methods. Biom Bull. 1945;1(6):80–3. doi:10.2307/3001968. [Google Scholar] [CrossRef]

43. McNemar Q. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika. 1947;12(2):153–7. doi:10.1007/bf02295996. [Google Scholar] [CrossRef]

44. Sanh V, Debut L, Chaumond J, Wolf T. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv:1910.01108. 2019. [Google Scholar]

45. IBM Quantum. IBM Quantum roadmap. 2024 [cited 2026 Jul 13]. Available from: https://www.ibm.com/quantum/roadmap. [Google Scholar]

46. Google AI Quantum. Quantum computing service. 2023 [cited 2026 Jul 13]. Available from: https://quantumai.google/. [Google Scholar]

47. Temme K, Bravyi S, Gambetta JM. Error mitigation for short-depth quantum circuits. Phys Rev Lett. 2017;119(18):180509. doi:10.1103/physrevlett.119.180509. [Google Scholar] [CrossRef]

48. Cristianini N, Shawe-Taylor J, Elisseeff A, Kandola J. On kernel-target alignment. Adv Neural Inf Process Syst. 2002;14:367–73. [Google Scholar]


Cite This Article

APA Style
Rahevar, M., Parmar, M., Yadav, H., Li, C., Imoize, A.L. et al. (2026). Quantum Kernels for Text Classification: A Statistical and Diagnostic Framework Revealing the Low-Data Regime. Computer Modeling in Engineering & Sciences, 148(2), 32. https://doi.org/10.32604/cmes.2026.085393
Vancouver Style
Rahevar M, Parmar M, Yadav H, Li C, Imoize AL, Mewada H. Quantum Kernels for Text Classification: A Statistical and Diagnostic Framework Revealing the Low-Data Regime. Comput Model Eng Sci. 2026;148(2):32. https://doi.org/10.32604/cmes.2026.085393
IEEE Style
M. Rahevar, M. Parmar, H. Yadav, C. Li, A. L. Imoize, and H. Mewada, “Quantum Kernels for Text Classification: A Statistical and Diagnostic Framework Revealing the Low-Data Regime,” Comput. Model. Eng. Sci., vol. 148, no. 2, pp. 32, 2026. https://doi.org/10.32604/cmes.2026.085393


cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 201

    View

  • 41

    Download

  • 0

    Like

Share Link