Compute the parity into the second wire, phase that wire with the T gate, then uncompute with the same controlled-NOT gate. The answer isFor computational bits , the successive states are . The parity is one precisely on the two odd-parity inputs. Thus, in the ordered computational basis , the matrix is exactly , with no omitted overall phase. This is a two-qubit parity phase gate.
Articles by others on the same topic
There are currently no matching articles.