This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Microsoft.Quantum.Qir.Runtime.Tools.BuildFromQSharpDll
could be parametrized by IQirExecutable
type #815
Open
Description
The Qir Runtime Tools expose a mechanism for generating an executable from a Q# DLL and appropriate headers+libraries folders:
qsharp-runtime/src/Qir/Tools/QirTools.cs
Lines 19 to 32 in b8159a1
However, the implementation specifically invokes new QirFullStateExecutable
such that this only works for compiling against runtimes that use the fullstate simulator. If this method were instead generic across any type that implemented IQirExecutable
then it would work well with the extensibility built into the tools to support arbitrary runtimes.