code: def get_qutip_module(required_version='3.2'):
      
      try:
          import qutip as qt
          from distutils.version import LooseVersion
          _qt_version = LooseVersion(qt.version.version)
          if _qt_version < LooseVersion(required_version):
              return None
      except ImportError:
          return None
  
      return qt
docs: Attempts to return the qutip module, but
      silently returns ``None`` if it can't be
      imported, or doesn't have version at
      least ``required_version``.
  
      :param str required_version: Valid input to
          ``distutils.version.LooseVersion``.
      :return: The qutip module or ``None``.
      :rtype: ``module`` or ``NoneType``