microsoft / QuantumLibraries

Q# libraries for the Quantum Development Kit

Home Page:https://docs.microsoft.com/quantum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example seems to be outdated

RufusJWB opened this issue · comments

The example contains the line

let op = StatePreparationPositiveCoefficients(amplitudes);

I think this line is outdated, as the function op is never used in the example and the function StatePreparationPositiveCoefficients is marked as deprecated.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Thanks @RufusJWB for flagging this issue. Would you like to create a PR fixing this issue? I am happy to help if there are any questions.

Thanks @RufusJWB for flagging this issue. Would you like to create a PR fixing this issue? I am happy to help if there are any questions.

Of course. Please find the PR here: #623