Hello @CatalinaAlbornoz,
For Quantum generative adversarial networks with Cirq + TensorFlow | PennyLane Demos I receive the following error:
AttributeError: ‘tensorflow.python.framework.ops.EagerTensor’ object has no attribute ‘_unique_id’
Name: PennyLane
Version: 0.32.0
Summary: PennyLane is a Python quantum machine learning library by Xanadu Inc.
Home-page: GitHub - PennyLaneAI/pennylane: PennyLane is a cross-platform Python library for differentiable programming of quantum computers. Train a quantum computer the same way as a neural network.
Author:
Author-email:
License: Apache License 2.0
Location: /usr/local/lib/python3.10/dist-packages
Requires: appdirs, autograd, autoray, cachetools, networkx, numpy, pennylane-lightning, requests, rustworkx, scipy, semantic-version, toml, typing-extensions
Required-by: PennyLane-Lightning
Platform info: Linux-5.15.109±x86_64-with-glibc2.35
Python version: 3.10.12
Numpy version: 1.23.5
Scipy version: 1.10.1
Installed devices:
I also tried installing and updating tensorflow and cirq to current versions in colab.
Reference: