I am getting error on Pennylane-Qiskit, “Converter does not exist. Make sure the required plugin is installed and supports conversion”.
Need help.
I have installed all the latest softwares, still the same issue.
PennyLane==0.33.1
PennyLane-Lightning==0.33.1
PennyLane-qiskit==0.33.1
PennyLane-SF==0.29.1
qiskit==0.45.1
qiskit-aer==0.13.1
qiskit-ibm-provider==0.7.2
qiskit-ibm-runtime==0.17.0
qiskit-terra==0.45.1
quantum-blackbird==0.5.0
quantum-xir==0.2.2
Hi @isaacdevlugt ,
Thanks for replying. After installing Pennylane, Qiskit and all the required software. When I tries very simple program(given below) gives the error " ValueError: Converter does not exist. Make sure the required plugin is installed and supports conversion."
Program:
import pennylane as qml
from qiskit import QuantumCircuit
qc = QuantumCircuit(2)
qc.rz(0.543, [0])
qc.cx(0, 1)
my_circuit = qml.from_qiskit(qc)
I am not able to proceed further because of this error.
Some details of my laptop:
OS: MacOS Ventura 13.6.2
Chip: Apple M1 Pro.
Please do let me know if you need any more information.
Thanks
Hey @LDM, I don’t think the pennylane-qiskit plugin is installed for you (you can do so with pip install pennylane-qiskit), but to make sure could you show me your output for qml.about()?
The code example you attached works for me and here is my qml.about():
@LDM I would make sure that you’re using the correct python. You might have the proper packages installed in one python, but you’re running your code with another.
I recommend creating a new, fresh virtual environment, installing the packages in that environment via python -m pip install pennylane qiskit pennylane-qiskit, and ensuring that when you run your code that the correct python is being used (you can look at the output of which python in a terminal and make sure that that matches your virtual environment).