Manuscript Offprint
arXiv:2609.00475Fractal dimension predicts quantum kernel collapse in angle-encoded data
Abstract
Angle-encoded quantum kernels on tabular data collapse when the feature map is wider than the intrinsic dimension of the data. We propose the correlation fractal dimension as an priori qubit budget: encode coordinates chosen by FD-ASE instead of the PCA-95% width or all attributes. On nine data sets and a statevector simulator (), a one-layer ZZ fidelity kernel at stays geometrically alive while the same kernel at the PCA-95% width has already collapsed. The budget is map-dependent: product-state and IQP maps overshoot it; a second ZZ layer undershoots it. Packed dense-angle and re-uploading encodings still live at the fractal , but not when PCA-95% features are stacked onto those qubits. Shrinking the angle bandwidth moves the ZZ knee later; stretching it kills the kernel earlier. On IBM Quantum (ibm_fez, 256 shots, ) the one-layer ZZ kernel at the fractal width matches the exact kernel (MAE 0.021); past that width both hardware and simulator have collapsed. The ceiling is a property of the map-data pair at a stated bandwidth, not of the classical table alone.
Keywords: quantum kernels, intrinsic dimension, fractal dimension, FD-ASE, angle encoding, IBM Quantum
1 Introduction
Quantum kernel methods on tabular data face a problem that classical kernels do not: the circuit can collapse before the model has seen any label. A tabular data set is a matrix with records and measured attributes. In angle encoding each attribute becomes a rotation on one qubit, so encoding the full table spends qubits. As the number of qubits grows, the prepared states spread through an exponentially large Hilbert space, become nearly orthogonal, and the fidelity kernel
concentrates on the diagonal. At that point every downstream method that reads —kernel SVMs, kernel ridge regression, spectral clustering, one-class novelty detection, nearest-neighbour rules on fidelities—receives a matrix that is essentially the identity. It equally affects variational classifiers whose cost landscape depends on inner products in Hilbert space. The model no longer sees which points are similar and which are not; no training signal can recover geometry that the encoding has already erased.
This is not a theoretical curiosity. Thanasilp et al. [2024] proved that the concentration is exponential in the number of qubits for global feature maps. On breast cancer data (), a ZZ fidelity kernel is geometrically dead by four qubits. PCA at 95% variance asks for ten. The practitioner who follows the standard recipe—reduce with PCA until the circuit fits the chip—feeds the quantum model a kernel that has already collapsed.
The root cause is a mismatch between the circuit width and the data. The recorded width is an embedding dimension. The number of degrees of freedom of the support—a curve, a sheet, a fractal dust—is the intrinsic dimension, and it can be far smaller than . A circle sitting in still has one degree of freedom; eighteen axes are padding. The circuit does not know that. Every padded axis is an extra rotation, an extra factor in the inner product, and another step toward a diagonal .
Current practice already reduces until the circuit fits the chip: principal components, autoencoders, or a manual cut. Odagiu et al. [2025] recently proposed learning reduced representations for quantum classifiers, but the rank of a PCA truncation remains a hyperparameter, typically chosen by explained variance (often 95%) or by trying 4, 8, 16 qubits and looking at accuracy after the circuit has run. That order is backwards if the kernel has already collapsed at the that variance would pick. What is missing is an priori budget: a geometric estimate, computed classically on the data, of how many coordinates the feature map can still bear.
This paper supplies that budget from fractal geometry and asks a comparison that stays entirely on the quantum side: for the same family of angle maps, the same fidelity kernel, the same algorithms that read , is it better to encode the attributes selected by fractal dimension than to encode every attribute, the leading principal components, or random axes?
-
We define three diagnostics on (near, far, mean off-diagonal) and an operational alive rule, so that collapse is not confused with a lucky or unlucky SVM score at . The last width at which the rule still holds is the knee of the -sweep.
-
On nine data sets we compare with that knee, against the TwoNN estimator of Facco et al. [2017] and PCA-95% as rival ceilings, and we report the FD-ASE kernel at its selected width—not only the PCA view.
-
We test whether the ceiling is an artefact of one ZZ layer or of the default angle scale: product-state maps, a second ZZ layer, a linear IQP map [Shepherd and Bremner, 2009], packed dense-angle / re-uploading encodings [Pérez-Salinas et al., 2020], and a bandwidth sweep in the sense of Shaydulin and Wild [2022], Canatar et al. [2023].
-
A synthetic family with known width checks that recovers ; wine and diabetes are re-run at ; the alive floors are varied by ; and the knee is repeated over ten kernel samples.
-
On IBM Quantum we reconstruct the one-layer ZZ kernel at the fractal width and beyond it, and at we show that FD-ASE is the only selector that preserves the near/far geometry on the device.
2 Background
2.1 Intrinsic dimension and fractal geometry
The key insight of this paper is that the number of qubits should match the intrinsic dimension of the data, not its recorded width. Intuitively, the intrinsic dimension counts how many independent directions a data set actually uses. A helix in is a one-dimensional object: every small neighbourhood looks like a segment. A sheet folded inside has intrinsic dimension two, even though the recording instruments wrote one hundred columns. The remaining ninety-eight coordinates are redundant—they encode noise, correlations, or measurement padding.
Classical machine learning has long exploited this gap. Camastra and Vinciarelli [2002] showed that estimating intrinsic dimension before learning improves classifier design; nearest-neighbour rules, manifold learners, and kernel methods all degrade when the recorded width far exceeds the intrinsic one, a phenomenon at the core of the curse of dimensionality.
Three pictures separate from intrinsic dimension (ID). A circle in 20-D has and ID : one angle parametrises the signal, and the other eighteen coordinates are noise. A linear plane in 100-D has ID = 2, and PCA agrees because the support is a subspace. A Swiss roll has ID = 2 but needs three linear components in the embedding: variance along the roll is not the dimension of the sheet. Standardising a 1-D circle padded with Gaussian noise can make PCA-95% demand almost every axis, because each noise direction then has unit variance. Variance is not dimension of the support.
ID is not the number of classes, is not (except in the linear case) the rank of the covariance, and need not be an integer. Self-similar distributions—Cantor-like dusts, some cluster mixtures—have fractional dimension.
2.2 The correlation fractal dimension
Among the many estimators of intrinsic dimension, the correlation fractal dimension is especially well suited to tabular data. Introduced by Grassberger and Procaccia [1983] to characterise strange attractors, measures how the number of point pairs within distance scales as shrinks: . Mandelbrot [1982] established the broader framework of fractal geometry; Faloutsos and Kamel [1994] brought it into databases, showing that spatial data obey power laws whose exponent is ; and Belussi and Faloutsos [1995] used to estimate query selectivity in spatial indexes with the LiBOC box-count algorithm. Always , with equality only if the data fills the unit cube. A redundant axis barely raises : that invariance is the test that feature selection exploits.
The fit uses several scales , so is slower to treat local embedding noise as extra dimension than TwoNN. Facco et al. [2017] introduced TwoNN as a minimal-neighbourhood estimator that needs only the two nearest neighbours; it is fast, but at neighbour scale it can inflate the ID if the embedding noise is of that order. We estimate classically, once, on up to 4000 points—not on the subsample that enters the quantum kernel. Each column is scaled to the unit cube before the box-count. The fit uses eight dyadic scales and the slope of versus , discarding levels at which has already dropped to the occupancy floor (every point in its own cell).
2.3 FD-ASE: feature selection by fractal dimension
In data mining, has been used for feature selection, anomaly detection, and indexing cost estimation. Traina Jr. et al. [2000] proposed a fast feature selection method that uses the correlation fractal dimension—computed via a multi-resolution box-counting grid—to identify which attributes carry geometric information. de Sousa et al. [2002] extended that idea into the FD-ASE algorithm, which measures the partial fractal dimension of each attribute to detect correlations and rank attribute significance: it grows a subset by the attribute that most increases the partial dimension and stops when that partial dimension saturates, so . The saturation tolerance is . We fit FD-ASE on the same geometry sample used for , then encode those columns on the kernel sample.
The output is a set of original columns, not linear mixtures. That matters at encoding time: a qubit assigned to an FD-ASE coordinate rotates by a measured attribute; a qubit assigned to a principal component rotates by a blend of every attribute, padding included. for PCA is a hyperparameter (95% variance, or a round number of qubits); is read off the geometry.
2.4 Quantum feature maps and the fidelity kernel
All maps in this paper prepare a state from a real vector by rotations, optionally followed by entangling gates. Each coordinate is scaled independently to and then fed to the map.
Unless a section names , we use the usual scale . That min-max step equalises every included axis: a low-variance principal component is stretched to the same angular range as a signal component, so padding that has been selected into the map is as expensive in Hilbert space as the signal. Shaydulin and Wild [2022] identified as the kernel bandwidth and showed that shrinking it retards concentration; Canatar et al. [2023] showed that the same hyperparameter controls generalisation. The fractal ceiling in this paper is therefore a budget for a named map at a named , not a universal integer. The kernel is always the fidelity (1) of those states; we never train a variational classifier on the device.
map (product states). Each qubit is rotated by a function of the single coordinate ; there is no entangling gate. The prepared state is a product. Inner products therefore factor across qubits, and orthogonality can accumulate only as a product of single-qubit overlaps. We expect this map to concentrate more slowly as grows than an entangled map of the same width.
map. The construction of Havlíček et al. [2019] prepends Hadamards and then applies single-qubit rotations together with two-qubit interactions that depend on products of coordinates. One layer with linear (nearest-neighbour) entanglement is the default in the ceiling sweep and on hardware. A second layer repeats the diagonal block: more entanglement, a more expressive map, and—we will see—a kernel that is already geometrically dead at the fractal width.
IQP map. Instantaneous quantum polynomial circuits, introduced by Shepherd and Bremner [2009] and used as feature maps by Havlíček et al. [2019], apply Hadamards, then a diagonal of single-qubit phases and controlled phases on products . We use a linear skeleton of those controlled phases (adjacent pairs only), so the two-qubit cost stays comparable to linear . IQP is a second entangled family, not a packed encoding: still one coordinate per qubit.
Packed maps. Dense-angle encoding writes two angles on each qubit per layer. Data re-uploading, proposed by Pérez-Salinas et al. [2020], repeats a single-angle block so that extra coordinates share the same wires. These maps test a different objection: perhaps is only a one-feature-per-qubit counting rule, and PCA-95% could still be encoded if several components share a qubit. We keep fixed at the fractal ceiling and vary how many principal components are stacked onto those wires.
On a simulator the kernel is the exact statevector fidelity. On hardware we estimate the same number by compute-uncompute: prepare , apply , and read the probability of the all-zero bitstring. No classifier runs on the QPU; the device is used only to reconstruct .
2.5 Kernel diagnostics: near, far, alive, and the knee
Accuracy of a precomputed SVM at is a noisy score. It can jump when a support vector moves, and it can look healthy on a kernel that is already almost diagonal, or poor on a kernel that still has geometry. We therefore judge the quantum object— itself—before we look at downstream tasks.
Three numbers on one kernel. Write for Euclidean distance in the encoded coordinates (the principal components, FD-ASE columns, or whichever view the map sees), not in Hilbert space. Among the unordered pairs, let be the 20 pairs of smallest and the 20 pairs of largest (or fewer if is tiny). Then
Table 1: How to read near, far and alive on one sweep. Breast cancer, one-layer ZZ, PCA view, , , , , PCA-95% would encode 10. The kernel is alive only at ; that width is the knee of this curve.
| near | far | mean | alive? | |
|---|---|---|---|---|
| 2 | 0.49 | 0.34 | 0.30 | no (ratio < 2) |
| 0.27 | 0.12 | 0.14 | yes | |
| 4 | 0.11 | 0.07 | 0.07 | no |
| 8 | 0.00 | 0.01 | 0.00 | no |
Near asks: when two records are neighbours in the coordinates the circuit actually sees, are their quantum states still similar? Far asks the opposite: when two records are far apart in those coordinates, do the states still overlap? If the feature map respects the geometry of , neighbours should remain similar as states and distant points should not, so near should stand clearly above far.
The third diagnostic does not look at neighbours. The mean off-diagonal
is the average similarity of every distinct pair. When the prepared states become pairwise orthogonal, and is the identity for all practical purposes: every point looks equally unlike every other point, and a kernel method has nothing left to work with.
When is the kernel alive? A kernel is declared alive when three inequalities hold at once:
Each clause blocks a different failure mode. A large ratio with near is a ratio of two numerical zeros: the map has already concentrated, and dividing two tiny fidelities is not geometry. A large with near far is a kernel that still has mass off the diagonal but does not rank neighbours above strangers (two-layer ZZ at the fractal width fails this way; Section 6.7). A large near with cannot occur for long: if neighbours are similar, some off-diagonals are large. The numerical floors are operational, not a hypothesis test; they are held fixed for every data set, view, and map in this paper.
What we call the knee. Plot on the horizontal axis and any of the geometric diagnostics—or the binary alive bit—on the vertical axis. For a usable angle map the curve starts live at small and, as more coordinates (and therefore more qubits) enter the state, the prepared states become orthogonal and the diagnostics fall. The knee is that break: the largest at which (5) still holds, after which the kernel is dead. We also write last alive for the same integer. It is the number we compare with .
This is not the knee of a training-loss curve, nor the elbow of a clustering scree plot. Nothing is being optimised against . The sweep only asks how wide a feature map can be before stops seeing the shape of the data.
Table 1 is a worked reading on breast cancer (one-layer ZZ, PCA view, ). At the mean of is still high (0.30), but near 0.49 and far 0.34 give a ratio below 2: neighbours and strangers look too alike, so the kernel is not alive. At all three clauses pass (near 0.27, far 0.12, ). At they all fail: near has dropped to 0.11, the ratio is again below 2, and is sliding toward a diagonal kernel. By nothing remains off the diagonal. The knee is . PCA-95% would encode , well past the break.
If a classical RBF kernel on the same coordinates stays alive while the fidelity kernel dies, the collapse is of the quantum feature map, not of the classical curse of dimensionality on those axes. Conversely, downstream QML scores (fidelity kNN, precomputed SVM F1, kernel-label alignment) are reported as consequences of a live or dead K, not as the definition of the knee.
3 Related work
Quantum kernels and concentration. Havlíček et al. [2019] introduced the ZZ feature map with one qubit per coordinate. Schuld and Killoran [2019] showed that feature-map circuits define an implicit kernel in Hilbert space, and Schuld [2021] established that supervised quantum models are, in general, kernel methods. Thanasilp et al. [2024] proved that the fidelity kernel of global feature maps concentrates exponentially in the number of qubits. Kübler et al. [2021] related the inductive bias of quantum kernels to the dimension of the encoding space. Huang et al. [2021] showed that quantum advantage in kernel methods depends on the data encoding, and Agliardi et al. [2025] proposed covariant kernels and subspace restrictions to slow concentration. Shaydulin and Wild [2022] and Canatar et al. [2023] showed that rescaling the encoded angles—the kernel bandwidth—can delay concentration and restore generalisation as q grows. Abbas et al. [2021] defined an effective dimension for quantum models from the Fisher information: a property of the model, not of the support of X. Gil-Fuster et al. [2024] argued that uniform generalisation bounds are the wrong language for current QML. None of these works use an intrinsic dimension estimator of the data as an a priori qubit budget.
Dimensionality reduction for QML. Odagiu et al. [2025] learned reduced representations for quantum classifiers via autoencoders; their qubit count is still chosen by trial or by PCA variance thresholds.
Fractal dimension in data mining. The tools we rely on originate in the data-mining group of Traina, Faloutsos and collaborators. Traina Jr. et al. [2000] proposed a fast feature selection method that uses the correlation fractal dimension —computed via a multi-resolution box-counting grid—to identify which attributes carry geometric information. de Sousa et al. [2002] extended that idea into the FD-ASE algorithm, which measures the partial fractal dimension of each attribute to detect correlations and rank attribute significance. These tools were later combined with density-biased sampling in BBS [Appel et al., 2007a,b]. Those fractal tools have not previously been used to budget quantum encodings: we use to set the qubit ceiling and FD-ASE to choose which original columns to encode.
4 Proposed method
We propose a two-step a priori qubit budget for angle-encoded quantum kernels on tabular data:
-
How many qubits. Compute on the classical data (up to 4000 rows, eight resolution levels, unit-cube columns). The qubit ceiling is .
-
Which coordinates. Run FD-ASE on the same data. If it returns at least two attributes, encode those original columns. Otherwise fall back to the first principal components.
The comparison that tests this budget stays entirely on the quantum side:
For the same QML model—the same family of angle maps, the same fidelity kernel, the same algorithms that read —is it better to encode the attributes selected by fractal dimension than to encode every attribute, the leading principal components, or random axes?
Table 2: What this paper runs. “Better” means the quantum kernel stays geometrically usable, not that QSVM beats SVM.
| Layer | This paper |
|---|---|
| Feature maps (simulator) | ZZ, one layer (ceiling sweep); ZZ, two layers; Z (product states); linear IQP; packed dense-angle and data re-uploading |
| Kernel | (statevector; on IBM: compute-uncompute, one-layer ZZ only) |
| QML on (simulator, ) | precomputed SVM (QSVM-style), fidelity NN, spectral clustering, one-class SVM, kernel ridge |
| Classical control | RBF kernel on the same coordinates |
| Feature views | FD-ASE columns; first PCs (sweep and PCA-95%); prefix / full table; random columns |
| Hardware | one-layer ZZ kernel, shots; no classifier on the QPU; Z, IQP, two-layer ZZ, dense-angle and re-uploading not run on device (Section 6.7) |
| Not used | a trained VQC; amplitude encoding; QSVM vs SVM as the research question |
The distinction from PCA is important. PCA returns linear mixtures of all original axes, ranked by explained variance. Each principal component blends signal with padding; one qubit then encodes a mixture that may include irrelevant directions. FD-ASE, by contrast, selects a subset of the original columns—each qubit encodes a single, interpretable measurement. The claim is not that fractal geometry is a universal preprocessor. It is that, on the feature maps we actually run, the fractal width is where the quantum kernel remains usable, and the PCA-95% width is often where it is already dead.
5 Experimental protocol
Table 2 summarises the stack. Two reductions must not be confused. cuts qubits: how many coordinates enter the map. The small on the QPU cuts rows: how many points we can kernelise when each pair is a circuit. The scientific claim is the first cut. The second is a hardware constraint; we do not claim that fewer training points work better.
5.1 Data sets and the two samples
Nine data sets cover synthetic low-ID embeddings (a 2-D signal in 20-D, two interleaving moons padded to 20-D), standard UCI-style tables (iris, breast cancer, wine, diabetes), image-like digits, pendigits, and a trivial clustered control (OneBig). For each data set we draw two independent subsamples. The geometry sample has up to 4000 rows and is used only classically: LiBOC box-count [Traina Jr. et al., 2000] with eight resolution levels, TwoNN [Facco et al., 2017], and the number of principal components that explain 95% of variance after standardisation. The kernel sample has rows by default, drawn with a disjoint random stream, and is the only matrix that enters a quantum circuit. Splitting the two samples avoids estimating on the same tiny set that we then kernelise. The diagnostic is held fixed so that the nine data sets, the map ablation and the packed encodings remain comparable; it is not a claim that 32 is the right sample size. Wine and diabetes, which concentrate before the ceiling at , are repeated at (Section 6.5). Labels are used solely for the downstream scores and for a stratified 70/30 split of those kernel points; and FD-ASE are unsupervised.
5.2 Views, widths, and maps
At each integer (capped by and by ) we build four classical views of the kernel sample: the first principal components; random original columns; the prefix of recorded columns; and, when FD-ASE [de Sousa et al., 2002] returns at least two attributes on the geometry sample, that selected subset (its width is fixed by the algorithm, not swept). Each view is encoded with the one-layer linear ZZ map at , and—on the same coordinates—with a Gaussian RBF kernel as control. Packed encodings (Section 6.6) keep and vary the number of principal components stacked onto those qubits, on breast, moons and pendigits. The map ablation (Section 6.7) keeps the PCA view and , and replaces the one-layer ZZ map by , two-layer ZZ, or linear IQP, sweeping to 8 on breast, moons, iris and pendigits. The bandwidth sweep (Section 6.3) keeps that ZZ map and varies . A synthetic family with known width (Section 6.4) asks whether recovers and whether the ZZ knee follows . For each map we report the knee of that sweep (Section 2.5).
5.3 Hardware
Hardware jobs use the IBM Quantum processor ibm_fez (Open plan, 256 shots). With there are 28 unordered pairs and therefore 28 compute-uncompute circuits per job. We reconstruct for a one-layer linear ZZ map on: isotropic blobs at and ; breast principal components at and ; FD-ASE columns on the same eight breast rows (); and three random breast columns on those rows. The eight breast rows are a subset of the simulator's kernel sample, so the device is asked to implement the same map on the same points, not a new draw. Classifiers from Table 2 are not executed on the QPU. Wall-clock was 36–48 s per job with an empty queue. We send a map to the device only when the simulator knee sits next to (last alive , and the map does die before ). Product-state , two-layer ZZ and IQP fail that gate (Section 6.7); they stay on the simulator.
Code and data. Simulator scripts, CSVs and figures are in the companion repository qml-qubit-budget; and FD-ASE are in bbs. Both are private during review and will be released with the camera-ready version. The nine tables are public (UCI / scikit-learn / pendigits).
6 Results
6.1 Simulator: the ceiling
Table 3 reports, for each data set, , , the proposed ceiling, the that PCA-95% would encode, and the knee—the last alive on the PCA view of the one-layer ZZ fidelity kernel (), in the sense of Section 2.5. Figure 1 plots those rival ceilings against that knee. The panel shares scale with the knee; PCA-95% is allowed its own horizontal axis so that digits () does not squash breast ().
Encoding as in QML-practice PCA kills the kernel where the fractal keeps it alive (Figure 1, right panel vs. left). Breast (Figure 2, Table 1): PCA-95% asks for 10 qubits; fidelity has already collapsed at , while at —the knee—the same QSVM, kNN and alignment still see geometry. Moons / intrinsic2: PCA asks for 19; the angle map lives at 2-3. Pendigits sits next to the fractal ceiling (5 vs. 6), not at 10 or 16. On breast the random-column view of the fidelity kernel does not sustain the alive rule in the sweep—random axes are not a substitute for FD-ASE there.
Honest failures: OneBig (trivial clusters, the kernel lives past ); wine and diabetes (high ID, concentrates before the ceiling); digits (, box-count on the floor—do not trust a grid estimator when ). TwoNN inflates moons / intrinsic2 to because it sees the 18 noise axes at neighbour scale; does not.
Table 3: Quantum-versus-quantum ceilings. The last column is the knee of the PCA view of the one-layer ZZ fidelity kernel: the last at which is still alive (Section 2.5).
| data set | PCA-95% | knee | |||
|---|---|---|---|---|---|
| intrinsic2 | 20 | 0.72 | 2 | 19 | 3 |
| moons | 20 | 0.72 | 2 | 19 | 3 |
| iris | 4 | 1.92 | 2 | 2 | 3 |
| breast | 30 | 2.49 | 3 | 10 | 3 |
| diabetes | 10 | 5.82 | 6 | 8 | 3 |
| wine | 13 | 6.48 | 7 | 10 | 2 |
| digits | 64 | 0.91 | 2 | 40 | 4 |
| pendigits | 16 | 5.35 | 6 | 10 | 5 |
| onebig | 8 | 2.27 | 3 | 8 | 7 |
Proposed ceiling vs observed kernel knee


