Project 1 question 7

Hi, in exercise 7, pow is defined to be an integer in standart binary representation.
But in exercise 8, the exponent should be represented in one hot, and the exponent is basically pow after the reduction. so should we change the representation of pow with circuit or should it be represented in one hot in the first place?
Thanks!

pow_in and pow_out should both represent integers in one-hot representation.
I fixed the PDF now, thanks for pointing it out.