N-body operators

Base.in — Method
in(orbital, co::ContractedOperator)

Test if orbital is among the right set of orbitals of the ContractedOperator co. Useful to test if co is an integral operator with respect to orbital.

source
Base.in — Method
in(corbital::Conjugate, co::ContractedOperator)

Test if corbital is among the left set of orbitals of the ContractedOperator co. Useful to test if co is an integral operator with respect to corbital.

source
EnergyExpressions.contract — Function
contract(orbital_matrix_element, i...)

Contract the orbital_matrix_element over all coordinates i....

source
contract(ome::OrbitalMatrixElement{N}, i...)

Contract ome over all coordinates i.... length(i) cannot be larger than N.

source