Q#(Quantum SDK)Canon.dll错误

时间:2017-12-14 18:29:03

标签: q#

我尝试运行新Quantum SDK的一个示例 但是,我甚至无法运行像TeleportationSample这样的基本操作, 因为显示错误:QS1001 Microsoft.Quantum.Canon.dll not found

其他错误:

1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\AmplitudeAmplification\AmplitudeAmplification.qs(421,40,421,43): error CS1001: Identifier expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\AmplitudeAmplification\AmplitudeAmplification.qs(421,40,421,43): error CS1002: ; expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\obj\qsharp\src\Math\Constants.g.cs(33,35,33,36): error CS1002: ; expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\obj\qsharp\src\Math\Constants.g.cs(33,35,33,36): error CS1513: } expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\RandomWalk.qs(81,39,81,57): error CS1001: Identifier expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\RandomWalk.qs(81,39,81,57): error CS1002: ; expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\RandomWalk.qs(82,40,82,58): error CS1001: Identifier expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\RandomWalk.qs(82,40,82,58): error CS1002: ; expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\Robust.qs(37,35,37,37): error CS1001: Identifier expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\Robust.qs(37,35,37,37): error CS1002: ; expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\Robust.qs(38,34,38,36): error CS1001: Identifier expected
1>J:\Users\Markus\Programming\Samples\Microsoft.Quantum.Canon\PhaseEstimation\Robust.qs(38,34,38,36): error CS1002: ; expected

请帮忙, 感谢

1 个答案:

答案 0 :(得分:3)

关注此Change Region

并将您的地区设置为英语(美国)。 问题与您所在地区的数字格式有关。