def evaluate_pauli_product(arg):
    tmp = arg.as_coeff_mul()
    sigma_product = 1
    com_product = 1
    for el in tmp[1]:
        if isinstance(el, Pauli):
            sigma_product *= el
        else:
            com_product *= el
    return (tmp[0]*sigma_product*com_product)
Unicode representation is name of category.
dataset/ETHPy150Open sympy/sympy/sympy/physics/paulialgebra.py/evaluate_pauli_product--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/environments/models/test_category.py/CategoryTest.test_unicode