Figure 1: A point on the dotted line means the proposed ceiling equals the knee of the fidelity kernel (PCA view, one-layer ZZ, ; knee = last alive , Section 2.5). Left: sits next to that knee (breast on the line at 3; pendigits 6 vs. 5). Centre: TwoNN [Facco et al., 2017] overshoots moons/intrinsic2 () because it treats embedding noise as extra dimension. Right: PCA-95% asks for 10–40 qubits while the kernel has already died at —that panel has its own -axis so the live knees (2–7) remain visible. Outliers we report as failures: onebig (kernel lives past the ceiling), wine/diabetes (high ID, dies early), digits (unreliable box-count).
6.2 FD-ASE at its selected width
Table 4 reports the one-layer ZZ kernel on the columns that FD-ASE selects from the geometry sample, encoded on the same kernel sample as the PCA sweep. This is the second step of the proposed method, which Table 3 does not test.
On iris, diabetes and OneBig the selected subset is alive. On breast the algorithm returns four original columns—one above —and the kernel fails the ratio clause (near 0.083, far 0.074). That is consistent with the hardware job, where the same columns still rank neighbours above strangers (ratio 2.1) but do not pass the full alive rule. On wine and pendigits FD-ASE returns eight columns, past the ZZ knee, and the kernel is dead. Intrinsic2 and moons have no FD-ASE subset: after padding with independent noise the partial dimension never saturates on a small original-column basis. The honest reading is that is the qubit budget; FD-ASE is a selector of original columns that realises that budget when it returns a short subset, not a guarantee that every selected subset is alive.
breast: , ceiling (dotted), PCA-95%=10 (dashed)

Figure 2: Breast cancer (, ). Dotted vertical: fractal budget . Grey dashed: PCA-95% (). Solid lines: fidelity kernel (the QML object). Dashed lines: classical RBF on the same coordinates (control). Mean off-diagonal (top centre): every fidelity curve falls toward 0 as grows—states become orthogonal; RBF does not, so this is the feature map, not classical high dimension. near/far, kNN, SVM F1: on the PCA view of the fidelity kernel the usable geometry and the QML scores peak at the knee and degrade past it. Alignment falls with . KRR is noisy at ; we do not hang the claim on it. The practical reading: encoding 3 PCs (the fractal width) keeps a live quantum kernel and a working kNN/SVM on that kernel; encoding 10 PCs, as QML-practice PCA would, feeds those same algorithms a kernel that is already diagonal.
6.3 Bandwidth
The default map scales each included coordinate to . Figure 3 and Table 5 repeat the PCA -sweep at . On breast, has knee ; stays at 3; lives through ; has no knee in . Moons and pendigits show the same monotone: shrinking moves the knee later, stretching it kills the kernel earlier. A critic who says “PCA-95% would live if you tuned the bandwidth” is right that can buy extra qubits, and wrong that this removes the budget. Tuning changes the map, so the integer must be quoted together with . At the ZZ scale used in practice (), the knee still sits next to the fractal width on these three data sets.
6.4 Synthetic width k
To isolate intrinsic width from the idiosyncrasies of UCI tables we generate independent coordinates in , embed them in with null padding, and estimate on rows. Table 6 shows that box-count recovers (0.95 at through 7.28 at ) and that PCA-95% equals . The one-layer ZZ knee on the prefix view, at and , does not follow : once the kernel dies at , the same window as wine and diabetes. Two independent full-range axes remain alive even with extra constant qubits (knee 8 at ). The estimator sees the geometry; the map cannot encode more than a handful of full-range angles at this and . That is the scope condition already visible on high-ID tables, now with a known .
Table 4: FD-ASE view, one-layer ZZ, . A dash means FD-ASE did not return at least two columns. PCA knee is from Table 3.
| data | PCA knee | FD-ASE | near | ratio | alive | |
|---|---|---|---|---|---|---|
| intrinsic2 | 2 | 3 | — | — | — | — |
| moons | 2 | 3 | — | — | — | — |
| iris | 2 | 3 | 3 | 0.43 | 4.5 | yes |
| breast | 3 | 3 | 4 | 0.08 | 1.1 | no |
| diabetes | 6 | 3 | 2 | 0.98 | 3.1 | yes |
| wine | 7 | 2 | 8 | 0.01 | 1.8 | no |
| digits | 2 | 4 | 2 | 0.80 | 1.7 | no |
| pendigits | 6 | 5 | 8 | 0.04 | 22.8 | no |
| onebig | 3 | 7 | 4 | 0.75 | 11.0 | yes |
Table 5: Last alive versus bandwidth (PCA view, one-layer ZZ, ). A dash means the alive rule never held.
| data | |||||
|---|---|---|---|---|---|
| breast | 3 | 6 | 3 | 3 | — |
| moons | 2 | 4 | 3 | 3 | 2 |
| pendigits | 6 | 8 | 6 | 5 | — |
6.5 Robustness: seeds, floors, and
The knee is an integer read from one kernel sample. Ten independent draws of the sample, PCA view, one-layer ZZ, , give a median last-alive of 3 on both breast and moons (Figure 4). Breast ranges from 2 to 4 (two draws have no knee); moons ranges from 2 to 3. The default breast result is the median, not a singleton.
Re-scoring the existing PCA/fidelity diagnostics with the three alive floors multiplied by 0.5 or 1.5 leaves the breast, moons, pendigits and intrinsic2 knees unchanged at the default (0.25, 2, 0.03) and at a 50% lower mean floor. Raising the near floor to 0.38 or the ratio floor to 3 can shift the knee by one qubit or, on breast, declare no knee. The rule is operational, as stated; it is not invisible to its constants.
Wine and diabetes concentrate before at . Repeating the PCA sweep at moves the wine knee from 2 to 4 and the diabetes knee from 3 to 5 (ceilings 7 and 6). Larger helps; it does not take those two tables to the fractal width. The synthetic -sweep (Section 6.4) already showed why: at the one-layer ZZ map dies around three full-range coordinates even when is large.
6.6 Packed encodings: more than one attribute per qubit
The ceiling sweep used a one-layer ZZ map (one coordinate per qubit). Dense-angle and re-uploading [Pérez-Salinas et al., 2020] were tested on the statevector simulator only (; breast, moons, pendigits). The objection they answer is whether one could still encode PCA-95%, only stacked onto wires. Figure 5 and Table 7 test that.
Each bar is the mean off-diagonal of (). Teal: the kernel still passes the alive rule. Grey: it does not. The dotted line is the 0.03 floor. On breast and moons, ZZ at the fractal is alive; ZZ well beyond it is dead (first two bars). Dense-angle and re-uploading at that same , with two PCA coordinates per qubit, stay teal—so is a qubit budget, not a one-to-one accounting rule. The last bar packs toward PCA-95% onto those qubits (12 PCs on 3 breast qubits; 16 PCs on 2 moons qubits) and turns grey; on moons near/far drops below 1 (geometry inverted: distant points look more similar than neighbours). Verdict: working at the fractal width is better than encoding the PCA-95% (or full) width; one cannot recover that extra width by
Bandwidth : angles in ; open markers fail alive

Figure 3: Mean off-diagonal of versus at four bandwidths. Dotted vertical: . Dashed horizontal: the 0.03 alive floor. Open markers fail the alive rule. Smaller (angles in ) delays collapse; is the default ZZ scale.
Table 6: Synthetic -width in . Knee: last alive of one-layer ZZ on the prefix view, , .
| PCA-95% | knee | |||
|---|---|---|---|---|
| 1 | 0.95 | 2 | 1 | — |
| 2 | 1.83 | 2 | 2 | 8 |
| 3 | 2.63 | 3 | 3 | 3 |
| 4 | 3.65 | 4 | 4 | 2 |
| 5 | 4.89 | 5 | 5 | 2 |
| 6 | 5.79 | 6 | 6 | 3 |
| 7 | 6.56 | 7 | 7 | 3 |
| 8 | 7.28 | 8 | 8 | 2 |
stacking it onto qubits.
6.7 Feature-map ablation: does the ceiling follow the map?
If were only a count of recorded columns, every angle map of width should fail at the same . Figure 6 and Table 8 keep the PCA view and , and change the map: one-layer ZZ (the ceiling sweep), two-layer ZZ, product-state , and linear IQP [Shepherd and Bremner, 2009]. Open markers are widths that fail the alive rule. We run four data sets: breast (), moons (2), iris (2), and pendigits (6).
The one-layer ZZ knee tracks the fractal ceiling on every data set: breast dies after , moons after , iris after , pendigits after (one below ). A second ZZ layer either matches the one-layer knee (iris at 2, pendigits at 5) or has no knee at all (breast and moons: the alive rule never holds in ). At breast , two-layer ZZ still has mean off-diagonal 0.17, but near 0.25 and far 0.22—neighbours are no longer twice as similar as strangers. Extra diagonal entanglement flattens the geometry at the fractal width; it does not buy a wider live kernel.
The product-state map is the opposite: on breast it remains alive through , on pendigits through . Without entanglement, orthogonality accumulates only as a product of single-qubit overlaps, so the Hilbert-space width can exceed for a while. Linear IQP sits in between (last alive on breast, on moons and iris, on pendigits).
The pattern is consistent across four data sets with ranging from 2 to 6: the fractal number is a budget for the map we actually intend to run, not a universal integer that every circuit must hit. For the entangled ZZ layer used in QML practice and on our IBM jobs, that budget is tight. We therefore do not spend QPU time on , two-layer ZZ, or IQP: their simulator knees do not sit next to , which was the gate for a hardware confirmation.

Figure 4: Last alive over ten kernel samples (, PCA, one-layer ZZ, ). Median 3 on both breast and moons.
Table 7: Packed encodings, , PCA coordinates.
| data | encoding | feats | mean | alive | |
|---|---|---|---|---|---|
| breast | ZZ 1:1 | 3 | 3 | 0.139 | yes |
| breast | ZZ 1:1 | 7 | 7 | 0.008 | no |
| breast | dense-angle | 3 | 6 | 0.360 | yes |
| breast | re-upload | 3 | 6 | 0.305 | yes |
| breast | re-upload | 3 | 12 | 0.165 | no |
| moons | ZZ 1:1 | 2 | 2 | 0.246 | yes |
| moons | re-upload | 2 | 16 | 0.266 | no |
| pendigits | ZZ 1:1 | 6 | 6 | 0.023 | no |
| pendigits | dense-angle | 6 | 12 | 0.073 | yes |
6.8 Hardware validation
Nine Sampler jobs on ibm_fez (30 August 2026), one-layer ZZ map, linear entanglement, 256 shots. Six jobs use (28 compute-uncompute circuits); three use (120 circuits) to bring the sample size into the range where near/far can be scored. With 256 shots the sampling floor on a single probability is ; several MAEs in Table 9 sit on that floor, so we do not interpret a residual as device error beyond shot noise. No readout mitigation is applied. The classifiers of Table 2 are not executed on the QPU: hardware only estimates .
On breast, PCA is the geometrically structured kernel at in simulation; on device, with , hardware still reproduces it (MAE 0.021; off-diagonals 0.082 vs. 0.081). FD-ASE original columns (, indices 27, 21, 9, 8) match even more tightly (MAE 0.012). A random triple (15, 18, 23) is not collapsed (mean off-diagonal 0.16) but cannot support the near/far alive rule—the PCA subsample fails it too. At the exact kernel has already concentrated; hardware agrees (MAE 0.003 because both sides are near zero). The ceiling is therefore a property of the feature map, not of the simulator. Blobs show the milder trend: raising from 5 to 7 drops off-diagonals on both sides, with a larger MAE from shot noise on a still-structured .
Selector comparison at . The jobs show that the device reproduces the exact kernel, but pairs are too few for the near/far diagnostic (only a handful of pairs in each bin). To test whether FD-ASE columns outperform PCA and random columns on the device, we run three additional jobs with (120 compute-uncompute circuits each), all on the same breast cancer rows: PCA at , FD-ASE at , and three random columns at .
Packed encodings: alive bars in teal (simulator)

