View source on GitHub |
Given a string of openfermion operators, split them according to their
fqe.openfermion_utils.split_openfermion_tensor(
ops: "FermionOperator"
) -> Dict[int, 'FermionOperator']
rank.
Args | |
---|---|
ops (FermionOperator) - a string of Fermion Operators |
Returns | |
---|---|
split dict[int] = FermionOperator - a list of Fermion Operators sorted according to their degree |