A novel quantum algorithm for converting between one-hot and binary encodings

Bingren Chen,Hanqing Wu,Haomu Yuan,Lei Wu,Xin Li
DOI: https://doi.org/10.1007/s11128-024-04403-z
IF: 1.965
2024-05-26
Quantum Information Processing
Abstract:In the domain of quantum computing, two widely employed techniques for encoding a normalized vector of length N , denoted as , are one-hot encoding and binary encoding. The one-hot encoding state is represented as and can be expressed as: . On the other hand, the binary encoding state is symbolized as and is defined as: , where corresponds to the binary representation of i . In this paper, we introduce a method for converting between the one-hot encoding state and the binary encoding state, utilizing the Domain Wall state as an intermediary. The Domain Wall state, denoted as , is defined as: . Our proposed circuit achieves a depth of and a size of O ( N ).Kindly check and confirm that the corresponding author mail id is correctly identified.
physics, multidisciplinary,quantum science & technology, mathematical
What problem does this paper attempt to address?