Construction of one-for-one Hash function mapping between permutation group and integral number

Hanwu Chen,Zhiqiang Li,Baowen Xu
DOI: https://doi.org/10.3321/j.issn:1001-0505.2008.02.008
2008-01-01
Abstract:For improving the efficiency of reversible logic circuit automation and optimization of quantum, a construction of one-for-one Hash function mapping between permutation group and integral number is proposed. There are 2n! combinatorial duals of input/output in a reversible logic gate of n × n quantum. If a combinatorial dual corresponds to a permutation, then a permutation group can be created with the set composed by all 2n permutations. The Hash function H(X) maps an element X(a0a1 ⋯ a2n-1) of a permutation group onto an integer Z∈ {0, 1, ⋯, 2n!-1} by counting a-thwart ordinal number of every number in a permutation by using its arrangement and computing its function value, and quickly confirming the position. The efficiency of synthetic algorithms for reversible logic of quantum can be greatly improved by using this function. Moreover, this function has simple structure, good performance and universality.
What problem does this paper attempt to address?