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

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

Hey @LDM, welcome to the forum :rocket:

Would you be able to post a minimal example that gives you the error that you’re seeing? It would help us figure out what’s going on :slight_smile:

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():

Name: PennyLane
Version: 0.33.1
Summary: PennyLane is a Python quantum machine learning library by Xanadu Inc.
Home-page: https://github.com/PennyLaneAI/pennylane
Author: 
Author-email: 
License: Apache License 2.0
Location: /Users/isaac/.virtualenvs/pennylane-qiskit-2/lib/python3.9/site-packages
Requires: appdirs, autograd, autoray, cachetools, networkx, numpy, pennylane-lightning, requests, rustworkx, scipy, semantic-version, toml, typing-extensions
Required-by: PennyLane-Lightning, PennyLane-qiskit

Platform info:           macOS-14.1.2-x86_64-i386-64bit
Python version:          3.9.14
Numpy version:           1.23.5
Scipy version:           1.11.3
Installed devices:
- default.gaussian (PennyLane-0.33.1)
- default.mixed (PennyLane-0.33.1)
- default.qubit (PennyLane-0.33.1)
- default.qubit.autograd (PennyLane-0.33.1)
- default.qubit.jax (PennyLane-0.33.1)
- default.qubit.legacy (PennyLane-0.33.1)
- default.qubit.tf (PennyLane-0.33.1)
- default.qubit.torch (PennyLane-0.33.1)
- default.qutrit (PennyLane-0.33.1)
- null.qubit (PennyLane-0.33.1)
- qiskit.aer (PennyLane-qiskit-0.33.1)
- qiskit.basicaer (PennyLane-qiskit-0.33.1)
- qiskit.ibmq (PennyLane-qiskit-0.33.1)
- qiskit.ibmq.circuit_runner (PennyLane-qiskit-0.33.1)
- qiskit.ibmq.sampler (PennyLane-qiskit-0.33.1)
- qiskit.remote (PennyLane-qiskit-0.33.1)
- lightning.qubit (PennyLane-Lightning-0.33.1)

Hi @isaacdevlugt ,
Thanks for continuous follow up.
Yes Pennylane qiskit is already installed -
PennyLane==0.33.1
PennyLane-Lightning==0.33.1
PennyLane-qiskit==0.33.1
PennyLane-SF==0.29.1

Please find here below the output of qml.about():

qml.about()
Name: PennyLane
Version: 0.33.1
Summary: PennyLane is a Python quantum machine learning library by Xanadu Inc.
Home-page: GitHub - PennyLaneAI/pennylane: PennyLane is a cross-platform Python library for differentiable programming of quantum computers. Train a quantum computer the same way as a neural network.
Author:
Author-email:
License: Apache License 2.0
Location: /Users/-----/miniforge3/envs/dl/lib/python3.10/site-packages
Requires: appdirs, autograd, autoray, cachetools, networkx, numpy, pennylane-lightning, requests, rustworkx, scipy, semantic-version, toml, typing-extensions
Required-by: PennyLane-Lightning, PennyLane-qiskit, PennyLane-SF

Platform info: macOS-13.6.2-arm64-arm-64bit
Python version: 3.10.12
Numpy version: 1.23.5
Scipy version: 1.11.4
Installed devices:

  • default.gaussian (PennyLane-0.33.1)
  • default.mixed (PennyLane-0.33.1)
  • default.qubit (PennyLane-0.33.1)
  • default.qubit.autograd (PennyLane-0.33.1)
  • default.qubit.jax (PennyLane-0.33.1)
  • default.qubit.legacy (PennyLane-0.33.1)
  • default.qubit.tf (PennyLane-0.33.1)
  • default.qubit.torch (PennyLane-0.33.1)
  • default.qutrit (PennyLane-0.33.1)
  • null.qubit (PennyLane-0.33.1)
  • lightning.qubit (PennyLane-Lightning-0.33.1)
  • strawberryfields.fock (PennyLane-SF-0.29.1)
  • strawberryfields.gaussian (PennyLane-SF-0.29.1)
  • strawberryfields.gbs (PennyLane-SF-0.29.1)
  • strawberryfields.remote (PennyLane-SF-0.29.1)
  • strawberryfields.tf (PennyLane-SF-0.29.1)
  • qiskit.aer (PennyLane-qiskit-0.33.1)
  • qiskit.basicaer (PennyLane-qiskit-0.33.1)
  • qiskit.ibmq (PennyLane-qiskit-0.33.1)
  • qiskit.ibmq.circuit_runner (PennyLane-qiskit-0.33.1)
  • qiskit.ibmq.sampler (PennyLane-qiskit-0.33.1)
  • qiskit.remote (PennyLane-qiskit-0.33.1)

@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).

Let me know if this helps!