项目作者: maniraman-periyasamy

项目描述 :
A Quantum K-Nearest Neighbors classifier
高级语言: Python
项目地址: git://github.com/maniraman-periyasamy/QKNN.git
创建时间: 2020-11-25T01:32:41Z
项目社区:https://github.com/maniraman-periyasamy/QKNN

开源协议:

下载


QKNN

A Quantum K nearest neighbour based on the paper

Quantum Algorithm for K-Nearest Neighbors Classification Based on the Metric of Hamming Distance
by
Yue Ruan Xiling Xue Heng Liu Jianing Tan Xi Li

This implementation condiders a dataset of numbers 0-8 in binary form and classify it into even or odd.
the results are not stable as the vector dimension of data point is 3 and the number of points are 6 (too low!!)

  1. reqirement = {
  2. 'qiskit-terra': '0.16.1',
  3. 'qiskit-aer': '0.7.1',
  4. 'qiskit-ignis': '0.5.1',
  5. 'qiskit-ibmq-provider': '0.11.1',
  6. 'qiskit-aqua': '0.8.1',
  7. 'qiskit': '0.23.1'
  8. }