quantum
quantum copied to clipboard
tensorflow quantum giving a issue like this whenever I run it on colab
Please help me out with this
import tensorflow as tf
import tensorflow_quantum as tfq
import cirq import sympy import numpy as np import seaborn as sns import collections
visualization tools
%matplotlib inline import matplotlib.pyplot as plt from cirq.contrib.svg import SVGCircuit this happens when i use this
It might help if you shared the colab (or at least the pip installs). It might be some error in the installation phase (which isn't shown).
Could you please try this?
!pip install tensorflow==2.3.1
!pip install tensorflow_quantum==0.4.0
and please don't forget to restart the runtime kernel of the colab.
Is this issue still coming up for you @Prakhar998 ?
Try this :
!pip install tensorflow==2.4.1
!pip install tensorflow-quantum
Recent update : the real culprit is related to this issue:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1814653
Let me investigate & fix it soon.
Any updates on this issue with the latest versions?