Italian Conference on Theoretical Computer Science
Quantum Algorithm for Ensemble Learning.
Antonio Macaluso, Stefano Lodi, Claudio Sartori
Abstract
The idea of ensemble learning is to build a prediction model \nby combining the strengths of a collection of simpler base models. Al- \nthough they are extensively used, ensemble methods have high require- \nments in terms of memory and computational time. \nIn this work, we propose a quantum algorithm that allows reproducing \nensemble classification using bagging strategy. The algorithm generates \nmany sub-samples in superposition, in such a way that only a single exe- \ncution of a quantum classifier is required. In particular, the entanglement \nbetween a quantum register and different training sub-samples in super- \nposition allows obtaining a sum of individual results which gives rise to \nthe ensemble prediction. When considering the overall temporal cost of \nthe algorithm, the single base classifier impacts additively rather than \nmultiplicatively, as it usually happens in ensemble framework. Further- \nmore, given that the number of base models scales exponentially with \nthe number of qubits of the control register, our algorithm opens up the \npossibility of exponential speed-up for quantum ensemble.