Purpose of qml variable definition on the code

Hello all,

What is the reason for defining the qml variable in the following program on this page?

Thank you :folded_hands:

Hi @mbzadegan , this looks like a mistake in the Codebook. Thanks for reporting this! We’ll make sure to fix this.

1 Like

Hi Catalina,

Thank you again for confirming this issue.

I’m interested in contributing directly to PennyLane and helping fix Codebook issues through GitHub Pull Requests.

Since the original Codebook repository has been archived, could you please let me know whether the current Codebook source is publicly available and where I should submit a PR for Codebook correction?

I’d be happy to prepare the fix myself.

BTW, I think that it is most useful to show the related Quantum Circuit (Which has been attached) before or after the Pennylane code:

Thanks!