qml.operation.gen_is_multi_term_hamiltonian

gen_is_multi_term_hamiltonian = BooleanFn(gen_is_multi_term_hamiltonian)[source]

Returns True if an operator has a generator defined and it is a Hamiltonian with more than one term.