1. Create two-qubit functions that return the following quantum states:
2. Write a function that implements the SWAP gate, using only CNOT gates. How many CNOT gates are needed?
3. (Optional) Next class we will encounter the following gate:
Write a function that implements this gate using only CNOT and single-qubit gates.