Several important models of machine learning algorithms have been successfully generalized to the quantum world, with potential speedup to training classical classifiers and applications to data analytics in quantum physics that can be implemented on the near future quantum computers. However, quantum noise is a major obstacle to the practical implementation of quantum machine learning. In this work, we define a formal framework for the robustness verification and analysis of quantum machine learning algorithms against noises. A robust bound is derived and an algorithm is developed to check whether or not a quantum machine learning algorithm is robust with respect to quantum training data. In particular, this algorithm can find adversarial examples during checking. Our approach is implemented on Google's TensorFlow Quantum and can verify the robustness of quantum machine learning algorithms with respect to a small disturbance of noises, derived from the surrounding environment. The effectiveness of our robust bound and algorithm is confirmed by the experimental results, including quantum bits classification as the "Hello World" example, quantum phase recognition and cluster excitation detection from real world intractable physical problems, and the classification of MNIST from the classical world.
翻译:机器学习算法的若干重要模型已成功地推广到量子世界,有可能加速培训古典分类和在量子物理数据分析应用中进行数据分析,可以在近期的量子计算机上实施。然而,量子噪音是量子机器学习的实际实施的主要障碍。在这项工作中,我们为量子机器学习算法的稳健性核查和分析定了一个正式框架,以对抗噪音。一个强有力的约束是衍生出来的,并正在开发一种算法,以检查量子机器学习算法在量子培训数据方面是否稳健。特别是,这种算法在检查时可以找到对抗性例子。我们的方法是在谷歌的TensorFlow 量子计算机上实施,可以核实量子机器在从周围环境产生的小小扰动噪音方面学习算法的稳健性。我们强势约束和算法的有效性得到了实验结果的证实,包括量子比分类为“喜世”的例子,量相相相相相相相识别和从真实的世界棘手的物理问题中进行集解辨别,以及从古典世界的MNIST的分类。