Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果 Q# 操作不使用量子位或量子特定门,那么 CLR 是否会生成将由 CPU 而不是 QPU(量子处理器)执行的字节码?
对,就是这样。Q# 编译器将代码的纯经典部分转换为 C#,然后(由 C# 编译器)编译为标准 .NET MSIL,由 .NET Core 运行时 JIT,并在普通 CPU 上执行。