enter image description hereI have followed all steps described in https://docs.microsoft.com/en-us/quantum/install-guide/qjupyter

But I am unable to get through part 3. It is showing syntax error in Python terminal in Jupyter notebook. I am not seeing Q# terminal in jupyter notebook (New) folder

Now after so many attempts its showingenter image description here I am done with this. I think its better to switch to Qiskit.

enter image description here

  • $\begingroup$ Hi and welcome to Quatum Computing SE. Could you please add screenshot of the error? $\endgroup$ Mar 25, 2020 at 15:14
  • 1
    $\begingroup$ It sounds like you may have created a Python-language notebook instead of a Q#-language notebook. In the upper-right hand side of the notebook (right next to the "Logout" button), there should be an icon telling you what language your notebook is currently using; for a Python notebook, that should be two interlocking snakes, while for a Q# notebook, it should show a blue and purpse Möbius strip icon. You can select a language for each new Notebook from the "New ↓" menu. $\endgroup$ Mar 25, 2020 at 16:15
  • $\begingroup$ @ChrisGranade I I don't see the option to start a Q# kernel (only Python 3) $\endgroup$
    – quanity
    Mar 26, 2020 at 3:28
  • 2
    $\begingroup$ Looks like a problem with you dotnet installation. What happens when you run dotnet --version? I recommend trying to close/reopen the command window. $\endgroup$
    – El capi
    Mar 26, 2020 at 8:10
  • $\begingroup$ This might be related: quantumcomputing.stackexchange.com/questions/9567/… $\endgroup$
    – El capi
    Mar 26, 2020 at 8:13

1 Answer 1


As @el-capi and @chris-granade mentioned in comments, this looks like a problem with your .NET Core installation. Try the following to get yourself unblocked:

  • Remove any existing installation of .NET Core SDK or .NET Core Runtime.
  • Install .NET Core 3.1 SDK (x64 or x86 to match your Windows installation) using the links here: https://docs.microsoft.com/en-us/dotnet/core/install/sdk?pivots=os-windows

    In PowerShell, you can run [System.Environment]::Is64BitOperatingSystem to see whether you are running 64-bit Windows.

  • Open a new command prompt and reinstall the latest version of IQSharp by running:
    dotnet tool uninstall -g Microsoft.Quantum.IQSharp
    dotnet tool install -g Microsoft.Quantum.IQSharp
    dotnet iqsharp install

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .