theochem / horton

HORTON: Helpful Open-source Research TOol for N-fermion systems
http://theochem.github.io/horton/
GNU General Public License v3.0
92 stars 40 forks source link

Restrict Expansion class to Meanfield module #240

Open matt-chan opened 7 years ago

matt-chan commented 7 years ago

The Expansion object can become a mini-matrix class as well, so it needs to be restricted to situations that truly need it. This is common in the Meanfield module.

However, outside of the meanfield module, we can simply refactor the code to store a numpy array of coefficients, and arrays for energies and occupations.