<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_state_vector(self, state: Union[int, np.ndarray]):
 """Updates the state of the simulator to the given new state. Args: state: If this is an int, then this is the state to reset the stepper to, expressed as an integer of the computational basis. Integer to bitwise indices is little endian. Otherwise if this is a np.ndarray this must be the correct size and have dtype of np.complex64. Raises: ValueError if the state is incorrectly sized or not of the correct dtype. """

        self._stepper.reset_state(state)