Trace-Induced Quantum Kernels
- Trace-induced quantum kernels are similarity measures derived from quantum state embeddings using the trace of operator products, unifying global fidelity and local projected approaches.
- Generalized kernels combine fundamental Lego kernels, allowing precise control over expressivity, inductive bias, and quantum resource trade-offs.
- They underpin diverse applications from quantum time series analysis to multi-output regression, balancing performance with reduced quantum circuit demands.
A trace-induced quantum kernel is a family of similarity measures between inputs, constructed from quantum state embeddings where kernel values are given by the trace of operator products applied to density matrices. This framework encompasses global fidelity kernels, various local or projected quantum kernels, and operator-valued or entangled kernels. Trace-induced quantum kernels play a central role in quantum machine learning for encoding similarity in quantum feature spaces, with implications for expressivity, sample complexity, and quantum resource requirements (Gan et al., 2023, Shin et al., 26 Mar 2025, Huusari et al., 2021).
1. Mathematical Foundation and Definitions
Given a classical input , a trace-induced quantum kernel is constructed by defining a data-embedding channel which generates an -qubit density operator: where is the initial state.
A trace-induced quantum kernel is defined as: where and are Hermitian-preserving linear superoperators. Significant special cases include:
- Global Fidelity Quantum Kernel (GFQK):
which measures the Hilbert-Schmidt inner product (state overlap) of embedded density operators (Gan et al., 2023, Shin et al., 26 Mar 2025).
- Local Projected Quantum Kernels (LPQK):
For a subset :
Averaging over all subsets yields the -LPQK.
These constructions unify widely used quantum kernels and form the basis for systematic kernel design in quantum machine learning (Gan et al., 2023).
2. Generalization via Lego Kernels
All trace-induced quantum kernels can be expressed as (nonnegative) combinations of fundamental "Lego" kernels. Given an orthonormal operator basis (e.g., Pauli basis), a single Lego kernel is: A generalized trace-induced quantum kernel (GTQK) is a positive combination of Lego kernels: with and . All global and local quantum kernels correspond to specific choices of (Gan et al., 2023):
- GFQK: (all features "on").
- -LPQK: if is supported on , and zero otherwise.
A feature map perspective yields:
3. Expressivity, Inductive Bias, and Generalization
The representational power of a trace-induced quantum kernel is determined by the set and weights of the underlying Lego (operator) features. The associated RKHS is
The number of active Lego features controls model complexity:
- yields full GFQK expressivity.
- Reduced (via sparse ) improves generalization by restricting capacity.
Under regularized empirical risk minimization, features with smaller are penalized more. The empirical Rademacher complexity of the RKHS scales as , so statistical complexity increases as (Gan et al., 2023). This explicitly links inductive bias and generalization behavior to kernel structure.
4. Systematic Kernel Complexity and Resource Trade-offs
The trace-induced kernel formalism enables a stepwise approach to increasing kernel complexity, which directly correlates with quantum resource costs:
- -body LPQKs: Restrict Lego kernels to Pauli operators of weight :
This construction systematically expands capacity while controlling measurement costs.
- Resource scaling:
- GFQK evaluation for data points requires circuit executions, each of twice the embedding circuit depth.
- -body LPQKs need only executions, with circuit depth identical to , since all required observables can be measured via classical shadows or similar protocols.
Empirical results on benchmark datasets demonstrate that 2-body LPQKs with features can match GFQK classification accuracy while requiring orders of magnitude fewer gate applications and measurement shots (Gan et al., 2023).
5. Entangled, Operator-Valued, and Tensor-Kernel Perspectives
Trace-induced quantum kernels are a specific instance of the broader class of entangled tensor kernels (ETKs) (Shin et al., 26 Mar 2025). An ETK has the form
where is a tensor product of local feature maps, and is a positive semidefinite "core" matrix.
All embedding quantum kernels with fidelity structure,
can be written as ETKs, where represents a trigonometric feature (e.g., ), and encodes the data-independent circuit structure. The entangling structure of introduces global correlations not present in simple product kernels, which governs inductive bias, expressivity (Fourier spectrum), and complexity.
In the context of operator-valued kernels (Huusari et al., 2021), the partial trace construction yields matrix-valued kernels encoding output structure or input-output "entanglement". The Choi–Kraus decomposition translates these into finite-rank operator sums, compatible with classical kernel alignment and regression pipelines.
6. Applications in Time Series and Generative Models
Trace-induced quantum kernels are applied beyond standard supervised learning tasks:
- Quantum Time Series Kernels: When data is generated by a quantum hidden Markov model (QHMM), a trace-based kernel can be induced by mapping sequences to quantum states , then defining similarity via a function of the trace-norm distance:
which is guaranteed positive semidefinite (Mercer kernel) (Markov et al., 2023). This approach outperforms classical RBF kernels in experiments on sequence classification tasks, with improved separation as the Hilbert space dimension increases.
- Multivariate Outputs / Multi-output Regression: Operator-valued, trace-induced kernels enable modeling input-output correlations in problems with structured or high-dimensional labels. Entangled kernels learned via Riemannian optimization outperform ordinary kernel ridge regression and input-output separable kernels, especially when the number of outputs approaches or exceeds the sample size (Huusari et al., 2021).
7. Implementation Guidelines and Dequantization Strategies
Practical implementation of trace-induced quantum kernels involves choices and trade-offs:
- Select a problem-tailored circuit ansatz and kernel bandwidth (data scaling).
- Start with low-weight (-body) LPQKs to limit quantum resource requirements, and increase complexity if performance gains justify it.
- Use classical shadows or other efficient tomography techniques to estimate requisite observable expectation values.
- Regularize kernel complexity and model parameters (e.g., SVM penalty) via cross-validation.
- If lower-body LPQKs achieve comparable performance to GFQK on the target task, this yields significant resource savings.
For dequantization and classical simulation, one may approximate the entangled core tensor using low-bond-dimension matrix product operator (MPO) techniques, learn surrogate ETKs, or use randomized (Fourier) feature strategies—each exploiting the insight that kernel expressivity and computational hardness are encoded in the spectrum and structure of (Shin et al., 26 Mar 2025).
Key references:
- “A Unified Framework for Trace-induced Quantum Kernels” (Gan et al., 2023)
- “Quantum Time Series Similarity Measures and Quantum Temporal Kernels” (Markov et al., 2023)
- “Entangled Kernels—Beyond Separability” (Huusari et al., 2021)
- “New perspectives on quantum kernels through the lens of entangled tensor kernels” (Shin et al., 26 Mar 2025)