Journal of my recent activities

Presentation "Storing bitstrings in qubits" at BBdays4 IT, the IT conference for developers. Talking how quantum computers works., how quantum algorithms are implemented. Showing real examples of quantum programs.

#qc

According to Quantum Mechanic and No-cloning theorem perfect cloning is not possible. The key thing is superposition. Even if we know everything about the parts of the system, we don't have the full knowledge about the full system. We can simply visualize that with the simple math operation:

( (A + B)^2 = A^2 +2AB +B^2 )

is not the (A^2 + B^2). It is not enough to look only at the parts of the system and try to apply the same operation as on the full system.

MinutePhysics

#qc

Moving virtual server instances using openstack.

Create user for openstack

  1. Public cloud > Select project > Settings > Users & Roles
  2. Create
  3. Reset password
  4. Download file RC OpenStack

Setup your machine for access

  1. Install Openstack client brew install openstackclient
  2. Name the file eg. mv openrc.sh ~/bin/ovh-my-project-openrc.sh
  3. Setup connection source ~/bin/ovh-my-project-openrc.sh
  4. openstack server list

Usefull commands Run openstack command to get into client shell. Then you don't need to use openstack command every time.

  • openstack server list
  • openstack image list
  • create image from instance: openstack server image create --name kll-erp-wzr-prod-szk ped-prod
  • download image to local machine: openstack image save --file snap_server1.qcow 825b785d-8a34-40f5-bdcd-0a3c3c350c5a
  • upload image from local machine: openstack image create --disk-format qcow2 --container-format bare --file snap_server1.qcow snap_server1
  • create instance from image: openstack server create --key-name SSHKEY --flavor 98c1e679-5f2c-4069-b4da-4a4f7179b758 --image 0a3f5901-2314-438a-a7af-ae984dcbce5c Server1_from_snap

Openstack

  • https://docs.ovh.com/gb/en/public-cloud/set-openstack-environment-variables/
  • https://docs.ovh.com/pl/public-cloud/przygotowanie_srodowiska_dla_api_openstack/
  • https://docs.ovh.com/pl/public-cloud/przenoszenie_kopii_zapasowych_pomiedzy_centrami_danych/

#soft #linux #vm #ovh

Dark jupyter notebook theme.

$ pip install jupyterthemes
$ jt -t monokai -fs 95 -altp -tfs 11 -nfs 115 -cellw 88% -T

Restore default theme

$ jt -r

#python

Short and really good Quantum Teleportation explained

QTM1x_2018_11-Teleportation-video QTM1x_2018_Feedback_Teleportation-video

Nice and complete art: 4-qubit Grover's algorithm implemented for the ibmqx5 architecture PHILIP STRÖMBERG

#qc

Using Docker for the isolated deployment of the ERP Flask interface.

#erp

Released the MVP for Data drilling for the ERP.

#erp

Euler's identity

( e^{ipi} + 1 = 0),

and quick hints for qunatum gates (eg. T):

( e^{ipi} = -1)

( e^{ rac{ipi}{2}} = i)

( e^{ rac{ipi}{4}} = sqrt(i))

#qc