Using PennyLane
Release news
Development
API
Internals
Returns True if an operator has a unitary_generator according to the has_unitary_generator flag.
True
has_unitary_generator
Warning
Deprecated: Use obj in qml.ops.qubit.attributes.has_unitary_gen insteaed.
obj in qml.ops.qubit.attributes.has_unitary_gen