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

preprint2022arXivOpen access

Abstract

Within the quantum computing, there are two ways to encode a normalized vector {αi}\{ α_i \}. They are one-hot encoding and binary coding. The one-hot encoding state is denoted as ∣ψO(N)⟩=∑i=0N−1αi∣0⟩⊗N−i−1∣1⟩∣0⟩⊗i\left | ψ_O^{(N)} \right \rangle=\sum_{i=0}^{N-1} α_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=0N−1αi∣bi⟩\left | ψ_B^{(N)} \right \rangle=\sum_{i=0}^{N-1} α_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=0N−1αi∣0⟩⊗N−i−1∣1⟩⊗i\left | ψ_E^{(N)} \right \rangle=\sum_{i=0}^{N-1} α_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(log⁡2N)O(\log^2 N) depth and O(N)O(N) size.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.