Lune

CVPR2024Top-tier venue

Circuit Design and Efficient Simulation of Quantum Inner Product and Empirical Studies of Its Effect on Near-Term Hybrid Quantum-Classic Machine Learning

Hao Xiong, Yehui Tang, Xinyu Ye, Junchi Yan

Abstract

For the essential operation, namely inner product (IP) as widely adopted in classic computing e.g. matrix multiplication, its quantum counterpart: quantum inner product (QIP), has also been recently theoretically explored with a verifiable lower complexity on quantum computers. However, it remains unclear for the embodiment of the quantum circuits (QC) for QIP, let alone a (thorough) evaluation of the QIP circuits, especially in a practical context in the NISQ era by applying QIP to ML via hybrid quantum-classic pipelines. In this paper, we carefully design the QIP circuits from scratch, whose complexity is in accordance with the theoretical complexity. To make the simulation tractable on classic computers, especially when it is integrated in the gradient-based hybrid ML pipelines, we further devise a highly-efficient simulation scheme by directly simulates the output state. Experiments show that the scheme accelerates the simulation for more than 68k times compared with the previous circuit simulator. This allows our empirical evaluation on typical machine learning tasks, ranging from supervised and self-supervised learning via neural nets, to K-Means clustering. The results show that the calculation error brought by typical quantum mechanisms would incur in general little influence on the final numerical results given sufficient qubits. However, certain tasks e.g. ranking in K-Means could be more sensitive to quantum noise. We acknowledge Zhanpeng Zhou who helped the IBM Quantum access and experiments during his stay in Tokyo, Japan. This is an independent work without any funding.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • projUNN: efficient method for training deep networks with unitary matrices cites Quantum Algorithms for Deep Convolutional Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. QuaDiM: A Conditional Diffusion Model For Quantum State Property EstimationYehui Tang, Mabiao Long, Junchi YanICLR 2025

Builds on4

  1. Quantum Algorithms for Deep Convolutional Neural NetworksIordanis Kerenidis, Jonas Landman, Anupam PrakashICLR 2020 · 163 citations
  2. Semiconductor Defect Detection by Hybrid Classical-Quantum Deep LearningYuanFu Yang, Min SunCVPR 2022 · 44 citations
  3. projUNN: efficient method for training deep networks with unitary matricesBobak Toussi Kiani, Randall Balestriero, Yann LeCun, Seth LloydNeurIPS 2022 · 42 citations
  4. A Hybrid Quantum-Classical Approach based on the Hadamard Transform for the Convolutional LayerHongyi Pan, Xin Zhu, Salih Furkan Atici, Ahmet Enis ÇetinICML 2023 · 27 citations

Related papers

  1. The Inductive Bias of Quantum KernelsJonas M. Kübler, Simon Buchholz, Bernhard SchölkopfNeurIPS 2021 · 190 citations
  2. Quantum Spectral Clustering of Mixed GraphsDaniel Volya, Prabhat MishraDAC 2021 · 12 citations
  3. Reinvent the Operation not the Architecture: Quantum-inspired High-order Product for Compatible and Improved LLMs TrainingHao Xiong, Yebin Yang, Huaijin Wu, Xiaoqiu Zhong et al.KDD 2025 · 1 citation
  4. Polynomial-Time Classical Simulation of Noisy IQP Circuits with Constant DepthJoel Rajakumar, James D. Watson, Yi-Kai LiuSODA 2025 · 7 citations
  5. QOC: quantum on-chip training with parameter shift and gradient pruningHanrui Wang, Zirui Li, Jiaqi Gu, Yongshan Ding et al.DAC 2022 · 43 citations
Dusk over the sea between two cliffs drawn in fine vertical lines