English

Learning the quantum algorithm for state overlap

Quantum Physics 2018-11-20 v2

Abstract

Short-depth algorithms are crucial for reducing computational error on near-term quantum computers, for which decoherence and gate infidelity remain important issues. Here we present a machine-learning approach for discovering such algorithms. We apply our method to a ubiquitous primitive: computing the overlap Tr(ρσ){\rm Tr}(\rho\sigma) between two quantum states ρ\rho and σ\sigma. The standard algorithm for this task, known as the Swap Test, is used in many applications such as quantum support vector machines, and, when specialized to ρ=σ\rho = \sigma, quantifies the Renyi entanglement. Here, we find algorithms that have shorter depths than the Swap Test, including one that has a constant depth (independent of problem size). Furthermore, we apply our approach to the hardware-specific connectivity and gate sets used by Rigetti's and IBM's quantum computers and demonstrate that the shorter algorithms that we derive significantly reduce the error - compared to the Swap Test - on these computers.

Keywords

Cite

@article{arxiv.1803.04114,
  title  = {Learning the quantum algorithm for state overlap},
  author = {Lukasz Cincio and Yiğit Subaşı and Andrew T. Sornborger and Patrick J. Coles},
  journal= {arXiv preprint arXiv:1803.04114},
  year   = {2018}
}

Comments

12 pages, 11 figures

R2 v1 2026-06-23T00:49:20.856Z