
We use a classical SVM pipeline to solve binary classification problem. The model seeks a set of separating hyperplanes in feature space, \mathbf{w}^\top \phi(\mathbf{x}) + b = 0 , maximizing the geometric margin between classes. When linear separation is difficult, we map data to a higher-dimensional space and apply the kernel trick: instead of building \phi(\cdot) explicitly, we compute inner products k(\mathbf{x},\mathbf{x}')=\langle \phi(\mathbf{x}), \phi(\mathbf{x}')\rangle , which lets the SVM operate implicitly in a Hilbert space \mathcal{H}.
Quantum SVM is implemented using a quantum kernel, where input \mathbf{x} is encoded into a quantum state |\phi(\mathbf{x})\rangle=U(\mathbf{x})|0\rangle^{\otimes n} and using the state overlap (inner product or fidelity) as k(\mathbf{x},\mathbf{x}'). The circuit induces a (potentially very high-dimensional) nonlinear embedding through data-dependent single-qubit rotations and entangling gates; the choice of encoding and entanglement pattern governs which higher-order interactions are represented. These overlaps are estimated by running U(\mathbf{x}')^\dagger U(\mathbf{x}) on quantum hardware; the resulting Gram matrix feeds directly into the standard SVM pipeline.
For this task, the solution used requires linear-system solve, which can be computed via HHL (Harrow–Hassidim–Lloyd), a quantum algorithm for solving A\mathbf{x}=\mathbf{b}. In the LS-SVM/QSVM setting, this corresponds to systems such as (K+\lambda I)\boldsymbol{\alpha}=\mathbf{y}, where K is the kernel Gram matrix; HHL returns a quantum state proportional to the solution vector (from which the needed coefficients are obtained).
Task: A supervised binary-classification benchmark with continuous features derived from digitized fine-needle aspirate images of breast masses on a small subset of 25 samples with 35 features each. The labels are benign or malignant, and Min-Max scaling to [0, π] is used.
Execution
Simulator
Number of qubits
6
Number of layers
1
90%
Accuracy
88%
Balanced Accuracy
0.89
Macro F1
0.96
Macro ROC-AUC
The combination of LS-QSVM and HHL potentially achieves clinic-ready diagnosis accuracy (90%), cutting average review time per FNA case and expanding throughput without adding more employees to the task.
Annual projected savings from reduced reviews/scrap and faster throughput.
Return on investment based on value add vs. TCO.
Efficiency gains vs. baseline review/inspection workflows.
Simple and transparent: from your brief to quantum results, code, and a paper
Map your problem to the right quantum use case
Confirm the quantum-classical hybrid approach and key assumptions
Download ready-to-run code; execute on simulator
Review reproducible results — iterate as needed
Compare against classical baseline; prepare for quantum hardware
Run your first diagnostic task with QSVM and HHL and get transparent results within a clear report.
Try Your First Use Case for Free