Qml.expval is returning Tensor object

Hi @phani.bharath ,

You’re using a very old version of PennyLane. Please make sure to update it with pip install pennylane --upgrade

Also, for future questions about this challenge it’s better to ask them on this thread so that others can find answers there too!

I hope this solves your issue.