is_complex_irreducible#

is_complex_irreducible(group, rep)[source]#

Check complex irreducibility of \(\rho:\mathbb{G}\to\mathrm{GL}(\mathcal{X})\).

By Schur’s lemma, \(\rho\) is complex-irreducible iff every Hermitian matrix commuting with all \(\rho(g)\) is scalar. The routine searches for a non-scalar commuting Hermitian witness \(\mathbf{H}\).

Parameters:
Returns:

  • (True, I) if irreducible (identity witness),

  • (False, H) if reducible with a non-scalar commuting Hermitian witness.

Return type:

tuple[bool, ndarray]