def CreateCGate(name, latexname=None):
    if not latexname:
        latexname = name
    onequbitgate = CreateOneQubitGate(name, latexname)
    def ControlledGate(ctrls,target):
        return CGate(tuple(ctrls),onequbitgate(target))
    return ControlledGate
:param reference: PackageReference
dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/circuitplot.py/CreateCGate--crossover with--dataset/ETHPy150Open conan-io/conan/conans/server/store/file_manager.py/FileManager.get_upload_package_urls