code: def int(self, q):
          
  
          u, w, k, z = q
          m, m1 = self.args
          return ((m * u + w) * 12 + k) * m1 + z
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