From ce101e7758fbbc3d6aa09fca19644b6b8bbe5441 Mon Sep 17 00:00:00 2001 From: Christoph Schober <mail@christoph-schober.de> Date: Tue, 25 Jun 2024 21:43:31 +0200 Subject: [PATCH] add real qiskit --- README.md | 29 +++++++++++++++++++++++++++++ requirements.txt | 16 +++++++++++++++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ab0c9e..209da38 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ your own laptop. ## Getting started +### Linux Ubuntu 22.04 (Jammy) + To get started, create a virtualenv: ```shell @@ -16,4 +18,31 @@ And install the requirements: ```shell pip install -r requirements.txt +``` + +In case of errors, try to install the following packages via apt: + +``` +sudo apt-get install build-essential python3-dev +``` + +If this does not help, try to remove all qiskit-packages but `qiskit` and `qiskit-aer`. +These two are sufficient for the basic usage of qiskit. + +## Use Jupyter Lab + +After activating the environment (see above), run + +``` +jupyter-lab +``` + +This will start the Jupyter lab server and open the interface in your web browser. + +### Windows + +> Windows installation is possible. See [IBM Documentation]( +https://docs.quantum.ibm.com/start/install) +On Windows, consider using [Conda](https://docs.conda.io/en/latest/) as Python distribution, +it often works better than native Python. diff --git a/requirements.txt b/requirements.txt index 7a4121d..1a370cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,15 @@ -bottle==0.12.25 +matplotlib~=3.7.0 +numpy~=1.24.2 +pandas~=1.5.3 +qiskit~=1.1.0 +qiskit-aer~=0.14.2 +qiskit-algorithms~=0.3.0 +qiskit-dynamics~=0.5.1 +qiskit-experiments~=0.7.0 +qiskit-ibm-experiment~=0.4.7 +qiskit-ibm-runtime~=0.24.0 +qiskit-metal~=0.1.5 +qiskit-nature~=0.7.2 +qiskit-optimization~=0.6.1 +scipy~=1.10.0 +jupyterlab~=4.2.2 -- GitLab