What and Why
There are several problems with the StateBuilder class or initial wave function generation in general. On one hand, the StateBuilder class has no real coherent state that has to be kept. This strongly suggests that we want to have either multiple classes or only a set of simple functions.
Also, density operators are not first-class citizens, but instead constructed from wavefunctions. This may make sense, but maybe not.
Acceptance criteria
- extract the function buildProductWavefunction() into a standalone function or separate object
remove the parameter normalize if it is unused.
- extract the function buildDirectProduct() into a standalone function or separate object
- do something with the transformDensityFromBasis function
- add functionality: create a unit density
- add functionality: create a correlated gaussian wave function
- extracted the two functions
- removed the transformDensityFromBasis function, this will be superseeded by [#155] soon enough
- added unit density
- did not add correlated Gaussian functions; you can already create them now with some overhead, and the use case for building a state from multiple Gaussians is sufficiently unclear
Diff:
Diff:
Diff:
Related
Tickets:
#155