Need help regarding connecting matlab to ibm qiskit.

9 views (last 30 days)
when using the command: dev = quantum.backend.QuantumDeviceIBM("ibmq_qasm_simulator")
it shows error as: Unable to resolve the name 'quantum.backend.QuantumDeviceIBM'.
Error in nwtr (line 1)
dev = quantum.backend.QuantumDeviceIBM("ibmq_qasm_simulator")
need to help to resolve this.

Answers (1)

Mann Baidi
Mann Baidi on 8 Dec 2023
Edited: Mann Baidi on 8 Dec 2023
Hi Sowmya,
I understand you are facing issue in using the "quantum.backend.QuantumDeviceIBM" in MATLAB.
For using this function, you will have to install the "MATLAB Support Package for Quantum Computing" in your local desktop. The support package is published by the MATLAB Staf members. You can install the Support Package using the following link.
Hope this will help you!
Sowmya on 8 Dec 2023
Hi, thanks for your reply. I have downloaded the support package. but it is showing the same error. Is there anything i need to do more to it?
Mann Baidi
Mann Baidi on 8 Dec 2023
Have you also installed it? If not,when, double click on the support package, a pop up will appear, click on "Accept" then it will start downloading and installing packages. Try doing this in the working directory if possible.

Sign in to comment.


Find more on Gate-Based Quantum Computing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!