Professional Documents
Culture Documents
1.
The Feynman gate is a 2 input/2output gate given by
(2point )
Unitary?(2point)
3.Circuit identities
(i) A two qubit gate call SWAP gate and the matrix representation is dened
as:
1 0 0 0
0 0 1 0
SW AP =
0
1 0 0
0 0 0 1
1
Please use only CNOT gate to construct SWAP gate. Draw down the quan-
tum circuit diagram. Show that your answer is correct. (2point)
(ii)Verify that HXH = Z, where H is the Hadamard gate and X, Z denote
Pauli matrices.(1point)
(iii)Verify the following circuit identities:(1point)