New answers tagged

1

IQ# magics don't support passing arrays as parameters at the moment. When I need to pass something more complicated than a scalar, I usually define a wrapper operation that defines all parameters and calls the original operation, and call %simulate for that wrapper operation.


0

When you call import qsharp, it will try to compile the .qs files in the current folder so the corresponding operations are available from Python. It seems the Q# compiler is having some problems with one of the files. Try to see if any of the .qs files in the directory have any syntax errors, and try removing the obj folder with temporary files if it exists....


Top 50 recent answers are included