page_type | languages | products | description | urlFragment | jupyter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sample |
|
|
This sample demonstrates evaluating polynomial functions with the Q# numerics library. |
evaluating-functions |
|
This sample demonstrates:
- How to use the Q# numerics library to evaluate polynomial functions.
- The Microsoft Quantum Development Kit.
To run the sample, use the dotnet run
command from your terminal:
dotnet run
- EvaluatePolynomial.qs: Q# code implementing polynomial function evaluation.
- Program.qs: A Q# standalone application that uses and tests polynomial function evaluation.
- EvaluatingFunctions.csproj: Main Q# project for the sample.
- remez.py: A Python script for calculating polynomial coefficients approximating a given function, using Remez's algorithm.