# qml.operation.gen_is_multi_term_hamiltonian¶

gen_is_multi_term_hamiltonian = <pennylane.boolean_fn.BooleanFn object>[source]

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