Thank you so much! What if I already set up the U gate through lists of quantum gates not in terms of matrix and try to make it to controlled_U that is controlled by some specific wire index?
Should I do something like decomposing the U gate into matrix form and change that matrix and then use QubitUnitary thing?