You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Describe the bug
The sparse simulator is not accessible from Jupyter notebooks or python.
To Reproduce
Steps to reproduce the behavior:
In Jupyter:
%%qsharp
operation nop(): Unit {}
nop.simulate()
nop.simulate_sparse()
This results in an error: "No such magic command %simulate_sparse".
If I replace simulate_sparse with simulate_dense (which is not a simulator), I get a different error: "'QSharpCallable' object has no attribute 'simulate_dense'".
System information
qsharp package Version: 0.27.244707
iqsharp: 0.20.2110171573
Jupyter Core: 1.5.0.0
.NET Runtime: .NETCoreApp,Version=v3.1
dotnet 6.0.300 is installed; I'm not sure if iqsharp needs to use it, and if so, how to do so.
The text was updated successfully, but these errors were encountered:
Describe the bug
The sparse simulator is not accessible from Jupyter notebooks or python.
To Reproduce
Steps to reproduce the behavior:
In Jupyter:
This results in an error: "No such magic command %simulate_sparse".
If I replace
simulate_sparse
withsimulate_dense
(which is not a simulator), I get a different error: "'QSharpCallable' object has no attribute 'simulate_dense'".System information
dotnet 6.0.300 is installed; I'm not sure if iqsharp needs to use it, and if so, how to do so.
The text was updated successfully, but these errors were encountered: