You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
The code crossing the dynamic library boundary (ABI boundary) can bump into a number of issues. At least the C++ code.
The .ll code generated from the users' .qs files needs from QIR Runtime the @__quantum__rt__* and @__quantum__qis__* entry points only.
The rest of the APIs exposed by the QIR Runtime DLL, is needed by the Tests and Samples only.
To minimize the probability of the issues
Consider merging the following DLLs into a single DLL:
Microsoft.Quantum.Qir.Runtime.dll
Microsoft.Quantum.Qir.QSharp.Foundation.dll
Microsoft.Quantum.Qir.QSharp.Core.dll
Consider splitting the QIR Runtime into:
DLL exposing the @__quantum__rt__* and @__quantum__qis__* entry points only, with plain C interface (extern "C");
Static Lib exposing the C++ APIs for Tests, Samples, etc. (the point is that the whole C++ interface is exposed as a static lib, rather than dynamic).