Papers
Topics
Authors
Recent
Search
2000 character limit reached

Support Vector Machines on Noisy Intermediate Scale Quantum Computers

Published 26 Sep 2019 in cs.ET, cs.LG, and quant-ph | (1909.11988v1)

Abstract: Support vector machine algorithms are considered essential for the implementation of automation in a radio access network. Specifically, they are critical in the prediction of the quality of user experience for video streaming based on device and network-level metrics. Quantum SVM is the quantum analogue of the classical SVM algorithm, which utilizes the properties of quantum computers to speed up the algorithm exponentially. In this work, we derive an optimized preprocessing unit for a quantum SVM that allows classifying any two-dimensional datasets that are linearly separable. We further provide a result readout method of the kernel matrix generation circuit to avoid quantum tomography that, in turn, reduces the quantum circuit depth. We also derive a quantum SVM system based on an optimized HHL quantum circuit with reduced circuit depth.

Citations (15)

Summary

  • The paper demonstrates an optimized QSVM that reduces quantum circuit depth on NISQ devices, enhancing feasibility for real hardware.
  • The methodology integrates a specialized preprocessing unit and a modified HHL algorithm to minimize quantum noise and streamline data classification.
  • Experimental results on simulators and IBMQX2 confirm high classification accuracy on benchmark datasets despite inherent quantum noise challenges.

Support Vector Machines on Noisy Intermediate Scale Quantum Computers

Introduction

The paper "Support Vector Machines on Noisy Intermediate Scale Quantum Computers" (1909.11988) explores the implementation of support vector machines (SVM) on quantum devices, specifically targeting noisy intermediate-scale quantum (NISQ) computers. SVMs are fundamental in various machine learning tasks, such as classification problems where the aim is to separate data points using a hyperplane. Quantum computers offer the potential to execute these algorithms more efficiently compared to classical machines due to their inherent parallelism and quantum properties.

The authors introduce a quantum support vector machine (QSVM) system optimized for execution on NISQ devices. This optimization focuses on preprocessing units and a redesigned quantum circuit based on the Harrow-Hassidim-Lloyd (HHL) algorithm, aiming to enhance performance by reducing the depth of quantum circuits, thus making them suitable for NISQ architectures. Figure 1

Figure 1: Optimized HHL quantum circuit for QSVM classification. It comprises three parts: part A, phase estimation; Part B, controlled rotation; and Part C, inverse phase estimation. The two X gates can be cancelled out.

QSVM Algorithm and Implementation

Quantum Preprocessing Unit

The preprocessing unit in QSVM optimizes the classification of two-dimensional datasets that are linearly separable. This unit comprises four main steps: calculating horizontal and vertical ratios, linear mapping, L2L^2 normalization, and rotation angle calculation using trigonometric functions adaptable to all data quadrants. The preprocessing is crucial in normalizing input data into a format suitable for quantum operations. Figure 2

Figure 2: Data preprocessing flow chart.

Kernel Matrix Generation

The paper replaces quantum tomography for generating kernel matrices with a classical result readout method. This substitution significantly lessens the quantum circuit depth required, accommodating the constraints of NISQ devices. Additionally, the trade-off between circuit depth and qubit usage is addressed by introducing a new training-data oracle, reducing circuit complexity while leveraging more qubits for multi-data applications. Figure 3

Figure 3: The original training-data oracle when loading four training data.

Optimized HHL Quantum Circuit

The HHL algorithm is fundamental for solving linear equations efficiently on quantum devices. The optimized QSVM implementation uses a reduced-depth quantum circuit, leveraging phase estimation, controlled rotation, and inverse phase estimation to classify data points on NISQ computers. This design change significantly improves the QSVM's applicability on real quantum hardware by minimizing decoherence-related errors.

Experimental Results

Simulation and Quantum Execution

Experiments conducted using the PyQuil Wavefunction Simulator and IBM's Qiskit on the IBMQX2 quantum computer validate the proposed QSVM implementation's efficacy. The results demonstrated high classification accuracy on both the OCR and Iris datasets, confirming the feasibility of deploying machine learning algorithms on quantum computers despite their inherent noise challenges. Figure 4

Figure 4

Figure 4: Classification results of the optimized baseline.

Figure 5

Figure 5

Figure 5: Classification results of our QSVM implementation.

Conclusion

The research presented in this paper advances the potential for QSVMs within the NISQ paradigm by significantly reducing quantum circuit complexity while maintaining high classification accuracy. The optimization strategies, especially in reducing circuit depth, highlight a viable path for machine learning applications on quantum hardware. Future work could expand the scope of QSVMs to accommodate non-linear separable datasets and enhance the system's robustness in the presence of quantum noise.

In conclusion, this work illustrates how quantum computing can potentially transform problem-solving in machine learning, given appropriate optimizations for the constraints of current quantum technology.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.