From 67105ac5964a5a4845b21031d13a4f8fb67cb3c4 Mon Sep 17 00:00:00 2001 From: QFer Date: Thu, 11 Apr 2019 13:33:28 +0200 Subject: [PATCH 1/7] [DEM-851]Mybinder support for SDK --- README.md | 5 +++++ environment.yml | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 environment.yml diff --git a/README.md b/README.md index 2180006..4470adb 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,11 @@ cd docs python example_projectq_grover.py ``` +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/QuTech-Delft/quantuminspire.git/master?filepath=%2Fdocs) + +Another way to browse and run the available notebooks is by clicking the 'launch binder' button above. +If you are experiencing delays, please check the 'Binder' system status. The service may be down. + It is also possible to use the API through the QuantumInspireAPI object directly. This is for advanced users that really know what they are doing. The intention of the QuantumInspireAPI class is that it is used diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..c719fb8 --- /dev/null +++ b/environment.yml @@ -0,0 +1,12 @@ +name: quantuminspire +channels: + - conda-forge +dependencies: + - numpy + - pytest + - matplotlib>=2.1 + - pip: + - coreapi + - quantuminspire + - qiskit + - projectq From 32bc2d121cbc0537d62dd808caa7ceaa6ae72fca Mon Sep 17 00:00:00 2001 From: QFer Date: Wed, 8 May 2019 08:22:07 +0200 Subject: [PATCH 2/7] [DEM-851] Binder version dependencies --- environment.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/environment.yml b/environment.yml index c719fb8..606a5b9 100644 --- a/environment.yml +++ b/environment.yml @@ -2,11 +2,11 @@ name: quantuminspire channels: - conda-forge dependencies: - - numpy - - pytest + - numpy==1.16.3 + - pytest==4.4.1 - matplotlib>=2.1 - pip: - - coreapi - - quantuminspire - - qiskit - - projectq + - coreapi==2.3.3 + - quantuminspire==0.7.0 + - qiskit==0.8.1 + - projectq==0.4.2 From a6076a8355e426f3b54564809cb5e63cf7cc583c Mon Sep 17 00:00:00 2001 From: QFer Date: Wed, 8 May 2019 08:58:38 +0200 Subject: [PATCH 3/7] [DEM-851] Binder pip dependencies --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index 606a5b9..d7b0506 100644 --- a/environment.yml +++ b/environment.yml @@ -2,6 +2,7 @@ name: quantuminspire channels: - conda-forge dependencies: + - pip - numpy==1.16.3 - pytest==4.4.1 - matplotlib>=2.1 From bf45a9ba72c06f271f0750cecfe37bd7f053cdd9 Mon Sep 17 00:00:00 2001 From: QFer Date: Thu, 9 May 2019 08:43:25 +0200 Subject: [PATCH 4/7] [DEM-851] requirements.txt --- environment.yml | 13 ------------- src/tests/requirements.txt | 3 +++ 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 environment.yml diff --git a/environment.yml b/environment.yml deleted file mode 100644 index d7b0506..0000000 --- a/environment.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: quantuminspire -channels: - - conda-forge -dependencies: - - pip - - numpy==1.16.3 - - pytest==4.4.1 - - matplotlib>=2.1 - - pip: - - coreapi==2.3.3 - - quantuminspire==0.7.0 - - qiskit==0.8.1 - - projectq==0.4.2 diff --git a/src/tests/requirements.txt b/src/tests/requirements.txt index 7089aea..e5f3088 100644 --- a/src/tests/requirements.txt +++ b/src/tests/requirements.txt @@ -1 +1,4 @@ mypy>=0.670 +qiskit==0.8.1 +projectq==0.4.2 + From 49c548e8eba243d3657e63d82eba841268e3aaf4 Mon Sep 17 00:00:00 2001 From: QFer Date: Thu, 9 May 2019 09:12:07 +0200 Subject: [PATCH 5/7] [DEM-851] requirements.txt copied --- requirements.txt | 3 +++ src/tests/requirements.txt | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0e48b45 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +qiskit==0.8.1 +projectq==0.4.2 + diff --git a/src/tests/requirements.txt b/src/tests/requirements.txt index e5f3088..c633cf9 100644 --- a/src/tests/requirements.txt +++ b/src/tests/requirements.txt @@ -1,4 +1,3 @@ mypy>=0.670 -qiskit==0.8.1 -projectq==0.4.2 + From c529038af1954a42e02d4d1e3dc5ea607d4b5f08 Mon Sep 17 00:00:00 2001 From: QFer Date: Thu, 9 May 2019 09:46:00 +0200 Subject: [PATCH 6/7] [DEM-851] requirements.txt --- requirements.txt | 1 - src/tests/requirements.txt | 2 -- 2 files changed, 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0e48b45..7432024 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ qiskit==0.8.1 projectq==0.4.2 - diff --git a/src/tests/requirements.txt b/src/tests/requirements.txt index c633cf9..7089aea 100644 --- a/src/tests/requirements.txt +++ b/src/tests/requirements.txt @@ -1,3 +1 @@ mypy>=0.670 - - From 029867e5dc42272b548d0f0365d2d372010380cf Mon Sep 17 00:00:00 2001 From: QFer Date: Thu, 9 May 2019 09:46:56 +0200 Subject: [PATCH 7/7] [DEM-851] requirements.txt copied --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 7432024..a6f9bc9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ qiskit==0.8.1 projectq==0.4.2 +nbimporter +sklearn