Andrea Petkovic says she was 'in a zone' as she beat Sara Errani to reach the semi-finals of the French Open.