Skip to content

MACIS calculators do not throw for unrestricted orbitals #368

@mmoerchen

Description

@mmoerchen

Describe the bug
The macis_asci, macis_cas, and macis_pmc calculators do not validate whether the provided Hamiltonian is based on unrestricted orbitals.
As a result, if the Hamiltonian contains different alpha-alpha, alpha-beta, and beta-beta two-body integrals, these calculators silently use only the alpha-alpha part, leading to incorrect results.

Expected behavior
These calculators should throw an exception when a Hamiltonian based on unrestricted orbitals is passed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions