English

A Logarithm Depth Quantum Converter: From One-hot Encoding to Binary Encoding

Quantum Physics 2022-07-28 v2

Abstract

Within the quantum computing, there are two ways to encode a normalized vector {αi}\{ \alpha_i \}. They are one-hot encoding and binary coding. The one-hot encoding state is denoted as ψO(N)=i=0N1αi0Ni110i\left | \psi_O^{(N)} \right \rangle=\sum_{i=0}^{N-1} \alpha_i \left |0 \right \rangle^{\otimes N-i-1} \left |1 \right \rangle \left |0 \right \rangle ^{\otimes i} and the binary encoding state is denoted as ψB(N)=i=0N1αibi\left | \psi_B^{(N)} \right \rangle=\sum_{i=0}^{N-1} \alpha_i \left |b_i \right \rangle, where bib_i is interpreted in binary of ii as the tensor product sequence of qubit states. In this paper, we present a method converting between the one-hot encoding state and the binary encoding state by taking the Edick state as the transition state, where the Edick state is defined as ψE(N)=i=0N1αi0Ni11i\left | \psi_E^{(N)} \right \rangle=\sum_{i=0}^{N-1} \alpha_i \left |0 \right \rangle^{\otimes N-i-1} \left |1 \right \rangle ^{\otimes i}. Compared with the early work, our circuit achieves the exponential speedup with O(log2N)O(\log^2 N) depth and O(N)O(N) size.

Cite

@article{arxiv.2206.11166,
  title  = {A Logarithm Depth Quantum Converter: From One-hot Encoding to Binary Encoding},
  author = {Bingren Chen and Hanqing Wu and Haomu Yuan and Lei Wu and Xin Li},
  journal= {arXiv preprint arXiv:2206.11166},
  year   = {2022}
}

Comments

17 figures, 17 pages

R2 v1 2026-06-24T12:00:23.043Z