Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hamiltonian_time_evolution_and_expectation_estimation.ipynb does not work #115

Open
MichaelBroughton opened this issue Oct 20, 2021 · 2 comments

Comments

@MichaelBroughton
Copy link

On a fresh colab with an fqe install the notebook gives the following error:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-0b93576fec06> in <module>()
      4 import numpy
      5 import fqe
----> 6 from fqe.unittest_data import build_lih_data, build_hamiltonian
      7 numpy.set_printoptions(floatmode='fixed', precision=6, linewidth=80, suppress=True)
      8 numpy.random.seed(seed=409)

ModuleNotFoundError: No module named 'fqe.unittest_data'
@ncrubin
Copy link
Collaborator

ncrubin commented Oct 20, 2021

interesting. I had pip error before this.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

but more importantly unittest module is no more. It is now a top-level directory. so grabbing data from there will require direct import. I can fix it.

@ncrubin
Copy link
Collaborator

ncrubin commented Oct 20, 2021

See #116 for discussion and possible short term solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants