Sign inSign up

ismaelfaro/qiksit_lab_code_engine

By ismaelfaro

•Updated almost 5 years ago

Image to deploy Qiskit Lab in Code Engine

Image
0

343

ismaelfaro/qiksit_lab_code_engine repository overview

⁠Qiskit docker

Execute docker with all the Qiskit dependencies installed, and mounting your current folder/directory inside /qiskit/ folder in docker.

⁠use

you need to have installed docker in your machine, ex. (Docker Desktop⁠)

⁠with Jupyter Lab and tutorials

you can use it directly from Docker hub

docker run -v ${PWD}:/qiskit/your_computer -p 8888:8888 -ti ismaelfaro/qiskit_dev

⁠Vanilla Qiskit version

⁠Create image

docker build -t qiskit .

⁠execute mounting your current directory

docker run -v ${PWD}:/qiskit -ti qiskit

⁠adding port to run jupyter lab

docker run -v ${PWD}:/qiskit/your_computer -p 8888:8888 -ti qiskit

⁠execute python and start

python from qiskit import *

⁠run Jupyter Lab

you can play with Jupyter lab and Qiskit in your browser.

htt://127.0.0.1:8888/?token=[[[paste here the token from the terminal]]]

⁠dependecies:

  • OS: Centos

Tag summary

Content type

Image

Digest

Size

797.1 MB

Last updated

almost 5 years ago

docker pull ismaelfaro/qiksit_lab_code_engine