-
Notifications
You must be signed in to change notification settings - Fork 17
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
Compiler rule fails when running Qibo example circuit on Qibolab 0.1.8 #927
Comments
This is expected, and even [documented], though the error is not necessarily that helpful. Qibolab is not transpiling any longer, and you should explicitly transpile using Qibo. So, you are receiving an error because the circuit has not been transpiled, and the compiler does not know about the Definitely poor UX, and maybe correspondingly poor docs, for the time being. I'm sorry for that. |
In principle we could add the X gate in the default compiler, since it's pulse representation is quite straighforward (it's exactly the pi-pulse saved in the platform runcard). However, this opens another discussion of which gates are considered as native by default. Another issue is that some algorithms/routines are affected by how the compilation is done, eg. RB results could be different if X is used and compiled as one or two pulses. This is why we decided to use GPI2 as the only native single qubit gate, since it is always mapped to a single pulse (+ virtual phases) and unlike X it is sufficient to implement any other gate. |
Indeed, and that's why I'd keep it like that. It is true that there is not a unique definition of native gates, but I would keep the minimal universal set. |
Since this issue would be addressed by qiboteam/qibo#1309, and @csookim is going to work soon on that, I'm closing it. One issue is enough, and it's a Qibo issue in the first place. But I'm sorry you hit this rough corner, I would have liked to fix it much before. |
When setting up Qibolab 0.1.8 for the emulator VM, I encountered an issue running a simple Qibo example. I was able to replicate the issue on my own machine
which fails with this error
I also had this issue when using the dummy platform.
The text was updated successfully, but these errors were encountered: