// perform as much of the contraction as possible if constants supplied
if constants_dict:
tmp_const_ops = [constants_dict.get(i, None) for i in range(self.num_args)]
new_ops, new_contraction_list = self(*tmp_const_ops, parse_constants=True)
self.contraction = format_const_einsum_str(contraction, constants_dict.keys())
self.num_args -= len(constants_dict)
self.contraction_list = new_contraction_list