Quantum Optical Approach to the
K Nearest Neighbour Algorithm
The paper presents a hybrid quantum-classical K-Nearest Neighbour algorithm. The quantum part uses a phase-distributed multimode coherent state with a single photon to compute distances between data points, while a classical computer handles sorting and classification. The quantum optical architecture is validated by simulation. Resource analysis covers space, energy, and gate complexity. Tests on public benchmarks and synthetic data demonstrate the approach.