-
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
CNOT gate decomposition should be implemented #1421
Comments
Pay attention: often CZ, iSWAP, and CNOT are alternative to each other.
qibo/src/qibo/transpiler/unroller.py Lines 205 to 207 in 8fb9af9
and this is for sure not sufficient. But it is not even that modular: it would be better to label interacting gates where they are defined (i.e. in the |
@alecandido Thank you for your reply. Since |
If you need that urgently, for sure :) However, we should schedule some time also for taking proper care of the unroller. If not immediately, whenever we can. |
@sorewachigauyo Paul mentioned that an unroller is needed to decompose the circuit using
CNOT
,GPI2
,RZ
,Z
, andM
. To achieve this,CNOT
should be included as a native gate.Here are the tasks to consider:
CNOT
as an attribute ofNativeGates
.cnot_dec
indecompositions.py
._translate_two_qubit_gates()
inunroller.py
.I believe
cnot_dec
can be implemented based on the existingcz_dec
.The text was updated successfully, but these errors were encountered: