Using QASM3 subroutines as Qsharp callables
Created by: tnguyen-ornl
Fixed https://github.com/ORNL-QCI/qcor/issues/169
Related to https://github.com/ORNL-QCI/qcor/issues/147 (we may close this high-level ticket I think)
Details:
-
Using the QASM3 pragma syntax to mark a subroutine for QIR Callable export:
#pragma {export;}
-
This will generate a function,
<Kernel Name>__callable
, returning aCallable*
-
This
Callable*
can be used as input arguments for Q# Operation.