Skip to content

Commit

Permalink
Enable EOM-IP/EA
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-mk committed Sep 6, 2024
1 parent 2221798 commit 7d4e8e4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SeQuant/domain/mbpt/models/cc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,6 @@ std::vector<ExprPtr> CC::λ_pt(size_t order, size_t rank) {
std::vector<ExprPtr> CC::eom_r(nₚ np, nₕ nh) {
assert(!unitary() && "Unitary ansatz is not yet supported");
assert(np > 0 || nh > 0 && "Unsupported excitation order");
assert(np == nh &&
"Only EE-EOM-CC has been tested ... remove this assert to try "
"Fock-space EOM-CC");

if (np != nh)
assert(
Expand Down Expand Up @@ -310,9 +307,6 @@ std::vector<ExprPtr> CC::eom_r(nₚ np, nₕ nh) {
std::vector<ExprPtr> CC::eom_l(nₚ np, nₕ nh) {
assert(!unitary() && "Unitary ansatz is not yet supported");
assert(np > 0 || nh > 0 && "Unsupported excitation order");
assert(np == nh &&
"Only EE-EOM-CC has been tested ... remove this assert to try "
"Fock-space EOM-CC");

if (np != nh)
assert(get_default_context().spbasis() != SPBasis::spinfree &&
Expand Down

0 comments on commit 7d4e8e4

Please sign in to comment.