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.
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.