Comments on: Quantum Arithmetic – Adder, Multiplier, and Exponentiation (Q#)/2019/05/22/quantum-computing-modulus-add-subtract-multiply-exponent/Professional Development, Data ScienceThu, 01 Dec 2022 01:56:38 +0000hourly1http://wordpress.com/By: Tsuyoshi Matsuzaki/2019/05/22/quantum-computing-modulus-add-subtract-multiply-exponent/comment-page-1/#comment-41447Thu, 01 Dec 2022 01:56:38 +0000/?p=8121#comment-41447In reply to Chibueze Prince Onyemachi.

Unfortunately there’s no Q# installation’s instruction for running on Google Colab, but please try as follows.
(I have changed the official installation instruction for Google Colab as follows.)

1. Install conda colab.

!pip install -q condacolab

import condacolab
condacolab.install()

2. Restart runtime

3. Install and setup required packages for Q#.

!conda install -c microsoft qsharp notebook -y

In my case, the step 3 shows some errors, but the following example worked for me.
(Sorry, but I didn’t check all scripts in Google Colaboratory environment.)

https://github.com/tsmatz/quantum-algorithms-qsharp/blob/master/01-bernstein-vazirani.ipynb

P.S. See below for Q# official installation instruction.
https://learn.microsoft.com/en-us/azure/quantum/install-overview-qdk

Like

]]>
By: Chibueze Prince Onyemachi/2019/05/22/quantum-computing-modulus-add-subtract-multiply-exponent/comment-page-1/#comment-41445Wed, 30 Nov 2022 12:56:26 +0000/?p=8121#comment-41445PLEASE HOW CAN I RUN THIS ON GOOGLE COLAB

Like

]]>
By: A Gentle Introduction to Quantum Computing with Physics – tsmatz/2019/05/22/quantum-computing-modulus-add-subtract-multiply-exponent/comment-page-1/#comment-30576Sat, 07 Mar 2020 22:45:28 +0000/?p=8121#comment-30576[…] Programming Quantum Arithmetics […]

Like

]]>
By: Programming Quantum Period Finding (Shor’s Algorithm) – tsmatz/2019/05/22/quantum-computing-modulus-add-subtract-multiply-exponent/comment-page-1/#comment-24714Tue, 04 Jun 2019 11:39:13 +0000/?p=8121#comment-24714[…] you to read my early post “Programming QFT and Quantum Phase Estimation” and “Programming Quantum Arithmetics“, if you’re not familiar with Quantum Fourier Transform and other related […]

Like

]]>
By: Programming Primitive Quantum Algorithm – tsmatz/2019/05/22/quantum-computing-modulus-add-subtract-multiply-exponent/comment-page-1/#comment-24506Wed, 22 May 2019 12:51:45 +0000/?p=8121#comment-24506[…] Programming Quantum Arithmetics (Adder, Multiplier, and Exponentiation) (posted on May 2019) […]

Like

]]>