PennyLane Challenge: States and probabilities

Use this topic to ask your questions about the PennyLane Challenge: States and probabilities.

Small suggestions:

  • This challenge’s instructions can benefit from consistency with the ones that precede it. For example, the explanation for QNode in this challenge is different from the previous 3 challenges. It seems factually correct though. Also, the explanation of QNode in this questions is included within the Challenge statement, whereas in the previous challenges it was before the challenge statement, with the first sentence reading

Skip to Challenge statement if you are already familiar with simple quantum circuits in PennyLane.

  • also, even though this is the last challenge in the beginner challenges, unlike all the preceding ones, the return statement is already hard-coded and as users we are not required to specify it. I think it would be beneficial if the return was also left to the user to figure out given the preceding challenges.

Thank you very much for your feedback @Kamal_Mohamed !