Figure 5: Packed encodings, simulator, . : mean off-diagonal of the fidelity kernel (higher = less collapsed). Teal: alive. Grey: dead. Dotted: 0.03 threshold. Left to right in each panel: ZZ at ; ZZ beyond it; dense-angle / re-upload of a few extra PCs on the fractal ; re-upload of a PCA-95%-scale feature count on that . The last of those is grey: stacking extra coordinates onto fewer qubits is not a workaround.
Table 8: Last alive (the knee) on the PCA view, . A dash means the alive rule never held in , so that map has no knee in the sweep.
| data | ZZ (1 layer) | ZZ (2 layers) | Z | IQP | |
|---|---|---|---|---|---|
| breast | 3 | 3 | — | 6 | 5 |
| moons | 2 | 3 | — | 4 | 4 |
| iris | 2 | 3 | 2 | 4 | 4 |
| pendigits | 6 | 5 | 5 | 7 | 7 |
Table 10 reports the result. The absolute fidelities are low—the kernel is concentrated—so none of the three views passes the full alive rule. But the near/far ratio discriminates clearly. FD-ASE is the only view on which the hardware kernel still ranks neighbours above strangers (ratio 2.1 on device, 1.5 on statevector); PCA inverts the ordering (ratio 0.8) and random columns invert it more strongly (ratio 0.5). Hardware tracks the simulator in every case (MAE 0.023–0.034).
The reading is that the fractal selector preserves the local geometry of the data even after the QPU has estimated the kernel; PCA and random columns do not. This is the comparison that the jobs could not make, and it supports the claim that FD-ASE is a better choice of coordinates than PCA or random axes for the one-layer ZZ kernel on breast cancer data.
7 Conclusion
The question was whether fractal geometry helps encodings in QML, and whether that means “use fewer points”.
Fewer qubits, yes—for the entangled ZZ layer used in practice. Encoding at keeps that fidelity kernel geometrically alive. Encoding the PCA-95% width or all attributes feeds QSVM, fidelity kNN, spectral clustering, one-class SVM and KRR a kernel that has already collapsed (breast: live at 3, dead by 4–10; moons: live at 2–3, PCA would encode 19). FD-ASE [de Sousa et al., 2002] names original columns that realise that width. On the simulator, two attributes per qubit still work at the fractal ; pouring PCA-95% into those qubits does not.
The integer is map-dependent, and bandwidth is part of the map. A second ZZ layer is already dead at . Product-state and linear IQP live past it (breast: last alive 6 and 5). Shrinking the angle scale to buys extra live qubits (breast knee 6); stretching to kills the kernel at every we tried. We treat those as scope conditions, not as a reason to ignore on the map and scale one actually runs.
Fewer data points, no—that was not the test. is estimated on up to 4000 classical
Feature-map ablation (PCA view). Open markers: not alive.

