code: def inverse(self):
          
          inverses = [op.inverse for op in self.operators]
          return DiagonalOperator(*inverses,
                                  domain=self.range, range=self.domain)
docs: Inverse of this operator.
  
          For example, if A and B are operators::
  
              [[A, 0],
               [0, B]]
  
          The inverse is given by::
  
              [[A^-1, 0],
               [0, B^-1]]
  
          This is only well defined if each sub-operator has an inverse
  
          Returns
          -------
          inverse : `DiagonalOperator`
              The inverse operator
  
          See Also
          --------
          ProductSpaceOperator.inverse