Skip to content

Commit

Permalink
add requirements and change the version of package
Browse files Browse the repository at this point in the history
  • Loading branch information
qce2023qssr committed Oct 6, 2021
1 parent 2cbf909 commit d70b1f2
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 21 deletions.
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pylatexenc==2.10
qfnn==0.1.10
qiskit==0.20.0
torch==1.9.0
torchvision==0.10.0
6 changes: 3 additions & 3 deletions session-1/Basic_Quantum_Gate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"cell_type": "code",
"execution_count": 3,
"source": [
"#!pip install -q torch\n",
"#!pip install -q torchvision\n",
"#!pip install -q qiskit ==0.20.0\n",
"# !pip install -q torch==1.9.0\n",
"# !pip install -q torchvision==0.10.0\n",
"# !pip install -q qiskit==0.20.0\n",
"#!pip install pylatexenc\n",
"import torch\n",
"import torchvision\n",
Expand Down
4 changes: 2 additions & 2 deletions session-2/Tutorial_1_DataPreparation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"cell_type": "code",
"execution_count": 18,
"source": [
"# !pip install -q torch==1.8.1\n",
"# !pip install -q torchvision==0.4.0\n",
"# !pip install -q torch==1.9.0\n",
"# !pip install -q torchvision==0.10.0\n",
"# !pip install -q qiskit==0.20.0\n",
"\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions session-2/Tutorial_2_Hidden_NeuralComp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"cell_type": "code",
"execution_count": 1,
"source": [
"# !pip install -q torch==1.8.1\n",
"# !pip install -q torchvision==0.4.0\n",
"# !pip install -q torch==1.9.0\n",
"# !pip install -q torchvision==0.10.0\n",
"# !pip install -q qiskit==0.20.0\n",
"\n",
"import torch\n",
Expand Down
4 changes: 2 additions & 2 deletions session-2/Tutorial_4_QAccelerate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"cell_type": "code",
"execution_count": null,
"source": [
"# !pip install -q torch==1.8.1\n",
"# !pip install -q torchvision==0.4.0\n",
"# !pip install -q torch==1.9.0\n",
"# !pip install -q torchvision==0.10.0\n",
"# !pip install -q qiskit==0.20.0\n",
"\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions session-3/circuit_f_p_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"is_colab = False\n",
"import sys\n",
"if is_colab:\n",
" !pip install -q torch==1.8.1\n",
" !pip install -q torchvision==0.4.0\n",
" !pip install -q torch==1.9.0\n",
" !pip install -q torchvision==0.10.0\n",
" !pip install -q qiskit==0.20.0\n",
" !pip install qfnn\n",
" !wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1w9VRv0iVfsH20Kb_MkF3yFhFeiYDVy5n' -O model.tar.gz\n",
Expand Down
4 changes: 2 additions & 2 deletions session-3/circuit_p_p_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"import sys\n",
"\n",
"if is_colab:\n",
" !pip install -q torch==1.8.1\n",
" !pip install -q torchvision==0.4.0\n",
" !pip install -q torch==1.9.0\n",
" !pip install -q torchvision==0.10.0\n",
" !pip install -q qiskit==0.20.0\n",
" !pip install qfnn\n",
" !wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1w9VRv0iVfsH20Kb_MkF3yFhFeiYDVy5n' -O model.tar.gz\n",
Expand Down
4 changes: 2 additions & 2 deletions session-3/circuit_u_p_n_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"is_colab = False\n",
"import sys\n",
"if is_colab:\n",
" !pip install -q torch==1.8.1\n",
" !pip install -q torchvision==0.4.0\n",
" !pip install -q torch==1.9.0\n",
" !pip install -q torchvision==0.10.0\n",
" !pip install -q qiskit==0.20.0\n",
" !pip install qfnn\n",
" !wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1w9VRv0iVfsH20Kb_MkF3yFhFeiYDVy5n' -O model.tar.gz\n",
Expand Down
4 changes: 2 additions & 2 deletions session-3/circuit_v_v_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"is_colab = False\n",
"import sys\n",
"if is_colab:\n",
" !pip install -q torch==1.8.1\n",
" !pip install -q torchvision==0.4.0\n",
" !pip install -q torch==1.9.0\n",
" !pip install -q torchvision==0.10.0\n",
" !pip install -q qiskit==0.20.0\n",
" !pip install qfnn\n",
" !wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1w9VRv0iVfsH20Kb_MkF3yFhFeiYDVy5n' -O model.tar.gz\n",
Expand Down
4 changes: 2 additions & 2 deletions session-4/QF-Mixer/circuit_u_v_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"is_colab = False\n",
"import sys\n",
"if is_colab:\n",
" !pip install -q torch==1.8.1\n",
" !pip install -q torchvision==0.4.0\n",
" !pip install -q torch==1.9.0\n",
" !pip install -q torchvision==0.10.0\n",
" !pip install -q qiskit==0.20.0\n",
" !pip install qfnn\n",
" !wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1w9VRv0iVfsH20Kb_MkF3yFhFeiYDVy5n' -O model.tar.gz\n",
Expand Down
4 changes: 2 additions & 2 deletions session-4/QF-Mixer/circuit_v_f_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"is_colab = False\n",
"import sys\n",
"if is_colab:\n",
" !pip install -q torch==1.8.1\n",
" !pip install -q torchvision==0.4.0\n",
" !pip install -q torch==1.9.0\n",
" !pip install -q torchvision==0.10.0\n",
" !pip install -q qiskit==0.20.0\n",
" !pip install qfnn\n",
" !wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1w9VRv0iVfsH20Kb_MkF3yFhFeiYDVy5n' -O model.tar.gz\n",
Expand Down

0 comments on commit d70b1f2

Please sign in to comment.