Sign inSign up

mickahell/quantum_lab_qsharp

By mickahell

•Updated over 5 years ago

Quantum lab for Q# development

Image
0

10K+

mickahell/quantum_lab_qsharp repository overview

⁠Quantum Lab - Q# Microsoft

GitHub release (latest by date)

⁠Prerequisites

  • Linux
    apt-get install docker-ce docker-ce-cli containerd.io
  • Mac / Windows https://www.docker.com/products/docker-desktop

⁠Details

  • The image is base on Ubuntu Focal⁠
  • Python version install : 3.8⁠

⁠Getting started

  • Create a new containeur and go inside, run :
    • docker run -it -v [YOUR_FOOLDER]:/opt/quantum_lab/data/share --entrypoint=/bin/bash -p 8888:8888 -e LANG=C.UTF-8 mickahell/quantum_lab_qsharp
⁠Environment
  • Libs common for every env : networkx, numpy, matplotlib, notebook, pandas, scipy, tk, vim
  • Lib setup available :
    • qsharp.sh
      • Libs : qsharp, iqsharp
⁠Volume

The folder /opt/quantum_lab/data/share is link to the host file and allow to register the modification in the host computer

⁠Jupyter

To launch the Jupyter notebook instance :

  • be inside the /opt/quantum_lab/datafolder
  • run : ./start_jupyter.com
  • copy and paste this url in your browser : http://127.0.0.1:8888/

⁠Simple docker commands

  • To go inside a started containeur : docker exec -it -u root [CONTAINEUR_ID] /bin/bash
  • To start a containeur : docker start [CONTAINEUR_ID]
  • See the existed containeur : docker ps -a
    • The -a is used the see every existed containeurs, that's include the stopped one
  • List the images existed : docker images
  • Delete containeur : docker rm [CONTAINEUR_ID]
  • Delete image : docker rmi [NAME_OF_THE_IMAGE]
    • You can use -f to force the suppression and delete the containeurs associates to the image

Tag summary

Content type

Image

Digest

Size

548.7 MB

Last updated

over 5 years ago

docker pull mickahell/quantum_lab_qsharp