Transpilation issues in the MATLAB Support Package for Quantum Computing

5 ビュー (過去 30 日間)
Marco Venere
Marco Venere 2024 年 3 月 25 日
コメント済み: Marco Venere 2024 年 3 月 29 日
Hello,
I am using MATLAB to try to run a very simple circuit on an IBM Osaka quantum backend. The circuit only applies one Hadamard gate on one qubit, yet the IBM backend does not support Hadamard gates.
The run() method is supposed to perform transpilation and convert my circuit to a version which only uses supported gates. It seems that this does not happen. I get an error at runtime from IBM Quantum Platform: "Failed - Circuits do not match the target definition (non-ISA circuits). -- \n Transpile your circuits for the target before submitting a primitive query.". Indeed, I can also see that the QASM sent to the IBM device contains the Hadamard gate.
How can I transpile the circuit? The tutorial only runs the "run" command, using by default OptimizationLevel=3, which is supposed to perform the required transpilation
Regards

採用された回答

Quantum Computing
Quantum Computing 2024 年 3 月 26 日
編集済み: Steven Lord 2024 年 3 月 26 日
Hi Marco,
This is due to changes with the IBM Runtime Service that took effect March 1st, where circuits are no longer transpiled. You can find more information and a workaround in Bug Report 3241896.
Thank you
[SL: Turned URL into a hyperlink]
  3 件のコメント
Pat Quillen
Pat Quillen 2024 年 3 月 28 日
Hi Marco.
Yes, we are working on trying to restore the functionality as it was prior to 01 March without the need for a workaround. Specifically, we are looking at how to most effectively take care of transpilation for you. We're hoping to get this out in the not so distant future.
Let us know if you have any other questions.
Pat.
Marco Venere
Marco Venere 2024 年 3 月 29 日
Hi Pat,
Thanks for your answer!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeQuantum Mechanics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by