Gates#
Extra Credit
Everything in the gates section is extra credit!
In this section, we are going to learn some additional aspects about gates:
Taking a circuit made out of unitary and figure out how to make a controlled-version of that circuit (decomposed back into H, P, and CNOT gates).
Take an arbitrary classical function and build a quantum circuit which implements that function.
Take an arbitrary unitary and decompose it into a universal gate set.