Towards Explainable Quantum AI: Informing the Encoder Selection of Quantum Neural Networks via Visualization

Shaolun Ruan, Feng Liang, Rohan Ramakrishna, Chao Ren, Rudai Yan +3 more
12/16/2025
quant-phcs.AIcs.HC

No confident code implementation found for this paper.

Abstract

Quantum Neural Networks (QNNs) represent a promising fusion of quantum computing and neural network architectures, offering speed-ups and efficient processing of high-dimensional, entangled data. A crucial component of QNNs is the encoder, which maps classical input data into quantum states.

Show full abstract

However, choosing suitable encoders remains a significant challenge, largely due to the lack of systematic guidance and the trial-and-error nature of current approaches. This process is further impeded by two key challenges: (1) the difficulty in evaluating encoded quantum states prior to training, and (2) the lack of intuitive methods for analyzing an encoder's ability to effectively distinguish data features. To address these issues, we introduce a novel visualization tool, XQAI-Eyes, which enables QNN developers to compare classical data features with their corresponding encoded quantum states and to examine the mixed quantum states across different classes. By bridging classical and quantum perspectives, XQAI-Eyes facilitates a deeper understanding of how encoders influence QNN performance. Evaluations across diverse datasets and encoder designs demonstrate XQAI-Eyes's potential to support the exploration of the relationship between encoder design and QNN effectiveness, offering a holistic and transparent approach to optimizing quantum encoders. Moreover, domain experts used XQAI-Eyes to derive two key practices for quantum encoder selection, grounded in the principles of pattern preservation and feature mapping.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ruan2025towards,
  title  = {Towards Explainable Quantum AI: Informing the Encoder Selection of Quantum Neural Networks via Visualization},
  author = {Shaolun Ruan and Feng Liang and Rohan Ramakrishna and Chao Ren and Rudai Yan and Qiang Guan and Jiannan Li and Yong Wang},
  year   = {2025},
  eprint = {2512.14181},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.14181v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.14181.svg)](https://codeofpaper.com/paper/2512.14181)

Discussion