Blueqat quantum computing SDK on lightsail
First
These days we hear about quantum computing everyday. Somebody want to do quantum computing but it is somehow difficult to get actual hardware.
Now we provide way to install a simple SDK with simulator for quantum computing.
AWS
AWS is a cloud service provides amazon and we can select an instance to get a server. We will deploy a blueqat quantum computing SDK in it.
Blueqat
Blueqat is a quantum computing SDK for free.
https://github.com/Blueqat/Blueqat
lightsail
We can prepare an instance server with clicking on amazon lightsail. We can do server setups with no knowledge about it.
Just login and click on “lightsail”
What we have to do is just click lightsail and create instance. As an OS we choose amazon linux and it cost 3.5 dollars/month.
Now we have the instance.
Connection
Let’s start installing inside server side. We click the button to get the console.
>_Now we have ssh connection to the server through the browser.
sudo yum updateJust updating the server and let’s start.
Now we check the version of the python pre-installed.
python -VWe get Python 2.7.16. and we need python3
sudo yum -y install python36-devel python36-libs python36-setuptoolssudo python3 -m ensurepip --upgradesudo python3 -m pip install --upgrade pip
Now we have
Successfully installed pip-19.3.1Let’s install blueqat
Just do that command and we have blueqat with numpy and scipy.
pip install --user blueqatTest
We just try to do a test
vi test.pyWe write some code on blueqat
from blueqat import Circuita = Circuit().h[0].m[:].run(shots=100)
print(a)
And run
python3 test.pyWe have,
Counter({'0': 54, '1': 46})This is a superposition of 0 and 1.
Now we have server side
Now we have blueqat with amazon linux. If you want to have a service through aws you can easily do your own service using this serverside one.

