English

Circuits of Quantum Hashing and Quantum Fourier Transform for a Cactus as a Qubit Connectivity Graph

Quantum Physics 2026-05-21 v1 Data Structures and Algorithms

Abstract

We present a quantum circuit implementation of the quantum hashing algorithm (quantum fingerprinting) for a quantum device with restrictions on the application of two-qubit gates by a qubit connectivity graph. We present an optimization technique for the shallow circuit for quantum hashing in the case of a cactus as a qubit connectivity graph. The algorithm has O(n3)O(n^3) complexity to build the circuit, where nn is the number of qubits and mm is the number of connections (edges) in the graph. It is improvement compared to the existing exponential-time algorithm in the case of arbitrary graphs. The algorithm uses solution for the shortest non-simple 1-covering path problem as a subroutine. We present an O(n3)O(n^3)-time solution for this graph-theory problem in the case of a cactus. This result can be interesting independently. The algorithm also used for improving of the quantum circuit for Quantum Fourier Transform.

Keywords

Cite

@article{arxiv.2605.20789,
  title  = {Circuits of Quantum Hashing and Quantum Fourier Transform for a Cactus as a Qubit Connectivity Graph},
  author = {Kamil Khadiev and Ilnur Valeev},
  journal= {arXiv preprint arXiv:2605.20789},
  year   = {2026}
}

Comments

accepted by UCNC2026