From 0331f86640e4d12ade3d7cf48f3f4bb70d422e87 Mon Sep 17 00:00:00 2001 From: MichaelBroughton Date: Sun, 16 May 2021 16:40:10 -0700 Subject: [PATCH] Upgrade all tutorials and install instructions. (#569) --- docs/install.md | 4 ++-- docs/tutorials/barren_plateaus.ipynb | 4 ++-- docs/tutorials/gradients.ipynb | 4 ++-- docs/tutorials/hello_many_worlds.ipynb | 4 ++-- docs/tutorials/mnist.ipynb | 4 ++-- docs/tutorials/qcnn.ipynb | 4 ++-- docs/tutorials/quantum_data.ipynb | 2 +- docs/tutorials/research_tools.ipynb | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/install.md b/docs/install.md index c40e04960..ad3f48306 100644 --- a/docs/install.md +++ b/docs/install.md @@ -17,7 +17,7 @@ TensorFlow Quantum is supported on Python 3.6, 3.7, and 3.8 and depends directly ### Requirements * pip 19.0 or later (requires `manylinux2010` support) -* [TensorFlow == 2.3.1](https://www.tensorflow.org/install/pip) +* [TensorFlow == 2.4.1](https://www.tensorflow.org/install/pip) See the [TensorFlow install guide](https://www.tensorflow.org/install/pip) to set up your Python development environment and an (optional) virtual environment. @@ -27,7 +27,7 @@ Upgrade `pip` and install TensorFlow
   pip3 install --upgrade pip
-  pip3 install tensorflow==2.3.1
+  pip3 install tensorflow==2.4.1
 
diff --git a/docs/tutorials/barren_plateaus.ipynb b/docs/tutorials/barren_plateaus.ipynb index a9eefa81e..e5f0d97d0 100644 --- a/docs/tutorials/barren_plateaus.ipynb +++ b/docs/tutorials/barren_plateaus.ipynb @@ -97,7 +97,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow==2.3.1" + "!pip install -q tensorflow==2.4.1" ] }, { @@ -120,7 +120,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow-quantum" + "!pip install -q tensorflow-quantum" ] }, { diff --git a/docs/tutorials/gradients.ipynb b/docs/tutorials/gradients.ipynb index 71737875f..b594caffe 100644 --- a/docs/tutorials/gradients.ipynb +++ b/docs/tutorials/gradients.ipynb @@ -99,7 +99,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow==2.3.1" + "!pip install -q tensorflow==2.4.1" ] }, { @@ -122,7 +122,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow-quantum" + "!pip install -q tensorflow-quantum" ] }, { diff --git a/docs/tutorials/hello_many_worlds.ipynb b/docs/tutorials/hello_many_worlds.ipynb index f337d8a87..2d49748ba 100644 --- a/docs/tutorials/hello_many_worlds.ipynb +++ b/docs/tutorials/hello_many_worlds.ipynb @@ -97,7 +97,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow==2.3.1" + "!pip install -q tensorflow==2.4.1" ] }, { @@ -120,7 +120,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow-quantum" + "!pip install -q tensorflow-quantum" ] }, { diff --git a/docs/tutorials/mnist.ipynb b/docs/tutorials/mnist.ipynb index 8e5f0cb22..e9ce856d9 100644 --- a/docs/tutorials/mnist.ipynb +++ b/docs/tutorials/mnist.ipynb @@ -97,7 +97,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow==2.3.1" + "!pip install -q tensorflow==2.4.1" ] }, { @@ -120,7 +120,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow-quantum" + "!pip install -q tensorflow-quantum" ] }, { diff --git a/docs/tutorials/qcnn.ipynb b/docs/tutorials/qcnn.ipynb index c3174b7de..2ca3fcdce 100644 --- a/docs/tutorials/qcnn.ipynb +++ b/docs/tutorials/qcnn.ipynb @@ -99,7 +99,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow==2.3.1" + "!pip install -q tensorflow==2.4.1" ] }, { @@ -122,7 +122,7 @@ }, "outputs": [], "source": [ - "!pip install tensorflow-quantum" + "!pip install -q tensorflow-quantum" ] }, { diff --git a/docs/tutorials/quantum_data.ipynb b/docs/tutorials/quantum_data.ipynb index 80a67b8ab..cd7c8f070 100644 --- a/docs/tutorials/quantum_data.ipynb +++ b/docs/tutorials/quantum_data.ipynb @@ -111,7 +111,7 @@ } ], "source": [ - "!pip -q install tensorflow==2.3.1 tensorflow-quantum" + "!pip -q install tensorflow==2.4.1 tensorflow-quantum" ] }, { diff --git a/docs/tutorials/research_tools.ipynb b/docs/tutorials/research_tools.ipynb index 5def29ab2..34a25f613 100644 --- a/docs/tutorials/research_tools.ipynb +++ b/docs/tutorials/research_tools.ipynb @@ -83,7 +83,7 @@ }, "outputs": [], "source": [ - "!pip install -q tensorflow==2.3.1 tensorflow-quantum tensorboard_plugin_profile==2.3.0" + "!pip install -q tensorflow==2.4.1 tensorflow-quantum tensorboard_plugin_profile==2.4.0" ] }, {