docs: def sample_measurements(
              self,
              indices: List[int],
              repetitions: int=1) -> List[List[bool]]:
          """Samples from measurements in the computational basis.
  
          Note that this does not collapse the wave function.
  
          Args:
              indices: Which qubits are measured.
  
          Returns:
              Measurement results with True corresponding to the |1> state.
              The outer list is for repetitions, and the inner corresponds to
              measurements ordered by the input indices.
  
          Raises:
              ValueError if repetitions is less than one.
          """
          # Stepper uses little endian while sample_state uses big endian.
          reversed_indices = [self._num_qubits - 1 - index for index in indices]
          return sim.sample_state_vector(self._current_state(), reversed_indices,
                                         repetitions)