| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| tensorflow_quantum-0.7.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | 2026-02-25 | 12.2 MB | |
| tensorflow_quantum-0.7.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | 2026-02-25 | 12.2 MB | |
| tensorflow_quantum-0.7.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | 2026-02-25 | 12.2 MB | |
| README.md | 2026-02-23 | 1.1 kB | |
| TensorFlow Quantum 0.7.6 source code.tar.gz | 2026-02-23 | 6.3 MB | |
| TensorFlow Quantum 0.7.6 source code.zip | 2026-02-23 | 6.5 MB | |
| Totals: 6 Items | 49.3 MB | 1 | |
This release pins the TensorFlow dependency to 2.18.1. The versions of Python supported are 3.10–3.12. You can install TensorFlow Quantum 0.7.6 using pip as follows:
:::shell
pip install tensorflow==2.18.1 tensorflow-quantum==0.7.6
Release 0.7.6 is compatible with NumPy 2 and Cirq 1.5. TensorFlow Quantum continues to require Keras 2; to ensure your program loads the legacy version of Keras, set the environment variable TF_USE_LEGACY_KERAS to 1 before you import TensorFlow or TensorFlow Quantum in your Python program. Here is a code snippet you can place before the first import of tensorflow or tensorflow_quantum:
:::shell
# Configure use of Keras 2 before importing TensorFlow or TensorFlow Quantum:
import os
os.environ["TF_USE_LEGACY_KERAS"] = "1"
If your code imports Keras directly, also alias keras to tf_keras:
:::shell
import sys
import tf_keras
sys.modules["keras"] = tf_keras
A big thanks to all our contributors for this release!
@eileenpaula, @kenya-sk, @psamanoelton, @saksham-1304