MicrosoftDocs/quantum-docs-pr

Trace simulator example code is missing the simulator argument to Run

bamarsha opened this issue · 0 comments

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.