示例#1
0
 internal static bool UsesCanon(this ProjectInformation info) =>
 info.UsesDll("Microsoft.Quantum.Canon.dll") ||
 info.UsesDll("Microsoft.Quantum.Standard.dll");
示例#2
0
 internal static bool UsesXunitHelper(this ProjectInformation info) => info.UsesDll("Microsoft.Quantum.Simulation.XUnit.dll");
示例#3
0
 // NB: We check whether the project uses either the 0.3–0.5 name (Primitives) or the 0.6– name (Intrinsic).
 internal static bool UsesIntrinsics(this ProjectInformation info) => info.UsesDll("Microsoft.Quantum.Intrinsic.dll") || info.UsesDll("Microsoft.Quantum.Primitives.dll");