def METHOD_NAME(s: "List[str]") -> "Dict[str, float]":
    """parse object literal from simulation results.
    the values are converted into float if it can be.
    >>> parse_object(["Fidelity=0.647462","Xerror=-0.00802559", " Zerror=0.352538", "Yerror=0.00802559;"])
    {'Fidelity': 0.647462, 'Xerror': -0.00802559, 'Zerror': 0.352538, 'Yerror': 0.00802559}
    >>> parse_object("cost=0.00795483;distance=2.5km;fidelity=0.647462;bellpair_per_sec=299.875;".split(";"))
    {'cost': 0.00795483, 'distance': '2.5km', 'fidelity': 0.647462, 'bellpair_per_sec': 299.875}
    """
    obj = dict()
    for kv in s:
        if not kv:
            continue
        k, v = kv.split("=")
        k = k.strip(" ")
        v = remove_end_semi(v)
        try:
            obj[k] = float(v)
        except ValueError:
            obj[k] = v
    return obj