OpenFermion-FQE
OpenFermion-FQE copied to clipboard
hamiltonian_time_evolution_and_expectation_estimation.ipynb does not work
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'
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.
See #116 for discussion and possible short term solution.