Application of quantum approximate optimization algorithm to job shop scheduling problem