def METHOD_NAME(input_path, output_arrays):
    """
    This function generates a file which includes output arrays of BCQ v1
    information bundles. Each bundle is consisted with one of candidate
    operations (BCQ may be applied) and BCQ constant nodes related with
    the operation.
    """
    graph = load_graph(input_path)
    ops = graph.get_operations()
    # If there is a constant node named PREFIX_1/bcqinfo_alpha,
    # it is used for applying BCQ to constant node named PREFIX_1.
    # Collected prefixes will be used for connecting
    # bcqinfo nodes and user operations of prefix nodes.
    prefix_set = set()
    has_dequant_weight = False
    for op in ops:
        if op.type == "Const" and "/bcqinfo_" in op.outputs[0].name:
            # Metadata do not have prefix
            if "one_compiler/bcqinfo_one_metadata" in op.outputs[0].name:
                continue
            prefix_index = op.outputs[0].name.index("/bcqinfo_")
            prefix = op.outputs[0].name[:prefix_index]
            prefix_set.add(prefix)
            # Usually, output name of op is like "outputname:0"
            # -2 is for removing ":0"
            infoname = op.outputs[0].name[prefix_index + 1:-2]
            if infoname == "bcqinfo_dequant_weight":
                has_dequant_weight = True
    # the name of metadata node
    ret_output_arrays = ['one_compiler/bcqinfo_one_metadata']
    # given node from user
    ret_output_arrays += output_arrays.split(',')
    # all pairs of a constant node and related BCQ information nodes.
    for prefix in prefix_set:
        ret_output_arrays.append(prefix + '/bcqinfo_do_w_x')
        ret_output_arrays.append(prefix + '/bcqinfo_alpha')
        ret_output_arrays.append(prefix + '/bcqinfo_packed_binary_code')
        ret_output_arrays.append(prefix + '/bcqinfo_number_of_clusters')
        ret_output_arrays.append(prefix + '/bcqinfo_size_of_clusters')
        ret_output_arrays.append(prefix + '/bcqinfo_qbits_of_clusters')
        ret_output_arrays.append(prefix)
        if has_dequant_weight:
            ret_output_arrays.append(prefix + '/bcqinfo_dequant_weight')
    return ret_output_arrays