Trainable Discrete Feature Embeddings for Variational Quantum Classifier

Napat Thumwanit, Chayaphol Lortaraprasert, Hiroshi Yano, Rudy Raymond
6/17/2021
quant-phcs.LG

Official code: barnrang/Trainable-Embedding-QML (1 star, Python, last commit 2021-09-22).

Abstract

Quantum classifiers provide sophisticated embeddings of input data in Hilbert space promising quantum advantage. The advantage stems from quantum feature maps encoding the inputs into quantum states with variational quantum circuits.

Show full abstract

A recent work shows how to map discrete features with fewer quantum bits using Quantum Random Access Coding (QRAC), an important primitive to encode binary strings into quantum states. We propose a new method to embed discrete features with trainable quantum circuits by combining QRAC and a recently proposed strategy for training quantum feature map called quantum metric learning. We show that the proposed trainable embedding requires not only as few qubits as QRAC but also overcomes the limitations of QRAC to classify inputs whose classes are based on hard Boolean functions. We numerically demonstrate its use in variational quantum classifiers to achieve better performances in classifying real-world datasets, and thus its possibility to leverage near-term quantum computers for quantum machine learning.

View on arXivView PDF

Code Implementations(1)

Implementation of Quantum Random Access Coding (QRAC) and Trainable Embedding (TE)

13PythonSep 12, 20205 years ago

Similar Papers

Cite this paper

@article{thumwanit2021trainable,
  title  = {Trainable Discrete Feature Embeddings for Variational Quantum Classifier},
  author = {Napat Thumwanit and Chayaphol Lortaraprasert and Hiroshi Yano and Rudy Raymond},
  year   = {2021},
  eprint = {2106.09415},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.09415}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.09415.svg)](https://codeofpaper.com/paper/2106.09415)

Discussion