![]() ![]() To remove any existing version of Bazel: sudo apt-get remove bazelĭownload and install bazel version 5.3.0: wget To ensure compatibility we use bazel version 5.3.0. Our latest source builds use TensorFlow 2.11.0. Python3.8 -m venv quantum_env source quantum_env/bin/activate 3. Go to your workspace directory and make a virtual environment for TFQ development. Sudo apt update sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3.8 sudo apt install python3.8 python3.8-dev python3.8-venv python3-pip python3.8 -m pip install -upgrade pip 2. ![]() Set up a Python 3 development environmentįirst we need the Python 3.8 development tools. The following steps are tested for Ubuntu-like systems. Nightly builds which might depend on newer version of TensorFlow can be installed with: pip3 install -U tfq-nightly Build from source Install the latest stable release of TensorFlow Quantum: pip3 install -U tensorflow-quantum Success: TensorFlow Quantum is now installed. Upgrade pip and install TensorFlow pip3 install -upgrade pip pip3 install tensorflow=2.11.0 Install the package Set up your Python development environment and an (optional) virtual environment. ![]() pip 19.0 or later (requires manylinux2010 support).TensorFlow Quantum is supported on Python 3.7, 3.8, and 3.9 and depends directly on Cirq. Or build TensorFlow Quantum from source.To use TensorFlow Quantum on a local machine, install the TFQ package using.The easiest way to learn and use TFQ requires no installation-run the.There are a few ways to set up your environment to use TensorFlow Quantum (TFQ): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |