-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align is not supported by OpenQASM #1478
Comments
However, here the problem is in the QASM translation, which is not turning Btw, your example is incomplete, since you're using |
Thank you for the clarification. I did not include the api part in the example bc of personal info, but now it has been fixed so it can be reproduced with an actual hardware credentials. |
If it's just a matter of renaming the |
Qiskit apparently dumps the delay as a custom operation re-defined everytime: OPENQASM 2.0;
include "qelib1.inc";
opaque delay(param0) q0;
qreg q[1];
delay(1.0) q[0]; thus, supporting the |
In my case, I plan to use it in a hardware backend that uses qibo, not qiskit compatible. |
Qibo does not require QASM for execution, so you can safely use The issue may be still relevant, but in principle you should be able to work with |
In that case, I guess that I should not use the api interface and use the functions from qibo client instead of using the API to connect to the device. Also, I should get the token that somehow must be related to the username and the api_key, right? Is it preferable to work with the api instead of qibo client? Thank you for fixing the issue. |
I am not sure which endpoint you are trying to connect to, but now we have the qibo-cloud-backends that automatically take care (through |
The endpoint is a quantum computer hosted at qilimanjaro, and the instructions they provide only use the api framework. |
Implementation of Align matrix is not supported by OpenQASM
I am trying to implement a delay gate, equivalent to the one from qiskit. Since in the documentation there is no delay gate, I thought Align could be used as it allows to add a delay as parameter function.
When trying to run a simple circuit with this gate:
the following errors appears:
Is there any other way to implement the delay gate?
Thank you in advance
The text was updated successfully, but these errors were encountered: