We're celebrating World Quantum Day 2022! Join us

openfermion.testing.assert_implements_consistent_protocols

Checks that a value is internally consistent and has a good repr.