v0.13.0
github-actions
released this
13 Sep 03:22
·
22 commits
to develop
since this release
Rimu v0.13.0
Breaking changes
- Changes to the
AbstractHamiltonian
interface: The functionallowed_address_type
is removed and replaced by the functionallows_address_type
, which takes two arguments, an operator and a type and returns a boolean.
New features
AbstractOperator
is a new abstract type that can be used for operators that are to be used as observables, e.g. for calculating their dot products in the context of aReplicaStrategy
.AbstractOperator
is a supertype ofAbstractHamiltonian
and has a similar interface but doesn't requirestarting_address
.VectorInterface.scalartype
is defined forAbstractHamiltonian
andAbstractOperator
to define the underlying scalar type. In contrast,eltype
defines the type returned bydiagonal_element
,offdiagonals
, and the three-way dot product. This may be an array forAbstractOperator
only. ForAbstractHamiltonians
theetype
andscalartype
should be identical.- Attempting to use a complex Hamiltonian with
ProjectorMonteCarloProblem
throws an error. - The
SingleParticleExcitation
andTwoParticleExcitation
operators, which can be used to compute reduced density matrices were added. ExtendedHubbardReal1D
now supports twisted boundary conditions and complex hopping strengths.- The number of MPI calls during a projector Monte Carlo run has been reduced.
Merged pull requests:
- Extra boundary conditions (#265) (@Skuwar1)
- Fix the docstring of
BasisSetRepresentation
(#273) (@joachimbrand) - Feature/reduced density matrix (#276) (@Skuwar1)
- Observables (#278) (@joachimbrand)
- Fix
num_particles
forOccupationNumberFS
(#279) (@mtsch) - Reduce the number of collective MPI calls (#280) (@mtsch)
Closed issues: