- Intended Audience :: Education
- Topic :: Scientific/Engineering :: Artificial Intelligence
- Topic :: Scientific/Engineering :: Mathematics
- Topic :: Scientific/Engineering :: Physics
When you know about this project and you want to new install tensorflow-quantum to support your project or you get trouble as ModuleNotFoundError: No module named "tensorflow-quantum" or ImportError: cannot import name "tensorflow-quantum" in your project, let follow this tutorial to install tensorflow-quantum
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_tensorflow-quantum_env
- Active the virtual environment
test_tensorflow-quantum_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_tensorflow-quantum_env
- Active the virtual environment
source test_tensorflow-quantum_env/bin/active
To install tensorflow-quantum on Windows(CMD):
py -m pip install tensorflow-quantum
To install tensorflow-quantum on Unix/macOs:
pip install tensorflow-quantum
Example:
pip install tensorflow-quantum==0.2.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
tensorflow-quantum 0.7.2 | 2022-07-28T23:16:56 | Windows: Unix/macOs:
|
tensorflow-quantum 0.7.1 | 2022-07-28T20:35:55 | Windows: Unix/macOs:
|
tensorflow-quantum 0.7.0 | 2022-07-18T21:51:56 | Windows: Unix/macOs:
|
tensorflow-quantum 0.6.1 | 2022-02-03T09:58:09 | Windows: Unix/macOs:
|
tensorflow-quantum 0.6.0 | 2021-08-16T01:15:53 | Windows: Unix/macOs:
|
tensorflow-quantum 0.5.1 | 2021-06-05T00:24:07 | Windows: Unix/macOs:
|
tensorflow-quantum 0.5.0 | 2021-05-16T23:44:10 | Windows: Unix/macOs:
|
tensorflow-quantum 0.4.0 | 2020-10-06T19:49:25 | Windows: Unix/macOs:
|
tensorflow-quantum 0.3.1 | 2020-08-07T20:24:52 | Windows: Unix/macOs:
|
tensorflow-quantum 0.3.0 | 2020-05-11T20:42:53 | Windows: Unix/macOs:
|
tensorflow-quantum 0.2.0 | 2020-02-28T17:08:43 | Windows: Unix/macOs:
|
Download the distribution file from tensorflow_quantum-0.7.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl or the specific tensorflow-quantum version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_tensorflow-quantum_downloaded_file>
On Unix/macOs:
pip install <path_to_tensorflow-quantum_downloaded_file>
List distribution:
Project link:
- Homepage