orquestra-core icon indicating copy to clipboard operation
orquestra-core copied to clipboard

Implement IBM Compiler

Open AthenaCaesura opened this issue 2 years ago • 0 comments

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.

AthenaCaesura avatar Aug 23 '22 16:08 AthenaCaesura