def _stimcirq_json_resolvers():
    """Retrieves stimcirq JSON resolvers if stimcirq is installed.
    Returns an empty dict if not installed."""
    try:
        import stimcirq

        return stimcirq.JSON_RESOLVERS_DICT
    except ModuleNotFoundError:  # pragma: no cover
        return {}  # pragma: no cover
Retrieves stimcirq JSON resolvers if stimcirq is installed.
    Returns an empty dict if not installed.
cirq-google/cirq_google/serialization/stimcirq_deserializer.py