babbush / HistoricalFermiLib

This is repo where we developed FermiLib, which then became OpenFermion
Apache License 2.0
1 stars 0 forks source link

built-in math methods for InteractionTensor #55

Closed babbush closed 7 years ago

babbush commented 7 years ago

The interaction tensor class should support methods such as , =, +, +=, -, -=, etc. When multiplying two IntearctionTensors, it should be a direct product such as what is needed to get the energy by doing sum(RDM * Hamiltonian).