ZGate.check_parameters

ZGate.check_parameters(params)

Check parameters are valid and match the unitary.

Parameters:

params (RealVector) – The parameters to check.

Raises:

ValueError – If parameter length does not match expected number.