cirq.reflection_matrix_pow

cirq.reflection_matrix_pow(reflection_matrix: numpy.ndarray, exponent: float)[source]

Raises a matrix with two opposing eigenvalues to a power.

Parameters:
  • reflection_matrix – The matrix to raise to a power.
  • exponent – The power to raise the matrix to.
Returns:

The given matrix raised to the given power.