我试图弄清楚如何开始使用Microsoft Q#和QDK编写代码,但是遇到了很多问题,因为没有任何好的文档可以帮助您从头开始创建项目。我试着运行dotnet new console并创建了一个Program.cs文件,对于Q#需要的是Program.qs,我尝试简单地更改该文件的名称,但是它导致了以下错误:有人知
It was suggested to me to ask this here,我在刚刚创建的项目文件夹上运行dotnet restore和dotnet run没有问题,但是VSCode Q#扩展不能像这样工作howToExecuteTask)
[Error - 10:35:54 PM] Failed to resolve assembly references for project 我相信我应该在VSCode Q#
Unity3D以及TypeScript、Angular和Python编程,因此我拥有几乎所有必需的扩展,包括.NET Framework和Core以及Quantum Development Kit (QDKapplication and a .NET host, and then make a call to Q# from the host.
# Create a project for your Q$ dotnet new classlib -lang Q# -o quantum
对于以下问题的帮助我们将不胜感激: Command 'Q#: Create new project...' resulted in an error (Running the contributedqsharp-create-first-quantum-development-kit/2-install-quantum-development-kit-code 下载并运行最新版本的.NET核心VSCODE后,我可以运行"Q#Install command line project templates“,但无法运行&qu
最近,我开始使用Q#和python作为主机语言。我当时正在做一个项目,一切看起来都很好。突然,我得到了错误“模块找不到”,我似乎在我以前的所有项目中也得到了它。function Run_BB84Protocol() Unit{... the code from the function...}
} 当我尝试运行HostProtocol.py时,我得到以下错误消息