...

/

Depicting the Transformation O-gate

Depicting the Transformation O-gate

Get introduced to the concept of the transformation O-gate.

We'll cover the following...

The following figure depicts the transformation gate OiO_i:

Let’s say, i=0i=0. In that case, we’ll apply the function f0f_0. Per definition, f0(x)=0f_0(x)=0. When we insert this into the above equation, we can see the output of OiO_i is equal to its input:

O0(xy)=xyf0(x)=xy0=xyO_0(|x\rangle\otimes|y\rangle)=|x\rangle\otimes|y\oplus|f_0(x)\rangle=|x\rangle\otimes|y\oplus|0\rangle=|x\rangle\otimes|y\rangle

We can safely state that not changing a state is reversible.

When i=1i=1, we apply the function f1f_1, which returns 0 for x=0x=0 and 1 for x=1x=1. Thus, f1(x)=xf_1(x)=x.

O1(xy)=xyf1(x)=xyxO_1(|x\rangle\otimes|y\rangle)=|x\rangle\otimes|y\oplus f_1(x)\rangle=|x\rangle\otimes|y\oplus x\rangle ...