TransWikia.com

Installing Q# in jupyter

Quantum Computing Asked by quanity on July 31, 2021

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

One Answer

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
    

Answered by Ryan Shaffer on July 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP