Hybrid Classical-Quantum Transfer Learning with Noisy Quantum Circuits
Organizations: Data Science and Big Data Lab, Pablo de Olavide University, Seville, Spain · Department of Computer Science, University of Seville, Seville, Spain
Abstract
Quantum transfer learning combines pretrained classical deep learning models with quantum circuits to reuse expressive feature representations while limiting the number of trainable parameters. In this work, we introduce a family of compact quantum transfer learning architectures that attach variational quantum classifiers to frozen convolutional backbones for image classification. We instantiate and evaluate several classical-quantum hybrid models implemented in PennyLane and Qiskit, and systematically compare them with a classical transfer-learning baseline across heterogeneous image datasets. To ensure a realistic assessment, we evaluate all approaches under both ideal simulation and noisy emulation using noise models calibrated from IBM quantum hardware specifications, as well as on real IBM quantum hardware. Experimental results show that the proposed quantum transfer learning architectures achieve competitive and, in several cases, superior accuracy while consistently reducing training time and energy consumption relative to the classical baseline. Among the evaluated approaches, PennyLane-based implementations provide the most favorable trade-off between accuracy and computational efficiency, suggesting that hybrid quantum transfer learning can offer practical benefits in realistic NISQ era settings when feature extraction remains classical.
Figures & tables
| Dataset | Train | Test | Total | Difficulty | Domain |
|---|---|---|---|---|---|
| Hymenoptera [ 44 ] | 245 | 153 | 398 | Medium | Entomology |
| Brain Tumor [ 27 ] | 2000 | 400 | 2400 | High | Medical Imaging |
| Cats vs. Dogs [ 7 ] | 3000 | 600 | 3600 | Medium-Low | General Vision |
| Solar Dust [ 11 ] | 240 | 60 | 300 | High | Industrial |
| Component | Specification |
|---|---|
| CPU | AMD Ryzen 5 3600 (3.6 GHz, 6 cores) |
| RAM | 24 GB DDR4-3200 |
| Operating system | Windows 10 Pro |
| Python | 3.13.5 |
| PyTorch | 2.1.0+cpu |
| TorchVision | 0.16.0 |
| Parameter | Value |
|---|---|
| Optimizer | Adam |
| Learning rate ( ) | |
| Adam | 0.9 |
| Adam | 0.999 |
| Adam | |
| Weight decay | 0 (frozen backbone) |
| Parameter | Value | Usage |
|---|---|---|
| Coherence properties: | ||
| (energy relaxation) | 250 s | PL damping |
| (dephasing time) | 150 s | PL dephasing |
| Gate timing: | ||
| Single-qubit gate time | 32 ns | PL noise calc. |
| Two-qubit gate time (CZ) | 68 ns | PL noise calc. |
| Parameter | Value |
|---|---|
| Backend | ibm_torino |
| Processor type | IBM Heron r2 |
| Total qubits | 133 |
| Qubits used | 4 |
| Circuit depth (transpiled) | 49 |
| Shots per circuit | 100 |
| Backbone | CC | PennyLane | PL-Noisy | PL-Real | Qiskit | Qiskit-Noisy | Qiskit-Real |
|---|---|---|---|---|---|---|---|
| ResNet18 | 0.8589 (148.9) | 0.9744 (107.2) | 0.9615 (178.4) | 0.8421 (704) | 0.9359 (305.7) | 0.9295 (352.1) | 0.9487 (559) |
| MobileNetV2 | 0.8846 (136.7) | 0.9487 (80.7) | 0.9423 (142.8) | 0.8684 (685) | 0.9744 (288.2) | 0.9551 (331.6) | 0.9103 (681) |
| EfficientNet-B0 | 0.9231 (178.9) | 0.9487 (107.9) | 0.9359 (168.5) | 0.6579 (682) | 0.9231 (297.4) | 0.9103 (348.9) | 0.7179 (545) |
| RegNet-X-400MF | 0.8590 (81.0) | 0.9231 (83.4) | 0.9103 (128.7) | 0.7895 (673) | 0.9103 (270.2) | 0.8974 (312.4) | 0.8590 (511) |
| Dataset | CC | PennyLane | PL-Noisy | Qiskit | Qiskit-Noisy |
|---|---|---|---|---|---|
| Hymenoptera | 136.4 | 94.8 | 154.6 | 290.4 | 336.3 |
| Brain Tumor | 665.7 | 442.2 | 728.3 | 1458.4 | 1685.4 |
| Cats vs. Dogs | 1024.5 | 665.2 | 1102.0 | 2169.1 | 2507.2 |
| Solar Dust | 309.5 | 240.1 | 397.2 | 544.6 | 629.6 |
| Backbone | CC | PennyLane | PL-Noisy | Qiskit | Qiskit-Noisy |
|---|---|---|---|---|---|
| ResNet18 | 0.9725 (736.8) | 0.9500 (541.9) | 0.9425 (892.7) | 0.9850 (1510.7) | 0.9775 (1745.3) |
| MobileNetV2 | 0.9825 (639.3) | 0.9125 (418.1) | 0.9050 (687.4) | 0.9725 (1447.1) | 0.9600 (1672.8) |
| EfficientNet-B0 | 0.9725 (891.9) | 0.9625 (476.0) | 0.9525 (784.2) | 0.9600 (1515.8) | 0.9500 (1751.9) |
| RegNet-X-400MF | 0.9900 (394.9) | 0.9400 (332.9) | 0.9350 (548.7) | 0.9450 (1359.9) | 0.9375 (1571.4) |
| Backbone | CC | PennyLane | PL-Noisy | Qiskit | Qiskit-Noisy |
|---|---|---|---|---|---|
| ResNet18 | 0.9160 (1157.5) | 0.9700 (832.8) | 0.9583 (1382.4) | 0.9700 (2282.8) | 0.9567 (2638.2) |
| MobileNetV2 | 0.9383 (979.9) | 0.9800 (627.5) | 0.9717 (1038.6) | 0.9683 (2160.5) | 0.9550 (2497.1) |
| EfficientNet-B0 | 0.9500 (1358.6) | 0.9617 (740.2) | 0.9500 (1224.8) | 0.9650 (2226.5) | 0.9517 (2573.8) |
| RegNet-X-400MF | 0.9200 (601.8) | 0.9600 (460.4) | 0.9483 (762.1) | 0.9617 (2006.7) | 0.9450 (2319.7) |
| Backbone | CC | PennyLane | PL-Noisy | Qiskit | Qiskit-Noisy |
|---|---|---|---|---|---|
| ResNet18 | 0.8250 (331.6) | 0.8333 (257.8) | 0.8167 (426.4) | 0.8833 (567.4) | 0.8667 (655.9) |
| MobileNetV2 | 0.8750 (300.7) | 0.8667 (238.2) | 0.8500 (394.1) | 0.9000 (537.3) | 0.8750 (621.1) |
| EfficientNet-B0 | 0.8583 (377.9) | 0.8667 (251.4) | 0.8417 (415.9) | 0.8583 (561.5) | 0.8333 (649.1) |
| RegNet-X-400MF | 0.9250 (227.7) | 0.9167 (212.9) | 0.8917 (352.3) | 0.8750 (512.0) | 0.8500 (592.1) |