Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/QuantumSdk/DefaultItems/DefaultItems.props.v.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<QscVerbosity>Normal</QscVerbosity>
<CsharpGeneration>true</CsharpGeneration> <!-- at some point we may want to make False the default -->
<IncludeQsharpCorePackages>true</IncludeQsharpCorePackages>
<IncludeProviderPackages>true</IncludeProviderPackages>
<QsharpDocsGeneration>false</QsharpDocsGeneration>
<ExposeReferencesViaTestNames>false</ExposeReferencesViaTestNames> <!-- IMPORTANT: If the name of this property is changed, the property name in the language server needs to be adapted! -->
<DefaultQscBuildConfigExe>dotnet "$(MSBuildThisFileDirectory)../tools/utils/Microsoft.Quantum.Sdk.BuildConfiguration.dll"</DefaultQscBuildConfigExe>
Expand Down
3 changes: 3 additions & 0 deletions src/QuantumSdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ Specifies the simulator to use by default for execution. Valid values are Quantu
- `IncludeQsharpCorePackages`:
Specifies whether the packages providing the basic language support for Q# are referenced. This property is set to true by default. If set to false, the Sdk will not reference any Q# libraries.

- `IncludeProviderPackages`:
Specifies whether the packages for specific hardware providers should be automatically included based on the specified `ExecutionTarget`. This property is set to true by default. If set to false, the Sdk will not automatically reference any provider packages.

- `QscExe`:
The command to invoke the Q# compiler. The value set by default invokes the Q# compiler that is packaged as tool with the Sdk. The default value can be accessed via the `DefaultQscExe` property.

Expand Down
6 changes: 3 additions & 3 deletions src/QuantumSdk/Sdk/Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
<PackageReference Condition="$(IncludeQsharpCorePackages)" Include="Microsoft.Quantum.Standard" Version="0.10.2001.2831" />
<PackageReference Condition="'$(ResolvedQsharpOutputType)' == 'QsharpExe'" Include="System.CommandLine" Version="2.0.0-beta1.20213.1" />
<!-- Packages included for specific execution targets. -->
<PackageReference Condition="'$(ResolvedQsharpExecutionTarget)' == 'HoneywellProcessor'" Include="Microsoft.Quantum.Providers.Honeywell" Version="0.11.2005.2616-beta" />
<PackageReference Condition="'$(ResolvedQsharpExecutionTarget)' == 'IonQProcessor'" Include="Microsoft.Quantum.Providers.IonQ" Version="0.11.2005.2616-beta" />
<PackageReference Condition="'$(ResolvedQsharpExecutionTarget)' == 'QCIProcessor'" Include="Microsoft.Quantum.Providers.QCI" Version="0.11.2005.2616-beta" />
<PackageReference Condition="'$(ResolvedQsharpExecutionTarget)' == 'HoneywellProcessor' And $(IncludeProviderPackages)" Include="Microsoft.Quantum.Providers.Honeywell" Version="0.11.2005.2616-beta" />
<PackageReference Condition="'$(ResolvedQsharpExecutionTarget)' == 'IonQProcessor' And $(IncludeProviderPackages)" Include="Microsoft.Quantum.Providers.IonQ" Version="0.11.2005.2616-beta" />
<PackageReference Condition="'$(ResolvedQsharpExecutionTarget)' == 'QCIProcessor' And $(IncludeProviderPackages)" Include="Microsoft.Quantum.Providers.QCI" Version="0.11.2005.2616-beta" />
<!-- TODO: UNCOMMENT THESE ONCE WE HAVE THE CORRESPONDING PACKAGES. -->
<!--PackageReference Condition="'$(ResolvedQuantumIntrinsics)' == 'OpenQASM'" Include="Microsoft.Quantum.Intrinsics.OpenQASM" Version="0.10.2001.2831" IsTargetPackage='true' />
<PackageReference Condition="'$(ResolvedQuantumIntrinsics)' == 'ExtendedQASM'" Include="Microsoft.Quantum.Intrinsics.ExtendedQASM" Version="0.10.2001.2831" IsTargetPackage='true' /-->
Expand Down