SqrtISwapGate.is_self_inverse
- SqrtISwapGate.is_self_inverse(params=[])
Checks whether the unitary is its own inverse.
A unitary is its own inverse if its matrix is equal to its Hermitian conjugate.
- Parameters:
params (
RealVector
) – The parameters of the unitary to check.- Returns:
True if the unitary is self-inverse, False otherwise.
- Return type:
bool
Note
This checks that the unitary is self-inverse for the given parameters only.