How to create a new pilot
Locate the
qunicorn_core.core.pilotmanagermodule.Create a new python file for the pilot and implement the pilot by referencing one of the existing pilots (e.g.,
ibm_pilot).Make sure to implement all required methods from
Pilot(i.e. implement all methods that raise aNotImplementedError).Add your pilot to the imports in the
__init__.pyfile of thequnicorn_core.core.pilotmanagermodule.Add your pilot to the
PILOTSlist of thequnicorn_core.core.pilotmanager.pilot_managermodule.Make sure the pilot metadata (such as supported languages, etc.) is added to the relevant enums (i.e.
ProviderNameandAssemblerLanguage).If required, implement the relevant transpilers to support new formats in the
qunicorn_core.core.transpilermodule and importing in the__init__.pyfile of the module.If the dependencies have changed run
poetry run invoke update-dependenciesto update the doc dependencies and the list of licences.Write some tests and update the source documentation using
poetry run invoke update-source-doc.