A pure quantum knn classifier for a gated quantum computer.
![]() |
||
|---|---|---|
[!NOTE]
This project is archived on the 14th of march, 2025. It was way overdue.
I wrote this code at the time that Qiskit was still split in multiple
modules, but I briefly came past it at a time and saw that everything
is different now. This code does not work anymore in that way, and even
though some great enthusiastic people helped me keep it up-to-date, the
repo fell into neglect. I’m no longer working in this field of work,
but I am still proud of this accomplishment. I will keep this here
because of that, and because of the potential value that it could
probably deliver to someone else.
Qiskit Quantum kNN is a pure quantum knn classifier for a gated quantum
computer, which is build with Qiskit.
Qiskit Quantum kNN is made as a final project to fulfill a master’s degree
at the Radboud University Nijmegen, in collaboration with ING Quantum
Technology. It is build by using Afham et al. (2020) as it’s
primary guide on how to construct the quantum circuit used for distance
measurements.
The best way of installing qiskit-quantum-knn is by using pip:
$ pip install qiskit-quantum-knn
Since qiskit-quantum-knn runs mainly by using qiskit, it is advised to check
out their installation guide on how to install Qiskit.