Pennylane lightning.qubit is not working

Hi, @harry! Welcome to the forum :partying_face:
Ah! I was running into this problem yesterday on mi mac machine using python 3.13.0. I fixed it by creating a fresh virtual environment with pyenv with python 3.11.0. Then, I simply install pennylane using python -m pip install pennylane
My colleague, Catalina, has seen this error in the past and here is what she suggests from another forum post.
I would probably try to follow those suggestions and/or see if using another tool to manage virtual environments works better.
Let us know if any of this works and if not, we’ll keep trying to help you.

1 Like