We're celebrating World Quantum Day 2022! Join us

fqe.openfermion_utils.fermion_operator_to_bitstring

Convert an openfermion FermionOperator object into a bitstring

representation.

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

(bitstring, bitstring) - a pair of bitstrings representing the alpha and beta occupation in the orbitals.