RoQNN: Noise-Aware Training for Robust Quantum Neural Networks
Wang, Hanrui, Gu, Jiaqi, Ding, Yongshan, Li, Zirui, Chong, Frederic T., Pan, David Z., Han, Song
–arXiv.org Artificial Intelligence
Quantum Neural Network (QNN) is a promising application towards quantum advantage on near-term quantum hardware. However, due to the large quantum noises (errors), the performance of QNN models has a severe degradation on real quantum devices. For example, the accuracy gap between noise-free simulation and noisy results on IBMQ-Yorktown for MNIST-4 classification is over 60%. Existing noise mitigation methods are general ones without leveraging unique characteristics of QNN and are only applicable to inference; on the other hand, existing QNN work does not consider noise effect. To this end, we present RoQNN, a QNN-specific framework to perform noise-aware optimizations in both training and inference stages to improve robustness. We analytically deduct and experimentally observe that the effect of quantum noise to QNN measurement outcome is a linear map from noise-free outcome with a scaling and a shift factor. Motivated by that, we propose post-measurement normalization to mitigate the feature distribution differences between noise-free and noisy scenarios. Furthermore, to improve the robustness against noise, we propose noise injection to the training process by inserting quantum error gates to QNN according to realistic noise models of quantum hardware. Finally, post-measurement quantization is introduced to quantize the measurement outcomes to discrete values, achieving the denoising effect. Extensive experiments on 8 classification tasks using 6 quantum devices demonstrate that RoQNN improves accuracy by up to 43%, and achieves over 94% 2-class, 80% 4-class, and 34% 10-class MNIST classification accuracy measured on real quantum computers. Quantum Computing (QC) is a new computational paradigm that can be exponentially faster than classical counterparts in various domains such as cryptography (Shor, 1999), database search (Grover, 1996), and chemistry (Kandala et al., 2017; Peruzzo et al., 2014; Cao et al., 2019). Quantum Machine Learning (QML) aims to leverage QC techniques to solve machine learning tasks and achieve much higher efficiency. Right: Due to the errors, QNN models suffer from severe accuracy drops. Different devices have various error magnitudes, leading to distinct accuracy.
arXiv.org Artificial Intelligence
Oct-21-2021
- Country:
- South America
- Ecuador > Pichincha Province
- Quito (0.04)
- Colombia > Bogotá D.C.
- Bogotá (0.04)
- Chile > Santiago Metropolitan Region
- Santiago Province > Santiago (0.06)
- Ecuador > Pichincha Province
- North America
- United States
- Texas > Travis County
- Austin (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Texas > Travis County
- Canada > Ontario
- Toronto (0.04)
- United States
- Europe > United Kingdom
- England > Cambridgeshire > Cambridge (0.04)
- Asia
- South America
- Genre:
- Research Report (0.64)
- Industry:
- Information Technology > Security & Privacy (0.34)
- Technology: