A quantum k-nearest neighbors algorithm based on the Euclidean distance
estimation
- URL: http://arxiv.org/abs/2305.04287v1
- Date: Sun, 7 May 2023 14:21:44 GMT
- Title: A quantum k-nearest neighbors algorithm based on the Euclidean distance
estimation
- Authors: Enrico Zardini, Enrico Blanzieri, Davide Pastorello
- Abstract summary: This article introduces a novel quantum k-NN algorithm based on the Euclidean distance.
Specifically, the algorithm is characterised by a quantum encoding requiring a low number of qubits and a simple quantum circuit not involving oracles.
- Score: 0.0
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: The k-nearest neighbors (k-NN) is a basic machine learning (ML) algorithm,
and several quantum versions of it, employing different distance metrics, have
been presented in the last few years. Although the Euclidean distance is one of
the most widely used distance metrics in ML, it has not received much
consideration in the development of these quantum variants. In this article, a
novel quantum k-NN algorithm based on the Euclidean distance is introduced.
Specifically, the algorithm is characterised by a quantum encoding requiring a
low number of qubits and a simple quantum circuit not involving oracles,
aspects that favor its realization. In addition to the mathematical formulation
and some complexity observations, a detailed empirical evaluation with
simulations is presented. In particular, the results have shown the correctness
of the formulation, a drop in the performance of the algorithm when the number
of measurements is limited, the competitiveness with respect to some classical
baseline methods in the ideal case, and the possibility of improving the
performance by increasing the number of measurements.
Related papers
- Efficient Learning for Linear Properties of Bounded-Gate Quantum Circuits [63.733312560668274]
Given a quantum circuit containing d tunable RZ gates and G-d Clifford gates, can a learner perform purely classical inference to efficiently predict its linear properties?
We prove that the sample complexity scaling linearly in d is necessary and sufficient to achieve a small prediction error, while the corresponding computational complexity may scale exponentially in d.
We devise a kernel-based learning model capable of trading off prediction error and computational complexity, transitioning from exponential to scaling in many practical settings.
arXiv Detail & Related papers (2024-08-22T08:21:28Z) - Sum-of-Squares inspired Quantum Metaheuristic for Polynomial Optimization with the Hadamard Test and Approximate Amplitude Constraints [76.53316706600717]
Recently proposed quantum algorithm arXiv:2206.14999 is based on semidefinite programming (SDP)
We generalize the SDP-inspired quantum algorithm to sum-of-squares.
Our results show that our algorithm is suitable for large problems and approximate the best known classicals.
arXiv Detail & Related papers (2024-08-14T19:04:13Z) - Quantum Algorithm for Computing Distances Between Subspaces [0.0]
We provide a quantum algorithm for estimating two kinds of distance: Grassmann distance and ellipsoid distance.
Some extensions regarding estimating different kinds of distance are then discussed as a corollary of our main quantum algorithmic method.
arXiv Detail & Related papers (2023-08-29T16:46:20Z) - Quantum Clustering with k-Means: a Hybrid Approach [117.4705494502186]
We design, implement, and evaluate three hybrid quantum k-Means algorithms.
We exploit quantum phenomena to speed up the computation of distances.
We show that our hybrid quantum k-Means algorithms can be more efficient than the classical version.
arXiv Detail & Related papers (2022-12-13T16:04:16Z) - End-to-end resource analysis for quantum interior point methods and portfolio optimization [63.4863637315163]
We provide a complete quantum circuit-level description of the algorithm from problem input to problem output.
We report the number of logical qubits and the quantity/depth of non-Clifford T-gates needed to run the algorithm.
arXiv Detail & Related papers (2022-11-22T18:54:48Z) - Improved maximum-likelihood quantum amplitude estimation [0.0]
Quantum estimation is a key subroutine in a number of powerful quantum algorithms, including quantum-enhanced Monte Carlo simulation and quantum machine learning.
In this article, we deepen the analysis of Maximum-likelihood quantum amplitude estimation (MLQAE) to put the algorithm in a more prescriptive form, including scenarios where quantum circuit depth is limited.
We then propose and numerically validate a modification to the algorithm to overcome this problem, bringing the algorithm even closer to being useful as a practical subroutine on near- and mid-term quantum hardware.
arXiv Detail & Related papers (2022-09-07T17:30:37Z) - Decomposition of Matrix Product States into Shallow Quantum Circuits [62.5210028594015]
tensor network (TN) algorithms can be mapped to parametrized quantum circuits (PQCs)
We propose a new protocol for approximating TN states using realistic quantum circuits.
Our results reveal one particular protocol, involving sequential growth and optimization of the quantum circuit, to outperform all other methods.
arXiv Detail & Related papers (2022-09-01T17:08:41Z) - Benchmarking Small-Scale Quantum Devices on Computing Graph Edit
Distance [52.77024349608834]
Graph Edit Distance (GED) measures the degree of (dis)similarity between two graphs in terms of the operations needed to make them identical.
In this paper we present a comparative study of two quantum approaches to computing GED.
arXiv Detail & Related papers (2021-11-19T12:35:26Z) - Estimating distinguishability measures on quantum computers [4.779196219827506]
We propose and review several algorithms for estimating distinguishability measures based on trace distance and fidelity.
The fidelity-based algorithms offer novel physical interpretations of these distinguishability measures.
We find that the simulations converge well in both the noiseless and noisy scenarios.
arXiv Detail & Related papers (2021-08-18T22:32:31Z) - Quantum K-medians Algorithm Using Parallel Euclidean Distance Estimator [0.0]
This paper proposes an efficient quantum k-medians clustering algorithm using the powerful quantum Euclidean estimator algorithm.
The proposed quantum k-medians algorithm has provided an exponential speed up as compared to the classical version of it.
arXiv Detail & Related papers (2020-12-21T06:38:20Z) - Variational Quantum Algorithms for Trace Distance and Fidelity
Estimation [7.247285982078057]
We introduce hybrid quantum-classical algorithms for two distance measures on near-term quantum devices.
First, we introduce the Variational Trace Distance Estimation (VTDE) algorithm.
Second, we introduce the Variational Fidelity Estimation (VFE) algorithm.
arXiv Detail & Related papers (2020-12-10T15:56:58Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.