Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.82 KB

File metadata and controls

55 lines (42 loc) · 1.82 KB
page_type languages products description urlFragment jupyter
sample
qsharp
qdk
This sample demonstrates counting the resources required to run quantum numerics applications.
resource-counting-numerics
jupytext kernelspec
cell_markers text_representation
region,endregion
extension format_name format_version jupytext_version
.md
markdown
1.2
1.5.2
display_name language name
.NET (PowerShell)
PowerShell
.net-powershell

Counting resources required for quantum numerics applications

This sample demonstrates:

  • How to configure project files for Q# standalone applications to estimate the quantum resources required to run a Q# operation.
  • How to use the %estimate magic command provided by the IQ# kernel to estimate the quantum resources required to run a Q# operation.

Prerequisites

Running the Sample

To run the sample, use the dotnet run command from your terminal:

dotnet run

The .csproj file provided for this Q# standalone application sets the default simulator to be ResourcesEstimator, such that the above command will report the resources required to run the Q# program.

This sample can also be used as a Q# notebook:

jupyter notebook

Manifest