We're celebrating World Quantum Day 2022! Join us

fqe.openfermion_utils.fermion_opstring_to_bitstring

Convert an openfermion FermionOperator object into the corresponding

bitstring representation with the appropriate coefficient.

ops (FermionOperator) - A product of FermionOperators with a coefficient

list(list(int, int, coeff)) - a pair of integers representing a bitstring of alpha and beta occupation in the orbitals.