1

I am following this MS tutorial to add functionality to my Q#/C#host project.

However, I get two errors on my operations:

The type or namespace name 'Result' could not be found (are you missing a using directive or an assembly reference?) [host]csharp(CS0246)

The type or namespace name 'IQArray<>' could not be found (are you missing a using directive or an assembly reference?) [host]csharp(CS0246)

What am I missing or doing wrong?

enter image description here

Muhy
  • 630
  • 1
  • 6
  • 12

1 Answers1

1

What you are missing is using Microsoft.Quantum.Simulation.Core in your Program.cs. Give it a try. It works on my machine.

Dina M.
  • 219
  • 2
  • 10