Skip to content

Commit 0331f86

Browse files
Upgrade all tutorials and install instructions. (#569)
1 parent 152666c commit 0331f86

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TensorFlow Quantum is supported on Python 3.6, 3.7, and 3.8 and depends directly
1717
### Requirements
1818

1919
* pip 19.0 or later (requires `manylinux2010` support)
20-
* [TensorFlow == 2.3.1](https://www.tensorflow.org/install/pip)
20+
* [TensorFlow == 2.4.1](https://www.tensorflow.org/install/pip)
2121

2222
See the [TensorFlow install guide](https://www.tensorflow.org/install/pip) to
2323
set up your Python development environment and an (optional) virtual environment.
@@ -27,7 +27,7 @@ Upgrade `pip` and install TensorFlow
2727
<!-- common_typos_disable -->
2828
<pre class="devsite-click-to-copy">
2929
<code class="devsite-terminal">pip3 install --upgrade pip</code>
30-
<code class="devsite-terminal">pip3 install tensorflow==2.3.1</code>
30+
<code class="devsite-terminal">pip3 install tensorflow==2.4.1</code>
3131
</pre>
3232
<!-- common_typos_enable -->
3333

docs/tutorials/barren_plateaus.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
"outputs": [],
9999
"source": [
100-
"!pip install tensorflow==2.3.1"
100+
"!pip install -q tensorflow==2.4.1"
101101
]
102102
},
103103
{
@@ -120,7 +120,7 @@
120120
},
121121
"outputs": [],
122122
"source": [
123-
"!pip install tensorflow-quantum"
123+
"!pip install -q tensorflow-quantum"
124124
]
125125
},
126126
{

docs/tutorials/gradients.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
},
100100
"outputs": [],
101101
"source": [
102-
"!pip install tensorflow==2.3.1"
102+
"!pip install -q tensorflow==2.4.1"
103103
]
104104
},
105105
{
@@ -122,7 +122,7 @@
122122
},
123123
"outputs": [],
124124
"source": [
125-
"!pip install tensorflow-quantum"
125+
"!pip install -q tensorflow-quantum"
126126
]
127127
},
128128
{

docs/tutorials/hello_many_worlds.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
"outputs": [],
9999
"source": [
100-
"!pip install tensorflow==2.3.1"
100+
"!pip install -q tensorflow==2.4.1"
101101
]
102102
},
103103
{
@@ -120,7 +120,7 @@
120120
},
121121
"outputs": [],
122122
"source": [
123-
"!pip install tensorflow-quantum"
123+
"!pip install -q tensorflow-quantum"
124124
]
125125
},
126126
{

docs/tutorials/mnist.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
"outputs": [],
9999
"source": [
100-
"!pip install tensorflow==2.3.1"
100+
"!pip install -q tensorflow==2.4.1"
101101
]
102102
},
103103
{
@@ -120,7 +120,7 @@
120120
},
121121
"outputs": [],
122122
"source": [
123-
"!pip install tensorflow-quantum"
123+
"!pip install -q tensorflow-quantum"
124124
]
125125
},
126126
{

docs/tutorials/qcnn.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
},
100100
"outputs": [],
101101
"source": [
102-
"!pip install tensorflow==2.3.1"
102+
"!pip install -q tensorflow==2.4.1"
103103
]
104104
},
105105
{
@@ -122,7 +122,7 @@
122122
},
123123
"outputs": [],
124124
"source": [
125-
"!pip install tensorflow-quantum"
125+
"!pip install -q tensorflow-quantum"
126126
]
127127
},
128128
{

docs/tutorials/quantum_data.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
}
112112
],
113113
"source": [
114-
"!pip -q install tensorflow==2.3.1 tensorflow-quantum"
114+
"!pip -q install tensorflow==2.4.1 tensorflow-quantum"
115115
]
116116
},
117117
{

docs/tutorials/research_tools.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
},
8484
"outputs": [],
8585
"source": [
86-
"!pip install -q tensorflow==2.3.1 tensorflow-quantum tensorboard_plugin_profile==2.3.0"
86+
"!pip install -q tensorflow==2.4.1 tensorflow-quantum tensorboard_plugin_profile==2.4.0"
8787
]
8888
},
8989
{

0 commit comments

Comments
 (0)