PauliZGate.get_grad

PauliZGate.get_grad(params=[])[source]

Return the gradient for this gate.

See DifferentiableUnitary for more info.

TODO: Accelerated gradient computation for diagonal matrices.

Return type:

complex128