openfermion.utils.trivially_commutes_dual_basis

Determine whether the given terms trivially commute.

Assumes the terms are single-term FermionOperators from the plane-wave dual basis Hamiltonian.

term_a, term_b (FermionOperator): Single-term FermionOperators.

Whether or not the commutator is trivially zero.