XanaduAI / expressive_power_of_quantum_models

This repository contains the source code necessary to reproduce the figures and simulation results of the url[paper](XXX) "The effect of data encoding on the expressive power of variational quantum machine learning models" by Maria Schuld, Ryan Sweke and Johannes Jakob Meyer.
45 stars 15 forks source link

issue regarding module 'pennylane.numpy' has no attribute 'complex' #1

Open aigerimhatake opened 2 years ago

aigerimhatake commented 2 years ago

Hello! Thank you for sharing your code! How this issue can be solved? Thank you in advance

CatalinaAlbornoz commented 2 years ago

Hi @aigerimhatake, thank you for your question. Can you please post more details on the Python and PennyLane versions that you're using? Also, are you using the Jupyter notebook as provided or have you changed something?

Remember that you can also post questions about PennyLane using our discussion forum.

Alvin-LiuGuangyuan commented 1 year ago

just delete the from pennylane infront of the import numpy will do