【问题标题】:Q# (Quantum SDK) Canon.dll errorQ# (Quantum SDK) Canon.dll 错误
【发布时间】:2017-12-14 18:29:02
【问题描述】:

我尝试运行新 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

请帮忙, 谢谢

【问题讨论】:

    标签: q#


    【解决方案1】:

    关注Change Region

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

    【讨论】:

      猜你喜欢
      • 2019-04-03
      • 2018-12-25
      • 1970-01-01
      • 2020-10-07
      • 1970-01-01
      • 2018-05-26
      • 1970-01-01
      • 2019-05-13
      • 2014-07-03
      相关资源
      最近更新 更多