Machine learning, with promising applications in quantum computation, has been introduced to a variety of quantum mechanical platforms, where its interplay with quantum physics offers exciting prospects toward quantum advantages. A central difficulty, however, lies in the access and control of the large Hilbert space required by quantum machine learning protocols, through the limited number of noisy qubits available to near-term quantum devices. Whereas it is recognized that a viable solution lies in the design of quantum algorithms that incorporates quantum entanglement and interference, a demonstration of quantum machine learning protocols capable of solving practical tasks is still lacking. Here we report the classification of real-life, hand-drawn images on a quantum mechanical platform of single photons. Adopting a tensor-network-based machine learning algorithm with an entanglement-guided optimization, we achieve an efficient representation of the quantum feature space using matrix product states. This allows us to demonstrate image classification with a high success rate using single-photon interferometry networks. Our experiment establishes a general and scalable framework for quantum machine learning, which is readily accessible on other physical platforms.
Machine learning, with promising applications in quantum computation, has been introduced to a variety of quantum mechanical platforms, where its interplay with quantum physics offers exciting prospects toward quantum advantages. A central difficulty, however, lies in the access and control of the large Hilbert space required by quantum machine learning protocols, through the limited number of noisy qubits available to near-term quantum devices. Whereas it is recognized that a viable solution lies in the design of quantum algorithms that incorporates quantum entanglement and interference, a demonstration of quantum machine learning protocols capable of solving practical tasks is still lacking. Here we report the classification of real-life, hand-drawn images on a quantum mechanical platform of single photons. Adopting a tensor-network-based machine learning algorithm with an entanglement-guided optimization, we achieve an efficient representation of the quantum feature space using matrix product states. This allows us to demonstrate image classification with a high success rate using single-photon interferometry networks. Our experiment establishes a general and scalable framework for quantum machine learning, which is readily accessible on other physical platforms.
Quantum machine learning aspires to overcome intractability that currently limits its applicability to practical applications. However, quantum machine learning itself is limited by low effective dimensions achievable in state-of-the-art experiments. Here, we demonstrate highly successful classifications of real-life images using photonic qubits, combining a quantum tensor-network representation of hand-written digits and entanglement-based optimization. Specifically, we focus on binary classification for hand-written zeroes and ones, whose features are cast into the tensor-network representation, further reduced by optimization based on entanglement entropy and encoded into two-qubit photonic states. We then demonstrate image classification with a high success rate exceeding 98%, through successive gate operations and projective measurements. Although we work with photons, our approach is amenable to other physical realizations such as nitrogen-vacancy centers, nuclear spins, and trapped ions, and our scheme can be scaled to efficient multi-qubit encodings of features in the tensor-product representation, thereby setting the stage for quantum-enhanced multi-class classification.
It is a fundamental, but still elusive question whether methods based on quantum mechanics, in particular on quantum entanglement, can be used for classical information processing and machine learning. Even partial answer to this question would bring important insights to both fields of both machine learning and quantum mechanics. In this work, we implement simple numerical experiments, related to pattern/images classification, in which we represent the classifiers by quantum matrix product states (MPS). Classical machine learning algorithm is then applied to these quantum states. We explicitly show how quantum features (i.e., single-site and bipartite entanglement) can emerge in such represented images; entanglement characterizes here the importance of data, and this information can be practically used to improve the learning procedures. Thanks to the low demands on the dimensions and number of the unitary matrices, necessary to construct the MPS, we expect such numerical experiments could open new paths in classical machine learning, and shed at same time lights on generic quantum simulations/computations.
Tensor networks, originally designed to address computational problems in quantum many-body physics, have recently been applied to machine learning tasks. However, compared to quantum physics, where the reasons for the success of tensor network approaches over the last 30 years is well understood, very little is yet known about why these techniques work for machine learning. The goal of this paper is to investigate entanglement properties of tensor network models in a current machine learning application, in order to uncover general principles that may guide future developments. We revisit the use of tensor networks for supervised image classification using the MNIST data set of handwritten digits, as pioneered by Stoudenmire and Schwab [Adv. in Neur. Inform. Proc. Sys. 29, 4799 (2016)]. Firstly we hypothesize about which state the tensor network might be learning during training. For that purpose, we propose a plausible candidate state ∣Σℓ⟩ (built as a superposition of product states corresponding to images in the training set) and investigate its entanglement properties. We conclude that ∣Σℓ⟩ is so robustly entangled that it cannot be approximated by the tensor network used in that work, which must therefore be representing a very different state. Secondly, we use tensor networks with a block product structure, in which entanglement is restricted within small blocks of n×n pixels/qubits. We find that these states are extremely expressive (e.g. training accuracy of 99.97% already for n=2), suggesting that long-range entanglement may not be essential for image classification. However, in our current implementation, optimization leads to over-fitting, resulting in test accuracies that are not competitive with other current approaches.
Tiny object classification problem exists in many machine learning applications like medical imaging or remote sensing, where the object of interest usually occupies a small region of the whole image. It is challenging to design an efficient machine learning model with respect to tiny object of interest. Current neural network structures are unable to deal with tiny object efficiently because they are mainly developed for images featured by large scale objects. However, in quantum physics, there is a great theoretical foundation guiding us to analyze the target function for image classification regarding to specific objects size ratio. In our work, we apply Tensor Networks to solve this arising tough machine learning problem. First, we summarize the previous work that connects quantum spin model to image classification and bring the theory into the scenario of tiny object classification. Second, we propose using 2D multi-scale entanglement renormalization ansatz (MERA) to classify tiny objects in image. In the end, our experimental results indicate that tensor network models are effective for tiny object classification problem and potentially will beat state-of-the-art. Our codes will be available online https://github.com/timqqt/MERA_Image_Classification.
The rapid growth of machine learning is increasingly constrained by the energy and bandwidth limits of classical hardware. Optical and quantum technologies offer an alternative route, enabling high-dimensional, parallel information processing directly in the physical layer, particularly suited for imaging tasks. In this context, quantum photonic platforms provide both a natural mechanism for computing inner products and a promising path to energy-efficient inference in photon-limited regimes. Here, we experimentally demonstrate a camera-free quantum-optical images classifier that performs inference directly at the measurement layer using Hong-Ou-Mandel (HOM) interference of spatially programmable single photons. Two-photon coincidences directly report the overlap between an input image mode and a learned template, replacing pixel-resolved acquisition with a single global measurement. We realize both a single-perceptron quantum optical neuron and a two-neuron shallow network, achieving high accuracy on benchmark datasets with strong robustness to experimental noise and minimal hardware complexity. With a fixed measurement budget, performance remains insensitive to input resolution, demonstrating intrinsic robustness to the number of pixels, which would be impossible in a classical framework. This approach paves the way toward neuromorphic quantum photonic processors capable of extracting task-relevant information directly from HOM interference, with promising applications in remote object recognition, low-signal sensing, and photon-starved biological microscopy.
Matrix Product States have been extensively explored as a powerful tool for simulating quantum states in image classification task. However, most research has focused on classical simulations or computations involving high-dimensional unitaries, and significant challenges still exist in the practical preparation of Matrix Product States on quantum computers. This paper proposes a novel and practically feasible quantum variational algorithm based on Matrix Product States for image classification task. We design a hardware-efficient quantum circuit with several adjustable entangling operators to prepare the local tensors in Matrix Product States and integrate minimal residuals to ensure computational stability. We demonstrate that our algorithm can reduce the parameter complexity from growing exponentially with the system size to a linear scale. To validate the effectiveness of this quantum variational algorithm, we conducted experiments on the MNIST dataset, achieving accuracies of 99.95% and 95.96% for binary and ten-class classification tasks, which outperforms other related quantum algorithms. This work advances the practical application of quantum machine learning in resource-constrained environments of quantum computing.