Closed lamberta closed 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)
Thanks @lamberta
Fixes: https://github.com/quantumlib/OpenFermion/issues/644
Tested in Colab: