AttributeError: module 'pennylane' has no attribute 'CRX'



The Controlled X rotation which is described in the documentation, does not seem to be on the current pennylane library.

Is it normal or there is a problem with my library import.

regards and and a nice summer,



Hi @barthelemymp! The online documentation is currently set to display the documentation for the latest master branch on GitHub, which now has support for CRX gates. If you wish to install the development version, you can do the following:

pip install git+

Once the next version of PennyLane is released, these will be included by default.