Skip to content

Commit

Permalink
Prepare for 0.3. (#239)
Browse files Browse the repository at this point in the history
* Prepare for 0.3.

* billy feedback.
  • Loading branch information
MichaelBroughton committed May 11, 2020
1 parent 41be90d commit 1f050a8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
7 changes: 2 additions & 5 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,24 @@ There are a few ways to set up your environment to use TensorFlow Quantum (TFQ):
Python's pip package manager.
* Or build TensorFlow Quantum from source.

TensorFlow Quantum is supported on Python 3.6 and 3.7.
TensorFlow Quantum is supported on Python 3.6 and 3.7 and depends directly on [Cirq](https://github.com/quantumlib/Cirq).

## Pip package

### Requirements

* pip 19.0 or later (requires `manylinux2010` support)
* [TensorFlow == 2.1](https://www.tensorflow.org/install/pip)
* [Cirq 0.7](https://cirq.readthedocs.io/en/stable/install.html)

See the [TensorFlow install guide](https://www.tensorflow.org/install/pip) to
set up your Python development environment and an (optional) virtual environment.

Upgrade `pip` and install TensorFlow and Cirq (these are not included as
dependencies):
Upgrade `pip` and install TensorFlow

<!-- common_typos_disable -->
<pre class="devsite-click-to-copy">
<code class="devsite-terminal">pip3 install --upgrade pip</code>
<code class="devsite-terminal">pip3 install tensorflow==2.1.0</code>
<code class="devsite-terminal">pip3 install cirq==0.7.0</code>
</pre>
<!-- common_typos_enable -->

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/barren_plateaus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow-quantum cirq==0.7.0"
"!pip install tensorflow-quantum"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/gradients.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow-quantum cirq==0.7.0"
"!pip install tensorflow-quantum"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/hello_many_worlds.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow-quantum cirq==0.7.0"
"!pip install tensorflow-quantum"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow-quantum cirq==0.7.0"
"!pip install tensorflow-quantum"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/qcnn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow-quantum cirq==0.7.0"
"!pip install tensorflow-quantum"
]
},
{
Expand Down

0 comments on commit 1f050a8

Please sign in to comment.