Hybrid quantum-classical classifier based on tensor network and variational quantum circuit

Samuel Yen-Chi Chen, Chih-Min Huang, Chia-Wei Hsing, Ying-Jer KaoarXiv 2020

Introduction

In the current Noisy Intermediate-Scale Quantum (NISQ) era, quantum computers are characterized by limited qubit counts and high gate error rates. A significant challenge in Quantum Machine Learning (QML) is the "encoding problem"—the difficulty of mapping high-dimensional classical data, such as images, into the restricted Hilbert space of a small quantum processor. This research proposes a hybrid framework that bridges this gap using Tensor Networks (TN) and Variational Quantum Circuits (VQC).

Methodology: The Hybrid Pipeline

The proposed architecture consists of two integrated stages designed for end-to-end optimization, allowing the model to learn the most efficient representation for quantum processing.

1. Feature Extraction via Tensor Networks

The model utilizes a Matrix Product State (MPS), a specific form of tensor network. Tensor networks are powerful tools for representing high-dimensional data by decomposing large tensors into a network of smaller, interconnected tensors. In this pipeline, the MPS acts as a learnable pre-processor that funnels the $28 \times 28$ pixel grid (784 dimensions) into a compact 4-dimensional feature vector.

The hybrid architecture pipeline: high-dimensional input data is compressed by a Tensor Network before being processed by a Quantum Computer.

2. Classification via Variational Quantum Circuits

The compressed vector is then mapped onto a 4-qubit Variational Quantum Circuit (VQC). This stage involves encoding the classical features into quantum states using rotation gates ($R_y$ and $R_z$) and then applying a series of parameterized gates and entanglers (CNOTs) to perform the classification.

Detailed schematic of the VQC classifier, featuring encoding gates ($R_y, R_z$) and entangling CNOT operations within a variational framework.

A critical feature of this architecture is its end-to-end differentiability. Unlike traditional methods that use static compression (like Principal Component Analysis), the parameters of both the classical MPS and the quantum VQC are updated simultaneously during training. This ensures that the feature extractor learns to preserve the specific information most useful for the quantum classifier.

Results and Performance

The model was evaluated on the MNIST dataset, specifically for the binary classification of digits '3' and '6'.

  • Superior Accuracy: The hybrid MPS-VQC model achieved a testing accuracy of 99.44%.
  • Benchmarking: For comparison, a standard pipeline using Principal Component Analysis (PCA) for dimensionality reduction followed by the same VQC only reached 87.34% accuracy.
  • Efficiency: High performance was maintained even with a low bond dimension ($\chi = 1$) in the MPS, proving that the hybrid integration is highly efficient at extracting relevant information.

Discussion: The Regularization Effect

One of the most significant findings was the stabilizing role of the quantum circuit. While the MPS feature extractor alone showed a tendency to overfit the training data, the addition of the VQC acted as a regularizer. This synergy allowed the model to maintain stable training and generalize better to unseen test data, even when the representation power of the MPS was increased.

Conclusion and Future Work

This hybrid approach demonstrates a viable path for processing high-dimensional data on NISQ devices. By combining the representational power of tensor networks with the unique properties of variational quantum circuits, the model achieves state-of-the-art performance on standard benchmarks. Future research will focus on scaling the architecture to multi-class classification tasks and implementing the VQC component on actual quantum hardware to assess the impact of real-world noise.

Summary updated

BibTeX
@misc{chen2020hybrid,
  author = {Samuel Yen-Chi Chen and Chih-Min Huang and Chia-Wei Hsing and Ying-Jer Kao},
  title = {{Hybrid quantum-classical classifier based on tensor network and variational quantum circuit}},
  year = {2020},
  eprint = {2011.14651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.14651},
}
Figure