Pennylane-qiskit converter error

Hi guys,

I’m working through the Pennylane tutorials and have encountered an error with the pennylane-qiskit plugin.

Code inputted:
from qiskit import QuantumCircuit
from qiskit.circuit import Parameter
import numpy as np

qc = QuantumCircuit(2)
qc.rz(0.543, [0]), 1)
my_circuit = qml.from_qiskit(qc)

def circuit(x):
qml.RX(x, wires=1)
my_circuit(wires=(1, 0))
return qml.expval(qml.PauliZ(0))

Error message:
Converter does not exist. Make sure the required plugin is installed and supports conversion.

I am unsure why I am getting this error, I have made sure my pennylane, pennylane-qiskit, and python versions are up to date.

Can anyone suggest a solution?

Hi @JoeGibbs. Could you please run the following code in a new file/notebook and send us the full error report, if you still get one? Also, could you please send us the versions of your python, pennylane and qiskit?

import pennylane as qml
from qiskit import QuantumCircuit

qc = QuantumCircuit(2)
qc.rz(0.543, [0]), 1)
my_circuit = qml.from_qiskit(qc)

Hi @sjahangiri thanks for the response,

It turned out to be an issue with my qiskit installation which I have since resolved :slight_smile:

Hi @JoeGibbs. Great to hear that the issue is resolved. Enjoy using pennylane!