Replies: 1 comment
-
Agreed
Not sure why. If not documented, that should be investigated (and then either fixed or documented)
Well, that's certainly fine. The problem is that I'm not sure there is any transpiler component corresponding to your step 1. qibo/src/qibo/transpiler/unroller.py Lines 125 to 130 in 8a27b9a requires an instance of qibo/src/qibo/transpiler/unroller.py Line 32 in 8a27b9a which does not allow arbitrary gates to be specified. And not even all those implemented in Qibo. This is a non-trivial design issue, since we just care about gates being uniquely identified (i.e. they are labels). And their meaning is eventually provided only by the backend.
The current structure of gates as individual classes is certainly not optimal for that, and then yields the presence of redundant structures as the Solving the entire problem requires deep rewriting (which we already started to think about, i.e. Unfortunately, I believe you will need to provide some code to implement that step 1. But that's certainly something we can discuss :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm transpiring with SABRE. For performance reason I assume that I should better run SABRE before Unrolling to hardware gates since it's going to be much large circuit. However if my original circuit contains Toffoli gates SABRE reports error. Can I do 2 step unrolling?
Beta Was this translation helpful? Give feedback.
All reactions