Figure 6: Feature-map ablation, PCA view, n = 32. Y: mean off-diagonal of K. Dotted vertical: . Dashed vertical: PCA-95%. Open markers fail the alive rule. One-layer ZZ dies at the fractal width on breast; two-layer ZZ is already dead there; Z and IQP decay more slowly and overshoot .
Table 9: Hardware versus exact statevector. Off-diag. = mean of K off the diagonal.
| job | q | MAE | off-diag HW | off-diag SV |
|---|---|---|---|---|
| blobs | 5 | 0.077 | 0.234 | 0.315 |
| blobs | 7 | 0.054 | 0.142 | 0.202 |
| breast PCA | 3 | 0.021 | 0.082 | 0.081 |
| breast PCA | 7 | 0.003 | 0.004 | 0.003 |
| breast FD-ASE | 4 | 0.012 | 0.065 | 0.068 |
| breast random | 3 | 0.030 | 0.164 | 0.166 |
rows. The QML kernel uses on the simulator as a common diagnostic, not because 32 is optimal. Wine and diabetes move from knees 2 and 3 at to 4 and 5 at , still short of their fractal ceilings. On IBM, is enough to see that is implemented faithfully and is already diagonal.
What IBM adds. The ceiling of the one-layer ZZ map is a property of the feature map, not of the simulator: hardware matches the live at the fractal width (MAE 0.012–0.021) and the dead beyond it. At , where near/far can be scored, FD-ASE is the only view on which the device kernel still ranks neighbours above strangers (ratio 2.1); PCA and random columns invert the ordering.
The ablation is robust. Across four data sets with ranging from 2 (iris, moons) to 6 (pendigits), the one-layer ZZ knee at tracks the fractal ceiling (Table 8). Ten kernel samples put the breast and moons medians at . A synthetic -sweep shows that recovers known width, while the ZZ map at still dies near three full-range coordinates when is large. The budget is a property of the map-data-bandwidth triple, and for the entangled ZZ layer used in practice at it is tight on low-ID tables.
Limitations. Box-count needs sample size and several scales; a few dozen points are not enough. FD-ASE selects original columns: if the signal lives only along an oblique direction, PCA may be the right selector, and the protocol must report that. The alive rule is operational, not a hypothesis test. Amplitude encoding ( qubits) and projected kernels [Huang et al., 2021, Agliardi et al., 2025] change how is evaluated, not which coordinates enter the map. The fractal ceiling is tight for one-layer ZZ at and loose for product-state or for ; quoting without naming the map and the bandwidth would overclaim. Hardware here is and , one backend, 256 shots, no error mitigation, and only the map whose simulator knee tracks . The selector comparison is on one data set (breast). FD-ASE is not alive on every table at ; it is a column selector, not a second ceiling.

Figure 7: IBM ibm_fez, 256 shots, n = 8. Left: MAE of the measured kernel versus the exact statevector—how faithfully the device implements the map. Right: mean off-diagonal on hardware (blue) vs. simulator (orange). Breast PCA at q = 3 and FD-ASE at q = 4 have low MAE and a non-zero kernel; at q = 7 both bars sit on the floor: the collapse is already in the exact K, the QPU is not adding it. Random q = 3 has higher mean K (not collapsed) but n = 8 is too small to score near/far; that comparison belongs to the n = 32 simulator.


Figure 8: Breast PCA fidelity kernels on ibm_fez, n = 8 points (8 × 8 matrices). Each trio is hardware K, exact K, absolute difference. Left (q = 3 = ): off-diagonal structure is visible and the two left panels agree (MAE 0.021). Right (q = 7, past the ceiling): both K are essentially the identity (almost all mass on the diagonal)—the QML algorithms of Table 2 would see eight nearly orthogonal states. This is the hardware reading of “fewer qubits is better for this encoding”: not a smaller sample, a kernel that is not yet dead.
References
Amira Abbas, David Sutter, Christa Zoufal, Aurelien Lucchi, Alessio Figalli, and Stefan Woerner. The power of quantum neural networks. Nature Computational Science, 1:403–409, 2021. doi:10.1038/s43588-021-00084-1.
Gabriele Agliardi, G. Cortiana, Anton Dekusar, Kumar Ghosh, Naeimeh Mohseni, Corey O'Meara, Víctor Valls, Kavitha Yogaraj, and Sergiy Zhuk. Mitigating exponential concentration in covariant quantum kernels for subspace and real-world data. npj Quantum Information, 2025. doi: 10.1038/s41534-025-01154-2.
Ana Paula Appel, Adriano A. Paterlini, Elaine P. M. de Sousa, Agma J. M. Traina, and Caetano Traina Jr. A density-biased sampling technique to improve cluster representativeness. In Knowledge Discovery in Databases: PKDD 2007, volume 4702 of LNCS, pages 366–373. Springer, 2007a. doi: 10.1007/978-3-540-74976-9_35.
Ana Paula Appel, Adriano Arantes Paterlini, Elaine P. M. de Sousa, Caetano Traina Jr., and Agma J. M. Traina. Biased box sampling — a density-biased sampling for clustering. In Proceedings of the 2007 ACM Symposium on Applied Computing (SAC), pages 445–446, Seoul, Korea, 2007b. ACM. doi: 10.1145/1244002.1244105.
Table 10: Selector comparison on hardware, , one-layer ZZ. FD-ASE is the only view where near (ratio ).
| view | q | MAE | near | far | ratio | mean K |
|---|---|---|---|---|---|---|
| PCA | 3 | 0.027 | 0.098 | 0.116 | 0.8 | 0.118 |
| FD-ASE | 4 | 0.023 | 0.106 | 0.050 | 2.1 | 0.063 |
| random | 3 | 0.034 | 0.084 | 0.162 | 0.5 | 0.133 |
Alberto Belussi and Christos Faloutsos. Estimating the selectivity of spatial queries using the ‘correlation’ fractal dimension. Proceedings of VLDB, pages 299–310, 1995.
Francesco Camastra and Alessandro Vinciarelli. Estimating the intrinsic dimension of data with a fractal-based method. IEEE Transactions on Pattern Analysis and Machine Intelligence, 24 (10):1404–1407, 2002. doi: 10.1109/TPAMI.2002.1039212.
Abdulkadir Canatar, Evan Peters, Cengiz Pehlevan, Stefan M. Wild, and Ruslan Shaydulin. Bandwidth enables generalization in quantum kernel models. Transactions on Machine Learning Research, 2023.
Elaine Parros Machado de Sousa, Caetano Traina Jr., Agma J. M. Traina, and Christos Faloutsos. How to use the fractal dimension to find correlations between attributes. In First Workshop on Fractals and Self-similarity in Data Mining (in conjunction with ACM SIGKDD), pages 26–30, Edmonton, Canada, 2002. ACM.
Elena Facco, Maria d’Errico, Alex Rodriguez, and Alessandro Laio. Estimating the intrinsic dimension of datasets by a minimal neighborhood information. Scientific Reports, 7:12140, 2017. doi: 10.1038/s41598-017-11873-y.
Christos Faloutsos and Ibrahim Kamel. Beyond uniformity and independence: Analysis of R-trees using the concept of fractal dimension. In Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS), pages 4–13. ACM, 1994. doi: 10.1145/182591.182593.
Elies Gil-Fuster, Jens Eisert, and Carlos Bravo-Prieto. Understanding quantum machine learning also requires rethinking generalization. Nature Communications, 15:2277, 2024. doi: 10.1038/s41467-024-45882-z.
Peter Grassberger and Itamar Procaccia. Characterization of strange attractors. Physical Review Letters, 50(5):346–349, 1983. doi: 10.1103/PhysRevLett.50.346.
Vojtěch Havlíček, 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, 567:209–212, 2019. doi: 10.1038/s41586-019-0980-2.
Hsin-Yuan Huang, Michael Broughton, Masoud Mohseni, Ryan Babbush, Sergio Boixo, Hartmut Neven, and Jarrod R. McClean. Power of data in quantum machine learning. Nature Communications, 12:2631, 2021. doi: 10.1038/s41467-021-22539-9.
Jonas M. Kübler, Simon Buchholz, and Bernhard Schölkopf. The inductive bias of quantum kernels. In Advances in Neural Information Processing Systems, volume 34, pages 12661–12673, 2021.
Benoit B. Mandelbrot. The Fractal Geometry of Nature. W. H. Freeman, 1982.
Patrick Odagiu, Vasilis Belis, and Günther Dissertori. Learning reduced representations for quantum classifiers. Quantum Machine Intelligence, 7:113, 2025. doi: 10.1007/s42484-025-00331-y.
Adrián Pérez-Salinas, Alba Cervera-Lierta, Elies Gil-Fuster, and José I. Latorre. Data re-uploading for a universal quantum classifier. Quantum, 4:226, 2020. doi: 10.22331/q-2020-02-06-226.
Maria Schuld. Supervised quantum machine learning models are kernel methods. arXiv preprint arXiv:2101.11020, 2021.
Maria Schuld and Nathan Killoran. Quantum machine learning in feature hilbert spaces. Physical Review Letters, 122:040504, 2019. doi: 10.1103/PhysRevLett.122.040504.
Ruslan Shaydulin and Stefan M. Wild. Importance of kernel bandwidth in quantum machine learning. Physical Review A, 106(4):042407, 2022. doi: 10.1103/PhysRevA.106.042407.
Dan Shepherd and Michael J. Bremner. Temporally unstructured quantum computation. Proceedings of the Royal Society A, 465(2105):1413–1439, 2009. doi: 10.1098/rspa.2008.0443.
Supanut Thanasilp, Samson Wang, M. Cerezo, and Zoe Holmes. Exponential concentration in quantum kernel methods. Nature Communications, 15:5200, 2024. doi: 10.1038/s41467-024-49287-w.
Caetano Traina Jr., Agma J. M. Traina, Leejay Wu, and Christos Faloutsos. Fast feature selection using fractal dimension. In Proceedings of the Brazilian Symposium on Databases (SBBD), pages 158–171, João Pessoa, Brazil, 2000.