Skip to content

Fix PauliStrings when openfermion has constant term

Vicentini Filippo requested to merge github/fork/jwnys/of_fix into master

Created by: jwnys

Small bug fix: when openfermion has a constant term, the conversion failed at counting the number of fermions. Will also need this function for the fermion2nd implementation, for example. Added a test with a constant term.

Merge request reports