<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transition_to_rollback(self):
 """Transition to rollback"""

        assert self.state in [AQStateMachineStates.execute, AQStateMachineStates.execute_complete]
        self.state = AQStateMachineStates.rollback