quantumlib / OpenFermion

The electronic structure package for quantum computers.
Apache License 2.0
1.52k stars 376 forks source link

Update setup.py data_files to point to docs/tutorials/ #645

Closed lamberta closed 4 years ago

lamberta commented 4 years ago

Fixes: https://github.com/quantumlib/OpenFermion/issues/644

Tested in Colab:

!pip install -U git+https://github.com/lamberta/OpenFermion.git@setup-docs#egg=openfermion
...

from openfermion.ops import FermionOperator

my_term = FermionOperator(((3, 1), (1, 0)))
print(my_term)

my_term = FermionOperator('3^ 1')
print(my_term)
ncrubin commented 4 years ago

Thanks @lamberta