Hybrid C++ / Python Plugins
In this article, we will demonstrate how one might integrate python code as a new plugin with the C++ AIDE-QC stack, thereby making
it available for use with the C++ and Python AIDE-QC API. We have shown this in a cursory way in the Add a New Quantum Backend
article. Here we devote a bit more time to the pybind11 bindings, and the requirements for ensuring a working
plugin for use in C++ and Python.
As an example we will try to integrate a Qiskit Transpiler pass as a QCOR optimization pass.