We're celebrating World Quantum Day 2022! Join us

fqe.fqe_decorators.split_openfermion_tensor

Given a string of openfermion operators, split them according to their

rank.

ops (FermionOperator) - a string of Fermion Operators

split dict[int] = FermionOperator - a list of Fermion Operators sorted according to their degree