def METHOD_NAME(program: "qbraid.QPROGRAM") -> Tuple["cirq.Circuit", str]:
    """Converts any valid input quantum program to a Cirq circuit.
    Args:
        program (:data:`~qbraid.QPROGRAM`): A qbraid-supported quantum program object.
    Raises:
        ProgramTypeError: If the input quantum program is not supported.
        CircuitConversionError: If the input quantum program could not be converted.
    Returns:
        A Tuple containing the Cirq circuit equivalent to input circuit and the
            input quantum program type.
    """
    if isinstance(program, str):
        try:
            package = get_qasm_version(program)
        except QasmError as err:
            raise ProgramTypeError(
                "Input of type string must represent a valid OpenQASM program."
            ) from err
    else:
        try:
            package = program.__module__
        except AttributeError as err:
            raise ProgramTypeError(program) from err
    # pylint: disable=import-outside-toplevel
    try:
        if "qiskit" in package:
            from qbraid.transpiler.cirq_qiskit import from_qiskit
            return from_qiskit(program), "qiskit"
        if "pyquil" in package:
            from qbraid.transpiler.cirq_pyquil import from_pyquil
            return from_pyquil(program), "pyquil"
        if "braket" in package:
            from qbraid.transpiler.cirq_braket import from_braket
            return from_braket(program), "braket"
        if "pytket" in package:
            from qbraid.transpiler.cirq_pytket import from_pytket
            return from_pytket(program), "pytket"
        if package == "qasm2":
            return from_qasm(program), package
        if package == "qasm3":
            from qiskit.qasm3 import loads
            from qbraid.transpiler.cirq_qiskit import from_qiskit
            qiskit_circuit = loads(program)
            return from_qiskit(qiskit_circuit), package
        if isinstance(program, Circuit):
            return program, "cirq"
    except Exception as err:
        raise CircuitConversionError(
            "Quantum program could not be converted to a Cirq circuit."
        ) from err
    raise ProgramTypeError(program)