Hello Pennylane Discussion Forum, I’m trying to complete the Certificate Challeng, introduction to pennylane. My code is passing the public test but not the private tests, so I can’t see where I’m going wrong. My code draws the circuit the same as the one displayed in the introduction, so not sure how to proceed (or if I’m allowed to put my code in the forum). I think where my code might be wrong is this loop:
for i in range(len(param_set)//1):
W(param_set[i])
S(g,x,num_wires)
W(param_set[i+1])
return qml.probs(wires=0)