code: def int(self, q):
          
  
          i, j, u, k = q
          m, n, t = self.args
          return ((n*i + j)*2 + u)*t + k
docs: Converts the chimera_index `q` into an linear_index
  
          Parameters
          ----------
          q : tuple
              The chimera_index node label    
  
          Returns
          -------
          r : int
              The linear_index node label corresponding to q