Should we implement our transpiler as a Qiskit transpiler plugin? #14
Closed
jordandsullivan
started this conversation in
Ideas
Replies: 2 comments
-
@sonikaj interested to hear your thoughts on this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would argue we should likely be moving away from tighter integration with Qiskit, as we have already run into multiple breaking changes since beginning development of UCC. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At UnitaryCon, I learned about this feature that Qiskit has for implementing custom transpiler passes: https://docs.quantum.ibm.com/guides/transpiler-plugins.
![Screenshot 2024-09-13 at 12 20 47 PM](https://private-user-images.githubusercontent.com/15827191/367231091-4a6ac893-12ef-4d5b-bbf4-1c5383ed036d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNTg4OTksIm5iZiI6MTczOTA1ODU5OSwicGF0aCI6Ii8xNTgyNzE5MS8zNjcyMzEwOTEtNGE2YWM4OTMtMTJlZi00ZDViLWJiZjQtMWM1MzgzZWQwMzZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIzNDk1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxYWFhNDE1NGNkMWFhMjkwYzUzMTQ1NTNkYzZkMDQ1NmU3ODE1MzhhZTM5YjllZDk1NjUxNzBiM2ExNWEyMDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qGjyfcmbbX2PPewm2KkGLNsoNNOXFwtDCtEvEYW3Krc)
For MVP, this seems like it could be a cleaner way to use a subset of Qiskit functions and objects rather than copy-pasting the entirety of the Qiskit files themselves as we have currently done:
An existing example of this is a TKET-Qiskit compiler plugin (i.e. you can then combine TKET and Qiskit compilation passes).
On the other hand, one reason we wanted to copy/paste the transpiler pass files in their entirety was to avoid depending on a relatively unstable module of Qiskit.
Beta Was this translation helpful? Give feedback.
All reactions