Trace simulator example code is missing the simulator argument to Run
bamarsha opened this issue · 0 comments
bamarsha commented
In the "Running your Program with the Quantum Computer Trace Simulator" section, there is this code snippet:
QCTraceSimulator sim = new QCTraceSimulator();
var res = MyQuantumProgram.Run().Result;
Run()
is missing an argument. It should be Run(sim)
.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 7246f0e0-b02d-f44f-5236-bd114b52f583
- Version Independent ID: a4e754aa-b88e-aa4b-1524-65cd7b0f4a6f
- Content: Quantum computer trace simulator - Microsoft Quantum
- Content Source: articles/machines/qc-trace-simulator/index.md
- Product: quantum
- GitHub Login: @vadym-kl
- Microsoft Alias: vadym@microsoft.com