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
LinearAlgebra.ishermitian — Method
ishermitian(op::QuantumOperator)

By default, all QuantumOperators are Hermitian; this can be overridden for subtypes to explicitly declare an operator non-Hermitian.

source