We discuss a new mathematical structure for standard quantum algorithms in case of a special function
. Let us suppose that we are given the following function
(1)
We shall assume that
. Let us introduce a function
that transforms binary strings into positive integers. We also define
. We shall assume, for the time being, that the given function is even. Thus, we have
(2)
We see that the condition (2) holds in standard quantum algorithms.
What the function
does in (1) is to map a set of discrete values onto another one. In (2), we assume that
is the binary representation of one element.
will be given by a binary string belonging to the Cartesian product
, for instance,
. We then define
as
.
Throughout the discussion, we omit any normalization factor. Let us suppose
. The input state is
(3)
The function
is evaluated by using the following unitary
qubits gate
(4)
with
(5)
And employing the fact that
. Here,
(the symbol
indicates addition modulo 2).
We have the following fact
(6)
Here, for example, if we have
, then
. Surprisingly the relation
is necessary for the fundamental relation (6) as shown below. From the definition in (5), we have
(7)
This implies for
, wit
(8)
We state that
. Then it follows that the minus sign on left and right hand side of (8) drop off. This implies
(9)
We furthermore assume such that
(10)
Comparing (7) with (9) we see
. Hence, we cannot avoid the following property of the function in order to maintain consistency for the fundamental relation (6)
(11)
That is, the function under study is even
(12)