orquestra-core
orquestra-core copied to clipboard
Implement IBM Compiler
Our scientists would like a quick and intuitive way to access IBM's compiler. So we should have a function ibm_compiler
that makes this a simple one step process.
The function ibm_compiler
should be put in orquestra-qiskit
and take in an orquestra circuit and output an orquestra circuit which has been compiled with IBM's compiler. The code inside the function could looks something like this.
ibm_compiler(orq_circuit: Circuit):
qiskit_circuit = export_to_qiskit(orq_circuit)
compiled_qiskit_circuit = qiskit_compile_stuff(qiskit_circuit)
return import_from_qiskit(compiled_qiskit_circuit)
In addition to the new function, please add some tests for this as well as updating our documentation.