Operation.get_unitary_and_grad
- Operation.get_unitary_and_grad(params=[])[source]
Return the unitary and gradient for this gate.
See
Gatefor more info.- Return type:
tuple[
UnitaryMatrix,complex128]
Return the unitary and gradient for this gate.
See Gate for more info.
tuple[UnitaryMatrix, complex128]