docs: def macro_state(self, micro_state):
          """Compute the macro-state of this blackbox.
  
          This is just the state of the blackbox's output indices.
  
          Args:
              micro_state (tuple[int]): The state of the micro-elements in the
                  blackbox.
  
          Returns:
              tuple[int]: The state of the output indices.
          """
          assert len(micro_state) == len(self.micro_indices)
  
          reindexed = self.reindex()
          return utils.state_of(reindexed.output_indices, micro_state)