I am trying to implement the u3 controlled gate (able to rotate the qubit in any specified direction in 3 dimensions if the control is 1, for two qubits) using simpler gates. The simpler gates available are:
X(), Y(), Z(), H(), K(), T() Single-qubit gates.
rot_X(step), rot_Y(step), rot_Z(step) Single-qubit rotations with the angle (step⋅2π256)
CNOT(q), CPHASE(q) Two-qubit gates with q (qubit) as target.