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 :
Let’s say, . In that case, we’ll apply the function . Per definition, . When we insert this into the above equation, we can see the output of is equal to its input:
We can safely state that not changing a state is reversible.
When , we apply the function , which returns 0
for and 1
for . Thus, .
The truth table of the term shows that it is reversible.
When we apply , it returns 1
for and 0
for . We can then say .
The truth table discloses that the term is reversible, too.
Finally, always returns 1
.
The output is like the input, but with a reversed .
The truth table shows the following:
- is a valid two-qubit gate for all
- The output of
The following truth table shows how the -gate transforms pairs of qubits in the basis states.
As usual, when we only look at qubits in the basis states, there’s nothing special with a quantum circuit. However, things get interesting when the qubits are in a state of superposition.
Let’s input the states ...