That’s unusual. Can you confirm your pennylane version by running the following command from within the same interactive python interpreter that you use to get the error?:
I figured out the issue. We’ve renamed a few operators in the latest development version of PennyLane, but this hasn’t made it into an official release yet. At the moment, the docs, by default, point to the development version, so there is some misalignment. This should be fixed shortly; we will release a new official version. Then the documentation will be up-to-date.