This flight should be logged as P1S, the instructor would have been the commander of the aircraft during the flight. Correct, but if the flight was handled solely by you i.e the instructor did not take over at any point, then its P1S, otherwise it would be PUT.
Read LASORS.