Machine learning (ML) has achieved remarkable success in a wide range of applications. In recent ML research, deep anomaly detection (AD) has been a hot topic with the aim of discriminating among anomalous data with deep neural networks (DNNs). Notably, image AD is one of the most representative tasks in current deep AD research. ML’s interaction with quantum computing is giving rise to a heated topic named quantum machine learning (QML), which enjoys great prospects according to recent academic research. This paper attempts to address the image AD problem in a deep manner with a novel QML solution. Specifically, we design a quantum-classical hybrid DNN (QHDNN) that aims to learn directly from normal raw images to train a normality model and then exclude images that do not conform to this model as anomalies during its inference. To enable the QHDNN to perform satisfactorily in deep image AD, we explore multiple quantum layer architectures and design a VQC-based QHDNN solution. Extensive experiments were conducted on commonly used benchmarks to test the proposed QML solution, whose results demonstrate the feasibility of addressing deep image AD with QML. Importantly, the experimental results show that our quantum-classical hybrid solution can even yield superior performance to that of its classical counterpart when they share the same number of learnable parameters.
According to the relevant theories on duality relation, the summation of the extractable information of a quanton’s wave and particle properties, which are characterized by interference visibility V and path distinguishability D, respectively, is limited. However, this relation is violated upon quantum superposition between the wave-state and particle-state of the quanton, which is caused by the quantum beamsplitter (QBS). Along another line, recent studies have considered quantum coherence C in the -norm measure as a candidate for the wave property. In this study, we propose an interferometer with a quantum which-path detector (QWPD) and examine the generalized duality relation based on C. We find that this relationship still holds under such a circumstance, but the interference between these two properties causes the full-particle property to be observed when the QWPD system is partially present. Using a pair of polarization-entangled photons, we experimentally verify our analysis in the two-path case. This study extends the duality relation between coherence and path information to the quantum case and reveals the effect of quantum superposition on the duality relation.